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
Transfer from Sandbox to General forum once one is happy with the postI'm trying to make effective use of the Sandbox before posting to the General Forum. Now that I'm ha…
Generating a variable depending on time variableHello, I am using Stata/SE 14.2 for Mac. I am working on my thesis that is about resistant bacteria…
Difference in mediansHello, I am trying to calculate the median difference between two variables. I have read about the …
Can I run a xtologit on a 0.5-paced score as dependent variable?Hi everyone, I'm working on panel data with firm ID as panelvar and report_period as timevar. I've…
using lrtest to compare an empty, individual level and two-level xtmixed model after multiple imputationI am using Stata 14/IC - I have successfully conducted a multiple imputation using chained equations…
Subscribe to:
Post Comments (Atom)
0 Response to PISA data-Repest
Post a Comment