Learn R Programming

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

npreg (version 1.0-8)

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-8

License

GPL (>= 2)

Maintainer

Nathaniel Helwig

Last Published

March 31st, 2022

Functions in npreg (1.0-8)

bin.sample

Bin Sample a Vector, Matrix, or Data Frame
number2color

Map Numbers to Colors
fitted

Extract Model Fitted Values
model.matrix

Construct Design Matrix for Fit Model
NegBin

Family Function for Negative Binomial
npreg-internals

Internal Functions for "npreg"
msqrt

Matrix (Inverse?) Square Root
gsm

Fit a Generalized Smooth Model
nominal

Nominal Smoothing Spline Basis and Penalty
boot

Bootstrap a Fit Smooth
predict.gsm

Predict method for Generalized Smooth Model Fits
sm

Fit a Smooth Model
resid

Extract Model Residuals
predict.sm

Predict method for Smooth Model Fits
ss

Fit a Smoothing Spline
varimp

Variable Importance
psolve

Pseudo-Solve a System of Equations
predict.ss

Predict method for Smoothing Spline Fits
thinplate

Thin Plate Spline Basis and Penalty
spherical

Spherical Spline Basis and Penalty
summary

Summary methods for Fit Models
theta.mle

MLE of Theta for Negative Binomial
plot.ss

Plot method for Smoothing Spline Fit and Bootstrap
wtd.quantile

Weighted Quantiles
wtd.mean

Weighted Arithmetic Mean
ordinal

Ordinal Smoothing Spline Basis and Penalty
polynomial

Polynomial Smoothing Spline Basis and Penalty
plotci

Generic X-Y Plotting with Confidence Intervals
wtd.var

Weighted Variance and Standard Deviation