Last data update: 2014.03.03

R: Box and Cox (1964) data.
BoxCoxR Documentation

Box and Cox (1964) data.

Description

The data are the results of a 3 * 4 two-way design, where forty-eight animals were exposed to three different poisons and four different treatments. The design is balanced with four replications per cell. The response was the log survival time of the animal.

Usage

data(BoxCox)

Format

A data frame with 48 observations on the following 3 variables.

logSurv

log Survival Time

Poison

a factor indicating poison level

Treatment

a factor indicating treatment level

Source

Box, G.E.P. and Cox, D.R. (1964), An analysis of transformations, Journal of the Royal Statistical Society, Series B, Methodological, 26, 211-252.

References

Hettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.

Examples

data(BoxCox)
with(BoxCox,interaction.plot(Treatment,Poison,logSurv,median))
raov(logSurv~Poison+Treatment,data=BoxCox)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Rfit)
Loading required package: quantreg
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Rfit/BoxCox.Rd_%03d_medium.png", width=480, height=480)
> ### Name: BoxCox
> ### Title: Box and Cox (1964) data.
> ### Aliases: BoxCox
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(BoxCox)
> with(BoxCox,interaction.plot(Treatment,Poison,logSurv,median))
> raov(logSurv~Poison+Treatment,data=BoxCox)

Robust ANOVA Table
                 DF      RD Mean RD        F p-value
Poison            2 3.69877 1.84938 39.50744  0.0000
Treatment         3 2.98148 0.99383 21.23059  0.0000
Poison:Treatment  6 0.87737 0.14623  3.12382  0.0144
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>