Learn R Programming

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

MASS (version 7.3-7)

Main Package of Venables and Ripley's MASS

Description

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

Copy Link

Version

Install

install.packages('MASS')

Monthly Downloads

143,605

Version

7.3-7

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

July 3rd, 2010

Functions in MASS (7.3-7)

Sitka89

Growth Curves for Sitka Spruce Trees in 1989
bacteria

Presence of Bacteria after Drug Treatments
OME

Tests of Auditory Perception in Children with OME
Rabbit

Blood Pressure in Rabbits
deaths

Monthly Deaths from Lung Diseases in the UK
Pima.tr

Diabetes in Pima Indian Women
VA

Veteran's Administration Lung Cancer Trial
UScereal

Nutritional and Marketing Information on US Cereals
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
cov.trob

Covariance Estimation for Multivariate t Distribution
Boston

Housing Values in Suburbs of Boston
SP500

Returns of the Standard and Poors 500
addterm

Try All One-Term Additions to a Model
glm.nb

Fit a Negative Binomial Generalized Linear Model
denumerate

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

Biased Cross-Validation for Bandwidth Selection
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
birthwt

Risk Factors Associated with Low Infant Birth Weight
nlschools

Eighth-Grade Pupils in the Netherlands
accdeaths

Accidental Deaths in the US 1973-1978
cement

Heat Evolved by Setting Cements
isoMDS

Kruskal's Non-metric Multidimensional Scaling
hist.scott

Plot a Histogram with Automatic Bin Width Selection
npr1

US Naval Petroleum Reserve No. 1 data
corresp

Simple Correspondence Analysis
dose.p

Predict Doses for Binomial Assay model
housing

Frequency Table from a Copenhagen Housing Conditions Survey
predict.lda

Classify Multivariate Observations by Linear Discrimination
Null

Null Spaces of Matrices
epil

Seizure Counts for Epileptics
rational

Rational Approximation
gehan

Remission Times of Leukaemia Patients
leuk

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

Predict from an lqs Fit
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
huber

Huber M-estimator of Location with MAD Scale
forbes

Forbes' Data on Boiling Points in the Alps
motors

Accelerated Life Testing of Motorettes
synth.tr

Synthetic Classification Problem
galaxies

Velocities for 82 Galaxies
Skye

AFM Compositions of Aphyric Skye Lavas
studres

Extract Studentized Residuals from a Linear Model
biopsy

Biopsy Data on Breast Cancer Patients
shoes

Shoe wear data of Box, Hunter and Hunter
beav1

Body Temperature Series of Beaver 1
mvrnorm

Simulate from a Multivariate Normal Distribution
contr.sdif

Successive Differences Contrast Coding
gamma.shape

Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit
summary.rlm

Summary Method for Robust Linear Models
shuttle

Space Shuttle Autolander Problem
ldahist

Histograms or Density Plots of Multiple Groups
con2tr

Convert Lists to Data Frames for use by Lattice
lm.gls

Fit Linear Models by Generalized Least Squares
kde2d

Two-Dimensional Kernel Density Estimation
michelson

Michelson's Speed of Light Data
gilgais

Line Transect of Soil in Gilgai Territory
mca

Multiple Correspondence Analysis
dropterm

Try All One-Term Deletions from a Model
farms

Ecological Factors in Farm Management
glm.convert

Change a Negative Binomial fit to a GLM fit
loglm1

Fit Log-Linear Models by Iterative Proportional Scaling -- Internal function
MASS-internal

Internal MASS functions
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
Aids2

Australian AIDS Survival Data
Animals

Brain and Body Weights for 28 Species
Insurance

Numbers of Car Insurance claims
DDT

DDT in Kale
area

Adaptive Numerical Integration
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
confint-MASS

Confidence Intervals for Model Parameters
cpus

Performance of Computer CPUs
chem

Copper in Wholemeal Flour
cov.rob

Resistant Estimation of Multivariate Location and Scatter
abbey

Determinations of Nickel Content
cabbages

