derivs |

Examine derivatives of the equation specification.

Display information about the derivatives of the equation specification in tabular, graphical, or summary form.

The (default) summary form shows information about how the derivative of the equation specification was computed, and will display the analytic expression for the derivative, or a note indicating that the derivative was computed numerically.

You may optionally choose a tabular or graphical display of the derivatives. The tabular form shows a spreadsheet view of the derivatives of the regression specification with respect to each coefficient (for each observation). The graphical form of the view shows this information in a multiple line graph.

Syntax

equation_name.derivs(options)

Options

t | Display spreadsheet view of the values of the derivatives with respect to the coefficients evaluated at each observation. |

g | Display multiple graphs showing the derivatives of the equation specification with respect to the coefficients, evaluated at each observation. |

p | Print results. |

Note that the “g” and “t” options may not be used at the same time.

Examples

To show a table view of the derivatives:

eq1.derivs(t)

To display and print the summary view:

eq1.derivs(p)

Cross-references

See
“Derivative Computation” for details on the computation of derivatives.

See also
Equation::makederivs for additional routines for examining derivatives, and
Equation::grads, and
Equation::makegrads for corresponding routines for gradients.