the industry is a two digit number of sic (numerical), fyear is the financial year.
I use "bys industry fyear: asreg var1 var2 var3, fit", and the resulted "_Nobs; _R2; _adjR2; _b_var2; _b_var3; _b_cons _fitted; _residuals" all have no values (missing values in all variables). But when I do not add "bys industry fyear" and only use the asreg function, then the created variables have values. I do not know how to solve this problem
Thanks
I use "bys industry fyear: asreg var1 var2 var3, fit", and the resulted "_Nobs; _R2; _adjR2; _b_var2; _b_var3; _b_cons _fitted; _residuals" all have no values (missing values in all variables). But when I do not add "bys industry fyear" and only use the asreg function, then the created variables have values. I do not know how to solve this problem
Thanks

Comment