| getIniParam {copula} | R Documentation |
Get Initial Parameter Estimate for Copula
Description
A (S4) generic function and methods providing a typically cheap method to get
valid parameters for the copula, given the data. This is
used, e.g., in fitCopula() when start is not
specified.
Usage
getIniParam(copula, data, default, named = TRUE, ...)
Arguments
copula |
a |
data |
an |
default |
a parameter vector of correct length, to be used when no method is available or the method does “not work”. |
named |
|
... |
optional further arguments to underlying methods. |
Value
a numeric vector of correct length, say param, which
should e.g., “work” in loglikCopula(param, u = data, copula).
Methods
signature(copula = "parCopula")Close to a default method (as class
"parCopula"contains most copulas), currently mainly trying to use a version offitCopula(*, method = "itau")(itself based on moment matchingiTau()).signature(copula = "mixCopula")-
a relatively simple method, for the copula parameters, trying
getInitParam(cop[[k]])for each component, and using equal weightsw[k].
See Also
getTheta() gets such a vector from a copula object;
fitCopula, loglikCopula.
Examples
# TODO !