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
0 Response to PISA data-Repest
Post a Comment