Learn R Programming

MASS (version 7.3-65)

Support Functions and Datasets for Venables and Ripley's MASS

Description

Functions and datasets to support Venables and Ripley, "Modern Applied Statistics with S" (4th edition, 2002).

Copy Link

Version

Install

install.packages('MASS')

Monthly Downloads

218,773

Version

7.3-65

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

February 28th, 2025

Functions in MASS (7.3-65)

Animals

Brain and Body Weights for 28 Species
OME

Tests of Auditory Perception in Children with OME
VA

Veteran's Administration Lung Cancer Trial
Skye

AFM Compositions of Aphyric Skye Lavas
Insurance

Numbers of Car Insurance claims
UScereal

Nutritional and Marketing Information on US Cereals
accdeaths

Accidental Deaths in the US 1973-1978
Traffic

Effect of Swedish Speed Limits on Accidents
bacteria

Presence of Bacteria after Drug Treatments
area

Adaptive Numerical Integration
abbey

Determinations of Nickel Content
Null

Null Spaces of Matrices
addterm

Try All One-Term Additions to a Model
UScrime

The Effect of Punishment Regimes on Crime Rates
biopsy

Biopsy Data on Breast Cancer Patients
birthwt

Risk Factors Associated with Low Infant Birth Weight
boxcox

Box-Cox Transformations for Linear Models
cov.rob

Resistant Estimation of Multivariate Location and Scatter
con2tr

Convert Lists to Data Frames for use by lattice
anorexia

Anorexia Data on Weight Change
corresp

Simple Correspondence Analysis
confint-MASS

Confidence Intervals for Model Parameters
contr.sdif

Successive Differences Contrast Coding
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
denumerate

Transform an Allowable Formula for 'loglm' into one for 'terms'
caith

Colours of Eyes and Hair of People in Caithness
cats

Anatomical Data from Domestic Cats
dose.p

Predict Doses for Binomial Assay model
forbes

Forbes' Data on Boiling Points in the Alps
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
fractions

Rational Approximation
cabbages

Data from a cabbage field trial
coop

Co-operative Trial in Analytical Chemistry
crabs

Morphological Measurements on Leptograpsus Crabs
chem

Copper in Wholemeal Flour
cement

Heat Evolved by Setting Cements
fgl

Measurements of Forensic Glass Fragments
deaths

Monthly Deaths from Lung Diseases in the UK
housing

Frequency Table from a Copenhagen Housing Conditions Survey
hist.scott

Plot a Histogram with Automatic Bin Width Selection
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
leuk

Survival Times and White Blood Counts for Leukaemia Patients
bcv

Biased Cross-Validation for Bandwidth Selection
drivers

Deaths of Car Drivers in Great Britain 1969-84
ldahist

Histograms or Density Plots of Multiple Groups
epil

Seizure Counts for Epileptics
logtrans

Estimate log Transformation Parameter
beav1

Body Temperature Series of Beaver 1
eagles

Foraging Ecology of Bald Eagles
glmmPQL

Fit Generalized Linear Mixed Models via PQL
cpus

Performance of Computer CPUs
galaxies

Velocities for 82 Galaxies
beav2

Body Temperature Series of Beaver 2
lda

Linear Discriminant Analysis
lqs

Resistant Regression
cov.trob

Covariance Estimation for Multivariate t Distribution
hills

Record Times in Scottish Hill Races
isoMDS

Kruskal's Non-metric Multidimensional Scaling
immer

Yields from a Barley Field Trial
kde2d

Two-Dimensional Kernel Density Estimation
eqscplot

Plots with Geometrically Equal Scales
dropterm

Try All One-Term Deletions from a Model
gamma.dispersion

Calculate the MLE of the Gamma Dispersion Parameter in a GLM Fit
menarche

Age of Menarche in Warsaw
geyser

Old Faithful Geyser Data
genotype

Rat Genotype Data
mcycle

Data from a Simulated Motorcycle Accident
farms

Ecological Factors in Farm Management
gamma.shape

Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit
gehan

Remission Times of Leukaemia Patients
hubers

Huber Proposal 2 Robust Estimator of Location and/or Scale
huber

Huber M-estimator of Location with MAD Scale
oats

