crs v0.15-31

0

Monthly downloads

0th

Percentile

Categorical Regression Splines

Regression splines that handle a mix of continuous and categorical (discrete) data often encountered in applied settings. I would like to gratefully acknowledge support from the Natural Sciences and Engineering Research Council of Canada (NSERC, <http://www.nserc-crsng.gc.ca>), the Social Sciences and Humanities Research Council of Canada (SSHRC, <http://www.sshrc-crsh.gc.ca>), and the Shared Hierarchical Academic Research Computing Network (SHARCNET, <https://www.sharcnet.ca>).

Readme

crs

CRAN downloads

This is the R package `crs' (Categorical Regression Splines) written and maintained by Jeffrey S. Racine (racinej@mcmaster.ca) with the invaluable assistance of Zhenghua Nie.

Installation

You can install the stable version on CRAN:

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

Or download the zip ball or tar ball, decompress and run R CMD INSTALL on it, or install then use the devtools package to install the development version:

library(devtools); install_github('R-Package-crs', 'JeffreyRacine')

Note 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).

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

Functions in crs

Name Description
wage1 Cross-Sectional Data on Wages
Engel95 1995 British Family Expenditure Survey
crs-package Nonparametric Regression Splines with Continuous and Categorical Predictors
crssigtest Regression Spline Significance Test with Mixed Data Types
cps71 Canadian High School Graduate Earnings
crsivderiv Nonparametric Instrumental Derivatives
clsd Categorical Logspline Density
crsiv Nonparametric Instrumental Regression
frscv Categorical Factor Regression Spline Cross-Validation
crs Categorical Regression Splines
gsl.bs GSL (GNU Scientific Library) B-spline/B-spline Derivatives
glp.model.matrix Utility function for constructing generalized polynomial smooths
uniquecombs Find the unique rows in a matrix
tensor.prod.model.matrix Utility functions for constructing tensor product smooths
snomadr R interface to NOMAD
frscvNOMAD Categorical Factor Regression Spline Cross-Validation
krscvNOMAD Categorical Kernel Regression Spline Cross-Validation
krscv Categorical Kernel Regression Spline Cross-Validation
npglpreg Generalized Local Polynomial Regression
No Results!

Vignettes of crs

Name
crs.Rnw
crs.bib
crs_faq.Rnw
crs_faq.bib
spline_primer.Rnw
spline_primer.bib
No Results!

Last month downloads

Details

Date 2018-05-01
License GPL (>= 3)
URL https://github.com/JeffreyRacine/R-Package-crs
BugReports https://github.com/JeffreyRacine/R-Package-crs/issues
Repository CRAN
NeedsCompilation yes
Packaged 2018-05-01 14:14:49 UTC; jracine
Date/Publication 2018-05-01 15:56:11 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/crs)](http://www.rdocumentation.org/packages/crs)