Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[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" <ariel.linden@gmail.com>
To   <statalist@hsphsun2.harvard.edu>
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index