View source: R/CondiCopLikCV.R
| CondiCopLikCV | R Documentation |
Leave-one-out local likelihood copula parameter estimates are interpolated, then used to calculate the conditional copula likelihood function.
CondiCopLikCV(
u1,
u2,
family,
x,
xind = 100,
degree = 1,
eta,
nu,
kernel = KernEpa,
band,
optim_fun,
cveta_out = FALSE,
cv_all = FALSE,
cl = NA
)
u1 |
Vector of first uniform response. |
u2 |
Vector of second uniform response. |
family |
An integer defining the bivariate copula family to use. See |
x |
Vector of observed covariate values. |
xind |
Vector of indices in |
degree |
Integer specifying the polynomial order of the local likelihood function. Currently only 0 and 1 are supported. |
eta, nu, kernel, band, optim_fun, cl |
See |
cveta_out |
If |
cv_all |
If |
If cveta_out = FALSE, scalar value of the cross-validated log-likelihood. Otherwise, a list with elements:
xThe sorted values of x.
etaThe leave-one-out estimates interpolated from the values in xind to all of those in x.
nuThe scalar value of the estimated (or provided) second copula parameter.
loglikThe cross-validated log-likelihood.
This function is typically used in conjunction with CondiCopSelect(); see example there.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.