Learn R Programming

Stat2Data (version 2.0.1)

Datasets for Stat2

Description

Provides datasets for the textbook Stat2: Modeling with Regression and ANOVA (second edition). Also includes datasets from the first edition, Stat2: Building Models for a World of Data, and functions for plotting diagnostic graphics.

Copy Link

Version

Install

install.packages('Stat2Data')

Monthly Downloads

1,406

Version

2.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Robin Lock

Last Published

November 10th, 2026

Functions in Stat2Data (2.0.1)

ChemoTHC

THC for Antinausea Treatment in Chemotherapy
CanadianDrugs

Canadian Drugs Senate Vote
CO2Hawaii

CO2 Readings in Hawaii
CrabShip

Crab Oxygen Intake
CrackerFiber

Effects of Cracker Fiber on Digested Calories
Diamonds2

Characteristics of a Subset of the Diamond Sample
Diamonds

Characteristics of a Sample of Diamonds
CO2SouthPole

CO2 Readings at the South Pole
Cereal

Nutrition Content of Breakfast Cereals
CavsShooting

Cleveland Cavalier's Shooting (2016-2017)
CO2Germany

Daily CO2 Measurements in Germany
Clothing

Sales for a Clothing Retailer
Faces

Facial Attractiveness of Men
ClintonSanders

Clinton/Sanders Primary Results (2016)
CO2

Daily CO2 Measurements in Germany
CreditRisk

Overdrawn Checking Account?
BreesPass

Drew Brees Passing Statistics (2016)
BirdCalcium

Effect of a Hormone on Bird Calcium Levels
BritishUnions

Attitudes Towards British Trade Unions
CloudSeeding

Cloud Seeding Experiment (Winter Only)
BeeStings

Do Bee Stings Depend on Previous Stings?
FaithfulFaces

Faithfulness from a Photo?
Fertility

Fertility Data for Women Having Trouble Getting Pregnant
ChildSpeaks

Age at First Speaking
Day1Survey

First Day Survey of Statistics Students
Election16

2016 U.S. Presidential Election
DiabeticDogs

Lactic Acid Turnover in Dogs
Cuckoo

Measurements of Cuckoo Eggs
ButterfliesBc

Butterfly (Boloria chariclea) Measurements
CAFE

US Senate Votes on Corporate Average Fuel Economy Bill
CancerSurvival

Survival Times for Different Cancers
Dinosaurs

Iridium Levels in Rock Layers to Investigate Dinosaur Extinction
Caterpillars

Measurements of Manduca Sexta Caterpillars
CountyHealth

County Health Resources
Contraceptives

Drug Interaction with Contraceptives
ElephantsFB

Measurements of Male African Elephants
CloudSeeding2

Cloud Seeding Experiment (Four Seasons)
FinalFourShort

CAA Final Four by Seed (Short Version through 2010)
FinalFourShort17

NCAA Final Four by Seed (Short Version through 2017)
FinalFourIzzo

NCAA Final Four by Seed and Tom Izzo (through 2010)
ElephantsMF

Measurements of African Elephants
Ethanol

Effects of Oxygen on Sugar Metabolism
FantasyBaseball

Selection Times in a Fantasy Baseball Draft
Fluorescence

Measuring Calcium Binding to Proteins
FinalFourIzzo17

NCAA Final Four by Seed and Tom Izzo (through 2017)
Election08

2008 U.S. Presidential Election
FishEggs

Fertility of Fish Eggs
Eyes

Pupil Dilation and Sexual Orientation
FatRats

Diet and Weight of Rats
HawkTail2

Tail Lengths of Hawks (Unstacked)
FranticFingers

Finger Tap Rates
FGByDistance

Results of NFL Field Goal Attempts
Fitch

Body Measurements of Mammal Species
HawkTail

Tail Lengths of Hawks
HighPeaks

Characteristics of Adirondack Hiking Trails
Handwriting

Guess Author's Sex from Handwriting?
GlowWorms

Female Glow-worms
Inflation

Monthly Consumer Price Index (2009-2016)
FinalFourLong

NCAA Final Four by Seed (Long Version through 2010)
FunnelDrop

Funnel Drop Times
HeatingOil

Heating Oil Consumption
HearingTest

Correctly Identified Words in a Hearing Test
InsuranceVote

Congressional Votes on a Health Insurance Bill
LongJumpOlympics2016

