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 on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: Error in compute probabilities using oprobit


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Error in compute probabilities using oprobit
Date   Tue, 16 Aug 2011 18:26:03 +0100

Not so weird. 

First, is -norm()- documented as a function in your version of Stata? You should have checked that out first. 

Second, -norm()- used to be part of Stata, and it's still there under version control. 

. version 9 : di norm(.6)
.72574688

. di normal(.6)
.72574688

There is a slow shift towards more meaningful function names in Stata. If do-files and programs declare a -version-, as programmers are clearly advised, then nothing will be broken. 

Nick 
n.j.cox@durham.ac.uk 

Daniel Marcelino

It is so weird,  I'm working on oprobit model using Stata 11.
The problem arrive when I try to compute predicted probabilities
against the variables of the model. I never got this error before, any
suggestion?


 di norm(_b[_cut1]-_b[Gender]*1)
unknown function norm()
r(133);


 di norm(_b[/cut1]-_b[Gender]*1)
unknown function norm()
r(133);

*
*   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/


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