Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Symbolic differentiation


From   John Bates <[email protected]>
To   Stata <[email protected]>
Subject   st: Symbolic differentiation
Date   Tue, 28 Jul 2009 11:33:34 -0700 (PDT)

Is there any way to do symbolic differentiation in Stata or Mata?  i.e., deriv(x^2)=2x?

Related to this question: suppose I regress y on x and z and want to estimate the variance of x_hat/z_hat.  Are there any commands that let you calculate the variance of this expression automatically?  (I'd like to avoid calculating the first-order taylor expansion etc. myself, especially for more complicated expressions).



      

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



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