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

From |
Adam Jayson Sonfield <ajs36@georgetown.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Tobit using svy commands |

Date |
Tue, 02 Mar 2004 17:20:13 -0500 |

That seems to do the trick. Thanks for your help! ----- Original Message ----- From: Nick Winter <nw53@cornell.edu> Date: Tuesday, March 2, 2004 4:36 pm Subject: Re: st: Tobit using svy commands > In the language of the svyintreg help file, your non-zero cases > are point > data, and your zero cases are left censored. > > So, for non-zero cases, a and b should both equal your DV; for > zero cases, > b should equal zero and a should equal . (missing). > > To do this: > > . gen a = DV if DV!=0 > . gen b = DV > > . svyintreg a b ... > > --Nick WInter > > > > > At 03:42 PM 3/2/2004 -0500, you wrote: > >Dear Statalist: > > > >I am trying to run a Tobit model regression using the svy > commands in > >Stata 8, and I'm having trouble figuring out how to do this > correctly.> > >My dependent variable is an expenditures variable; most of the > values are > >zero, but a third or so are in dollars greater than zero. A > Tobit model > >seems like the right choice. Given the design of the survey, I > need to > >use the svy commands. > > > >As best as I can tell, I should be using the "svyintreg" command. > But > >that command requires me to use two dependent variables, and I > don't > >understand what Stata's help file is telling me to do. Is my > real > >dependent variable the first or the second of these two > variables? And > >what should the other one be? > > > >Thank you for your help. > > > >--AJS > > > > > > > >* > >* 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/ > > -------------------------------------------------------- > Nicholas Winter 607.255.8819 t > Assistant Professor 607.255.4530 f > Department of Government nw53@cornell.edu e > 308 White Hall falcon.arts.cornell.edu/nw53 w > Cornell University > Ithaca, NY 14853-4601 > > * > * 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/

- Prev by Date:
**Re: st: Making saveold a permanent option** - Next by Date:
**RE: st: Making saveold a permanent option** - Previous by thread:
**st: RE: Tobit using svy commands** - Next by thread:
**RE:RE:st: probelms with ado files poverty and povdeco** - Index(es):

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