Hello!
I am trying to save coefficients of several different regressions so I can use these coefficients again for another regression.
So, this is my regression for several countries, but I need to save the lnk and lnl coefficients of each countries again to calculated marginal product of labor for each countries. How can I do so?
foreach country in var country{
bysort country: reg lnv lnk lnl
}
I have tried using matrix b =e(b) but this only lists the first countries coefficients not the whole matrix of coefficients. Please help thanks.
I am trying to save coefficients of several different regressions so I can use these coefficients again for another regression.
So, this is my regression for several countries, but I need to save the lnk and lnl coefficients of each countries again to calculated marginal product of labor for each countries. How can I do so?
foreach country in var country{
bysort country: reg lnv lnk lnl
}
I have tried using matrix b =e(b) but this only lists the first countries coefficients not the whole matrix of coefficients. Please help thanks.
Comment