# MASS v7.3-22

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

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

cement | Heat Evolved by Setting Cements | |

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

Aids2 | Australian AIDS Survival Data | |

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

GAGurine | Level of GAG in Urine of Children | |

fractions | Rational Approximation | |

bacteria | Presence of Bacteria after Drug Treatments | |

eagles | Foraging Ecology of Bald Eagles | |

Insurance | Numbers of Car Insurance claims | |

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

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

Null | Null Spaces of Matrices | |

UScereal | Nutritional and Marketing Information on US Cereals | |

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

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

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

gilgais | Line Transect of Soil in Gilgai Territory | |

gehan | Remission Times of Leukaemia Patients | |

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

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

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

chem | Copper in Wholemeal Flour | |

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

oats | Data from an Oats Field Trial | |

eqscplot | Plots with Geometrically Equal Scales | |

farms | Ecological Factors in Farm Management | |

corresp | Simple Correspondence Analysis | |

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

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

menarche | Age of Menarche in Warsaw | |

shrimp | Percentage of Shrimp in Shrimp Cocktail | |

predict.glmmPQL | Predict Method for glmmPQL Fits | |

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

road | Road Accident Deaths in US States | |

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

Melanoma | Survival from Malignant Melanoma | |

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

Skye | AFM Compositions of Aphyric Skye Lavas | |

genotype | Rat Genotype Data | |

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

VA | Veteran's Administration Lung Cancer Trial | |

glmmPQL | Fit Generalized Linear Mixed Models via PQL | |

Rabbit | Blood Pressure in Rabbits | |

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

Rubber | Accelerated Testing of Tyre Rubber | |

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

anorexia | Anorexia Data on Weight Change | |

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

truehist | Plot a Histogram | |

cats | Anatomical Data from Domestic Cats | |

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

lqs | Resistant Regression | |

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

galaxies | Velocities for 82 Galaxies | |

MASS-internal | Internal MASS functions | |

area | Adaptive Numerical Integration | |

cpus | Performance of Computer CPUs | |

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

abbey | Determinations of Nickel Content | |

ucv | Unbiased Cross-Validation for Bandwidth Selection | |

survey | Student Survey Data | |

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

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

topo | Spatial Topographic Data | |

lm.ridge | Ridge Regression | |

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

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

wtloss | Weight Loss Data from an Obese Patient | |

motors | Accelerated Life Testing of Motorettes | |

minn38 | Minnesota High School Graduates of 1938 | |

parcoord | Parallel Coordinates Plot | |

bcv | Biased Cross-Validation for Bandwidth Selection | |

fitdistr | Maximum-likelihood Fitting of Univariate Distributions | |

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

ships | Ships Damage Data | |

mca | Multiple Correspondence Analysis | |

polr | Ordered Logistic or Probit Regression | |

profile.glm | Method for Profiling glm Objects | |

contr.sdif | Successive Differences Contrast Coding | |

predict.lqs | Predict from an lqs Fit | |

coop | Co-operative Trial in Analytical Chemistry | |

steam | The Saturated Steam Pressure Data | |

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

ginv | Generalized Inverse of a Matrix | |

ldahist | Histograms or Density Plots of Multiple Groups | |

immer | Yields from a Barley Field Trial | |

Traffic | Effect of Swedish Speed Limits on Accidents | |

logtrans | Estimate log Transformation Parameter | |

Pima.tr | Diabetes in Pima Indian Women | |

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

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

boxcox | Box-Cox Transformations for Linear Models | |

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

michelson | Michelson's Speed of Light Data | |

SP500 | Returns of the Standard and Poors 500 | |

lda | Linear Discriminant Analysis | |

geyser | Old Faithful Geyser Data | |

epil | Seizure Counts for Epileptics | |

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

hills | Record Times in Scottish Hill Races | |

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

cabbages | Data from a cabbage field trial | |

crabs | Morphological Measurements on Leptograpsus Crabs | |

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

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

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

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

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

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

rnegbin | Simulate Negative Binomial Variates | |

predict.qda | Classify from Quadratic Discriminant Analysis | |

rational | Rational Approximation | |

rlm | Robust Fitting of Linear Models | |

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

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

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

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

kde2d | Two-Dimensional Kernel Density Estimation | |

mvrnorm | Simulate from a Multivariate Normal Distribution | |

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

synth.tr | Synthetic Classification Problem | |

shuttle | Space Shuttle Autolander Problem | |

whiteside | House Insulation: Whiteside's Data | |

beav2 | Body Temperature Series of Beaver 2 | |

beav1 | Body Temperature Series of Beaver 1 | |

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

studres | Extract Studentized Residuals from a Linear Model | |

nlschools | Eighth-Grade Pupils in the Netherlands | |

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

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

rotifer | Numbers of Rotifers by Fluid Density | |

snails | Snail Mortality Data | |

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

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

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

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

stormer | The Stormer Viscometer Data | |

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

sammon | Sammon's Non-Linear Mapping | |

qda | Quadratic Discriminant Analysis | |

fgl | Measurements of Forensic Glass Fragments | |

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

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

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

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

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

confint-MASS | Confidence Intervals for Model Parameters | |

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

biopsy | Biopsy Data on Breast Cancer Patients | |

mcycle | Data from a Simulated Motorcycle Accident | |

stdres | Extract Standardized Residuals from a Linear Model | |

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

DDT | DDT in Kale | |

Boston | Housing Values in Suburbs of Boston | |

Animals | Brain and Body Weights for 28 Species | |

No Results! |

## Last month downloads

## Details

Priority | recommended |

Date | 2012-10-08 |

Revision | $Rev: 3252 $ |

License | GPL-2 | GPL-3 |

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

LazyData | yes |

Packaged | 2012-10-08 10:07:18 UTC; ripley |

Repository | CRAN |

Date/Publication | 2012-10-08 10:07:27 |

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

suggests | lattice , nlme , nnet , survival |

Contributors | Bill Venables, David Firth, Brian Ripley, Kurt Hornik, Albrecht Gebhardt |

#### Include our badge in your README

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