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 <- gen_sample_data(size = 500, dgp = "2_fold_uniform", seed = 1)
fit <- biasBound_density(X, h = 0.1)
coef(fit)
#>        A        r        h 
#> 5.761046 2.378286 0.100000 
# }