Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: factor variables and pweights not accepted in qreg Stata v13
From
"Ariel Linden, DrPH" <[email protected]>
To
<[email protected]>
Subject
st: factor variables and pweights not accepted in qreg Stata v13
Date
Tue, 25 Jun 2013 17:16:04 -0400
I just got version 13 today and immediately fired it up...
Contrary to the help file for -qreg- that says "indepvars may contain factor
variables; see fvvarlist" and "qreg allows fweights, aweights, iweights, and
pweights; see weight", I got an error when running the following code:
. sysuse auto
. qreg price weight length i.foreign
factor variables and time-series operators not allowed
r(101);
. qreg price weight length foreign [pw= displacement]
pweight not allowed
r(101);
n.b. I just noticed that in the dialog box for qreg, there is no pweight
option...
Ariel
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/