[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Tobit using svy commands
That seems to do the trick. Thanks for your help!
----- Original Message -----
From: Nick Winter <firstname.lastname@example.org>
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
> >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.
> >that command requires me to use two dependent variables, and I
> >understand what Stata's help file is telling me to do. Is my
> >dependent variable the first or the second of these two
> variables? And
> >what should the other one be?
> >Thank you for your help.
> >* 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 email@example.com 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: