Good afternoon,
I am working on a project that investigates the effect of media consumption on perception of corruption, and I would like to also examine the prevalence of such causal relationships among different gender and race group. My analytic approach is to first compare the effects on men and women, and then women by race and men by race. I used two ways to do the gender comparison, the interaction and the "suest". Here are the example commands (I took out all the control variables to make it look cleaner):
Unfortunately, I noticed that the results of each model look drastically different. The interaction variable is significant, while the "suest" test shows that the difference between male and female is not significant. I suppose it's because of my small sample size (1,000 men and 1,000 women), and when using suest I lost statistical power since it separates men and women into two regression models. So here are my questions: first, does my assumption make sense, that the interaction variable is perhaps a better way to analyze the subgroup differences? Second, if indeed, by separating men and women I lose statistical power, what would be a better way to do the comparison of men by race and women by race?
I'll put my commands of men by race here too. I separate men and women into two datasets because I can't really think of another way to do the men by race and women by race analysis.
And to test if the coefficients are significantly different from one race to the other:
Please let me know. I'm really concerned if I'm actually doing the right thing.
Any advice is hugely appreciated.
Best,
Kevin
I am working on a project that investigates the effect of media consumption on perception of corruption, and I would like to also examine the prevalence of such causal relationships among different gender and race group. My analytic approach is to first compare the effects on men and women, and then women by race and men by race. I used two ways to do the gender comparison, the interaction and the "suest". Here are the example commands (I took out all the control variables to make it look cleaner):
Code:
xi: regress perception black asian latino i.male*local_print_newspaper
Code:
reg perception black asian latino local_print_newspaper if male==1 est store male reg perception black asian latino local_print_newspaper if male==0 est store female suest male female test [male_mean]local_print_newspaper=[female_mean]local_print_newspaper
I'll put my commands of men by race here too. I separate men and women into two datasets because I can't really think of another way to do the men by race and women by race analysis.
Code:
forval i=0/1 { preserve keep if male==1 save male, replace restore } clear use "C:\Users\male.dta"
Code:
by race: reg perception local_print_newspaper
Code:
xi: regress perception black asian latino local_print_newspaper i.black*local_print_newspaper xi: regress perception black asian latino local_print_newspaper i.asian*local_print_newspaper xi: regress perception black asian latino local_print_newspaper i.latino*local_print_newspaper xi: regress perception white asian latino local_print_newspaper i.asian*local_print_newspaper xi: regress perception white asian latino local_print_newspaper i.latino*local_print_newspaper xi: regress perception white black latino local_print_newspaper i.latino*local_print_newspaper
Any advice is hugely appreciated.
Best,
Kevin
Comment