Hello,
I am working with PISA data, I have appended 2009, 2012 and 2015 PISA waves and I added variable for years for each wave. I want to run country fixed effect by adding dummy variables for years. However when I used the below code it kept giving me error message of debugging the command within the estimate option. I have used similar code only with 2015 (without year dummy) and it worked fine.
I used below code:
repest PISA, estimate(stata: areg pv@math d_gender stu_age i.immig pared hisei d_lang_at_home i.books d_homecomputer d_homeinternet schtype fund_gov num_teachers i.location_school schsize schsize2 clsize clsize2 i.year, absorb(cntryid)) results(add(N r2)) svyparms(final_weight_name(w_fstuwt) rep_weight_name(w_fsturwt) NREP(80) variancefactor(1/20))
Error message:
_pooled.....
There were no successful estimates for = _pooled.
Consider debugging the command within the estimate option:
areg pv5math d_gender stu_age i.immig pared hisei d_lang_at_home i.books d_homecomputer d_homeinternet schtype fund_gov num_tea
> chers i.location_school schsize schsize2 clsize clsize2 i.year [aw = w_fstuwt] , absorb(cntryid)
no observations
Could you please advice if it is because of my panel structure.
Thanking in advance
Elcin
Related Posts with PISA data-Repest
volatility of the firm's equity(annualized standard deviation)Dear All, Hope my msg finds you very well. I have a panel data 252 observations (daily ) (id, date…
How to Append Logistic Regression Outputs Using ASDOCHi, Stata Users: Can someone please demonstrate how to append logistic regression outputs using the…
predicted valueWhat is the predicted blood pressure for an average 13-year-old boy as estimated from the regression…
Distance between two coordinatesGoodmorning, I want to calculate the distance between two x,y coordinates. However, I have a list of…
Creating time trendsHi, I have a question regarding creating time trends to account for time effects before and after t…
Subscribe to:
Post Comments (Atom)
0 Response to PISA data-Repest
Post a Comment