Learn R Programming

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

MASS (version 7.3-40)

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

108,239

Version

7.3-40

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

March 21st, 2015

Functions in MASS (7.3-40)

Insurance

Numbers of Car Insurance claims
beav2

Body Temperature Series of Beaver 2
chem

Copper in Wholemeal Flour
Cars93

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

Housing Values in Suburbs of Boston
Pima.tr

Diabetes in Pima Indian Women
DDT

DDT in Kale
OME

Tests of Auditory Perception in Children with OME
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
Traffic

Effect of Swedish Speed Limits on Accidents
coop

Co-operative Trial in Analytical Chemistry
bacteria

Presence of Bacteria after Drug Treatments
lqs

Resistant Regression
UScrime

The Effect of Punishment Regimes on Crime Rates
accdeaths

Accidental Deaths in the US 1973-1978
gamma.dispersion

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

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

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

Null Spaces of Matrices
isoMDS

Kruskal's Non-metric Multidimensional Scaling
anorexia

Anorexia Data on Weight Change
MASS-internal

Internal MASS functions
UScereal

Nutritional and Marketing Information on US Cereals
stormer

The Stormer Viscometer Data
cabbages

Data from a cabbage field trial
area

Adaptive Numerical Integration
contr.sdif

Successive Differences Contrast Coding
parcoord

Parallel Coordinates Plot
lda

Linear Discriminant Analysis
eqscplot

Plots with Geometrically Equal Scales
SP500

Returns of the Standard and Poors 500
kde2d

Two-Dimensional Kernel Density Estimation
Skye

AFM Compositions of Aphyric Skye Lavas
eagles

Foraging Ecology of Bald Eagles
drivers

Deaths of Car Drivers in Great Britain 1969-84
Sitka

Growth Curves for Sitka Spruce Trees in 1988
road

Road Accident Deaths in US States
logtrans

Estimate log Transformation Parameter
fgl

Measurements of Forensic Glass Fragments
nlschools

Eighth-Grade Pupils in the Netherlands
gilgais

Line Transect of Soil in Gilgai Territory
gehan

Remission Times of Leukaemia Patients
con2tr

Convert Lists to Data Frames for use by lattice
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
rational

Rational Approximation
caith

Colours of Eyes and Hair of People in Caithness
glmmPQL

Fit Generalized Linear Mixed Models via PQL
addterm

Try All One-Term Additions to a Model
cats

Anatomical Data from Domestic Cats
crabs

Morphological Measurements on Leptograpsus Crabs
Aids2

Australian AIDS Survival Data
hist.scott

Plot a Histogram with Automatic Bin Width Selection
geyser

Old Faithful Geyser Data
farms

Ecological Factors in Farm Management
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
cov.trob

Covariance Estimation for Multivariate t Distribution
hubers

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

Generalized Inverse of a Matrix
petrol

N. L. Prater's Petrol Refinery Data
steam

The Saturated Steam Pressure Data
predict.qda

Classify from Quadratic Discriminant Analysis
confint-MASS

Confidence Intervals for Model Parameters
write.matrix

Write a Matrix or Data Frame
mca

Multiple Correspondence Analysis
Rubber

Accelerated Testing of Tyre Rubber
epil

Seizure Counts for Epileptics
menarche

Age of Menarche in Warsaw
plot.lda

Plot Method for Class 'lda'
whiteside

House Insulation: Whiteside's Data
hills

Record Times in Scottish Hill Races
negative.binomial

Family function for Negative Binomial GLMs
biopsy

Biopsy Data on Breast Cancer Patients
oats

Data from an Oats Field Trial
dose.p

Predict Doses for Binomial Assay model
npr1

US Naval Petroleum Reserve No. 1 data
housing

Frequency Table from a Copenhagen Housing Conditions Survey
qda

Quadratic Discriminant Analysis
glm.nb

Fit a Negative Binomial Generalized Linear Model
plot.mca

Plot Method for Objects of Class 'mca'
mvrnorm

Simulate from a Multivariate Normal Distribution
glm.convert

Change a Negative Binomial fit to a GLM fit
cpus

Performance of Computer CPUs
gamma.shape

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

Box-Cox Transformations for Linear Models
stepAIC

Choose a model by AIC in a Stepwise Algorithm
leuk

Survival Times and White Blood Counts for Leukaemia Patients
shrimp

Percentage of Shrimp in Shrimp Cocktail
cement

Heat Evolved by Setting Cements
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
dropterm

Try All One-Term Deletions from a Model
rms.curv

Relative Curvature Measures for Non-Linear Regression
mcycle

Data from a Simulated Motorcycle Accident
newcomb

Newcomb's Measurements of the Passage Time of Light
profile.glm

Method for Profiling glm Objects
deaths

Monthly Deaths from Lung Diseases in the UK
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
rlm

Robust Fitting of Linear Models
genotype

Rat Genotype Data
predict.mca

Predict Method for Class 'mca'
huber

Huber M-estimator of Location with MAD Scale
cov.rob

Resistant Estimation of Multivariate Location and Scatter
shoes

Shoe wear data of Box, Hunter and Hunter
sammon

Sammon's Non-Linear Mapping
rnegbin

Simulate Negative Binomial Variates
plot.profile

Plotting Functions for 'profile' Objects
Melanoma

Survival from Malignant Melanoma
rotifer

Numbers of Rotifers by Fluid Density
ucv

Unbiased Cross-Validation for Bandwidth Selection
corresp

Simple Correspondence Analysis
npk

Classical N, P, K Factorial Experiment
theta.md

Estimate theta of the Negative Binomial
topo

Spatial Topographic Data
beav1

Body Temperature Series of Beaver 1
summary.negbin

Summary Method Function for Objects of Class 'negbin'
summary.loglm

Summary Method Function for Objects of Class 'loglm'
wtloss

Weight Loss Data from an Obese Patient
stdres

Extract Standardized Residuals from a Linear Model
studres

Extract Studentized Residuals from a Linear Model
quine

Absenteeism from School in Rural New South Wales
predict.lda

Classify Multivariate Observations by Linear Discrimination
forbes

Forbes' Data on Boiling Points in the Alps
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
galaxies

Velocities for 82 Galaxies
snails

Snail Mortality Data
immer

Yields from a Barley Field Trial
survey

Student Survey Data
predict.lqs

Predict from an lqs Fit
waders

Counts of Waders at 15 Sites in South Africa
GAGurine

Level of GAG in Urine of Children
synth.tr

Synthetic Classification Problem
Animals

Brain and Body Weights for 28 Species
mammals

Brain and Body Weights for 62 Species of Land Mammals
fractions

Rational Approximation
painters

The Painter's Data of de Piles
truehist

Plot a Histogram
lm.gls

Fit Linear Models by Generalized Least Squares
ldahist

Histograms or Density Plots of Multiple Groups
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
Belgian-phones

Belgium Phone Calls 1950-1973
polr

Ordered Logistic or Probit Regression
renumerate

Convert a Formula Transformed by 'denumerate'
shuttle

Space Shuttle Autolander Problem
VA

Veteran's Administration Lung Cancer Trial
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
birthwt

Risk Factors Associated with Low Infant Birth Weight
michelson

Michelson's Speed of Light Data
motors

Accelerated Life Testing of Motorettes
lm.ridge

Ridge Regression
summary.rlm

Summary Method for Robust Linear Models
Rabbit

Blood Pressure in Rabbits
abbey

Determinations of Nickel Content
bcv

Biased Cross-Validation for Bandwidth Selection
minn38

Minnesota High School Graduates of 1938
pairs.lda

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

Predict Method for glmmPQL Fits
ships

Ships Damage Data