regclass: Tools for an Introductory Class in Regression and Modeling

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 <https://titles.cognella.com/behavioral-and-social-sciences/general-social-sciences/introduction-to-regression-and-modeling-with-r-9781631892509.html>.

AuthorAdam Petrie
Date of publication2017-01-10 19:55:22
MaintainerAdam Petrie <apetrie@utk.edu>
LicenseGPL (>= 2)
Version1.5

View on CRAN

Man pages

ACCOUNT: Predicting whether a customer will open a new kind of account

all_correlations: Pairwise correlations between quantitative variables

APPLIANCE: Appliance shipments

associate: Association Analysis

ATTRACTF: Attractiveness Score (female)

ATTRACTM: Attractiveness Score (male)

AUTO: AUTO dataset

BODYFAT: BODYFAT data

BODYFAT2: Secondary BODYFAT dataset

build_model: Variable selection for descriptive or predictive linear and...

build_tree: Exploratory building of partition models

BULLDOZER: BULLDOZER data

BULLDOZER2: Modified BULLDOZER data

CALLS: CALLS dataset

CENSUS: CENSUS data

CENSUSMLR: Subset of CENSUS data

CHARITY: CHARITY dataset

check_regression: Linear and Logistic Regression diagnostics

choose_order: Choosing order of a polynomial model

CHURN: CHURN dataset

combine_rare_levels: Combines rare levels of a categorical variable

confusion_matrix: Confusion matrix for logistic regression models

cor_demo: Correlation demo

cor_matrix: Correlation Matrix

CUSTCHURN: CUSTCHURN dataset

CUSTLOYALTY: CUSTLOYALTY dataset

CUSTREACQUIRE: CUSTREACQUIRE dataset

CUSTVALUE: CUSTVALUE dataset

DIET: DIET data

DONOR: DONOR dataset

EDUCATION: EDUCATION data

EX2.CENSUS: CENSUS data for Exercise 5 in Chapter 2

EX2.TIPS: TIPS data for Exercise 6 in Chapter 2

EX3.ABALONE: ABALONE dataset for Exercise D in Chapter 3

EX3.BODYFAT: Bodyfat data for Exercise F in Chapter 3

EX3.HOUSING: Housing data for Exercise E in Chapter 3

EX3.NFL: NFL data for Exercise A in Chapter 3

EX4.BIKE: Bike data for Exercise 1 in Chapter 4

EX4.STOCKPREDICT: Stock data for Exercise 2 in Chapter 4 (prediction set)

EX4.STOCKS: Stock data for Exercise 2 in Chapter 4

EX5.BIKE: BIKE dataset for Exercise 4 Chapter 5

EX5.DONOR: DONOR dataset for Exercise 4 in Chapter 5

EX6.CLICK: CLICK data for Exercise 2 in Chapter 6

EX6.DONOR: DONOR dataset for Exercise 1 in Chapter 6

EX6.WINE: WINE data for Exercise 3 Chapter 6

EX7.BIKE: BIKE dataset for Exercise 1 Chapters 7 and 8

EX7.CATALOG: CATALOG data for Exercise 2 in Chapters 7 and 8

EX9.BIRTHWEIGHT: Birthweight dataset for Exercise 1 in Chapter 9

EX9.NFL: NFL data for Exercise 2 Chapter 9

EX9.STORE: Data for Exercise 3 Chapter 9

extrapolation_check: A crude check for extrapolation

find_transformations: Transformations for simple linear regression

FRIEND: Friendship Potential vs. Attractiveness Ratings

FUMBLES: Wins vs. Fumbles of an NFL team

generalization_error: Calculating the generalization error of a model on a set of...

getcp: Complexity Parameter table for partition models

influence_plot: Influence plot for regression diganostics

JUNK: Junk-mail dataset

LARGEFLYER: Interest in frequent flier program (large version)

LAUNCH: New product launch data

mode_factor: Find the mode of a categorical variable

