Learn R Programming

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

MASS (version 7.3-51.3)

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-51.3

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

March 31st, 2019

Functions in MASS (7.3-51.3)

Null

Null Spaces of Matrices
anorexia

Anorexia Data on Weight Change
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
corresp

Simple Correspondence Analysis
cov.rob

Resistant Estimation of Multivariate Location and Scatter
denumerate

Transform an Allowable Formula for 'loglm' into one for 'terms'
dose.p

Predict Doses for Binomial Assay model
fgl

Measurements of Forensic Glass Fragments
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
hist.scott

Plot a Histogram with Automatic Bin Width Selection
housing

Frequency Table from a Copenhagen Housing Conditions Survey
MASS-internal

Internal MASS functions
Melanoma

Survival from Malignant Melanoma
kde2d

Two-Dimensional Kernel Density Estimation
lda

Linear Discriminant Analysis
mammals

Brain and Body Weights for 62 Species of Land Mammals
UScereal

Nutritional and Marketing Information on US Cereals
mca

Multiple Correspondence Analysis
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
UScrime

The Effect of Punishment Regimes on Crime Rates
beav1

Body Temperature Series of Beaver 1
beav2

Body Temperature Series of Beaver 2
cov.trob

Covariance Estimation for Multivariate t Distribution
GAGurine

Level of GAG in Urine of Children
cpus

Performance of Computer CPUs
parcoord

Parallel Coordinates Plot
genotype

Rat Genotype Data
Insurance

Numbers of Car Insurance claims
Pima.tr

Diabetes in Pima Indian Women
Aids2

Australian AIDS Survival Data
geyser

Old Faithful Geyser Data
Boston

Housing Values in Suburbs of Boston
Animals

Brain and Body Weights for 28 Species
Rubber

Accelerated Testing of Tyre Rubber
Cars93

Data from 93 Cars on Sale in the USA in 1993
predict.lqs

Predict from an lqs Fit
predict.mca

Predict Method for Class 'mca'
rlm

Robust Fitting of Linear Models
rms.curv

Relative Curvature Measures for Non-Linear Regression
huber

Huber M-estimator of Location with MAD Scale
Sitka

Growth Curves for Sitka Spruce Trees in 1988
Rabbit

Blood Pressure in Rabbits
area

Adaptive Numerical Integration
Sitka89

Growth Curves for Sitka Spruce Trees in 1989
bacteria

Presence of Bacteria after Drug Treatments
boxcox

Box-Cox Transformations for Linear Models
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
summary.loglm

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

Summary Method Function for Objects of Class 'negbin'
cement

Heat Evolved by Setting Cements
cabbages

Data from a cabbage field trial
chem

Copper in Wholemeal Flour
DDT

DDT in Kale
eqscplot

Plots with Geometrically Equal Scales
farms

Ecological Factors in Farm Management
Skye

AFM Compositions of Aphyric Skye Lavas
hubers

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

Michelson's Speed of Light Data
minn38

Minnesota High School Graduates of 1938
accdeaths

Accidental Deaths in the US 1973-1978
Traffic

Effect of Swedish Speed Limits on Accidents
caith

Colours of Eyes and Hair of People in Caithness
addterm

Try All One-Term Additions to a Model
SP500

Returns of the Standard and Poors 500
cats

Anatomical Data from Domestic Cats
VA

Veteran's Administration Lung Cancer Trial
gamma.shape

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

Data from an Oats Field Trial
contr.sdif

Successive Differences Contrast Coding
coop

Co-operative Trial in Analytical Chemistry
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
eagles

Foraging Ecology of Bald Eagles
epil

Seizure Counts for Epileptics
painters

The Painter's Data of de Piles
plot.profile

Plotting Functions for 'profile' Objects
galaxies

Velocities for 82 Galaxies
bcv

Biased Cross-Validation for Bandwidth Selection
qda

Quadratic Discriminant Analysis
quine

Absenteeism from School in Rural New South Wales
polr

