# MASS v7.3-16

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

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

GAGurine | Level of GAG in Urine of Children | |

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

mca | Multiple Correspondence Analysis | |

MASS-internal | Internal MASS functions | |

Skye | AFM Compositions of Aphyric Skye Lavas | |

crabs | Morphological Measurements on Leptograpsus Crabs | |

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

cpus | Performance of Computer CPUs | |

logtrans | Estimate log Transformation Parameter | |

SP500 | Returns of the Standard and Poors 500 | |

farms | Ecological Factors in Farm Management | |

fractions | Rational Approximation | |

eagles | Foraging Ecology of Bald Eagles | |

ginv | Generalized Inverse of a Matrix | |

Traffic | Effect of Swedish Speed Limits on Accidents | |

fgl | Measurements of Forensic Glass Fragments | |

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

gilgais | Line Transect of Soil in Gilgai Territory | |

glmmPQL | Fit Generalized Linear Mixed Models via PQL | |

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

Aids2 | Australian AIDS Survival Data | |

fitdistr | Maximum-likelihood Fitting of Univariate Distributions | |

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

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

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

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

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

shuttle | Space Shuttle Autolander Problem | |

geyser | Old Faithful Geyser Data | |

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

mvrnorm | Simulate from a Multivariate Normal Distribution | |

Insurance | Numbers of Car Insurance claims | |

Animals | Brain and Body Weights for 28 Species | |

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

rotifer | Numbers of Rotifers by Fluid Density | |

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

parcoord | Parallel Coordinates Plot | |

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

studres | Extract Studentized Residuals from a Linear Model | |

cabbages | Data from a cabbage field trial | |

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

VA | Veteran's Administration Lung Cancer Trial | |

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

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

michelson | Michelson's Speed of Light Data | |

beav2 | Body Temperature Series of Beaver 2 | |

truehist | Plot a Histogram | |

Boston | Housing Values in Suburbs of Boston | |

survey | Student Survey Data | |

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

motors | Accelerated Life Testing of Motorettes | |

whiteside | House Insulation: Whiteside's Data | |

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

bacteria | Presence of Bacteria after Drug Treatments | |

mcycle | Data from a Simulated Motorcycle Accident | |

cats | Anatomical Data from Domestic Cats | |

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

anorexia | Anorexia Data on Weight Change | |

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

abbey | Determinations of Nickel Content | |

coop | Co-operative Trial in Analytical Chemistry | |

Rabbit | Blood Pressure in Rabbits | |

ships | Ships Damage Data | |

chem | Copper in Wholemeal Flour | |

sammon | Sammon's Non-Linear Mapping | |

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

shrimp | Percentage of Shrimp in Shrimp Cocktail | |

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

corresp | Simple Correspondence Analysis | |

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

steam | The Saturated Steam Pressure Data | |

beav1 | Body Temperature Series of Beaver 1 | |

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

rnegbin | Simulate Negative Binomial Variates | |

rlm | Robust Fitting of Linear Models | |

cement | Heat Evolved by Setting Cements | |

wtloss | Weight Loss Data from an Obese Patient | |

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

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

snails | Snail Mortality Data | |

menarche | Age of Menarche in Warsaw | |

UScereal | Nutritional and Marketing Information on US Cereals | |

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

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

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

topo | Spatial Topographic Data | |

boxcox | Box-Cox Transformations for Linear Models | |

epil | Seizure Counts for Epileptics | |

contr.sdif | Successive Differences Contrast Coding | |

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

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

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

eqscplot | Plots with Geometrically Equal Scales | |

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

Melanoma | Survival from Malignant Melanoma | |

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

predict.qda | Classify from Quadratic Discriminant Analysis | |

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

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

bcv | Biased Cross-Validation for Bandwidth Selection | |

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

confint-MASS | Confidence Intervals for Model Parameters | |

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

kde2d | Two-Dimensional Kernel Density Estimation | |

lda | Linear Discriminant Analysis | |

lm.ridge | Ridge Regression | |

stdres | Extract Standardized Residuals from a Linear Model | |

qda | Quadratic Discriminant Analysis | |

ucv | Unbiased Cross-Validation for Bandwidth Selection | |

synth.tr | Synthetic Classification Problem | |

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

stormer | The Stormer Viscometer Data | |

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

minn38 | Minnesota High School Graduates of 1938 | |

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

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

galaxies | Velocities for 82 Galaxies | |

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

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

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

genotype | Rat Genotype Data | |

predict.glmmPQL | Predict Method for glmmPQL Fits | |

rational | Rational Approximation | |

immer | Yields from a Barley Field Trial | |

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

gehan | Remission Times of Leukaemia Patients | |

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

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

polr | Ordered Logistic or Probit Regression | |

oats | Data from an Oats Field Trial | |

profile.glm | Method for Profiling glm Objects | |

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

nlschools | Eighth-Grade Pupils in the Netherlands | |

predict.lqs | Predict from an lqs Fit | |

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

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

Pima.tr | Diabetes in Pima Indian Women | |

lqs | Resistant Regression | |

Null | Null Spaces of Matrices | |

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

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

road | Road Accident Deaths in US States | |

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

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

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

DDT | DDT in Kale | |

biopsy | Biopsy Data on Breast Cancer Patients | |

hills | Record Times in Scottish Hill Races | |

ldahist | Histograms or Density Plots of Multiple Groups | |

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

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

area | Adaptive Numerical Integration | |

Rubber | Accelerated Testing of Tyre Rubber | |

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

No Results! |

## Last month downloads

## Details

Priority | recommended |

Date | 2011-10-06 |

Revision | $Rev: 3048 $ |

License | GPL-2 | GPL-3 |

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

LazyData | yes |

Packaged | 2011-10-08 10:56:01 UTC; ripley |

Repository | CRAN |

Date/Publication | 2011-11-02 17:39:22 |

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

suggests | lattice , nlme , nnet , survival |

Contributors | S by Venables, Ripley. R port by Brian Ripley, following ports by Kurt Hornik, Albrecht around |

#### Include our badge in your README

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