Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-hess_to_cov

helper function to safely convert a Hessian matrix to covariance matrix


Description

helper function to safely convert a Hessian matrix to covariance matrix

Usage

.hess_to_cov(hessian, tol.solve = 1e-09, tol.evalues = 1e-05, ...)

Arguments

hessian

hessian matrix to convert to covariance matrix (must be evaluated at MLE)

tol.solve

tolerance used for solve()

tol.evalues

accepted tolerance for negative eigenvalues of the covariance matrix

...

arguments passed to Matrix::nearPD


flexsurv

Flexible Parametric Survival and Multi-State Models

v2.0
GPL (>= 2)
Authors
Christopher Jackson [aut, cre], Paul Metcalfe [ctb], Jordan Amdahl [ctb], Matthew T. Warkentin [ctb], Kevin Kunzmann [ctb]
Initial release
2021-02-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.