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: FW: Marginal effects for the two-part model
From
"Michael Palmer" <[email protected]>
To
<[email protected]>
Subject
RE: st: FW: Marginal effects for the two-part model
Date
Tue, 1 Feb 2011 17:25:26 +1100
Hi, many thanks for your reply,
The first part of the model is logit model for seeking hospital care
followed by an ols model for the cost of care for persons that sought
care.
Simplified code is:
Logit care $xvar, robust
Reg cost $xvar if care==1
I am wanting to compute the conditional marginal effects but do not know
how to do this. Any help would be greatly appreciated.
With thanks,
Michael
Michael Palmer
PhD Candidate
National Centre for Epidemiology and Population Health
The Australian National University
Ph. 6125 0538
M. 0437 867 940
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Maarten buis
Sent: Monday, 31 January 2011 9:21 PM
To: [email protected]
Subject: Re: st: FW: Marginal effects for the two-part model
--- On Mon, 31/1/11, Michael Palmer wrote:
> Can somebody out there please pass on Stata code for estimating
> marginal effects from a two-part model.
There are many different models that go by the name "two-part model",
which one do you mean? The easiest way of giving a concise description
is to give us the stata code you used for estimating your model.
-- Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/
*
* 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/