Data from an Oats Field Trial
michelson

Michelson's Speed of Light Data
painters

The Painter's Data of de Piles
predict.glmmPQL

Predict Method for glmmPQL Fits
motors

Accelerated Life Testing of Motorettes
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
glm.convert

Change a Negative Binomial fit to a GLM fit
gilgais

Line Transect of Soil in Gilgai Territory
glm.nb

Fit a Negative Binomial Generalized Linear Model
lm.gls

Fit Linear Models by Generalized Least Squares
ginv

Generalized Inverse of a Matrix
lm.ridge

Ridge Regression
plot.lda

Plot Method for Class 'lda'
newcomb

Newcomb's Measurements of the Passage Time of Light
minn38

Minnesota High School Graduates of 1938
nlschools

Eighth-Grade Pupils in the Netherlands
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
predict.qda

Classify from Quadratic Discriminant Analysis
plot.mca

Plot Method for Objects of Class 'mca'
parcoord

Parallel Coordinates Plot
predict.mca

Predict Method for Class 'mca'
predict.lda

Classify Multivariate Observations by Linear Discrimination
wtloss

Weight Loss Data from an Obese Patient
loglm1

Fit Log-Linear Models by Iterative Proportional Scaling -- Internal function
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
polr

Ordered Logistic or Probit Regression
mammals

Brain and Body Weights for 62 Species of Land Mammals
npk

Classical N, P, K Factorial Experiment
quine

Absenteeism from School in Rural New South Wales
negative.binomial

Family function for Negative Binomial GLMs
mca

Multiple Correspondence Analysis
mvrnorm

Simulate from a Multivariate Normal Distribution
shuttle

Space Shuttle Autolander Problem
predict.lqs

Predict from an lqs Fit
npr1

US Naval Petroleum Reserve No. 1 data
snails

Snail Mortality Data
rnegbin

Simulate Negative Binomial Variates
rms.curv

Relative Curvature Measures for Non-Linear Regression
petrol

N. L. Prater's Petrol Refinery Data
rational

Rational Approximation
survey

Student Survey Data
Belgian-phones

Belgium Phone Calls 1950-1973
profile.glm

Method for Profiling glm Objects
renumerate

Convert a Formula Transformed by 'denumerate'
qda

Quadratic Discriminant Analysis
rlm

Robust Fitting of Linear Models
stepAIC

Choose a model by AIC in a Stepwise Algorithm
ships

Ships Damage Data
sammon

Sammon's Non-Linear Mapping
waders

Counts of Waders at 15 Sites in South Africa
road

Road Accident Deaths in US States
stormer

The Stormer Viscometer Data
stdres

Extract Standardized Residuals from a Linear Model
rotifer

Numbers of Rotifers by Fluid Density
summary.rlm

Summary Method for Robust Linear Models
summary.negbin

Summary Method Function for Objects of Class 'negbin'
synth.tr

Synthetic Classification Problem
whiteside

House Insulation: Whiteside's Data
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
write.matrix

Write a Matrix or Data Frame
steam

The Saturated Steam Pressure Data
ucv

Unbiased Cross-Validation for Bandwidth Selection
truehist

Plot a Histogram
shoes

Shoe wear data of Box, Hunter and Hunter
shrimp

Percentage of Shrimp in Shrimp Cocktail
theta.md

Estimate theta of the Negative Binomial
summary.loglm

Summary Method Function for Objects of Class 'loglm'
studres

Extract Studentized Residuals from a Linear Model
topo

Spatial Topographic Data
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
Cars93

Data from 93 Cars on Sale in the USA in 1993
Aids2

Australian AIDS Survival Data
GAGurine

Level of GAG in Urine of Children
Boston

Housing Values in Suburbs of Boston
Rubber

Accelerated Testing of Tyre Rubber
DDT

DDT in Kale
MASS-internal

Internal MASS functions
Melanoma

Survival from Malignant Melanoma
SP500

Returns of the Standard and Poors 500
Sitka

Growth Curves for Sitka Spruce Trees in 1988
Rabbit

Blood Pressure in Rabbits
Pima.tr

Diabetes in Pima Indian Women
Sitka89

Growth Curves for Sitka Spruce Trees in 1989