Learn R Programming

⚠️There's a newer version (7.3-61) of this package.Take me there.

MASS (version 7.3-58.3)

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

145,487

Version

7.3-58.3

License

GPL-2 | GPL-3

Maintainer

Last Published

March 7th, 2023

Functions in MASS (7.3-58.3)

SP500

Returns of the Standard and Poors 500
Traffic

Effect of Swedish Speed Limits on Accidents
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
OME

Tests of Auditory Perception in Children with OME
Skye

AFM Compositions of Aphyric Skye Lavas
Sitka

Growth Curves for Sitka Spruce Trees in 1988
Rabbit

Blood Pressure in Rabbits
Pima.tr

Diabetes in Pima Indian Women
Null

Null Spaces of Matrices
Rubber

Accelerated Testing of Tyre Rubber
abbey

Determinations of Nickel Content
VA

Veteran's Administration Lung Cancer Trial
area

Adaptive Numerical Integration
bacteria

Presence of Bacteria after Drug Treatments
addterm

Try All One-Term Additions to a Model
biopsy

Biopsy Data on Breast Cancer Patients
accdeaths

Accidental Deaths in the US 1973-1978
cabbages

Data from a cabbage field trial
confint-MASS

Confidence Intervals for Model Parameters
birthwt

Risk Factors Associated with Low Infant Birth Weight
con2tr

Convert Lists to Data Frames for use by lattice
boxcox

Box-Cox Transformations for Linear Models
bcv

Biased Cross-Validation for Bandwidth Selection
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
corresp

Simple Correspondence Analysis
cov.rob

Resistant Estimation of Multivariate Location and Scatter
coop

Co-operative Trial in Analytical Chemistry
contr.sdif

Successive Differences Contrast Coding
farms

Ecological Factors in Farm Management
eqscplot

Plots with Geometrically Equal Scales
crabs

Morphological Measurements on Leptograpsus Crabs
deaths

Monthly Deaths from Lung Diseases in the UK
denumerate

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

Anorexia Data on Weight Change
dose.p

Predict Doses for Binomial Assay model
beav1

Body Temperature Series of Beaver 1
beav2

Body Temperature Series of Beaver 2
genotype

Rat Genotype Data
eagles

Foraging Ecology of Bald Eagles
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
geyser

Old Faithful Geyser Data
cpus

Performance of Computer CPUs
cov.trob

Covariance Estimation for Multivariate t Distribution
epil

Seizure Counts for Epileptics
gamma.shape

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

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

Huber M-estimator of Location with MAD Scale
fractions

Rational Approximation
forbes

Forbes' Data on Boiling Points in the Alps
drivers

Deaths of Car Drivers in Great Britain 1969-84
glmmPQL

Fit Generalized Linear Mixed Models via PQL
hills

Record Times in Scottish Hill Races
leuk

Survival Times and White Blood Counts for Leukaemia Patients
dropterm

Try All One-Term Deletions from a Model
ldahist

Histograms or Density Plots of Multiple Groups
mammals

Brain and Body Weights for 62 Species of Land Mammals
lm.ridge

Ridge Regression
lm.gls

Fit Linear Models by Generalized Least Squares
minn38

Minnesota High School Graduates of 1938
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
fgl

Measurements of Forensic Glass Fragments
michelson

Michelson's Speed of Light Data
gilgais

Line Transect of Soil in Gilgai Territory
ginv

Generalized Inverse of a Matrix
loglm1

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

Multiple Correspondence Analysis
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
UScrime

The Effect of Punishment Regimes on Crime Rates
caith

Colours of Eyes and Hair of People in Caithness
chem

Copper in Wholemeal Flour
UScereal

Nutritional and Marketing Information on US Cereals
gehan

Remission Times of Leukaemia Patients
cats

Anatomical Data from Domestic Cats
cement

Heat Evolved by Setting Cements
mvrnorm

Simulate from a Multivariate Normal Distribution
newcomb

