motorette: Motorette Failure Data

Description Usage Format Source References Examples

Description

Times to failure of motorettes tested at different temperatures.

Usage

1

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

Source

Nelson, W. D. and Hahn, G. J. (1972) Linear estimation of a regression relationship from censored data. Part 1 — simple methods and their application (with Discussion). Technometrics, 14, 247–276.

References

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

Examples

1
2
3
4
data(motorette)
library(survival)
motor.fit <- survreg(Surv(y,cens)~log(x),dist="weibull",data=motorette)
summary(motor.fit)

Example output

Loading required package: ellipse

Attaching package: 'ellipse'

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

    pairs


Attaching package: 'survival'

The following objects are masked from 'package:SMPracticals':

    aml, pbc


Call:
survreg(formula = Surv(y, cens) ~ log(x), data = motorette, dist = "weibull")
             Value Std. Error      z       p
(Intercept) 52.699      3.263  16.15 < 2e-16
log(x)      -8.590      0.621 -13.83 < 2e-16
Log(scale)  -1.125      0.209  -5.38 7.3e-08

Scale= 0.325 

Weibull distribution
Loglik(model)= -146   Loglik(intercept only)= -169.5
	Chisq= 47.02 on 1 degrees of freedom, p= 7e-12 
Number of Newton-Raphson Iterations: 7 
n= 40 

SMPracticals documentation built on May 2, 2019, 11:12 a.m.