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

st: RE: counterfactuals


From   "FEIVESON, ALAN H. (AL) (JSC-SD) (NASA)" <alan.h.feiveson1@jsc.nasa.gov>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: counterfactuals
Date   Thu, 3 Oct 2002 08:36:00 -0500

Traci -

One way to do this is to take advantage of Stata's -predict- command to do
"out-of-sample" predictions. Just create some additional fake observations
with the characterisitics you want, but with missing values for the
dependent variable. After estimation, the -predict- command will generate
predicted probabilities for these fake observations as well as the real
ones.

Al Feiveson

-----Original Message-----
From: Traci A Schlesinger [mailto:tracias@Princeton.EDU]
Sent: Wednesday, October 02, 2002 8:02 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: counterfactuals


dear statalisters:

i tried to post this yesterday, but never saw it posted.  i apologize if
this is a double post.

I have county level data on criminal processing that includes whether
the defendant is incarcerated pretrial and / or post-trial, as well as
several legal variables regarding the type of offense the individual was
arrested for and details of their prior record, and extra-legal
variables such as race and age.

i have used xtlogit, with county level fixed effects, to analyze this
data, with specific interest in the effect of race and ethnicity on
criminal processing.  i find that race and ethnicity affects both
pretrial release decisions, and the decision to incarcerate given
conviction.

as a next step, i wanted to create counterfactuals that would look at
what the predicted probability of release would be for the black and
latino defendants if they were white (e.g. what would be the probability
of being granted pretrial release if one had all of the legal
characteristics of the black defendants but was white), or put
differently, what would be the predicted probability of release for
black defendants if the black coefficient equaled zero.

i understand how to use the predict command to get predicted
probabilities, but don't know how to get predicted values for this type
of counterfactual situation.  i have read the manual and the FAQs, but i
am still lost.

any help would be greatly appreciated!!
thanks in advance,
traci a schlesinger

*
*   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/



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