Learn R Programming

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

MASS (version 7.3-50)

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

184,279

Version

7.3-50

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

April 30th, 2018

Functions in MASS (7.3-50)

anorexia

Anorexia Data on Weight Change
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
cats

Anatomical Data from Domestic Cats
contr.sdif

Successive Differences Contrast Coding
caith

Colours of Eyes and Hair of People in Caithness
birthwt

Risk Factors Associated with Low Infant Birth Weight
UScrime

The Effect of Punishment Regimes on Crime Rates
UScereal

Nutritional and Marketing Information on US Cereals
biopsy

Biopsy Data on Breast Cancer Patients
confint-MASS

Confidence Intervals for Model Parameters
con2tr

Convert Lists to Data Frames for use by lattice
coop

Co-operative Trial in Analytical Chemistry
crabs

Morphological Measurements on Leptograpsus Crabs
OME

Tests of Auditory Perception in Children with OME
beav1

Body Temperature Series of Beaver 1
accdeaths

Accidental Deaths in the US 1973-1978
denumerate

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

Try All One-Term Additions to a Model
deaths

Monthly Deaths from Lung Diseases in the UK
beav2

Body Temperature Series of Beaver 2
corresp

Simple Correspondence Analysis
eagles

Foraging Ecology of Bald Eagles
epil

Seizure Counts for Epileptics
cov.rob

Resistant Estimation of Multivariate Location and Scatter
gamma.shape

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

Remission Times of Leukaemia Patients
galaxies

Velocities for 82 Galaxies
dose.p

Predict Doses for Binomial Assay model
gamma.dispersion

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

Measurements of Forensic Glass Fragments
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
housing

Frequency Table from a Copenhagen Housing Conditions Survey
hist.scott

Plot a Histogram with Automatic Bin Width Selection
lm.gls

Fit Linear Models by Generalized Least Squares
VA

Veteran's Administration Lung Cancer Trial
abbey

Determinations of Nickel Content
huber

Huber M-estimator of Location with MAD Scale
boxcox

Box-Cox Transformations for Linear Models
cabbages

Data from a cabbage field trial
area

Adaptive Numerical Integration
cement

Heat Evolved by Setting Cements
gilgais

Line Transect of Soil in Gilgai Territory
hubers

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

Presence of Bacteria after Drug Treatments
chem

Copper in Wholemeal Flour
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
ginv

Generalized Inverse of a Matrix
lm.ridge

Ridge Regression
immer

Yields from a Barley Field Trial
isoMDS

Kruskal's Non-metric Multidimensional Scaling
mca

Multiple Correspondence Analysis
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
mammals

Brain and Body Weights for 62 Species of Land Mammals
forbes

Forbes' Data on Boiling Points in the Alps
farms

Ecological Factors in Farm Management
eqscplot

Plots with Geometrically Equal Scales
parcoord

Parallel Coordinates Plot
predict.glmmPQL

Predict Method for glmmPQL Fits
loglm1

Fit Log-Linear Models by Iterative Proportional Scaling -- Internal function
predict.lda

Classify Multivariate Observations by Linear Discrimination
bcv

Biased Cross-Validation for Bandwidth Selection
fractions

Rational Approximation
cov.trob

Covariance Estimation for Multivariate t Distribution
motors

Accelerated Life Testing of Motorettes
quine

Absenteeism from School in Rural New South Wales
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
qda

Quadratic Discriminant Analysis
glm.convert

Change a Negative Binomial fit to a GLM fit
logtrans

Estimate log Transformation Parameter
cpus

Performance of Computer CPUs
glm.nb

Fit a Negative Binomial Generalized Linear Model
rotifer

Numbers of Rotifers by Fluid Density
summary.loglm

Summary Method Function for Objects of Class 'loglm'
drivers

Deaths of Car Drivers in Great Britain 1969-84
sammon

Sammon's Non-Linear Mapping
lqs

Resistant Regression
summary.negbin