Olympic Men's Long Jump Gold Medal Distance (1900 - 2016)
LongJumpOlympics

Olympic Men's Long Jump Gold Medal Distance (1900 - 2008)
Fingers

Finger Tap Rates
Goldenrod

Goldenrod Galls
FirstYearGPA

First Year GPA for College Students
FinalFourLong17

NCAA Final Four by Seed (Long Version through 2017)
Film

Film Data from Leonard Maltin's Guide
LeafWidth

Leaf Measurements
MathPlacement

Math Placement Exam Results
Hoops

Grinnell College Basketball Games
Leafhoppers

Leafhopper Diet and Longevity
Hawks

Measurements on Three Hawk Species
MathEnrollment

Enrollments in Math Courses
MetroCommutes

Commute Times
Nursing

Nursing Homes
Grocery

Grocery Sales and Discounts
OilDeapsorbtion

Effect of Ultrasound on Oil Deapsorbtion
FruitFlies

Fruit Fly Sexual Activity and Longevity
FruitFlies2

Fruit Fly Sexual Activity and Male Competition
IQGuessing

Guess IQ from a Photo?
Jurors

Reporting Rates for Jurors
MetroHealth83

Health Services in Metropolitan Areas
Kershaw

Kershaw Pitch Data
MLB2007Standings

Standings and Team Statistics from the 2007 Baseball Season
MLBStandings2016

MLB Standings in 2016
InfantMortality2010

Infant Mortality Rates
LewyDLBad

Lewy Bodies and Dimentia with Alzheimer's
Gunnels

Are Gunnels Present at Shoreline?
LewyBody2Groups

Lewy Bodies and Dimentia
NFL2007Standings

NFL Standings for 2007 Regular Season
HousesNY

House Prices in Rural NY
GrinnellHouses

House Sales in Grinnell, Iowa
Olives

Fenthion in Olive Oil
Orings

Space Shuttle O-Rings
MedGPA

GPA and Medical School Admission
FlightResponse

Response of Migratory Geese to Helicopter Overflights
Whickham2

Whickham Health Study
FloridaDP

Florida Death Penalty Cases
ICU

Intensive Care Unit Patients
KeyWestWater

Key West Water Temperatures
Houses

House Prices, Sizes, and Lot Areas
Leukemia

Responses to Treatment for Leukemia
WeightLossIncentive7

Do Financial Incentives Improve Weight Loss? (7 Months)
HorsePrices

Prices of Horses
NFLStandings2016

NFL Standings for 2016 Regular Season
Overdrawn

Overdrawn Checking Account?
SuicideChina

Suicide Attempts in Shandong, China
Meniscus

Meniscus Repair Methods
SugarEthanol

Effects of Oxygen on Sugar Metabolism
RailsTrails

Homes in Northampton MA Near Rail Trails
RadioactiveTwins

Comparing Twins Ability to Clear Radioactive Particles
Putts1

Putting Success by Length (Long Form)
Putts2

Putting Success by Length (Short Form)
PKU

Dopamine levels with PKU in diets
PalmBeach

Palm Beach Butterfly Ballot
Kids198

Body Measurements of Children
Putts3

Hypothetical Putting Data (Short Form)
RacialAnimus

Racial Animus and City Demgraphics
Speed

Highway Fatality Rates (Yearly)
Stat2Data-package

Datasets for Stat2: Modeling with Regression and ANOVA
Volts

Voltage Drop for a Discharging Capacitor
Rectangles

Measurements of Rectangles
ReligionGDP

Religion and GDP for Countries
VisualVerbal

Visual versus Verbal Performance
Oysters

Size of Oysters
LeveeFailures

Levee Failures along the Mississippi River
sluacf

Computes autocorrelations (ACF) for a time series
Pedometer

Pedometer Walking Data
Perch

Perch Sizes
Migraines

Migraines and TMS
Markets

Daily Change in Dow Jones and Nikkei Stock Market Indices
MouseBrain

Effects of Serotonin in Mice
MothEggs

Moth Eggs
PeaceBridge2012

Monthly Peace Bridge Traffic ( 2012-2015)
Marathon

Daily Training for a Marathon Runner
PeaceBridge2003

Monthly Peace Bridge Traffic ( 2003-2015)
Milgram

Ethics and a Milgram Experiment
ResidualOil

US Residual Oil Production (Quarterly 1983-2016)
RepeatedPulse