Data from a cabbage field trial
cats

Anatomical Data from Domestic Cats
GAGurine

Level of GAG in Urine of Children
genotype

Rat Genotype Data
UScrime

The Effect of Punishment Regimes on Crime Rates
Cars93

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

Anorexia Data on Weight Change
beav2

Body Temperature Series of Beaver 2
Sitka

Growth Curves for Sitka Spruce Trees in 1988
eagles

Foraging Ecology of Bald Eagles
fgl

Measurements of Forensic Glass Fragments
rotifer

Numbers of Rotifers by Fluid Density
snails

Snail Mortality Data
logtrans

Estimate log Transformation Parameter
write.matrix

Write a Matrix or Data Frame
profile.glm

Method for Profiling glm Objects
mcycle

Data from a Simulated Motorcycle Accident
drivers

Deaths of Car Drivers in Great Britain 1969-84
stdres

Extract Standardized Residuals from a Linear Model
immer

Yields from a Barley Field Trial
geyser

Old Faithful Geyser Data
quine

Absenteeism from School in Rural New South Wales
summary.negbin

Summary Method Function for Objects of Class 'negbin'
truehist

Plot a Histogram
oats

Data from an Oats Field Trial
Traffic

Effect of Swedish Speed Limits on Accidents
painters

The Painter's Data of de Piles
eqscplot

Plots with Geometrically Equal Scales
survey

Student Survey Data
stormer

The Stormer Viscometer Data
hills

Record Times in Scottish Hill Races
ucv

Unbiased Cross-Validation for Bandwidth Selection
Belgian-phones

Belgium Phone Calls 1950-1973
lqs

Resistant Regression
minn38

Minnesota High School Graduates of 1938
shrimp

Percentage of Shrimp in Shrimp Cocktail
boxcox

Box-Cox Transformations for Linear Models
caith

Colours of Eyes and Hair of People in Caithness
gamma.dispersion

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

Robust Fitting of Linear Models
theta.md

Estimate theta of the Negative Binomial
rnegbin

Simulate Negative Binomial Variates
hubers

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

Newcomb's Measurements of the Passage Time of Light
summary.loglm

Summary Method Function for Objects of Class 'loglm'
ginv

Generalized Inverse of a Matrix
Rubber

Accelerated Testing of Tyre Rubber
ships

Ships Damage Data
predict.qda

Classify from Quadratic Discriminant Analysis
plot.lda

Plot Method for Class 'lda'
lm.ridge

Ridge Regression
plot.profile

Plottig Functions for 'profile' Objects
rms.curv

Relative Curvature Measures for Non-Linear Regression
menarche

Age of Menarche in Warsaw
steam

The Saturated Steam Pressure Data
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
polr

Ordered Logistic or Probit Regression
plot.mca

Plot Method for Objects of Class 'mca'
glmmPQL

Fit Generalized Linear Mixed Models via PQL
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
mammals

Brain and Body Weights for 62 Species of Land Mammals
whiteside

House Insulation: Whiteside's Data
petrol

N. L. Prater's Petrol Refinery Data
renumerate

Convert a Formula Transformed by 'denumerate'
road

Road Accident Deaths in US States
waders

Counts of Waders at 15 Sites in South Africa
lda

Linear Discriminant Analysis
sammon

Sammon's Non-Linear Mapping
crabs

Morphological Measurements on Leptograpsus Crabs
wtloss

Weight Loss Data from an Obese Patient
negative.binomial

Family function for Negative Binomial GLMs
npk

Classical N, P, K Factorial Experiment
predict.glmmPQL

Predict Method for glmmPQL Fits
parcoord

Parallel Coordinates Plot
topo

Spatial Topographic Data
Melanoma

Survival from Malignant Melanoma
fractions

Rational Approximation
coop

Co-operative Trial in Analytical Chemistry
qda

Quadratic Discriminant Analysis
predict.mca

Predict Method for Class 'mca'
stepAIC

Choose a model by AIC in a Stepwise Algorithm