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

st: derivatives using _me_derb


From   "Mike Will" <mystata@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: derivatives using _me_derb
Date   Fri, 06 Sep 2002 00:36:02 -0500

Hi Stata-Listers,

I am having trouble using _me_derb (dF/dB). Here is my syntax:
**************************************************************
logit y x1 x2 x3
matrix X=(1, 0.5, -0.9, 1.2)
_me_derb X 4 predopt lny
di r(dmdb)
**************************************************************

Here I am trying to take the derivative of (1/(1+(exp(XB))^(-1)), or predicted probability with respect to B with the X matrix of (1, 0.5, -0.9, 1.2). As no help file is available for this ado file, I am getting error message whihc is of little informative value. Any input? thanks in advance.

Mike


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

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