vardet: Determinant selector for chosen covariance matrix.
Description
Determinant selector for chosen covariance matrix.
Usage
vardet(n, rho, deriv, variance)
Value
Determinant or derivative of log-inverse for the
specified matrix structure.
Arguments
- n
dimensions
- rho
off-diagonal parameter
- deriv
logical whether to return the determinant or the derivative of
the log of the determinant
- variance
variance structure - AR(1) or CS.