Pulse Rates at Various Times of Day
Sparrows

Sparrow Measurements
SpeciesArea

Land Area and Mammal Species
Retirement

Yearly Contributions to a Supplemental Retirement Account
PorschePrice

Porsche Prices
Pulse

Pulse Rates and Exercise
Popcorn

Popcorn Popping Success
TechStocks

Daily Prices of Three Tech Stocks
Ricci

Firefighter Promotion Exam Scores
Tadpoles

Effects of a Fungus on Tadpoles
SandwichAnts

Ants on Sandwiches
LosingSleep

Sleep Hours for Teenagers
LostLetter

Return Rates for "Lost" Letters
RiverIron

Iron in River Water Samples
PorscheJaguar

Porsche and Jaguar Prices
emplogitplot2

Empirical logit plot for one quantitative variable by categorical groups
emplogitplot1

Empirical logit plot for one quantitative variable
WeightLossIncentive

Do Financial Incentives Improve Weight Loss?
SeaSlugs

Sea Slug Larvae
WeightLossIncentive4

Do Financial Incentives Improve Weight Loss? (4 Months)
SleepingShrews

Shrew Heart Rates at Stages of Sleep
ThreeCars2017

Price, Age, and Mileage of Three Used Car Models
RiverElements

Elements in River Water Samples
TipJoke

Improve Chances of Getting a Tip?
MentalHealth

Mental Health Admissions
MetabolicRate

Metabolic Rate of Caterpillars
SeaIce

Arctic Sea Ice (1979-2015)
ThomasConfirmation

US Senate Votes on Clarence Thomas Confirmation
TukeyNonaddPlot

Tukey Nonadditivity Plot for Two-way ANOVA
WalkTheDogs

Did the Author Walk the Dogs Today?
ThreeCars

Prices of Three Used Car Models (2007)
Swahili

Attitudes Towards Swahili in Kenyan Schools
TwinsLungs

Comparing Twins Ability to Clear Radioactive Particles
TMS

Migraines and TMS
USstamps

Price of US Stamps
WalkingBabies

Effects of Exercise on First Walking
NCbirths

North Carolina Birth Records
MusicTime

Estimating Time with Different Music Playing
SampleFG

Field Goal Attempts in the NFL
Titanic

Passengers on the Titanic
WordMemory

Experiment on Word Memory
Undoing

Defense of Undoing OCD Symptoms in Psychotherapy
TextPrices

Textbook Prices
Political

Political Behavior of College Students
Pollster08

2008 U.S. Presidential Election Polls
TeenPregnancy

State Teen Pregnancy Rates
PigFeed

Additives in Pig Feed
SATGPA

SAT Scores and GPA
Pines

Measurements of Pine Tree Seedlings
cooksplot

Plot of standardized residuals vs. leverage with boundaries for unusual cases
YouthRisk

Annual survey of health-risk youth behaviors
Wrinkle

Moving Wet Objects with Wrinkled Fingers
WordsWithFriends

Words with Friends Scores
TomlinsonRush

LaDainian Tomlinson Rushing Yards
Zimmerman

Stand Your Ground Simpson's Paradox
YouthRisk2007

Riding with a Driver Who Has Been Drinking
YouthRisk2009

Youth Risk Survey
AHCAvote2017

Congressional Votes on American Health Care Act (in 2017)
AccordPrice

Prices of Used Honda Accords (in 2017)
BrainpH

Brain pH Measurements
BaseballTimes2017

Baseball Game Times of One Day in 2017
BaseballTimes

Baseball Game Times of One Day in 2008
ArcheryData

Scores in an Archery Class
BlueJays

Blue Jay Measurements
AppleStock

Daily Price and Volume of Apple Stock
CalciumBP

Do Calcium Supplements Lower Blood Pressure?
Airlines

Ontime Records for Two Airlines at Two Airports
Alfalfa

Alfalfa Growth
AutoPollution

Noise Levels of Filters to Reduce Automobile Pollution
AudioVisual

Reaction Times to Audio and Visual Stimuli
Backpack

Weights of College Student Backpacks
AthleteGrad

Athletic Participation, Race, and Graduation
AlitoConfirmation

US Senate Votes on Samuel Alito for the Supreme Court
BirdNest

Nest Characteristics for Different Bird Species
Amyloid

Amyloid-beta and Cognitive Impairment
Blood1

Blood Pressure, Weight, and Smoking Status