Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Bivariate probit with sample selection


From   Bo Wandschneider <[email protected]>
To   stata <[email protected]>
Subject   st: Bivariate probit with sample selection
Date   Thu, 20 Feb 2003 11:02:52 -0500

We are new to Stata and are still learning our way around this package - different philosophy than things like SAS, TSP, Shazam or Limdep. We have a user who wants to duplicate some results they had in Limdep.

In limdep we simply ran the individual probits, stored the betas and used these as starting values in the bivariate probit. After this equation we entered the Select command for sample selection. We can get to the bivariate probit (without the starting values), but are unsure how to program the next step. We have checked manuals, but don't have the 'SVY' manual (we are ordering it)
Any suggestions were to look ... just need a starting point -

here is an excerpt from limdep

Probit ;Lhs = public
;Rhs = one, age, agesq, reg1, reg3, reg4, reg5, urban,
ottawa, mover, sch2, sch3, sch4, sch5, edart, human,
social, bus, hsc, sceng, mteng, mtfr, mtef, ysm, ysmsq, vismin ;
Hold results $
list; B$
matrix; B1=B$
Probit ; Lhs = engfr
;Rhs = one, age, agesq, reg1, reg3, reg4, reg5, urban,
sch2, sch3, sch4, sch5, edart, human, social, bus, hsc, sceng,
mteng, mtfr, mtef, marit, que, west, us, eur, asia, ysm, ysmsq ;
Hold results $
list; B $
Matrix; B2=B $

Bivariate Probit; LHS = Public, engfr;
RH1 = one, age, agesq, reg1, reg3, reg4, reg5, urban, ottawa,
mover, sch2, sch3, sch4, sch5, edart, human,
social, bus, hsc, sceng, mteng, mtfr, mtef, ysm, ysmsq, vismin ;
RH2 = one, age, agesq, reg1, reg3, reg4, reg5, urban, sch2,
sch3, sch4, sch5, edart, human, social, bus, hsc, sceng,
mteng, mtfr, mtef, marit, que, west, us, eur, asia, ysm, ysmsq ;
start = B1, B2; Hold $

SELECT ;Lhs = LNW
;Rhs = one, exp, expsq, reg1, reg3, reg4, reg5, urban,
marri, common, divor, vismin, sch2, sch3, sch4, sch5,
edart, social, human, bus, sceng, hsc, manag, super,
science, health, socsc, trade $

SELECT ;Lhs = LNW
;Rhs = one, exp, expsq, reg1, reg3, reg4, reg5, urban,
marri,
common, divor, vismin, sch2, sch3, sch4, sch5,
edart, social, human, bus, sceng, hsc, manag, super,
science, health, socsc,
trade; selection=1,0 $

SELECT ;Lhs = LNW
;Rhs = one, exp, expsq, reg1, reg3, reg4, reg5, urban,
marri,
common, divor, vismin, sch2, sch3, sch4, sch5,
edart, social, human, bus, sceng, hsc, manag, super, science,
health, socsc,
trade, in1, in2, in3, in4, in5, in6, in8, in9, in10; selection=0,1 $
..... and so on

--
+------------------------------+
Bo Wandschneider Manager, Academic Services
Computing and Communications Services University of Guelph
Guelph, Ontario, Canada
N1G 2W1 519-824-4120 x 56410 +------------------------------+


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