Learn R Programming

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

MASS (version 7.3-60.0.1)

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

199,573

Version

7.3-60.0.1

License

GPL-2 | GPL-3

Maintainer

Last Published

January 13th, 2024

Functions in MASS (7.3-60.0.1)

Sitka

Growth Curves for Sitka Spruce Trees in 1988
area

Adaptive Numerical Integration
UScereal

Nutritional and Marketing Information on US Cereals
anorexia

Anorexia Data on Weight Change
cabbages

Data from a cabbage field trial
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
OME

Tests of Auditory Perception in Children with OME
boxcox

Box-Cox Transformations for Linear Models
coop

Co-operative Trial in Analytical Chemistry
contr.sdif

Successive Differences Contrast Coding
abbey

Determinations of Nickel Content
caith

Colours of Eyes and Hair of People in Caithness
confint-MASS

Confidence Intervals for Model Parameters
VA

Veteran's Administration Lung Cancer Trial
bacteria

Presence of Bacteria after Drug Treatments
UScrime

The Effect of Punishment Regimes on Crime Rates
cats

Anatomical Data from Domestic Cats
accdeaths

Accidental Deaths in the US 1973-1978
birthwt

Risk Factors Associated with Low Infant Birth Weight
cement

Heat Evolved by Setting Cements
eqscplot

Plots with Geometrically Equal Scales
addterm

Try All One-Term Additions to a Model
con2tr

Convert Lists to Data Frames for use by lattice
drivers

Deaths of Car Drivers in Great Britain 1969-84
farms

Ecological Factors in Farm Management
beav2

Body Temperature Series of Beaver 2
beav1

Body Temperature Series of Beaver 1
fgl

Measurements of Forensic Glass Fragments
forbes

Forbes' Data on Boiling Points in the Alps
dropterm

Try All One-Term Deletions from a Model
chem

Copper in Wholemeal Flour
biopsy

Biopsy Data on Breast Cancer Patients
corresp

Simple Correspondence Analysis
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
genotype

Rat Genotype Data
fractions

Rational Approximation
deaths

Monthly Deaths from Lung Diseases in the UK
geyser

Old Faithful Geyser Data
denumerate

Transform an Allowable Formula for 'loglm' into one for 'terms'
cov.trob

Covariance Estimation for Multivariate t Distribution
cov.rob

Resistant Estimation of Multivariate Location and Scatter
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
bcv

Biased Cross-Validation for Bandwidth Selection
crabs

Morphological Measurements on Leptograpsus Crabs
cpus

Performance of Computer CPUs
dose.p

Predict Doses for Binomial Assay model
glm.convert

Change a Negative Binomial fit to a GLM fit
lm.ridge

Ridge Regression
glmmPQL

Fit Generalized Linear Mixed Models via PQL
immer

Yields from a Barley Field Trial
lm.gls

Fit Linear Models by Generalized Least Squares
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
glm.nb

Fit a Negative Binomial Generalized Linear Model
hills

Record Times in Scottish Hill Races
menarche

Age of Menarche in Warsaw
parcoord

Parallel Coordinates Plot
predict.glmmPQL

Predict Method for glmmPQL Fits
isoMDS

Kruskal's Non-metric Multidimensional Scaling
predict.lda

Classify Multivariate Observations by Linear Discrimination
hist.scott

Plot a Histogram with Automatic Bin Width Selection
pairs.lda

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

Predict from an lqs Fit
loglm1

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

Seizure Counts for Epileptics
qda

Quadratic Discriminant Analysis
motors

Accelerated Life Testing of Motorettes
housing

Frequency Table from a Copenhagen Housing Conditions Survey
mvrnorm

Simulate from a Multivariate Normal Distribution
mcycle

Data from a Simulated Motorcycle Accident
shuttle

Space Shuttle Autolander Problem
quine

Absenteeism from School in Rural New South Wales
shrimp

Percentage of Shrimp in Shrimp Cocktail
rlm

