Learn R Programming

SMPracticals (version 1.4-3.1)

motorette: Motorette Failure Data

Description

Times to failure of motorettes tested at different temperatures.

Usage

data(motorette)

Arguments

Format

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

x

Temperature in degrees Fahrenheit

cens

Censoring indicator

y

Failure time in hours

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 615.

Examples

Run this code
data(motorette)
library(survival)
motor.fit <- survreg(Surv(y,cens)~log(x),dist="weibull",data=motorette)
summary(motor.fit)

Run the code above in your browser using DataLab