Summary Method Function for Objects of Class 'negbin'
kde2d

Two-Dimensional Kernel Density Estimation
oats

Data from an Oats Field Trial
dropterm

Try All One-Term Deletions from a Model
painters

The Painter's Data of de Piles
newcomb

Newcomb's Measurements of the Passage Time of Light
petrol

N. L. Prater's Petrol Refinery Data
lda

Linear Discriminant Analysis
geyser

Old Faithful Geyser Data
genotype

Rat Genotype Data
nlschools

Eighth-Grade Pupils in the Netherlands
Belgian-phones

Belgium Phone Calls 1950-1973
rational

Rational Approximation
mcycle

Data from a Simulated Motorcycle Accident
renumerate

Convert a Formula Transformed by 'denumerate'
shrimp

Percentage of Shrimp in Shrimp Cocktail
shuttle

Space Shuttle Autolander Problem
menarche

Age of Menarche in Warsaw
predict.lqs

Predict from an lqs Fit
mvrnorm

Simulate from a Multivariate Normal Distribution
stormer

The Stormer Viscometer Data
negative.binomial

Family function for Negative Binomial GLMs
predict.mca

Predict Method for Class 'mca'
rlm

Robust Fitting of Linear Models
rms.curv

Relative Curvature Measures for Non-Linear Regression
snails

Snail Mortality Data
stdres

Extract Standardized Residuals from a Linear Model
glmmPQL

Fit Generalized Linear Mixed Models via PQL
plot.profile

Plotting Functions for 'profile' Objects
studres

Extract Studentized Residuals from a Linear Model
hills

Record Times in Scottish Hill Races
ucv

Unbiased Cross-Validation for Bandwidth Selection
topo

Spatial Topographic Data
polr

Ordered Logistic or Probit Regression
profile.glm

Method for Profiling glm Objects
waders

Counts of Waders at 15 Sites in South Africa
predict.qda

Classify from Quadratic Discriminant Analysis
steam

The Saturated Steam Pressure Data
truehist

Plot a Histogram
whiteside

House Insulation: Whiteside's Data
summary.rlm

Summary Method for Robust Linear Models
stepAIC

Choose a model by AIC in a Stepwise Algorithm
survey

Student Survey Data
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
ldahist

Histograms or Density Plots of Multiple Groups
leuk

Survival Times and White Blood Counts for Leukaemia Patients
michelson

Michelson's Speed of Light Data
minn38

Minnesota High School Graduates of 1938
npk

Classical N, P, K Factorial Experiment
npr1

US Naval Petroleum Reserve No. 1 data
plot.lda

Plot Method for Class 'lda'
plot.mca

Plot Method for Objects of Class 'mca'
rnegbin

Simulate Negative Binomial Variates
road

Road Accident Deaths in US States
ships

Ships Damage Data
shoes

Shoe wear data of Box, Hunter and Hunter
synth.tr

Synthetic Classification Problem
theta.md

Estimate theta of the Negative Binomial
write.matrix

Write a Matrix or Data Frame
wtloss

Weight Loss Data from an Obese Patient
Boston

Housing Values in Suburbs of Boston
Animals

Brain and Body Weights for 28 Species
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
Melanoma

Survival from Malignant Melanoma
MASS-internal

Internal MASS functions
Aids2

Australian AIDS Survival Data
Cars93

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

Numbers of Car Insurance claims
DDT

DDT in Kale
GAGurine

Level of GAG in Urine of Children
Sitka

Growth Curves for Sitka Spruce Trees in 1988
Pima.tr

Diabetes in Pima Indian Women
SP500

Returns of the Standard and Poors 500
Rabbit

Blood Pressure in Rabbits
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
Skye

AFM Compositions of Aphyric Skye Lavas
Null

Null Spaces of Matrices
Rubber

Accelerated Testing of Tyre Rubber
Traffic

Effect of Swedish Speed Limits on Accidents