Pconstruct: Assemble a Correlation Matrix for ML Copula Fitting

Description Usage Arguments Value See Also Examples

View source: R/Utility.R

Description

This function converts a vector of values representing the terms of a lower triangular matrix A with ones on the diagonal and returns the correlation matrix corresponding to the covariance matrix AA' (see page 235 in QRM).

Usage

1
Pconstruct(theta)

Arguments

theta

vector, elements of a lower triangular matrix A with ones on the diagonal.

Value

matrix

See Also

link{Pdeconstruct}

Examples

1
2
3
P <- Pconstruct(1:6) 
eigen(P) 
Pdeconstruct(P) 

QRM documentation built on April 14, 2020, 6:49 p.m.