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, <>), the Social Sciences and Humanities Research Council of Canada (SSHRC, <>), and the Shared Hierarchical Academic Research Computing Network (SHARCNET, <>). 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.

Version: 0.60-17
Imports: boot, cubature, methods, quadprog, quantreg, stats
Suggests: MASS, logspline, ks
Published: 2023-03-13
DOI: 10.32614/
Author: Jeffrey S. Racine [aut, cre], Tristen Hayfield [aut]
Maintainer: Jeffrey S. Racine <racinej at>
License: GPL-2 | GPL-3 [expanded from: GPL]
Copyright: see file COPYRIGHTS
NeedsCompilation: yes
Citation: np citation info
Materials: README ChangeLog
In views: Econometrics
CRAN checks: np results


Reference manual: np.pdf
Vignettes: Entropy-based Inference Using the np Package
The np Package
Frequently Asked Questions (np)


Package source: np_0.60-17.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): np_0.60-17.tgz, r-oldrel (arm64): np_0.60-17.tgz, r-release (x86_64): np_0.60-17.tgz, r-oldrel (x86_64): np_0.60-17.tgz
Old sources: np archive

Reverse dependencies:

Reverse depends: CovSel, DepthProc, generalCorr, practicalSigni, rddtools, semsfa, sharpPen, tempted
Reverse imports: AROC, assessor, bndovb, causalweight, Compind, condSURV, crs, drtmle, lg, nlpred, nonsmooth, npbr, nse, NSM3, pssmooth, Qtools, quantCurves, quantilogram, rcDEA, ROCnReg, sievePH, simIReff, sobolnp, survidm
Reverse suggests: AER, BNSP, mpae, spaero


Please use the canonical form to link to this page.