Learn R Programming

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

gamclass (version 0.62.3)

Functions and Data for a Course on Modern Regression and Classification

Description

Functions and data are provided that support a course that emphasizes statistical issues of inference and generalizability. The functions are designed to make it straightforward to illustrate the use of cross-validation, the training/test approach, simulation, and model-based estimates of accuracy. Methods considered are Generalized Additive Modeling, Linear and Quadratic Discriminant Analysis, Tree-based methods, and Random Forests.

Copy Link

Version

Install

install.packages('gamclass')

Monthly Downloads

246

Version

0.62.3

License

GPL (>= 2)

Maintainer

John Maindonald

Last Published

November 14th, 2020

Functions in gamclass (0.62.3)

eventCounts

Tabulate vector of dates by specified time event
cvalues

Historical speed of light measurements
bssBYcut

Between group SS for y, for all possible splits on values of x
CVcluster

Cross-validation estimate of predictive accuracy for clustered data
compareModels

Compare accuracy of alternative classification methods
CVgam

Cross-validation estimate of accuracy from GAM model fit
fars2007

US Fatal Road Accident Data, 2007 and 2008
german

German credit scoring data
rfErr

Calculate Error Rates for randomForest model
rpartErr

Calculate Error Rates for rpart model
gamRF

Random forest fit to residuals from GAM model
relDeaths

Yearly Driver deaths, as Fraction of Deaths for All Years
plotFars

Plot Protection Device Effectiveness Measure Against Year
bronchitis

Chronic bronchitis in a sample of men in Cardiff
bomregions2018

Australian and Related Historical Annual Climate Data, by Region
greatLakesM

Monthly Great Lake heights: 1918 - 2019
frontDeaths

Safety Device effectiveness Measures, by Year
FARS

US fatal road accident data for automobiles, 1998 to 2010
ldaErr

Calculate Error Rates for Linear Discriminant Model
RFcluster

Random forests estimate of predictive accuracy for clustered data
tabFarsDead

Extract ratio of ratios estimate of safety device effectiveness, from the Fars dataset.
loti

Global temperature anomalies
simreg

Simulate (repeated) regression calculations
addhlines

Add horizontal lines to plot.
airAccs

Aircraft Crash data
confusion

Given actual and predicted group assignments, give the confusion matrix
coralPval

P-values from biological expression array data
modregR-package

Functions and Data for a Course in Modern Regression