Package: np 0.80-1
np: Nonparametric Kernel Smoothing Methods for Mixed Data Types
Nonparametric (and semiparametric) kernel methods that seamlessly handle a mix of continuous, unordered, and ordered factor data types. We would like to gratefully acknowledge support from the Natural Sciences and Engineering Research Council of Canada (NSERC, <https://www.nserc-crsng.gc.ca/>), the Social Sciences and Humanities Research Council of Canada (SSHRC, <https://sshrc-crsh.canada.ca/en.aspx>), and the Shared Hierarchical Academic Research Computing Network (SHARCNET, <https://sharcnet.ca/>). We would also like to acknowledge the contributions of the GNU GSL authors. In particular, we adapt the GNU GSL B-spline routine gsl_bspline.c adding automated support for quantile knots (in addition to uniform knots), providing missing functionality for derivatives, and for extending the splines beyond their endpoints.
Authors:
np_0.80-1.tar.gz
np_0.80-1.zip(r-4.7-x86_64)np_0.80-1.zip(r-4.7-arm64)np_0.80-1.zip(r-4.6-x86_64)np_0.80-1.zip(r-4.6-arm64)np_0.80-1.zip(r-4.5-x86_64)
np_0.80-1.tgz(r-4.6-x86_64)np_0.80-1.tgz(r-4.6-arm64)np_0.80-1.tgz(r-4.5-x86_64)np_0.80-1.tgz(r-4.5-arm64)
np_0.80-1.tar.gz(r-4.7-arm64)np_0.80-1.tar.gz(r-4.7-x86_64)np_0.80-1.tar.gz(r-4.6-arm64)np_0.80-1.tar.gz(r-4.6-x86_64)
np_0.80-1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
np/json (API)
| # Install 'np' in R: |
| install.packages('np', repos = c('https://jeffreyracine.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jeffreyracine/r-package-np/issues
- bw - Cross Country Growth Panel
- bw.all - Cross-Sectional Data on Wages
- bw.subset - Cross-Sectional Data on Wages
- cps71 - Canadian High School Graduate Earnings
- Engel95 - 1995 British Family Expenditure Survey
- Italy - Italian GDP Panel
- oecdpanel - Cross Country Growth Panel
- wage1 - Cross-Sectional Data on Wages
Last updated from:6d6facea3b. Checks:12 OK, 3 NOTE. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 283 | ||
| linux-devel-x86_64 | OK | 356 | ||
| source / vignettes | OK | 392 | ||
| linux-release-arm64 | OK | 270 | ||
| linux-release-x86_64 | OK | 317 | ||
| macos-release-arm64 | OK | 317 | ||
| macos-release-x86_64 | OK | 749 | ||
| macos-oldrel-arm64 | NOTE | 252 | ||
| macos-oldrel-x86_64 | NOTE | 526 | ||
| windows-devel-arm64 | OK | 490 | ||
| windows-devel-x86_64 | OK | 454 | ||
| windows-release-arm64 | OK | 437 | ||
| windows-release-x86_64 | OK | 382 | ||
| windows-oldrel-x86_64 | NOTE | 385 | ||
| wasm-release | OK | 117 |
Exports:b.stardimBSgradientsnp_boot_controlnp_grid_controlnp_render_controlnp.pairsnp.pairs.plotnpcdensnpcdensbwnpcdenshatnpcdistnpcdistbwnpcdisthatnpcmstestnpconmodenpcopulanpdeneqtestnpdeptestnpindexnpindexbwnpindexhatnpksumnplsqregnplsqregbwnpplregnpplregbwnpplreghatnpqcmstestnpqregnpquantilenpregnpregbwnpreghatnpregivnpregivderivnpscoefnpscoefbwnpscoefhatnpsdeptestnpseednpsigtestnpsymtestnpudensnpudensbwnpudenshatnpudistnpudistbwnpudisthatnpuniden.boundarynpuniden.reflectnpuniden.scnpunitestseuocquantile
Dependencies:bootcrslatticeMASSMatrixMatrixModelsquadprogquantregSparseMsurvival
Last update: 2026-10-15
Started: 2026-03-21
Last update: 2026-03-21
Started: 2026-03-21
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Compute Optimal Block Length for Stationary and Circular Bootstrap | b.star |
| Canadian High School Graduate Earnings | cps71 |
| Local-Polynomial Basis Dimension Helper | dimBS |
| 1995 British Family Expenditure Survey | Engel95 |
| Extract Gradients | gradients gradients.condensity gradients.condistribution gradients.conmode gradients.lsqregression gradients.npregression gradients.qregression gradients.singleindex |
| Italian GDP Panel | Italy |
| Nonparametric Kernel Smoothing Methods for Mixed Data Types | np-package np |
| Validated plot control helpers | np_boot_control np_grid_control np_render_control |
| Kernel Functions Used In 'np' | np.kernels |
| Global Package Options for 'np' | np.options |
| Cross-Validated Pairs Plot (Helper Functions) | np.pairs np.pairs.plot |
| Kernel Conditional Density Estimation with Mixed Data Types | npcdens npcdens.conbandwidth npcdens.default npcdens.formula |
| Kernel Conditional Density Bandwidth Selection with Mixed Data Types | npcdensbw npcdensbw.conbandwidth npcdensbw.default npcdensbw.formula |
| Conditional Density Hat Operator | npcdenshat |
| Kernel Conditional Distribution Estimation with Mixed Data Types | npcdist npcdist.condbandwidth npcdist.default npcdist.formula |
| Kernel Conditional Distribution Bandwidth Selection with Mixed Data Types | npcdistbw npcdistbw.condbandwidth npcdistbw.default npcdistbw.formula |
| Conditional Distribution Hat Operator | npcdisthat |
| Kernel Consistent Model Specification Test with Mixed Data Types | npcmstest |
| Kernel Modal Regression with Mixed Data Types | npconmode npconmode.conbandwidth npconmode.condbandwidth npconmode.default npconmode.formula plot.conmode predict.conmode |
| Kernel Copula Estimation with Mixed Data Types | as.data.frame.npcopula fitted.npcopula npcopula npcopula.default npcopula.formula plot.npcopula predict.npcopula print.npcopula se.npcopula summary.npcopula |
| Kernel Consistent Density Equality Test with Mixed Data Types | npdeneqtest |
| Kernel Consistent Pairwise Nonlinear Dependence Test for Univariate Processes | npdeptest |
| Semiparametric Single Index Model | npindex npindex.default npindex.formula npindex.sibandwidth |
| Semiparametric Single Index Model Parameter and Bandwidth Selection | npindexbw npindexbw.default npindexbw.formula npindexbw.sibandwidth |
| Kernel Sums with Mixed Data Types | npksum npksum.default npksum.formula npksum.numeric |
| Location-Scale Kernel Quantile Regression with Mixed Data Types | fitted.lsqregression nplsqreg nplsqreg.default nplsqreg.formula nplsqreg.lsqregressionbandwidth plot.lsqregression predict.lsqregression print.lsqregression quantile.lsqregression residuals.lsqregression se.lsqregression summary.lsqregression |
| Bandwidth Selection for Location-Scale Kernel Quantile Regression | lsqregressionbandwidth nplsqregbw nplsqregbw.default nplsqregbw.formula nplsqregbw.lsqregressionbandwidth print.lsqregressionbandwidth summary.lsqregressionbandwidth |
| Partially Linear Kernel Regression with Mixed Data Types | npplreg npplreg.default npplreg.formula npplreg.plbandwidth |
| Partially Linear Kernel Regression Bandwidth Selection with Mixed Data Types | npplregbw npplregbw.default npplregbw.formula npplregbw.plbandwidth |
| Kernel Consistent Quantile Regression Model Specification Test with Mixed Data Types | npqcmstest |
| Kernel Quantile Regression with Mixed Data Types | npqreg npqreg.condbandwidth npqreg.default npqreg.formula plot.qregression predict.qregression |
| Kernel Univariate Quantile Estimation | npquantile |
| Kernel Regression with Mixed Data Types | npreg npreg.default npreg.formula npreg.rbandwidth |
| Kernel Regression Bandwidth Selection with Mixed Data Types | npregbw npregbw.default npregbw.formula npregbw.rbandwidth |
| Nonparametric Regression Hat Operator | npreghat npreghat.formula npreghat.npregression npreghat.rbandwidth predict.npreghat print.npreghat |
| Nonparametric Instrumental Regression | fitted.npregiv gradients.npregiv npregiv npregiv.default npregiv.formula plot.npregiv print.summary.npregiv residuals.npregiv summary.npregiv |
| Nonparametric Instrumental Derivatives | fitted.npregivderiv gradients.npregivderiv npregivderiv npregivderiv.default npregivderiv.formula plot.npregivderiv print.summary.npregivderiv residuals.npregivderiv summary.npregivderiv |
| Smooth Coefficient Kernel Regression | npscoef npscoef.default npscoef.formula npscoef.scbandwidth |
| Smooth Coefficient Kernel Regression Bandwidth Selection | npscoefbw npscoefbw.default npscoefbw.formula npscoefbw.scbandwidth |
| Kernel Consistent Serial Dependence Test for Univariate Nonlinear Processes | npsdeptest |
| Set Random Seed | npseed |
| Experimental Hat Operators for Semiparametric Estimators | npindexhat npplreghat npscoefhat |
| Kernel Regression Significance Test with Mixed Data Types | npsigtest npsigtest.default npsigtest.formula npsigtest.npregression npsigtest.rbandwidth |
| Kernel Consistent Density Asymmetry Test with Mixed Data Types | npsymtest |
| Kernel Density Estimation with Mixed Data Types | npudens npudens.bandwidth npudens.default npudens.formula |
| Kernel Density Bandwidth Selection with Mixed Data Types | npudensbw npudensbw.bandwidth npudensbw.default npudensbw.formula |
| Unconditional Density Hat Operator | npudenshat |
| Kernel Distribution Estimation with Mixed Data Types | npudist npudist.dbandwidth npudist.default npudist.formula |
| Kernel Distribution Bandwidth Selection with Mixed Data Types | npudistbw npudistbw.dbandwidth npudistbw.default npudistbw.formula |
| Unconditional Distribution Hat Operator | npudisthat |
| Kernel Bounded Univariate Density Estimation Via Boundary Kernel Functions | npuniden.boundary |
| Kernel Bounded Univariate Density Estimation Via Data-Reflection | npuniden.reflect |
| Kernel Shape Constrained Bounded Univariate Density Estimation | npuniden.sc |
| Kernel Consistent Univariate Density Equality Test with Mixed Data Types | npunitest |
| Cross Country Growth Panel | bw oecdpanel |
| General Purpose Plotting of Nonparametric Objects | plot.bandwidth plot.conbandwidth plot.np plot.plbandwidth plot.rbandwidth plot.scbandwidth plot.sibandwidth |
| Extract Standard Errors | se |
| Compute Quantiles | uocquantile |
| Cross-Sectional Data on Wages | bw.all bw.subset wage1 |