My command is bysort id:reg yy x1 x2 x3 x4 x5 if est_window==1
I would like to generate regression coefficients and adjusted r-squared into the new variables but I don't know how to do it.
command is by ID, sort : regress NI NI_L1
I get 215 result tables and I need all of regression coefficients from 215 tables as a new variable in stata sorted by ID.
Tnx