Package: rbbnp 0.1.0

rbbnp: A Bias Bound Approach to Non-Parametric Inference

A novel bias-bound approach for non-parametric inference is introduced, focusing on both density and conditional expectation estimation. It constructs valid confidence intervals that account for the presence of a non-negligible bias and thus make it possible to perform inference with optimal mean squared error minimizing bandwidths. This package is based on Schennach (2020) <doi:10.1093/restud/rdz065>.

Authors:Xinyu DAI [aut, cre], Susanne M Schennach [aut]

rbbnp_0.1.0.tar.gz
rbbnp_0.1.0.zip(r-4.5)rbbnp_0.1.0.zip(r-4.4)rbbnp_0.1.0.zip(r-4.3)
rbbnp_0.1.0.tgz(r-4.4-any)rbbnp_0.1.0.tgz(r-4.3-any)
rbbnp_0.1.0.tar.gz(r-4.5-noble)rbbnp_0.1.0.tar.gz(r-4.4-noble)
rbbnp_0.1.0.tgz(r-4.4-emscripten)rbbnp_0.1.0.tgz(r-4.3-emscripten)
rbbnp.pdf |rbbnp.html
rbbnp/json (API)

# Install 'rbbnp' in R:
install.packages('rbbnp', repos = c('https://dxy99999.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 140 downloads 5 exports 38 dependencies

Last updated 10 months agofrom:62f848a389. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:biasBound_condExpectationbiasBound_densityDATA_PATHEXT_DATA_PATHplot_ft

Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpracmapurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Bias bound approach for conditional expectation estimationbiasBound_condExpectation
Bias bound approach for density estimationbiasBound_density
The Path to the Data FolderDATA_PATH
Epanechnikov Kernelepanechnikov_kernel
Fourier Transform Epanechnikov Kernelepanechnikov_kernel_ft
The Path to the External Data Folder for Non-R Data FilesEXT_DATA_PATH
Approximation Function for Intensive Calculationsfun_approx
Generate Sample Datagen_sample_data
Kernel point estimationget_avg_f1x
Kernel point estimationget_avg_fyx
Compute Sample Average of Fourier Transform Magnitudeget_avg_phi
Compute log sample average of fourier transform and get modget_avg_phi_log
get the conditional variance of Y on X for given xget_conditional_var
get the estimation of A and rget_est_Ar
get the estimation of Bget_est_B
Estimation of bias b1xget_est_b1x
Estimation of bias byxget_est_byx
get the estimation of Vyget_est_vy
Estimation of sigmaget_sigma
Estimation of sigma_yxget_sigma_yx
get xi intervalget_xi_interval
Kernel Regression functionkernel_reg
Normal Kernel Functionnormal_kernel
Fourier Transform of Normal Kernelnormal_kernel_ft
Plot the Fourier Transformplot_ft
Generate n samples from the distributionrpoly01
Sample Datasample_data
Infinite Kernel Functionsinc
Define the closed form FT of the infinite order kernel sin(x)/(pi*x)sinc_ft
True density of 2-fold uniform distributiontrue_density_2fold
Define the inverse Fourier transform function of WW_kernel
Define the Fourier transform of a infinite kernel proposed in Schennach 2004W_kernel_ft