Learn R Programming

MASS (version 7.3-64)

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

115,967

Version

7.3-64

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

January 4th, 2025

Functions in MASS (7.3-64)

Null

Null Spaces of Matrices
Rabbit

Blood Pressure in Rabbits
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
Rubber

Accelerated Testing of Tyre Rubber
Pima.tr

Diabetes in Pima Indian Women
OME

Tests of Auditory Perception in Children with OME
Skye

AFM Compositions of Aphyric Skye Lavas
SP500

Returns of the Standard and Poors 500
Traffic

Effect of Swedish Speed Limits on Accidents
UScereal

Nutritional and Marketing Information on US Cereals
anorexia

Anorexia Data on Weight Change
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
area

Adaptive Numerical Integration
accdeaths

Accidental Deaths in the US 1973-1978
VA

Veteran's Administration Lung Cancer Trial
addterm

Try All One-Term Additions to a Model
abbey

Determinations of Nickel Content
UScrime

The Effect of Punishment Regimes on Crime Rates
cats

Anatomical Data from Domestic Cats
caith

Colours of Eyes and Hair of People in Caithness
biopsy

Biopsy Data on Breast Cancer Patients
bacteria

Presence of Bacteria after Drug Treatments
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
bcv

Biased Cross-Validation for Bandwidth Selection
contr.sdif

Successive Differences Contrast Coding
birthwt

Risk Factors Associated with Low Infant Birth Weight
confint-MASS

Confidence Intervals for Model Parameters
con2tr

Convert Lists to Data Frames for use by lattice
coop

Co-operative Trial in Analytical Chemistry
cpus

Performance of Computer CPUs
cov.trob

Covariance Estimation for Multivariate t Distribution
cabbages

Data from a cabbage field trial
chem

Copper in Wholemeal Flour
cement

Heat Evolved by Setting Cements
boxcox

Box-Cox Transformations for Linear Models
beav1

Body Temperature Series of Beaver 1
eagles

Foraging Ecology of Bald Eagles
beav2

Body Temperature Series of Beaver 2
corresp

Simple Correspondence Analysis
drivers

Deaths of Car Drivers in Great Britain 1969-84
farms

Ecological Factors in Farm Management
epil

Seizure Counts for Epileptics
dropterm

Try All One-Term Deletions from a Model
eqscplot

Plots with Geometrically Equal Scales
cov.rob

Resistant Estimation of Multivariate Location and Scatter
galaxies

Velocities for 82 Galaxies
fgl

Measurements of Forensic Glass Fragments
denumerate

Transform an Allowable Formula for 'loglm' into one for 'terms'
gamma.dispersion

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

Forbes' Data on Boiling Points in the Alps
dose.p

Predict Doses for Binomial Assay model
crabs

Morphological Measurements on Leptograpsus Crabs
fractions

Rational Approximation
huber

Huber M-estimator of Location with MAD Scale
hubers

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

Maximum-likelihood Fitting of Univariate Distributions
glmmPQL

Fit Generalized Linear Mixed Models via PQL
deaths

Monthly Deaths from Lung Diseases in the UK
gehan

Remission Times of Leukaemia Patients
gamma.shape

Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit
glm.convert

Change a Negative Binomial fit to a GLM fit
glm.nb

Fit a Negative Binomial Generalized Linear Model
ginv

Generalized Inverse of a Matrix
lm.ridge

Ridge Regression
hills

Record Times in Scottish Hill Races
gilgais

Line Transect of Soil in Gilgai Territory
lm.gls

Fit Linear Models by Generalized Least Squares
geyser

Old Faithful Geyser Data
housing

Frequency Table from a Copenhagen Housing Conditions Survey
genotype

Rat Genotype Data
kde2d

Two-Dimensional Kernel Density Estimation
ldahist

Histograms or Density Plots of Multiple Groups
hist.scott

Plot a Histogram with Automatic Bin Width Selection
immer

Yields from a Barley Field Trial
motors

Accelerated Life Testing of Motorettes
lda

Linear Discriminant Analysis
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
loglm1

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

Kruskal's Non-metric Multidimensional Scaling
mammals

Brain and Body Weights for 62 Species of Land Mammals
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
painters

The Painter's Data of de Piles
mcycle

Data from a Simulated Motorcycle Accident
npk

Classical N, P, K Factorial Experiment
lqs

Resistant Regression
menarche

Age of Menarche in Warsaw
oats

Data from an Oats Field Trial
nlschools

Eighth-Grade Pupils in the Netherlands
npr1

US Naval Petroleum Reserve No. 1 data
newcomb

Newcomb's Measurements of the Passage Time of Light
mvrnorm

Simulate from a Multivariate Normal Distribution
logtrans

Estimate log Transformation Parameter
mca

Multiple Correspondence Analysis
leuk

Survival Times and White Blood Counts for Leukaemia Patients
predict.lda

Classify Multivariate Observations by Linear Discrimination
predict.lqs

Predict from an lqs Fit
predict.mca

Predict Method for Class 'mca'
road

Road Accident Deaths in US States
michelson

Michelson's Speed of Light Data
predict.glmmPQL

Predict Method for glmmPQL Fits
qda

Quadratic Discriminant Analysis
polr

Ordered Logistic or Probit Regression
profile.glm

Method for Profiling glm Objects
plot.mca

Plot Method for Objects of Class 'mca'
stepAIC

Choose a model by AIC in a Stepwise Algorithm
predict.qda

Classify from Quadratic Discriminant Analysis
plot.lda

Plot Method for Class 'lda'
negative.binomial

Family function for Negative Binomial GLMs
ships

Ships Damage Data
stormer

The Stormer Viscometer Data
quine

Absenteeism from School in Rural New South Wales
parcoord

Parallel Coordinates Plot
studres

Extract Studentized Residuals from a Linear Model
minn38

Minnesota High School Graduates of 1938
sammon

Sammon's Non-Linear Mapping
renumerate

Convert a Formula Transformed by 'denumerate'
rlm

Robust Fitting of Linear Models
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
theta.md

Estimate theta of the Negative Binomial
rnegbin

Simulate Negative Binomial Variates
rms.curv

Relative Curvature Measures for Non-Linear Regression
summary.loglm

Summary Method Function for Objects of Class 'loglm'
shuttle

Space Shuttle Autolander Problem
rational

Rational Approximation
topo

Spatial Topographic Data
rotifer

Numbers of Rotifers by Fluid Density
waders

Counts of Waders at 15 Sites in South Africa
stdres

Extract Standardized Residuals from a Linear Model
petrol

N. L. Prater's Petrol Refinery Data
whiteside

House Insulation: Whiteside's Data
summary.rlm

Summary Method for Robust Linear Models
summary.negbin

Summary Method Function for Objects of Class 'negbin'
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
truehist

Plot a Histogram
ucv

Unbiased Cross-Validation for Bandwidth Selection
Belgian-phones

Belgium Phone Calls 1950-1973
snails

Snail Mortality Data
write.matrix

Write a Matrix or Data Frame
wtloss

Weight Loss Data from an Obese Patient
shrimp

Percentage of Shrimp in Shrimp Cocktail
survey

Student Survey Data
synth.tr

Synthetic Classification Problem
shoes

Shoe wear data of Box, Hunter and Hunter
steam

The Saturated Steam Pressure Data