Skip to content
Prev 58886 / 398502 Next

polr probit versus stata oprobit

On Thu, 11 Nov 2004, Jean Eid wrote:

            
I still don't understand what example you are using to find the 
difference.  I tried two ways of not using weights

1)  Expand the data to have a record for each observation (so 1681 rows 
instead of 72).
     Fitting these expanded data  without weights gives the same answers as 
fitting the compressed data with weights, in both MASS::polr and Stata's 
oprobit.


2) Pretend that the housing data have only 72 observations and ignore the 
weights (though why you would do this...)
    The true coefficients are all zero in this situation. R gives numbers 
zero to about 6 digits and Stata gives zero to about 30 digits.  The 
intercepts are the same in both packages.


 	-thomas