# MASS v7.3-27

0

Monthly downloads

by Brian Ripley

## Support Functions and Datasets for Venables and Ripley's MASS

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

## Functions in MASS

Name | Description | |

accdeaths | Accidental Deaths in the US 1973-1978 | |

Rabbit | Blood Pressure in Rabbits | |

dose.p | Predict Doses for Binomial Assay model | |

Rubber | Accelerated Testing of Tyre Rubber | |

birthwt | Risk Factors Associated with Low Infant Birth Weight | |

GAGurine | Level of GAG in Urine of Children | |

addterm | Try All One-Term Additions to a Model | |

Insurance | Numbers of Car Insurance claims | |

Pima.tr | Diabetes in Pima Indian Women | |

fitdistr | Maximum-likelihood Fitting of Univariate Distributions | |

Cars93 | Data from 93 Cars on Sale in the USA in 1993 | |

farms | Ecological Factors in Farm Management | |

Sitka89 | Growth Curves for Sitka Spruce Trees in 1989 | |

bandwidth.nrd | Bandwidth for density() via Normal Reference Distribution | |

Melanoma | Survival from Malignant Melanoma | |

hills | Record Times in Scottish Hill Races | |

galaxies | Velocities for 82 Galaxies | |

hubers | Huber Proposal 2 Robust Estimator of Location and/or Scale | |

Cushings | Diagnostic Tests on Patients with Cushing's Syndrome | |

Animals | Brain and Body Weights for 28 Species | |

isoMDS | Kruskal's Non-metric Multidimensional Scaling | |

chem | Copper in Wholemeal Flour | |

anova.negbin | Likelihood Ratio Tests for Negative Binomial GLMs | |

Traffic | Effect of Swedish Speed Limits on Accidents | |

MASS-internal | Internal MASS functions | |

lm.gls | Fit Linear Models by Generalized Least Squares | |

painters | The Painter's Data of de Piles | |

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

UScrime | The Effect of Punishment Regimes on Crime Rates | |

cpus | Performance of Computer CPUs | |

lda | Linear Discriminant Analysis | |

stormer | The Stormer Viscometer Data | |

motors | Accelerated Life Testing of Motorettes | |

forbes | Forbes' Data on Boiling Points in the Alps | |

crabs | Morphological Measurements on Leptograpsus Crabs | |

cats | Anatomical Data from Domestic Cats | |

predict.glmmPQL | Predict Method for glmmPQL Fits | |

abbey | Determinations of Nickel Content | |

mvrnorm | Simulate from a Multivariate Normal Distribution | |

quine | Absenteeism from School in Rural New South Wales | |

gamma.shape | Estimate the Shape Parameter of the Gamma Distribution in a GLM Fit | |

bcv | Biased Cross-Validation for Bandwidth Selection | |

eqscplot | Plots with Geometrically Equal Scales | |

fractions | Rational Approximation | |

boxcox | Box-Cox Transformations for Linear Models | |

fgl | Measurements of Forensic Glass Fragments | |

parcoord | Parallel Coordinates Plot | |

huber | Huber M-estimator of Location with MAD Scale | |

ginv | Generalized Inverse of a Matrix | |

cabbages | Data from a cabbage field trial | |

Aids2 | Australian AIDS Survival Data | |

geyser | Old Faithful Geyser Data | |

nlschools | Eighth-Grade Pupils in the Netherlands | |

steam | The Saturated Steam Pressure Data | |

bacteria | Presence of Bacteria after Drug Treatments | |

cov.rob | Resistant Estimation of Multivariate Location and Scatter | |

gilgais | Line Transect of Soil in Gilgai Territory | |

profile.glm | Method for Profiling glm Objects | |

cement | Heat Evolved by Setting Cements | |

Skye | AFM Compositions of Aphyric Skye Lavas | |

caith | Colours of Eyes and Hair of People in Caithness | |

glm.convert | Change a Negative Binomial fit to a GLM fit | |

snails | Snail Mortality Data | |

rms.curv | Relative Curvature Measures for Non-Linear Regression | |

rotifer | Numbers of Rotifers by Fluid Density | |

menarche | Age of Menarche in Warsaw | |

SP500 | Returns of the Standard and Poors 500 | |

beav2 | Body Temperature Series of Beaver 2 | |

confint-MASS | Confidence Intervals for Model Parameters | |

epil | Seizure Counts for Epileptics | |

coop | Co-operative Trial in Analytical Chemistry | |

corresp | Simple Correspondence Analysis | |

VA | Veteran's Administration Lung Cancer Trial | |

theta.md | Estimate theta of the Negative Binomial | |

glm.nb | Fit a Negative Binomial Generalized Linear Model | |

npr1 | US Naval Petroleum Reserve No. 1 data | |

loglm1 | Fit Log-Linear Models by Iterative Proportional Scaling -- Internal function | |

polr | Ordered Logistic or Probit Regression | |

glmmPQL | Fit Generalized Linear Mixed Models via PQL | |

rational | Rational Approximation | |

ships | Ships Damage Data | |

Belgian-phones | Belgium Phone Calls 1950-1973 | |

loglm | Fit Log-Linear Models by Iterative Proportional Scaling | |

