Learn R Programming

⚠️There's a newer version (0.60-17) of this package.Take me there.

np

This is the R package `np' (Nonparametric Kernel Methods for Mixed Datatypes) written and maintained by Jeffrey S. Racine (racinej@mcmaster.ca) and co-authored by Tristen Hayfield (tristen.hayfield@gmail.com)

Installation

You can install the stable version on CRAN:

install.packages('np', dependencies = TRUE)

Or download the zip ball or tar ball, decompress and run R CMD INSTALL on it.

Alternatively, you can install the development version but before doing so Windows users have to first install Rtools, while OS X users have to first install Xcode and the command line tools (in OS X 10.9 or higher, once you have Xcode installed, open a terminal and run xcode-select --install). Note also that versions of e.g. Rtools are paired with versions of R so ensure you have the latest version of R installed prior to commencing this process.

After installing Rtools/Xcode and devtools (via install.packages("devtools")), install the development package using the following command:

library(devtools); install_github('JeffreyRacine/R-Package-np')

Note also that if you wish a fast install without the building of vignettes (or if you do not have TeX installed on your system), add the option build_vignettes=FALSE to the install_github() call.

Note that if you wish to install the MPI-enabled development version of the package (i.e. the package `npRmpi'), you can add the option ref='npRmpi' to the install_github call above presuming that your system has the required MPI subsystem installed (see my homepage for further details).

For more information on this project please visit the maintainer's website (https://www.socialsciences.mcmaster.ca/people/racinej).

Copy Link

Version

Install

install.packages('np')

Monthly Downloads

5,379

Version

0.60-8

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 4th, 2018

Functions in np (0.60-8)

npcdist

Kernel Conditional Distribution Estimation with Mixed Data Types
npquantile

Kernel Univariate Quantile Estimation
npqreg

Kernel Quantile Regression with Mixed Data Types
npqcmstest

Kernel Consistent Quantile Regression Model Specification Test with Mixed Data Types
npksum

Kernel Sums with Mixed Data Types
npplregbw

Partially Linear Kernel Regression Bandwidth Selection with Mixed Data Types
npplreg

Partially Linear Kernel Regression with Mixed Data Types
npudistbw

Kernel Distribution Bandwidth Selection with Mixed Data Types
npregbw

Kernel Regression Bandwidth Selection with Mixed Data Types
npreg

Kernel Regression with Mixed Data Types
npplot

General Purpose Plotting of Nonparametric Objects
npsdeptest

Kernel Consistent Serial Dependence Test for Univariate Nonlinear Processes
npindex

Semiparametric Single Index Model
npregiv

Nonparametric Instrumental Regression
npindexbw

Semiparametric Single Index Model Parameter and Bandwidth Selection
npsymtest

Kernel Consistent Density Asymmetry Test with Mixed Data Types
npscoef

Smooth Coefficient Kernel Regression
npsigtest

Kernel Regression Significance Test with Mixed Data Types
npscoefbw

Smooth Coefficient Kernel Regression Bandwidth Selection
npunitest

Kernel Consistent Univariate Density Equality Test with Mixed Data Types
npuniden.boundary

Kernel Bounded Univariate Density Estimation Via Boundary Kernel Functions
npuniden.sc

Kernel Shape Constrained Bounded Univariate Density Estimation
se

Extract Standard Errors
npregivderiv

Nonparametric Instrumental Derivatives
npuniden.reflect

Kernel Bounded Univariate Density Estimation Via Data-Reflection
uocquantile

Compute Quantiles
nptgauss

Truncated Second-order Gaussian Kernels
npseed

Set Random Seed
b.star

Compute Optimal Block Length for Stationary and Circular Bootstrap
wage1

Cross-Sectional Data on Wages
oecdpanel

Cross Country Growth Panel
gradients

Extract Gradients
npcmstest

Kernel Consistent Model Specification Test with Mixed Data Types
np

Nonparametric Kernel Smoothing Methods for Mixed Data Types
npcdens

Kernel Conditional Density Estimation with Mixed Data Types
Engel95

1995 British Family Expenditure Survey
cps71

Canadian High School Graduate Earnings
Italy

Italian GDP Panel
npdeptest

Kernel Consistent Pairwise Nonlinear Dependence Test for Univariate Processes
npudist

Kernel Distribution Estimation with Mixed Data Types
npcopula

Kernel Copula Estimation with Mixed Data Types
npcdensbw

Kernel Conditional Density Bandwidth Selection with Mixed Data Types
npdeneqtest

Kernel Consistent Density Equality Test with Mixed Data Types
npcdistbw

Kernel Conditional Distribution Bandwidth Selection with Mixed Data Types
npconmode

Kernel Modal Regression with Mixed Data Types
npudens

Kernel Density Estimation with Mixed Data Types
npudensbw

Kernel Density Bandwidth Selection with Mixed Data Types