Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


regclass (version 1.6)

Tools for an Introductory Class in Regression and Modeling

Description

Contains basic tools for visualizing, interpreting, and building regression models. It has been designed for use with the book Introduction to Regression and Modeling with R by Adam Petrie, Cognella Publishers, ISBN: 978-1-63189-250-9 .

Copy Link

Version

Install

install.packages('regclass')

Monthly Downloads

2,573

Version

1.6

License

GPL (>= 2)

Maintainer

Adam Petrie

Last Published

February 21st, 2020

Functions in regclass (1.6)

CHARITY

CHARITY dataset
CUSTLOYALTY

CUSTLOYALTY dataset
CUSTCHURN

CUSTCHURN dataset
APPLIANCE

Appliance shipments
EX9.STORE

Data for Exercise 3 Chapter 9
EX4.STOCKPREDICT

Stock data for Exercise 2 in Chapter 4 (prediction set)
EX9.NFL

NFL data for Exercise 2 Chapter 9
EX3.HOUSING

Housing data for Exercise E in Chapter 3
EX4.STOCKS

Stock data for Exercise 2 in Chapter 4
CHURN

CHURN dataset
DIET

DIET data
CENSUS

CENSUS data
CENSUSMLR

Subset of CENSUS data
DONOR

DONOR dataset
EX3.NFL

NFL data for Exercise A in Chapter 3
EX7.BIKE

BIKE dataset for Exercise 1 Chapters 7 and 8
EX3.BODYFAT

Bodyfat data for Exercise F in Chapter 3
build_tree

Exploratory building of partition models
EDUCATION

EDUCATION data
EX6.WINE

WINE data for Exercise 3 Chapter 6
EX4.BIKE

Bike data for Exercise 1 in Chapter 4
check_regression

Linear and Logistic Regression diagnostics
NFL

NFL database
EX5.BIKE

BIKE dataset for Exercise 4 Chapter 5
OFFENSE

Some offensive statistics from NFL dataset
getcp

Complexity Parameter table for partition models
EX5.DONOR

DONOR dataset for Exercise 4 in Chapter 5
FUMBLES

Wins vs. Fumbles of an NFL team
STUDENT

STUDENT data
SURVEY09

Student survey 2009
FRIEND

Friendship Potential vs. Attractiveness Ratings
EX2.CENSUS

CENSUS data for Exercise 5 in Chapter 2
associate

Association Analysis
build_model

Variable selection for descriptive or predictive linear and logistic regression models
SURVEY10

Student survey 2010
cor_matrix

Correlation Matrix
CUSTREACQUIRE

CUSTREACQUIRE dataset
influence_plot

Influence plot for regression diganostics
SALARY

Harris Bank Salary data
EX6.DONOR

DONOR dataset for Exercise 1 in Chapter 6
JUNK

Junk-mail dataset
EX6.CLICK

CLICK data for Exercise 2 in Chapter 6
SURVEY11

Student survey 2011
LARGEFLYER

Interest in frequent flier program (large version)
SMALLFLYER

Interest in a frequent flier program (small version)
LAUNCH

New product launch data
extrapolation_check

A crude check for extrapolation
segmented_barchart

Segmented barchart
suggest_levels

Combining levels of a categorical variable
MOVIE

Movie grosses
mosaic

Mosaic plot
see_models

Examining model AICs from the "all possible" regressions procedure using regsubsets
mode_factor

Find the mode of a categorical variable
see_interactions

Examining pairwise interactions between quantitative variables for a fitted regression model
VIF

Variance Inflation Factor
TIPS

TIPS dataset
PURCHASE

PURCHASE data
PRODUCT

Sales of a product one quarter after release
WINE

WINE data
visualize_relationship

Visualizing the relationship between y and x in a partition model
EX3.ABALONE

ABALONE dataset for Exercise D in Chapter 3
EX2.TIPS

TIPS data for Exercise 6 in Chapter 2
possible_regressions

Illustrating how a simple linear/logistic regression could have turned out via permutations
qq

QQ plot
CUSTVALUE

CUSTVALUE dataset
all_correlations

Pairwise correlations between quantitative variables
EX9.BIRTHWEIGHT

Birthweight dataset for Exercise 1 in Chapter 9
EX7.CATALOG

CATALOG data for Exercise 2 in Chapters 7 and 8
PIMA

Pima Diabetes dataset
choose_order

Choosing order of a polynomial model
confusion_matrix

Confusion matrix for logistic regression models
cor_demo

Correlation demo
summarize_tree

Useful summaries of partition models from rpart
combine_rare_levels

Combines rare levels of a categorical variable
POISON

Cockroach poisoning data
find_transformations

Transformations for simple linear regression
visualize_model

Visualizations of one or two variable linear or logistic regressions or of partitions models
SPEED

Speed vs. Fuel Efficiency
generalization_error

Calculating the generalization error of a model on a set of data
outlier_demo

Interactive demonstration of the effect of an outlier on a regression
overfit_demo

Demonstration of overfitting
SOLD26

Predicting future sales
BULLDOZER

BULLDOZER data
BODYFAT

BODYFAT data
ACCOUNT

Predicting whether a customer will open a new kind of account
AUTO

AUTO dataset
BODYFAT2

Secondary BODYFAT dataset
CALLS

CALLS dataset
BULLDOZER2

Modified BULLDOZER data
ATTRACTF

Attractiveness Score (female)
ATTRACTM

Attractiveness Score (male)