[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: FW: marginal effects after probit for each observation in the data set
You might find Jonah B. Gelbach's margfx program helpful - it will calculate
the mean marginal effects for probit and logit models.
You can find a link to his homepage from the Stata homepage at
----- Original Message -----
From: "Elisabeth Simantov" <Elisabeth.Simantov@vnsny.org>
Sent: Friday, July 19, 2002 10:58 AM
Subject: st: FW: marginal effects after probit for each observation in the
> > -----Original Message-----
> > From: Elisabeth Simantov
> > Sent: Friday, July 19, 2002 9:55 AM
> > To: 'email@example.com.'
> > Subject: marginal effects after probit for each observation in the
> > data set
> > I am running a probit regression with 19 independent variables, 510
> > observations. The canned version of marginal effects calculates around
> > mean. I would like to obtain a matrix that contains marginal effects for
> > each variable for each observation and then take a mean over all
> > observations for each marginal effect.
> > The formula for the derivative looks somewhat like this:
> > <<...OLE_Obj...>>
> > where f is the standard normal density function. This is calculated for
> > each observation using its value for the vector of independent
> > X, together with the estimated probit coefficients, and is then averaged
> > across the full sample.
> > I am having a problem translating this to STATA language. I hope that
> > someone can help me. I am not a proficient programmer, so please be very
> > explicit.
> > Thank you in advance.
> > Elisabeth Simantov
> > Elisabeth Simantov, PhD
> > Research Associate
> > Center for Home Care Policy and Research
> > Visiting Nurse Service of NY
> > 107 East 70th Street
> > New York, NY 10021
> > email: firstname.lastname@example.org
* For searches and help try: