Learn R Programming

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

npreg (version 1.0-9)

Nonparametric Regression via Smoothing Splines

Description

Multiple and generalized nonparametric regression using smoothing spline ANOVA models and generalized additive models, as described in Helwig (2020) . Includes support for Gaussian and non-Gaussian responses, smoothers for multiple types of predictors, interactions between smoothers of mixed types, eight different methods for smoothing parameter selection, and flexible tools for prediction and inference.

Copy Link

Version

Install

install.packages('npreg')

Monthly Downloads

399

Version

1.0-9

License

GPL (>= 2)

Maintainer

Nathaniel Helwig

Last Published

July 20th, 2022

Functions in npreg (1.0-9)

bin.sample

Bin Sample a Vector, Matrix, or Data Frame
msqrt

Matrix (Inverse?) Square Root
deviance

Smooth Model Deviance
fitted

Extract Smooth Model Fitted Values
diagnostic.plots

Plot Nonparametric Regression Diagnostics
model.matrix

Construct Design Matrix for Fit Model
NegBin

Family Function for Negative Binomial
gsm

Fit a Generalized Smooth Model
coef

Extract Smooth Model Coefficients
boot

Bootstrap a Fit Smooth
polynomial

Polynomial Smoothing Spline Basis and Penalty
predict.gsm

Predict method for Generalized Smooth Model Fits
ordinal

Ordinal Smoothing Spline Basis and Penalty
number2color

Map Numbers to Colors
plot.ss

Plot method for Smoothing Spline Fit and Bootstrap
plotci

Generic X-Y Plotting with Confidence Intervals
npreg-internals

Internal Functions for "npreg"
nominal

Nominal Smoothing Spline Basis and Penalty
predict.sm

Predict method for Smooth Model Fits
predict.ss

Predict method for Smoothing Spline Fits
thinplate

Thin Plate Spline Basis and Penalty
smooth.influence.measures

Nonparametric Regression Deletion Diagnostics
psolve

Pseudo-Solve a System of Equations
theta.mle

MLE of Theta for Negative Binomial
ss

Fit a Smoothing Spline
spherical

Spherical Spline Basis and Penalty
smooth.influence

Nonparametric Regression Diagnostics
sm

Fit a Smooth Model
residuals

Extract Model Residuals
wtd.mean

Weighted Arithmetic Mean
wtd.var

Weighted Variance and Standard Deviation
wtd.quantile

Weighted Quantiles
varimp

Variable Importance Indices
varinf

Variance Inflation Factors
summary

Summary methods for Fit Models
weights

Extract Smooth Model Weights
vcov

Calculate Variance-Covariance Matrix for a Fitted Smooth Model