Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Re: tobit, margins, and prediction with outcome in logs
From
Tirthankar Chakravarty <[email protected]>
To
[email protected]
Subject
Re: st: Re: tobit, margins, and prediction with outcome in logs
Date
Mon, 3 Oct 2011 18:46:11 -0700
This is probably what you are looking for:
**********************************
sysuse auto, clear
generate wgt=weight/1000
qui tobit mpg wgt, ll(17) ul(24)
mfx compute, predict(p(17, 24))
margins, dydx(*) predict(pr(17, 24)) atmeans
***********************************
T
On Mon, Oct 3, 2011 at 12:49 PM, Kitty L
<[email protected]> wrote:
> I am also using a log transformed response in a tobit regression. I am trying
> to replicate Dimitriy's commands in STATA 9 to get ME using the mfx predict
> command. Does anyone know how to obtain marginal effects for the probability
> of being uncensored (mfx compute, predict(p(a,b))) with log transformed
> data?
>
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/tobit-margins-and-prediction-with-outcome-in-logs-tp5750378p6856339.html
> Sent from the Statalist mailing list archive at Nabble.com.
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
Tirthankar Chakravarty
[email protected]
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/