Hi Everyone,
Sorry if this is too specific of a question. I've been having some problems with using pweights for an lpoly regression - Stata returns "pweight not allowed". I've scoured the documentation, and have seen examples of people using pweights in similar cases. I can't figure out what I'm doing wrong! I've tried this with two regressions, which look like the following: twoway (lpolyci yvar xvar [pweights=weight]), by(state)
and
twoway (lpolyci yvar xvar if region==1) (lpolyci yvar xvar if region==2)
Where regions are collections of states.
Thank you very much for your help!
Sorry if this is too specific of a question. I've been having some problems with using pweights for an lpoly regression - Stata returns "pweight not allowed". I've scoured the documentation, and have seen examples of people using pweights in similar cases. I can't figure out what I'm doing wrong! I've tried this with two regressions, which look like the following: twoway (lpolyci yvar xvar [pweights=weight]), by(state)
and
twoway (lpolyci yvar xvar if region==1) (lpolyci yvar xvar if region==2)
Where regions are collections of states.
Thank you very much for your help!
Comment