mosaic: Mosaic plot

MOVIE: Movie grosses

NFL: NFL database

OFFENSE: Some offensive statistics from 'NFL' dataset

outlier_demo: Interactive demonstration of the effect of an outlier on a...

overfit_demo: Demonstration of overfitting

PIMA: Pima Diabetes dataset

POISON: Cockroach poisoning data

possible_regressions: Illustrating how a simple linear/logistic regression could...

PRODUCT: Sales of a product one quarter after release

PURCHASE: PURCHASE data

qq: QQ plot

SALARY: Harris Bank Salary data

see_interactions: Examining pairwise interactions between quantitative...

see_models: Examining model AICs from the "all possible" regressions...

segmented_barchart: Segmented barchart

SMALLFLYER: Interest in a frequent flier program (small version)

SOLD26: Predicting future sales

SPEED: Speed vs. Fuel Efficiency

STUDENT: STUDENT data

suggest_levels: Combining levels of a categorical variable

summarize_tree: Useful summaries of partition models from rpart

SURVEY09: Student survey 2009

SURVEY10: Student survey 2010

SURVEY11: Student survey 2011

TIPS: TIPS dataset

VIF: Variance Inflation Factor

visualize_model: Visualizations of one or two variable linear or logistic...

visualize_relationship: Visualizing the relationship between y and x in a partition...

WINE: WINE data

Functions

ACCOUNT Man page
all_correlations Man page
all.correlations Man page
APPLIANCE Man page
associate Man page
ATTRACTF Man page
ATTRACTM Man page
AUTO Man page
BODYFAT Man page
BODYFAT2 Man page
build_model Man page
build.model Man page
build_tree Man page
build.tree Man page
BULLDOZER Man page
BULLDOZER2 Man page
CALLS Man page
CENSUS Man page
CENSUSMLR Man page
CHARITY Man page
check_regression Man page
check.regression Man page
choose_order Man page
choose.order Man page
CHURN Man page
combine_rare_levels Man page
confusion_matrix Man page
confusion.matrix Man page
cor_demo Man page
cor.demo Man page
cor_matrix Man page
cor.matrix Man page
CUSTCHURN Man page
CUSTLOYALTY Man page
CUSTREACQUIRE Man page
CUSTVALUE Man page
DIET Man page
DONOR Man page
EDUCATION Man page
EX2.CENSUS Man page
EX2.TIPS Man page
EX3.ABALONE Man page
EX3.BODYFAT Man page
EX3.HOUSING Man page
EX3.NFL Man page
EX4.BIKE Man page
EX4.STOCKPREDICT Man page
EX4.STOCKS Man page
EX5.BIKE Man page
EX5.DONOR Man page
EX6.CLICK Man page
EX6.DONOR Man page
EX6.WINE Man page
EX7.BIKE Man page
EX7.CATALOG Man page
EX9.BIRTHWEIGHT Man page
EX9.NFL Man page
EX9.STORE Man page
extrapolation_check Man page
extrapolation.check Man page
find_transformations Man page
find.transformations Man page
FRIEND Man page
FUMBLES Man page
generalization_error Man page
generalization.error Man page
getcp Man page
influence_plot Man page
influence.plot Man page
JUNK Man page
LARGEFLYER Man page
LAUNCH Man page
mode_factor Man page
mosaic Man page
MOVIE Man page
NFL Man page
OFFENSE Man page
outlier_demo Man page
outlier_demo Man page
overfit_demo Man page
overfit.demo Man page
PIMA Man page
POISON Man page
possible_regressions Man page
possible.regressions Man page
PRODUCT Man page
PURCHASE Man page
qq Man page
SALARY Man page
see_interactions Man page
see.interactions Man page
see_models Man page
see.models Man page
segmented_barchart Man page
segmented.barchart Man page
SMALLFLYER Man page
SOLD26 Man page
SPEED Man page
STUDENT Man page
suggest_levels Man page
summarize_tree Man page
summarize.tree Man page
SURVEY09 Man page
SURVEY10 Man page
SURVEY11 Man page
TIPS Man page
VIF Man page
visualize_model Man page
visualize.model Man page
visualize_relationship Man page
visualize.relationship Man page
WINE Man page

