rescaleVarCovMat: Rescale Varaince Covaraince Matrix

Description Usage Arguments Value

View source: R/rescaleVarCovMat_function.R

Description

The var cov mat is transformed when we get it from optim becuase optim works on the transformed scale. This function puts it back on the orginal or inverse of transposed scale.

Usage

1
rescaleVarCovMat(varCovMat, transPar)

Arguments

varCovMat

a 5x5 matrix which is the inverted hessian result of optim

transPar

vector of length 5, the parameter results of optim still on transformed scale

Value

the varaiance covariance mat, now in orginal scale


senresearch/lcest documentation built on Jan. 14, 2022, 5:29 p.m.