When trying to explain the interaction variable explanation, I saw this link.
In this link, I saw a paragraph
GPA is the student’s Grade Point Average (higher values indicate better grades). The average gpa is about 2.81. The range of gpa theoretically goes from 0 to 4 but in actuality the lowest gpa in the sample is 1.45. MALE is coded 1 if the student is male, 0 if Female. MALEGPA = MALE * GPA
I do not understandwhy they do not do
but
And why they say that the regression in the picture above "The model does not allow for the effects of GPA to differ by gender"?
In this link, I saw a paragraph
GPA is the student’s Grade Point Average (higher values indicate better grades). The average gpa is about 2.81. The range of gpa theoretically goes from 0 to 4 but in actuality the lowest gpa in the sample is 1.45. MALE is coded 1 if the student is male, 0 if Female. MALEGPA = MALE * GPA
I do not understandwhy they do not do
Code:
reg drink gpa male
Code:
reg drink gpa i.male
And why they say that the regression in the picture above "The model does not allow for the effects of GPA to differ by gender"?
Comment