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
Compressed and Out of Position Graph After Coefplot and grc1legHi, I have used the coefplot command to plot coefficients from a series of event study regressions …
Nested loop to generate new variablesIs there some way I could use nested loop to recode the following, where one variable loops between …
How can I efficiently generate many dummy variables from substrings? (other than one by one using regexm)Excuse my terrible title, I struggled to communicate what I wanted to do in a concise way. I am wor…
Constraints with fmmI have a pretty basic mixture regression thus: . fmm 2: regress y x1 x2, lcprob(x1) What I would l…
Merge One Variable to Multiple Instances in Master DatasetHello, I have a dataset in which multiple organizations can serve the same county. I have a crosswa…
Subscribe to:
Post Comments (Atom)
0 Response to PISA data-Repest
Post a Comment