[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Probit in old Stata code

From   Richard Williams <>
To   "" <>, "" <>
Subject   Re: st: Probit in old Stata code
Date   Mon, 02 Mar 2009 22:31:13 -0500

At 09:56 PM 3/2/2009, Benjamin Villena Roldan wrote:
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):

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index