At 09:56 PM 3/2/2009, Benjamin Villena Roldan wrote:
Hello,
I have an old written code in Stata 8 for a probit model using aweight
- probit D X1 X2 X3 [aweight=w] -
The code still runs without a problem in Stata 8.
I run the same code in Stata 9.2 (in Linux) but the following error ocurrs
-aweight not allowed r(101)
Am I missing something here? This seems sort of trivial, but I'd like to
know if aweight option is no longer allowed for probit in Stata 9.2 version.
If you do -help whatsnew- in Stata 9 and search for aweight, you find this:
16. logit, probit, and dprobit allowed aweights, even though
they were not documented and the resulting calculation had no
meaningful interpretation. When version is set higher than 9.0,
these commands now issue an error message when used with aweights.
The flip side is that if you use version control, you can get probit
to work with aweights.
Here are some links discussing these issues (and if you search
Statalist for "aweights logit" you will find more):
http://www.stata.com/statalist/archive/2008-07/msg01156.html
http://www.stata.com/statalist/archive/2008-07/msg01160.html
http://www.stata.com/statalist/archive/2005-08/msg00456.html
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/