Learn R Programming

MASS (version 7.3-61)

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

192,414

Version

7.3-61

License

GPL-2 | GPL-3

Maintainer

Last Published

June 13th, 2024

Functions in MASS (7.3-61)

UScereal

Nutritional and Marketing Information on US Cereals
SP500

Returns of the Standard and Poors 500
boxcox

Box-Cox Transformations for Linear Models
UScrime

The Effect of Punishment Regimes on Crime Rates
anova.negbin

Likelihood Ratio Tests for Negative Binomial GLMs
caith

Colours of Eyes and Hair of People in Caithness
biopsy

Biopsy Data on Breast Cancer Patients
cabbages

Data from a cabbage field trial
birthwt

Risk Factors Associated with Low Infant Birth Weight
cov.trob

Covariance Estimation for Multivariate t Distribution
beav1

Body Temperature Series of Beaver 1
coop

Co-operative Trial in Analytical Chemistry
cats

Anatomical Data from Domestic Cats
bacteria

Presence of Bacteria after Drug Treatments
anorexia

Anorexia Data on Weight Change
contr.sdif

Successive Differences Contrast Coding
beav2

Body Temperature Series of Beaver 2
cpus

Performance of Computer CPUs
accdeaths

Accidental Deaths in the US 1973-1978
denumerate

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

Simple Correspondence Analysis
cov.rob

Resistant Estimation of Multivariate Location and Scatter
genotype

Rat Genotype Data
drivers

Deaths of Car Drivers in Great Britain 1969-84
geyser

Old Faithful Geyser Data
eqscplot

Plots with Geometrically Equal Scales
area

Adaptive Numerical Integration
addterm

Try All One-Term Additions to a Model
dose.p

Predict Doses for Binomial Assay model
huber

Huber M-estimator of Location with MAD Scale
crabs

Morphological Measurements on Leptograpsus Crabs
hubers

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

Measurements of Forensic Glass Fragments
dropterm

Try All One-Term Deletions from a Model
glm.convert

Change a Negative Binomial fit to a GLM fit
fitdistr

Maximum-likelihood Fitting of Univariate Distributions
abbey

Determinations of Nickel Content
leuk

Survival Times and White Blood Counts for Leukaemia Patients
con2tr

Convert Lists to Data Frames for use by lattice
VA

Veteran's Administration Lung Cancer Trial
fractions

Rational Approximation
deaths

Monthly Deaths from Lung Diseases in the UK
ldahist

Histograms or Density Plots of Multiple Groups
glm.nb

Fit a Negative Binomial Generalized Linear Model
immer

Yields from a Barley Field Trial
hist.scott

Plot a Histogram with Automatic Bin Width Selection
confint-MASS

Confidence Intervals for Model Parameters
forbes

Forbes' Data on Boiling Points in the Alps
bandwidth.nrd

Bandwidth for density() via Normal Reference Distribution
bcv

Biased Cross-Validation for Bandwidth Selection
chem

Copper in Wholemeal Flour
farms

Ecological Factors in Farm Management
gehan

Remission Times of Leukaemia Patients
gilgais

Line Transect of Soil in Gilgai Territory
loglm

Fit Log-Linear Models by Iterative Proportional Scaling
loglm1

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

Heat Evolved by Setting Cements
isoMDS

Kruskal's Non-metric Multidimensional Scaling
gamma.shape

Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit
lm.gls

Fit Linear Models by Generalized Least Squares
lqs

Resistant Regression
logtrans

Estimate log Transformation Parameter
ginv

Generalized Inverse of a Matrix
predict.lda

Classify Multivariate Observations by Linear Discrimination
epil

Seizure Counts for Epileptics
eagles

Foraging Ecology of Bald Eagles
lda

Linear Discriminant Analysis
mammals

Brain and Body Weights for 62 Species of Land Mammals
michelson

Michelson's Speed of Light Data
lm.ridge

Ridge Regression
kde2d

Two-Dimensional Kernel Density Estimation
minn38

Minnesota High School Graduates of 1938
housing

Frequency Table from a Copenhagen Housing Conditions Survey
mca