Newcomb's Measurements of the Passage Time of Light
nlschools

Eighth-Grade Pupils in the Netherlands
predict.glmmPQL

Predict Method for glmmPQL Fits
glm.convert

Change a Negative Binomial fit to a GLM fit
negative.binomial

Family function for Negative Binomial GLMs
gamma.dispersion

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

Rational Approximation
oats

Data from an Oats Field Trial
painters

The Painter's Data of de Piles
renumerate

Convert a Formula Transformed by 'denumerate'
galaxies

Velocities for 82 Galaxies
hist.scott

Plot a Histogram with Automatic Bin Width Selection
ships

Ships Damage Data
rlm

Robust Fitting of Linear Models
Belgian-phones

Belgium Phone Calls 1950-1973
petrol

N. L. Prater's Petrol Refinery Data
glm.nb

Fit a Negative Binomial Generalized Linear Model
predict.lda

Classify Multivariate Observations by Linear Discrimination
rotifer

Numbers of Rotifers by Fluid Density
housing

Frequency Table from a Copenhagen Housing Conditions Survey
npk

Classical N, P, K Factorial Experiment
shoes

Shoe wear data of Box, Hunter and Hunter
immer

Yields from a Barley Field Trial
summary.loglm

Summary Method Function for Objects of Class 'loglm'
npr1

US Naval Petroleum Reserve No. 1 data
sammon

Sammon's Non-Linear Mapping
logtrans

Estimate log Transformation Parameter
lqs

Resistant Regression
rms.curv

Relative Curvature Measures for Non-Linear Regression
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
motors

Accelerated Life Testing of Motorettes
whiteside

House Insulation: Whiteside's Data
summary.negbin

Summary Method Function for Objects of Class 'negbin'
steam

The Saturated Steam Pressure Data
menarche

Age of Menarche in Warsaw
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
isoMDS

Kruskal's Non-metric Multidimensional Scaling
kde2d

Two-Dimensional Kernel Density Estimation
mcycle

Data from a Simulated Motorcycle Accident
summary.rlm

Summary Method for Robust Linear Models
lda

Linear Discriminant Analysis
parcoord

Parallel Coordinates Plot
plot.lda

Plot Method for Class 'lda'
polr

Ordered Logistic or Probit Regression
plot.profile

Plotting Functions for 'profile' Objects
quine

Absenteeism from School in Rural New South Wales
plot.mca

Plot Method for Objects of Class 'mca'
stepAIC

Choose a model by AIC in a Stepwise Algorithm
qda

Quadratic Discriminant Analysis
rnegbin

Simulate Negative Binomial Variates
survey

Student Survey Data
predict.mca

Predict Method for Class 'mca'
theta.md

Estimate theta of the Negative Binomial
predict.lqs

Predict from an lqs Fit
predict.qda

Classify from Quadratic Discriminant Analysis
synth.tr

Synthetic Classification Problem
shrimp

Percentage of Shrimp in Shrimp Cocktail
road

Road Accident Deaths in US States
shuttle

Space Shuttle Autolander Problem
stdres

Extract Standardized Residuals from a Linear Model
snails

Snail Mortality Data
profile.glm

Method for Profiling glm Objects
ucv

Unbiased Cross-Validation for Bandwidth Selection
studres

Extract Studentized Residuals from a Linear Model
topo

Spatial Topographic Data
stormer

The Stormer Viscometer Data
truehist

Plot a Histogram
waders

Counts of Waders at 15 Sites in South Africa
write.matrix

Write a Matrix or Data Frame
wtloss

Weight Loss Data from an Obese Patient
MASS-internal

Internal MASS functions
DDT

DDT in Kale
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
Melanoma

Survival from Malignant Melanoma
GAGurine

Level of GAG in Urine of Children
Insurance

Numbers of Car Insurance claims
Aids2

Australian AIDS Survival Data
Cars93

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

Housing Values in Suburbs of Boston
Animals

Brain and Body Weights for 28 Species