Files

regclass
regclass/NAMESPACE
regclass/data
regclass/data/SPEED.rda
regclass/data/CENSUSMLR.rda
regclass/data/EX9.NFL.rda
regclass/data/WINE.rda
regclass/data/CUSTVALUE.rda
regclass/data/EX3.NFL.rda
regclass/data/EX6.DONOR.rda
regclass/data/EDUCATION.rda
regclass/data/POISON.rda
regclass/data/PURCHASE.rda
regclass/data/BULLDOZER.rda
regclass/data/CUSTLOYALTY.rda
regclass/data/CUSTCHURN.rda
regclass/data/OFFENSE.rda
regclass/data/CENSUS.rda
regclass/data/SURVEY09.rda
regclass/data/ATTRACTF.rda
regclass/data/ATTRACTM.rda
regclass/data/MOVIE.rda
regclass/data/EX5.DONOR.rda
regclass/data/BULLDOZER2.rda
regclass/data/CALLS.rda
regclass/data/SMALLFLYER.rda
regclass/data/LAUNCH.rda
regclass/data/JUNK.rda
regclass/data/EX4.STOCKS.rda
regclass/data/AUTO.rda
regclass/data/NFL.rda
regclass/data/PIMA.rda
regclass/data/EX2.CENSUS.rda
regclass/data/FRIEND.rda
regclass/data/EX4.BIKE.rda
regclass/data/PRODUCT.rda
regclass/data/CUSTREACQUIRE.rda
regclass/data/TIPS.rda
regclass/data/EX4.STOCKPREDICT.rda
regclass/data/EX9.STORE.rda
regclass/data/DIET.rda
regclass/data/EX9.BIRTHWEIGHT.rda
regclass/data/SURVEY11.rda
regclass/data/EX7.BIKE.rda
regclass/data/EX3.HOUSING.rda
regclass/data/SALARY.rda
regclass/data/datalist
regclass/data/EX6.WINE.rda
regclass/data/SOLD26.rda
regclass/data/APPLIANCE.rda
regclass/data/LARGEFLYER.rda
regclass/data/EX3.ABALONE.rda
regclass/data/EX7.CATALOG.rda
regclass/data/FUMBLES.rda
regclass/data/BODYFAT2.rda
regclass/data/EX6.CLICK.rda
regclass/data/CHURN.rda
regclass/data/ACCOUNT.rda
regclass/data/EX2.TIPS.rda
regclass/data/BODYFAT.rda
regclass/data/DONOR.rda
regclass/data/EX5.BIKE.rda
regclass/data/CHARITY.rda
regclass/data/EX3.BODYFAT.rda
regclass/data/STUDENT.rda
regclass/data/SURVEY10.rda
regclass/R
regclass/R/see_interactions.R regclass/R/outlier_demo.R regclass/R/summarize_tree.R regclass/R/see_models.R regclass/R/getcp.R regclass/R/generalization_error.R regclass/R/possible_regressions.R regclass/R/associate.R regclass/R/overfit_demo.R regclass/R/Untitled.R regclass/R/cor_demo.R regclass/R/build_tree.R regclass/R/segmented_barchart.R regclass/R/choose_order.R regclass/R/mosaic.R regclass/R/confusion_matrix.R regclass/R/build_model.R regclass/R/all_correlations.R regclass/R/check_regression.R regclass/R/find_transformations.R regclass/R/influence_plot.R regclass/R/cor_matrix.R regclass/R/visualize_relationship.R regclass/R/combine_rare_levels.R regclass/R/extrapolation_check.R regclass/R/qq.R regclass/R/mode_factor.R regclass/R/suggest_levels.R regclass/R/VIF.R regclass/R/zzz.R regclass/R/visualize_model.R
regclass/MD5
regclass/DESCRIPTION
regclass/man
regclass/man/LARGEFLYER.Rd regclass/man/BULLDOZER2.Rd regclass/man/WINE.Rd regclass/man/suggest_levels.Rd regclass/man/JUNK.Rd regclass/man/ACCOUNT.Rd regclass/man/EX5.BIKE.Rd regclass/man/SOLD26.Rd regclass/man/build_tree.Rd regclass/man/SURVEY11.Rd regclass/man/CUSTREACQUIRE.Rd regclass/man/see_models.Rd regclass/man/PRODUCT.Rd regclass/man/AUTO.Rd regclass/man/CUSTVALUE.Rd regclass/man/EX6.WINE.Rd regclass/man/associate.Rd regclass/man/SURVEY10.Rd regclass/man/EX5.DONOR.Rd regclass/man/APPLIANCE.Rd regclass/man/OFFENSE.Rd regclass/man/STUDENT.Rd regclass/man/EDUCATION.Rd regclass/man/EX2.CENSUS.Rd regclass/man/PURCHASE.Rd regclass/man/EX6.DONOR.Rd regclass/man/all_correlations.Rd regclass/man/cor_demo.Rd regclass/man/getcp.Rd regclass/man/EX2.TIPS.Rd regclass/man/EX9.STORE.Rd regclass/man/segmented_barchart.Rd regclass/man/CUSTCHURN.Rd regclass/man/EX9.NFL.Rd regclass/man/EX4.BIKE.Rd regclass/man/summarize_tree.Rd regclass/man/confusion_matrix.Rd regclass/man/EX9.BIRTHWEIGHT.Rd regclass/man/influence_plot.Rd regclass/man/combine_rare_levels.Rd regclass/man/BULLDOZER.Rd regclass/man/LAUNCH.Rd regclass/man/EX3.BODYFAT.Rd regclass/man/choose_order.Rd regclass/man/CALLS.Rd regclass/man/EX3.HOUSING.Rd regclass/man/DONOR.Rd regclass/man/POISON.Rd regclass/man/mode_factor.Rd regclass/man/possible_regressions.Rd regclass/man/see_interactions.Rd regclass/man/outlier_demo.Rd regclass/man/CHARITY.Rd regclass/man/SALARY.Rd regclass/man/MOVIE.Rd regclass/man/extrapolation_check.Rd regclass/man/ATTRACTM.Rd regclass/man/visualize_model.Rd regclass/man/EX3.ABALONE.Rd regclass/man/EX4.STOCKPREDICT.Rd regclass/man/PIMA.Rd regclass/man/EX7.CATALOG.Rd regclass/man/EX7.BIKE.Rd regclass/man/FRIEND.Rd regclass/man/BODYFAT.Rd regclass/man/visualize_relationship.Rd regclass/man/TIPS.Rd regclass/man/overfit_demo.Rd regclass/man/CENSUS.Rd regclass/man/SURVEY09.Rd regclass/man/find_transformations.Rd regclass/man/EX4.STOCKS.Rd regclass/man/EX3.NFL.Rd regclass/man/mosaic.Rd regclass/man/EX6.CLICK.Rd regclass/man/SMALLFLYER.Rd regclass/man/BODYFAT2.Rd regclass/man/ATTRACTF.Rd regclass/man/NFL.Rd regclass/man/CHURN.Rd regclass/man/CUSTLOYALTY.Rd regclass/man/SPEED.Rd regclass/man/build_model.Rd regclass/man/generalization_error.Rd regclass/man/check_regression.Rd regclass/man/qq.Rd regclass/man/DIET.Rd regclass/man/VIF.Rd regclass/man/FUMBLES.Rd regclass/man/CENSUSMLR.Rd regclass/man/cor_matrix.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.