
Extract Coefficients from bbnp_regression Object
coef.bbnp_regression.RdExtracts the estimated bias bound parameters and bandwidth
Usage
# S3 method for class 'bbnp_regression'
coef(object, ...)Examples
# \donttest{
X <- gen_sample_data(size = 500, dgp = "2_fold_uniform", seed = 1)
Y <- 2 * X - X^2 + rnorm(length(X), sd = 0.3)
fit <- biasBound_condExpectation(Y, X, h = 0.1)
coef(fit)
#> A r B h
#> 4.4348248 2.0000000 0.8230857 0.1000000
# }