Dear Statalist
How I can use statsby command to save the coefficients of regression. I want to run a regression for each industry_id in each year, and save the coefficients of x1,x2,x3 as a new variables to use them later ( the coefficients x1,x2,x3 should be the same for the firms with the same industry_id in each year).
my model is :
the observations for the explanatory variables from the firms with the same industry_id in each year.
I hope I was clear enough.
How I can use statsby command to save the coefficients of regression. I want to run a regression for each industry_id in each year, and save the coefficients of x1,x2,x3 as a new variables to use them later ( the coefficients x1,x2,x3 should be the same for the firms with the same industry_id in each year).
my model is :
y= x1+x2+x3
I hope I was clear enough.
Comment