Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: regression when endogenous regressor continuous?


From   "Nachbar, Dirk" <[email protected]>
To   <[email protected]>
Subject   st: RE: regression when endogenous regressor continuous?
Date   Wed, 27 Jun 2007 11:46:22 +0100

You would use the ivreg command.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nirina F
Sent: 27 June 2007 11:21
To: [email protected]
Subject: st: regression when endogenous regressor continuous?

Hello all ,

If my endogenous variable was a binary (1,0) then I would have
estimated the following equation with stata
                        biprobit ($endogvar= $exogvar) (depvar =
$endogvar $exogvar)

where depvar is my dependent variable which 0 or 1 but
Now since the endogvar is years each individuals smoke (0 or 1 or 2
until 18), how would I run
($endogvar= $exogvar) (depvar = $endogvar $exogvar) with STATA.

Many thanks

Nirina
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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