Robust Fitting of Linear Models
negative.binomial

Family function for Negative Binomial GLMs
eagles

Foraging Ecology of Bald Eagles
gamma.shape

Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit
rms.curv

Relative Curvature Measures for Non-Linear Regression
summary.loglm

Summary Method Function for Objects of Class 'loglm'
mammals

Brain and Body Weights for 62 Species of Land Mammals
steam

The Saturated Steam Pressure Data
predict.mca

Predict Method for Class 'mca'
newcomb

Newcomb's Measurements of the Passage Time of Light
huber

Huber M-estimator of Location with MAD Scale
survey

Student Survey Data
gamma.dispersion

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

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
summary.rlm

Summary Method for Robust Linear Models
plot.profile

Plotting Functions for 'profile' Objects
ginv

Generalized Inverse of a Matrix
gehan

Remission Times of Leukaemia Patients
gilgais

Line Transect of Soil in Gilgai Territory
galaxies

Velocities for 82 Galaxies
stepAIC

Choose a model by AIC in a Stepwise Algorithm
summary.negbin

Summary Method Function for Objects of Class 'negbin'
michelson

Michelson's Speed of Light Data
petrol

N. L. Prater's Petrol Refinery Data
kde2d

Two-Dimensional Kernel Density Estimation
hubers

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

Eighth-Grade Pupils in the Netherlands
mca

Multiple Correspondence Analysis
leuk

Survival Times and White Blood Counts for Leukaemia Patients
Belgian-phones

Belgium Phone Calls 1950-1973
lda

Linear Discriminant Analysis
rnegbin

Simulate Negative Binomial Variates
minn38

Minnesota High School Graduates of 1938
ldahist

Histograms or Density Plots of Multiple Groups
predict.qda

Classify from Quadratic Discriminant Analysis
road

Road Accident Deaths in US States
snails

Snail Mortality Data
npk

Classical N, P, K Factorial Experiment
logtrans

Estimate log Transformation Parameter
lqs

Resistant Regression
profile.glm

Method for Profiling glm Objects
oats

Data from an Oats Field Trial
rational

Rational Approximation
polr

Ordered Logistic or Probit Regression
stdres

Extract Standardized Residuals from a Linear Model
painters

The Painter's Data of de Piles
npr1

US Naval Petroleum Reserve No. 1 data
ships

Ships Damage Data
renumerate

Convert a Formula Transformed by 'denumerate'
shoes

Shoe wear data of Box, Hunter and Hunter
stormer

The Stormer Viscometer Data
truehist

Plot a Histogram
plot.lda

Plot Method for Class 'lda'
topo

Spatial Topographic Data
studres

Extract Studentized Residuals from a Linear Model
rotifer

Numbers of Rotifers by Fluid Density
write.matrix

Write a Matrix or Data Frame
whiteside

House Insulation: Whiteside's Data
synth.tr

Synthetic Classification Problem
waders

Counts of Waders at 15 Sites in South Africa
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
sammon

Sammon's Non-Linear Mapping
theta.md

Estimate theta of the Negative Binomial
plot.mca

Plot Method for Objects of Class 'mca'
wtloss

Weight Loss Data from an Obese Patient
ucv

Unbiased Cross-Validation for Bandwidth Selection
Insurance

Numbers of Car Insurance claims
MASS-internal

Internal MASS functions
DDT

DDT in Kale
Rabbit

Blood Pressure in Rabbits
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
Boston

Housing Values in Suburbs of Boston
Cars93

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

Survival from Malignant Melanoma
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
SP500

Returns of the Standard and Poors 500
Aids2

Australian AIDS Survival Data
Animals

Brain and Body Weights for 28 Species
Skye

AFM Compositions of Aphyric Skye Lavas
GAGurine

Level of GAG in Urine of Children
Rubber

Accelerated Testing of Tyre Rubber
Null

Null Spaces of Matrices
Pima.tr

Diabetes in Pima Indian Women
Traffic

Effect of Swedish Speed Limits on Accidents