Learn R Programming

QRM (version 0.4-35)

Pdeconstruct: Disassemble a Correlation Matrix for ML Copula Fitting

Description

This function takes a correlation matrix \(P\) and returns the elements of a lower-triangular matrix \(A\) with ones on the diagonal such that \(P\) is the corelation matrix corresponding to the covariance matrix \(AA'\) (see page 235 in QRM).

Usage

Pdeconstruct(P)

Value

vector

Arguments

P

matrix, a correlation matrix

See Also

Pconstruct

Examples

Run this code
P <- Pconstruct(1:6) 
Pdeconstruct(P) 

Run the code above in your browser using DataLab