I'm running a regression on a dataset with 60m observations. My variables include gender, age group and household type, which I include as interactions.
When presenting my results I want to show the impact of age for each gender after controlling / standardising for household type. To do this I'm multiplying the coefficient for each age by the all age share of each household type. However, where I'm struggling is how to combine the standard errors from the regression to be able to show confidence intervals. The standard errors should be smaller than the average of the standard errors from the regression because I'm collapsing over household type. I've tried using --margins-- but even after 4 hours of processing it still hadn't finished.
Any help or pointers would be gratefully received.
Code:
reg y i.gender#i.age#i.hholdtype deprivation otherstuff, base
Any help or pointers would be gratefully received.
Comment