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

st: Symbolic differentiation

From   John Bates <>
To   Stata <>
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:

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