Learn R Programming

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

MASS (version 7.3-5)

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

112,643

Version

7.3-5

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

January 3rd, 2010

Functions in MASS (7.3-5)

Aids2

Australian AIDS Survival Data
MASS-internal

Internal MASS functions
farms

Ecological Factors in Farm Management
coop

Co-operative Trial in Analytical Chemistry
cabbages

Data from a cabbage field trial
Skye

AFM Compositions of Aphyric Skye Lavas
Sitka

Growth Curves for Sitka Spruce Trees in 1988
Boston

Housing Values in Suburbs of Boston
ginv

Generalized Inverse of a Matrix
Null

Null Spaces of Matrices
addterm

Try All One-Term Additions to a Model
Pima.tr

Diabetes in Pima Indian Women
UScereal

Nutritional and Marketing Information on US Cereals
Insurance

Numbers of Car Insurance claims
UScrime

The Effect of Punishment Regimes on Crime Rates
confint-MASS

Confidence Intervals for Model Parameters
Rubber

Accelerated Testing of Tyre Rubber
dropterm

Try All One-Term Deletions from a Model
rlm

Robust Fitting of Linear Models
leuk

Survival Times and White Blood Counts for Leukaemia Patients
area

Adaptive Numerical Integration
anorexia

Anorexia Data on Weight Change
DDT

DDT in Kale
glm.nb

Fit a Negative Binomial Generalized Linear Model
eqscplot

Plots with Geometrically Equal Scales
deaths

Monthly Deaths from Lung Diseases in the UK
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
predict.lda

Classify Multivariate Observations by Linear Discrimination
motors

Accelerated Life Testing of Motorettes
Traffic

Effect of Swedish Speed Limits on Accidents
contr.sdif

Successive Differences Contrast Coding
chem

Copper in Wholemeal Flour
petrol

N. L. Prater's Petrol Refinery Data
abbey

Determinations of Nickel Content
crabs

Morphological Measurements on Leptograpsus Crabs
mammals

Brain and Body Weights for 62 Species of Land Mammals
Animals

Brain and Body Weights for 28 Species
biopsy

Biopsy Data on Breast Cancer Patients
road

Road Accident Deaths in US States
con2tr

Convert Lists to Data Frames for use by Lattice
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
cov.rob

Resistant Estimation of Multivariate Location and Scatter
accdeaths

Accidental Deaths in the US 1973-1978
hist.scott

Plot a Histogram with Automatic Bin Width Selection
housing

Frequency Table from a Copenhagen Housing Conditions Survey
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
Cars93

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

Foraging Ecology of Bald Eagles
cpus

Performance of Computer CPUs
beav2

Body Temperature Series of Beaver 2
SP500

Returns of the Standard and Poors 500
cov.trob

Covariance Estimation for Multivariate t Distribution
fractions

Rational Approximation
lqs

Resistant Regression
predict.lqs

Predict from an lqs Fit
VA

Veteran's Administration Lung Cancer Trial
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
GAGurine

Level of GAG in Urine of Children
genotype

Rat Genotype Data
glmmPQL

Fit Generalized Linear Mixed Models via PQL
bacteria

Presence of Bacteria after Drug Treatments
caith

Colours of Eyes and Hair of People in Caithness
dose.p

Predict Doses for Binomial Assay model
rms.curv

Relative Curvature Measures for Non-Linear Regression
negative.binomial

Family function for Negative Binomial GLMs
minn38

Minnesota High School Graduates of 1938
stdres

Extract Standardized Residuals from a Linear Model
quine

Absenteeism from School in Rural New South Wales
immer

Yields from a Barley Field Trial
logtrans

Estimate log Transformation Parameter
denumerate

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

Kruskal's Non-metric Multidimensional Scaling
huber

Huber M-estimator of Location with MAD Scale
cement

Heat Evolved by Setting Cements
rational

Rational Approximation
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
hills

Record Times in Scottish Hill Races
forbes

Forbes' Data on Boiling Points in the Alps
epil

Seizure Counts for Epileptics
Melanoma

Survival from Malignant Melanoma
hubers

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

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

Simulate from a Multivariate Normal Distribution
menarche

Age of Menarche in Warsaw
studres

Extract Studentized Residuals from a Linear Model
steam

The Saturated Steam Pressure Data
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
npk

Classical N, P, K Factorial Experiment
corresp

Simple Correspondence Analysis
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
cats

Anatomical Data from Domestic Cats
mca

Multiple Correspondence Analysis
gilgais

Line Transect of Soil in Gilgai Territory
gamma.dispersion

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

Quadratic Discriminant Analysis
birthwt

Risk Factors Associated with Low Infant Birth Weight
gehan

Remission Times of Leukaemia Patients
beav1

Body Temperature Series of Beaver 1
waders

Counts of Waders at 15 Sites in South Africa
lm.gls

Fit Linear Models by Generalized Least Squares
predict.qda

Classify from Quadratic Discriminant Analysis
shuttle

Space Shuttle Autolander Problem
shoes

Shoe wear data of Box, Hunter and Hunter
snails

Snail Mortality Data
fgl

Measurements of Forensic Glass Fragments
geyser

Old Faithful Geyser Data
drivers

Deaths of Car Drivers in Great Britain 1969-84
newcomb

Newcomb's Measurements of the Passage Time of Light
predict.mca

Predict Method for Class 'mca'
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
lda

Linear Discriminant Analysis
renumerate

Convert a Formula Transformed by 'denumerate'
boxcox

Box-Cox Transformations for Linear Models
mcycle

Data from a Simulated Motorcycle Accident
theta.md

Estimate theta of the Negative Binomial
parcoord

Parallel Coordinates Plot
npr1

US Naval Petroleum Reserve No. 1 data
kde2d

Two-Dimensional Kernel Density Estimation
stormer

The Stormer Viscometer Data
nlschools

Eighth-Grade Pupils in the Netherlands
wtloss

Weight Loss Data from an Obese Patient
topo

Spatial Topographic Data
synth.tr

Synthetic Classification Problem
ucv

Unbiased Cross-Validation for Bandwidth Selection
ships

Ships Damage Data
lm.ridge

Ridge Regression
profile.glm

Method for Profiling glm Objects
predict.glmmPQL

Predict Method for glmmPQL Fits
plot.lda

Plot Method for Class 'lda'
rotifer

Numbers of Rotifers by Fluid Density
plot.mca

Plot Method for Objects of Class 'mca'
plot.profile

Plottig Functions for 'profile' Objects
shrimp

Percentage of Shrimp in Shrimp Cocktail
summary.negbin

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

Summary Method Function for Objects of Class 'loglm'
truehist

Plot a Histogram
summary.rlm

Summary Method for Robust Linear Models
painters

The Painter's Data of de Piles
ldahist

Histograms or Density Plots of Multiple Groups
michelson

Michelson's Speed of Light Data
Belgian-phones

Belgium Phone Calls 1950-1973
sammon

Sammon's Non-Linear Mapping
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
polr

Ordered Logistic or Probit Regression
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
bcv

Biased Cross-Validation for Bandwidth Selection
whiteside

House Insulation: Whiteside's Data
survey

Student Survey Data
write.matrix

Write a Matrix or Data Frame
Rabbit

Blood Pressure in Rabbits
galaxies

Velocities for 82 Galaxies
OME

Tests of Auditory Perception in Children with OME
oats

Data from an Oats Field Trial
rnegbin

Simulate Negative Binomial Variates
stepAIC

Choose a model by AIC in a Stepwise Algorithm