understanding interactions between dummy variables

So let’s say we have these burning questions: 1. Does breastfeeding influence lung function later in life? 2. And, second, is this influence different in children of asthmatic mothers when compared with the influence in children of non-asthmatic mothers? Let’s first put some symbols out, to simplify the problem: Explanatory (independent) variables: A = maternal asthma (0 and 1, “no” and “yes”) B = breastfeeding (0 and 1, “no” and “yes”) Outcome (dependent) variable: Y= some lung function measurement, say Forced Vital Capacity (FVC), measured in liters. c = regression coefficient For the first question we have this simple equation, which is a linear regression because the outcome (dependent) variable, Y, is measured on a continuous scale (liters): Y=c0 + c1*A + c2*B (plus some error e which we can…

Read more