Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bw_bern

Bandwidth selection for the Bernstein copula estimator


Description

The optimal size of knots is chosen by a rule of thumb adapted from Rose (2015).

Usage

bw_bern(udata)

Arguments

udata

data.

Details

The formula is

max(1, round(n^(1/3) * exp(abs(rho)^(1/n)) * (abs(rho) + 0.1))),

where ρ is the empirical Spearman's rho of the data.

Value

optimal order of the Bernstein polynomials.


kdecopula

Kernel Smoothing for Bivariate Copula Densities

v0.9.2
GPL-3
Authors
Thomas Nagler [aut, cre], Kuangyu Wen [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.