I am trying to apply following regression.
bysort Country: regress bdr fam MTB
this is my first stage regression for second stage I want to use another variable shtd as my dependent variable and use predicted value of bdr from first regression as independent variable. so second model will be like.
bysort Country: regress shtd fam MTB
Can anyone guide.
bysort Country: regress bdr fam MTB
this is my first stage regression for second stage I want to use another variable shtd as my dependent variable and use predicted value of bdr from first regression as independent variable. so second model will be like.
bysort Country: regress shtd fam MTB
Can anyone guide.
Comment