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

Re: st: Tobit using svy commands


From   Nick Winter <nw53@cornell.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Tobit using svy commands
Date   Tue, 02 Mar 2004 16:36:40 -0500

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/




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