Ordered Logistic or Probit Regression
gamma.dispersion

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

Determinations of Nickel Content
con2tr

Convert Lists to Data Frames for use by lattice
shrimp

Percentage of Shrimp in Shrimp Cocktail
confint-MASS

Confidence Intervals for Model Parameters
gehan

Remission Times of Leukaemia Patients
gilgais

Line Transect of Soil in Gilgai Territory
glm.convert

Change a Negative Binomial fit to a GLM fit
deaths

Monthly Deaths from Lung Diseases in the UK
glm.nb

Fit a Negative Binomial Generalized Linear Model
crabs

Morphological Measurements on Leptograpsus Crabs
biopsy

Biopsy Data on Breast Cancer Patients
ginv

Generalized Inverse of a Matrix
immer

Yields from a Barley Field Trial
shuttle

Space Shuttle Autolander Problem
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
birthwt

Risk Factors Associated with Low Infant Birth Weight
isoMDS

Kruskal's Non-metric Multidimensional Scaling
mcycle

Data from a Simulated Motorcycle Accident
whiteside

House Insulation: Whiteside's Data
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
glmmPQL

Fit Generalized Linear Mixed Models via PQL
menarche

Age of Menarche in Warsaw
drivers

Deaths of Car Drivers in Great Britain 1969-84
hills

Record Times in Scottish Hill Races
loglm1

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

Classical N, P, K Factorial Experiment
lm.gls

Fit Linear Models by Generalized Least Squares
newcomb

Newcomb's Measurements of the Passage Time of Light
forbes

Forbes' Data on Boiling Points in the Alps
dropterm

Try All One-Term Deletions from a Model
nlschools

Eighth-Grade Pupils in the Netherlands
predict.qda

Classify from Quadratic Discriminant Analysis
fractions

Rational Approximation
ldahist

Histograms or Density Plots of Multiple Groups
npr1

US Naval Petroleum Reserve No. 1 data
leuk

Survival Times and White Blood Counts for Leukaemia Patients
lm.ridge

Ridge Regression
predict.glmmPQL

Predict Method for glmmPQL Fits
profile.glm

Method for Profiling glm Objects
ships

Ships Damage Data
predict.lda

Classify Multivariate Observations by Linear Discrimination
logtrans

Estimate log Transformation Parameter
shoes

Shoe wear data of Box, Hunter and Hunter
lqs

Resistant Regression
stormer

The Stormer Viscometer Data
motors

Accelerated Life Testing of Motorettes
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
rational

Rational Approximation
plot.lda

Plot Method for Class 'lda'
renumerate

Convert a Formula Transformed by 'denumerate'
studres

Extract Studentized Residuals from a Linear Model
rotifer

Numbers of Rotifers by Fluid Density
sammon

Sammon's Non-Linear Mapping
mvrnorm

Simulate from a Multivariate Normal Distribution
negative.binomial

Family function for Negative Binomial GLMs
petrol

N. L. Prater's Petrol Refinery Data
Belgian-phones

Belgium Phone Calls 1950-1973
rnegbin

Simulate Negative Binomial Variates
road

Road Accident Deaths in US States
summary.rlm

Summary Method for Robust Linear Models
plot.mca

Plot Method for Objects of Class 'mca'
survey

Student Survey Data
write.matrix

Write a Matrix or Data Frame
wtloss

Weight Loss Data from an Obese Patient
steam

The Saturated Steam Pressure Data
stepAIC

Choose a model by AIC in a Stepwise Algorithm
snails

Snail Mortality Data
synth.tr

Synthetic Classification Problem
stdres

Extract Standardized Residuals from a Linear Model
theta.md

Estimate theta of the Negative Binomial
topo

Spatial Topographic Data
truehist

Plot a Histogram
ucv

Unbiased Cross-Validation for Bandwidth Selection
waders

Counts of Waders at 15 Sites in South Africa
OME

Tests of Auditory Perception in Children with OME