Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Kaysia Campbell <kaycamp@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: How to get endogenous option in bioprobit |
Date | Mon, 22 Nov 2010 06:50:27 -0500 |
Tirthankar, Thanks! That did the trick! Kaysia On Mon, Nov 22, 2010 at 6:46 AM, Tirthankar Chakravarty <tirthankar.chakravarty@gmail.com> wrote: > Kaysia, > > This example works fine for me: > > ********************************* > sysuse auto, clear > g ordvar = irecode(rnormal(),-4,-3,-2,-1,0,1,2,3,4) > bioprobit (headroom=price length mpg turn weight) /// > (ordvar=price length mpg turn ), end > ********************************* > > It appears that the switch "end" works, but "endogenous" does not. > > T > > On Mon, Nov 22, 2010 at 3:37 AM, Kaysia Campbell <kaycamp@gmail.com> wrote: >> Dear Statalist users, >> >> I am trying to run a bioprobit model but I need to specify the >> endogenous option in order to run a simultaneous equation instead of >> what appears to be the default - a seemingly unrelated regression. >> >> I am using StataSe10 and installed bioprobit by searching for it. The >> version/information for the command is below: >> Distribution-Date: 20080402 >> Author: Zurab Sajaia, World Bank >> >> When I try to run the following code I get the error message that >> "option endogenous not allowed" >> bioprobit (y1 = x1 x2 x3) (y2 = x1 x2), robust cluster(clusterid) endogenous >> >> Where y1 is my endogenous regressor and is instrumented using x3. >> >> I would greatly appreciate any assistance which you might be able to provide. >> >> Thanks much >> Kaysia Campbell >> * >> * 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/ >> > > > > -- > To every ω-consistent recursive class κ of formulae there correspond > recursive class signs r, such that neither v Gen r nor Neg(v Gen r) > belongs to Flg(κ) (where v is the free variable of r). > > * > * 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/ > * * 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/