Hello - For a paper submission, I want to display a graph bar after a multivariate linear regression, with the dependent variable (racism) on the y-axis and the independent variable (religino) on the x-axis AND under control of the other control variables (e. g. sex, age, education).
I used the following Code:
In my resulting graph bar, I'm not sure, if the control variables are constant (at their means or median or what?) (When I checked it by calculating the values manually, it wasn't the means nor median...). How can I show the relationship between my dependent and independent in a graph bar while controlling for the other third variables?
I would appreciate your help very much!
Carolin
I used the following Code:
Code:
reg racism religion sex age education
Code:
predict racismhat
Code:
graph bar racismhat, over(religion)
I would appreciate your help very much!
Carolin
Comment