starting_guess: Provide semi-smart starting values for dynamic copulas.

View source: R/dynohelpers.R

starting_guessR Documentation

Provide semi-smart starting values for dynamic copulas.

Description

Provide semi-smart starting values for dynamic copulas.

Usage

starting_guess(u, v, fam, k)

Arguments

u

A vector of uniform marginal values.

v

A vector of uniform marginal values.

fam

A vector of length one or two indicating which copula family to find initial values. A vector of length two indicates a mixture copula

k

Integer indicating how many segments to disjoint sets to break (u, v) into.

Details

This function breaks the given fixed marginals into k disjoint but adjacent sets of equal size. It then returns the estimated parameters of a static copula governed by copula family fam for each of the disjoint sets.

Value

A list of length k with estimated copula parameters


LucasDowiak/dynocopula documentation built on April 28, 2024, 12:34 a.m.