quad_prod-methods: Quadratic product of two copulas (if they have one)

Description Usage Arguments Value Functions Examples

Description

Currently only implemented for Cort models. Compute the L2 quadratic product of 2 trees

Usage

1
2
3
4
quad_prod(object, other_tree)

## S4 method for signature 'Cort,Cort'
quad_prod(object, other_tree)

Arguments

object

: the tree

other_tree

: the other tree

Value

the quadratic product between the trees

Functions

Examples

1
2
cop <- Cort(LifeCycleSavings[,1:3])
all.equal(quad_prod(cop,cop),quad_norm(cop))

cort documentation built on Jan. 13, 2021, 8:57 p.m.