# MASS v7.3-15

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

UScereal | Nutritional and Marketing Information on US Cereals | |

confint-MASS | Confidence Intervals for Model Parameters | |

Null | Null Spaces of Matrices | |

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

DDT | DDT in Kale | |

Insurance | Numbers of Car Insurance claims | |

cement | Heat Evolved by Setting Cements | |

predict.lqs | Predict from an lqs Fit | |

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

Rabbit | Blood Pressure in Rabbits | |

Melanoma | Survival from Malignant Melanoma | |

contr.sdif | Successive Differences Contrast Coding | |

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

Aids2 | Australian AIDS Survival Data | |

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

cabbages | Data from a cabbage field trial | |

hills | Record Times in Scottish Hill Races | |

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

Animals | Brain and Body Weights for 28 Species | |

GAGurine | Level of GAG in Urine of Children | |

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

minn38 | Minnesota High School Graduates of 1938 | |

MASS-internal | Internal MASS functions | |

Pima.tr | Diabetes in Pima Indian Women | |

galaxies | Velocities for 82 Galaxies | |

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

cpus | Performance of Computer CPUs | |

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

bcv | Biased Cross-Validation for Bandwidth Selection | |

eqscplot | Plots with Geometrically Equal Scales | |

immer | Yields from a Barley Field Trial | |

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

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

beav2 | Body Temperature Series of Beaver 2 | |

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

coop | Co-operative Trial in Analytical Chemistry | |

chem | Copper in Wholemeal Flour | |

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

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

lqs | Resistant Regression | |

nlschools | Eighth-Grade Pupils in the Netherlands | |

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

kde2d | Two-Dimensional Kernel Density Estimation | |

epil | Seizure Counts for Epileptics | |

bacteria | Presence of Bacteria after Drug Treatments | |

beav1 | Body Temperature Series of Beaver 1 | |

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

mca | Multiple Correspondence Analysis | |

area | Adaptive Numerical Integration | |

synth.tr | Synthetic Classification Problem | |

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

genotype | Rat Genotype Data | |

fitdistr | Maximum-likelihood Fitting of Univariate Distributions | |

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

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

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

road | Road Accident Deaths in US States | |

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

cats | Anatomical Data from Domestic Cats | |

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

geyser | Old Faithful Geyser Data | |

motors | Accelerated Life Testing of Motorettes | |

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

polr | Ordered Logistic or Probit Regression | |

rlm | Robust Fitting of Linear Models | |

boxcox | Box-Cox Transformations for Linear Models | |

farms | Ecological Factors in Farm Management | |

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

Rubber | Accelerated Testing of Tyre Rubber | |

biopsy | Biopsy Data on Breast Cancer Patients | |

Boston | Housing Values in Suburbs of Boston | |

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

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

fractions | Rational Approximation | |

VA | Veteran's Administration Lung Cancer Trial | |

rational | Rational Approximation | |

ginv | Generalized Inverse of a Matrix | |

fgl | Measurements of Forensic Glass Fragments | |

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

glmmPQL | Fit Generalized Linear Mixed Models via PQL | |

predict.glmmPQL | Predict Method for glmmPQL Fits | |

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

menarche | Age of Menarche in Warsaw | |

Skye | AFM Compositions of Aphyric Skye Lavas | |

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

whiteside | House Insulation: Whiteside's Data | |

survey | Student Survey Data | |

gilgais | Line Transect of Soil in Gilgai Territory | |

Traffic | Effect of Swedish Speed Limits on Accidents | |

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

ldahist | Histograms or Density Plots of Multiple Groups | |

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

anorexia | Anorexia Data on Weight Change | |

sammon | Sammon's Non-Linear Mapping | |

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

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

stdres | Extract Standardized Residuals from a Linear Model | |

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

lda | Linear Discriminant Analysis | |

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

predict.qda | Classify from Quadratic Discriminant Analysis | |

gehan | Remission Times of Leukaemia Patients | |

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

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

topo | Spatial Topographic Data | |

mcycle | Data from a Simulated Motorcycle Accident | |

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

steam | The Saturated Steam Pressure Data | |

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

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

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

lm.ridge | Ridge Regression | |

parcoord | Parallel Coordinates Plot | |

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

ucv | Unbiased Cross-Validation for Bandwidth Selection | |

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

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

studres | Extract Studentized Residuals from a Linear Model | |

truehist | Plot a Histogram | |

wtloss | Weight Loss Data from an Obese Patient | |

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

eagles | Foraging Ecology of Bald Eagles | |

corresp | Simple Correspondence Analysis | |

logtrans | Estimate log Transformation Parameter | |

qda | Quadratic Discriminant Analysis | |

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

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

rnegbin | Simulate Negative Binomial Variates | |

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

michelson | Michelson's Speed of Light Data | |

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

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

ships | Ships Damage Data | |

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

profile.glm | Method for Profiling glm Objects | |

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

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

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

crabs | Morphological Measurements on Leptograpsus Crabs | |

rotifer | Numbers of Rotifers by Fluid Density | |

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

abbey | Determinations of Nickel Content | |

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

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

mvrnorm | Simulate from a Multivariate Normal Distribution | |

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

oats | Data from an Oats Field Trial | |

snails | Snail Mortality Data | |

shrimp | Percentage of Shrimp in Shrimp Cocktail | |

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

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

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

shuttle | Space Shuttle Autolander Problem | |

stormer | The Stormer Viscometer Data | |

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

SP500 | Returns of the Standard and Poors 500 | |

No Results! |

## Last month downloads

## Details

Priority | recommended |

Date | 2011-09-23 |

Revision | $Rev: 3041 $ |

License | GPL-2 | GPL-3 |

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

LazyData | yes |

Packaged | 2011-09-23 11:34:58 UTC; ripley |

Repository | CRAN |

Date/Publication | 2011-09-26 13:23:26 |

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