studres | Extract Studentized Residuals from a Linear Model | |

dropterm | Try All One-Term Deletions from a Model | |

mammals | Brain and Body Weights for 62 Species of Land Mammals | |

shrimp | Percentage of Shrimp in Shrimp Cocktail | |

con2tr | Convert Lists to Data Frames for use by lattice | |

petrol | N. L. Prater's Petrol Refinery Data | |

stepAIC | Choose a model by AIC in a Stepwise Algorithm | |

OME | Tests of Auditory Perception in Children with OME | |

biopsy | Biopsy Data on Breast Cancer Patients | |

plot.lda | Plot Method for Class 'lda' | |

cov.trob | Covariance Estimation for Multivariate t Distribution | |

gamma.dispersion | Calculate the MLE of the Gamma Dispersion Parameter in a GLM Fit | |

truehist | Plot a Histogram | |

gehan | Remission Times of Leukaemia Patients | |

Null | Null Spaces of Matrices | |

michelson | Michelson's Speed of Light Data | |

hist.scott | Plot a Histogram with Automatic Bin Width Selection | |

beav1 | Body Temperature Series of Beaver 1 | |

denumerate | Transform an Allowable Formula for 'loglm' into one for 'terms' | |

lqs | Resistant Regression | |

logtrans | Estimate log Transformation Parameter | |

predict.mca | Predict Method for Class 'mca' | |

plot.profile | Plotting Functions for 'profile' Objects | |

lm.ridge | Ridge Regression | |

leuk | Survival Times and White Blood Counts for Leukaemia Patients | |

shoes | Shoe wear data of Box, Hunter and Hunter | |

contr.sdif | Successive Differences Contrast Coding | |

mcycle | Data from a Simulated Motorcycle Accident | |

drivers | Deaths of Car Drivers in Great Britain 1969-84 | |

UScereal | Nutritional and Marketing Information on US Cereals | |

write.matrix | Write a Matrix or Data Frame | |

rlm | Robust Fitting of Linear Models | |

mca | Multiple Correspondence Analysis | |

predict.lqs | Predict from an lqs Fit | |

shuttle | Space Shuttle Autolander Problem | |

immer | Yields from a Barley Field Trial | |

stdres | Extract Standardized Residuals from a Linear Model | |

predict.lda | Classify Multivariate Observations by Linear Discrimination | |

predict.qda | Classify from Quadratic Discriminant Analysis | |

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

sammon | Sammon's Non-Linear Mapping | |

eagles | Foraging Ecology of Bald Eagles | |

genotype | Rat Genotype Data | |

summary.rlm | Summary Method for Robust Linear Models | |

Boston | Housing Values in Suburbs of Boston | |

qda | Quadratic Discriminant Analysis | |

width.SJ | Bandwidth Selection by Pilot Estimation of Derivatives | |

topo | Spatial Topographic Data | |

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

renumerate | Convert a Formula Transformed by 'denumerate' | |

anorexia | Anorexia Data on Weight Change | |

Sitka | Growth Curves for Sitka Spruce Trees in 1988 | |

DDT | DDT in Kale | |

minn38 | Minnesota High School Graduates of 1938 | |

area | Adaptive Numerical Integration | |

deaths | Monthly Deaths from Lung Diseases in the UK | |

npk | Classical N, P, K Factorial Experiment | |

kde2d | Two-Dimensional Kernel Density Estimation | |

housing | Frequency Table from a Copenhagen Housing Conditions Survey | |

muscle | Effect of Calcium Chloride on Muscle Contraction in Rat Hearts | |

negative.binomial | Family function for Negative Binomial GLMs | |

ucv | Unbiased Cross-Validation for Bandwidth Selection | |

survey | Student Survey Data | |

ldahist | Histograms or Density Plots of Multiple Groups | |

newcomb | Newcomb's Measurements of the Passage Time of Light | |

pairs.lda | Produce Pairwise Scatterplots from an 'lda' Fit | |

rnegbin | Simulate Negative Binomial Variates | |

waders | Counts of Waders at 15 Sites in South Africa | |

wtloss | Weight Loss Data from an Obese Patient | |

oats | Data from an Oats Field Trial | |

road | Road Accident Deaths in US States | |

whiteside | House Insulation: Whiteside's Data | |

synth.tr | Synthetic Classification Problem | |

No Results! |

## Last month downloads

## Details

Priority | recommended |

Date | 2013-07-01 |

Revision | $Rev: 3322 $ |

LazyData | yes |

ByteCompile | yes |

License | GPL-2 | GPL-3 |

URL | http://www.stats.ox.ac.uk/pub/MASS4/ |

Packaged | 2013-07-01 11:32:28 UTC; ripley |

NeedsCompilation | yes |

Repository | CRAN |

Date/Publication | 2013-07-01 13:35:12 |

depends | base (>= 3.0.0) , graphics , grDevices , R (>= 3.0.0) , stats , utils |

suggests | lattice , nlme , nnet , survival |

Contributors | Bill Venables, David Firth, Brian Ripley, Kurt Hornik, Albrecht Gebhardt, Douglas M. Bates |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/MASS)](http://www.rdocumentation.org/packages/MASS)
```