Hello, I am using PISA data and I want to regress reading test scores on a dummy variable 'year2006' only for the subpopulation of females. For the first plausible value, the command I use is:
svy brr, subpop (female): reg PV1READ year2006
However, PISA provides 5 plausible values and I would like to use them all in my estimation. I have been trying to use pv in Stata and the command:
pv, pv(PV1READ PV2READ PV3READ PV4READ PV5READ) weight(W_FSTUWT) brr rw(W_FSTR*) fays(0.5) subpop(female): reg @pv year2006 [aweight=@w]
The problem is that Stata does not allow me to use the subpop() option. Any idea how can I fix this?
svy brr, subpop (female): reg PV1READ year2006
However, PISA provides 5 plausible values and I would like to use them all in my estimation. I have been trying to use pv in Stata and the command:
pv, pv(PV1READ PV2READ PV3READ PV4READ PV5READ) weight(W_FSTUWT) brr rw(W_FSTR*) fays(0.5) subpop(female): reg @pv year2006 [aweight=@w]
The problem is that Stata does not allow me to use the subpop() option. Any idea how can I fix this?
Comment