Skip to contents

Extracts the estimated bias bound parameters and bandwidth

Usage

# S3 method for class 'bbnp_density'
coef(object, ...)

Arguments

object

An object of class bbnp_density

...

Additional arguments (unused)

Value

Named numeric vector with A (amplitude), r (decay rate), and h (bandwidth)

Examples

# \donttest{
X <- rnorm(100)
fit <- biasBound_density(X, h = 0.1)
#> Warning: No feasible xi_n passed Schennach's test in interval [0.9971, 3.1532]. Using theoretical upper bound xi_ub = 3.1532. This may indicate insufficient signal or inappropriate xi bounds.
coef(fit)
#>         A         r         h 
#> 0.5921234 1.3524937 0.1000000 
# }