Description Usage Arguments Details Value Author(s) Examples

The delta method for approximating the standard error of a transformation
*g*(*X*) of a random variable *X* = (*x*1, *x*2, ...),
given estimates of the mean and covariance matrix of *X*.

1 | ```
deltamethod(g, mean, cov, ses = TRUE)
``` |

`g` |
A formula representing the transformation. The variables must be
labelled |

`mean` |
The estimated mean of |

`cov` |
The estimated covariance matrix of |

`ses` |
If TRUE, then the standard errors of |

This function was copied from package msm.

It is used in CatDyn to backtransform from the logarithm because CatDyn parameters are all estimated in the log scale to improve numerical performance.

For more details see the help pages for function deltamethod of package msm.

A vector containing the standard errors of *g*1(*X*), *g*2(*X*),
... or a matrix containing the covariance of *g*(*X*).

C. H. Jackson <chris.jackson@mrc-bsu.cam.ac.uk>

1 | ```
#See the examples in package msm.
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.