Multiple Correspondence Analysis
petrol

N. L. Prater's Petrol Refinery Data
nlschools

Eighth-Grade Pupils in the Netherlands
gamma.dispersion

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

Data from an Oats Field Trial
npk

Classical N, P, K Factorial Experiment
npr1

US Naval Petroleum Reserve No. 1 data
shoes

Shoe wear data of Box, Hunter and Hunter
predict.lqs

Predict from an lqs Fit
painters

The Painter's Data of de Piles
glmmPQL

Fit Generalized Linear Mixed Models via PQL
galaxies

Velocities for 82 Galaxies
plot.mca

Plot Method for Objects of Class 'mca'
motors

Accelerated Life Testing of Motorettes
newcomb

Newcomb's Measurements of the Passage Time of Light
muscle

Effect of Calcium Chloride on Muscle Contraction in Rat Hearts
Belgian-phones

Belgium Phone Calls 1950-1973
predict.mca

Predict Method for Class 'mca'
plot.lda

Plot Method for Class 'lda'
shrimp

Percentage of Shrimp in Shrimp Cocktail
quine

Absenteeism from School in Rural New South Wales
rational

Rational Approximation
snails

Snail Mortality Data
shuttle

Space Shuttle Autolander Problem
sammon

Sammon's Non-Linear Mapping
theta.md

Estimate theta of the Negative Binomial
ships

Ships Damage Data
profile.glm

Method for Profiling glm Objects
width.SJ

Bandwidth Selection by Pilot Estimation of Derivatives
ucv

Unbiased Cross-Validation for Bandwidth Selection
survey

Student Survey Data
qda

Quadratic Discriminant Analysis
truehist

Plot a Histogram
mcycle

Data from a Simulated Motorcycle Accident
predict.qda

Classify from Quadratic Discriminant Analysis
topo

Spatial Topographic Data
hills

Record Times in Scottish Hill Races
wtloss

Weight Loss Data from an Obese Patient
menarche

Age of Menarche in Warsaw
write.matrix

Write a Matrix or Data Frame
renumerate

Convert a Formula Transformed by 'denumerate'
waders

Counts of Waders at 15 Sites in South Africa
parcoord

Parallel Coordinates Plot
synth.tr

Synthetic Classification Problem
negative.binomial

Family function for Negative Binomial GLMs
mvrnorm

Simulate from a Multivariate Normal Distribution
pairs.lda

Produce Pairwise Scatterplots from an 'lda' Fit
road

Road Accident Deaths in US States
stdres

Extract Standardized Residuals from a Linear Model
polr

Ordered Logistic or Probit Regression
predict.glmmPQL

Predict Method for glmmPQL Fits
stepAIC

Choose a model by AIC in a Stepwise Algorithm
rms.curv

Relative Curvature Measures for Non-Linear Regression
rlm

Robust Fitting of Linear Models
whiteside

House Insulation: Whiteside's Data
rotifer

Numbers of Rotifers by Fluid Density
steam

The Saturated Steam Pressure Data
rnegbin

Simulate Negative Binomial Variates
studres

Extract Studentized Residuals from a Linear Model
stormer

The Stormer Viscometer Data
summary.negbin

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

Summary Method for Robust Linear Models
summary.loglm

Summary Method Function for Objects of Class 'loglm'
Cushings

Diagnostic Tests on Patients with Cushing's Syndrome
Insurance

Numbers of Car Insurance claims
Null

Null Spaces of Matrices
Pima.tr

Diabetes in Pima Indian Women
Melanoma

Survival from Malignant Melanoma
Animals

Brain and Body Weights for 28 Species
DDT

DDT in Kale
MASS-internal

Internal MASS functions
Sitka

Growth Curves for Sitka Spruce Trees in 1988
Skye

AFM Compositions of Aphyric Skye Lavas
Aids2

Australian AIDS Survival Data
Boston

Housing Values in Suburbs of Boston
Rubber

Accelerated Testing of Tyre Rubber
GAGurine

Level of GAG in Urine of Children
Cars93

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

Blood Pressure in Rabbits
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