# R Dataset / Package MASS / motors

Webform
Category

Webform
Category

Webform
Category

Webform
Category

Webform
Category

Webform
Category

## Visual Summaries

Embed
<iframe src="https://embed.picostat.com/r-dataset-package-mass-motors.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
449 bytes
Dataset Help

Documentation

## Accelerated Life Testing of Motorettes

### Description

The motors data frame has 40 rows and 3 columns. It describes an accelerated life test at each of four temperatures of 10 motorettes, and has rather discrete times.

### Usage

motors


### Format

This data frame contains the following columns:

temp

the temperature (degrees C) of the test.

time

the time in hours to failure or censoring at 8064 hours (= 336 days).

cens

an indicator variable for death.

### Source

Kalbfleisch, J. D. and Prentice, R. L. (1980) The Statistical Analysis of Failure Time Data. New York: Wiley.

taken from

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

### References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.

### Examples

library(survival)
plot(survfit(Surv(time, cens) ~ factor(temp), motors), conf.int = FALSE)
# fit Weibull model
motor.wei <- survreg(Surv(time, cens) ~ temp, motors)
summary(motor.wei)
# and predict at 130C
unlist(predict(motor.wei, data.frame(temp=130), se.fit = TRUE))motor.cox <- coxph(Surv(time, cens) ~ temp, motors)
summary(motor.cox)
# predict at temperature 200
plot(survfit(motor.cox, newdata = data.frame(temp=200),
conf.type = "log-log"))
summary( survfit(motor.cox, newdata = data.frame(temp=130)) )

--

Dataset imported from https://www.r-project.org.

Recent Queries For This Dataset

No queries made on this dataset yet.
{"ft_lang_label":"__label__en","ft_lang_prob":0.5316357,"math_prob":0.8040103,"size":3052,"snap":"2020-45-2020-50","text_gpt3_token_len":844,"char_repetition_ratio":0.14862205,"word_repetition_ratio":0.20390455,"special_character_ratio":0.27588466,"punctuation_ratio":0.15696649,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97814715,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-20T06:31:39Z\",\"WARC-Record-ID\":\"<urn:uuid:155e1eed-f41e-41fe-9785-bc89e470c2e8>\",\"Content-Length\":\"213076\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2399b942-7016-43a8-b682-4c31ee777545>\",\"WARC-Concurrent-To\":\"<urn:uuid:2fed19a4-382f-478d-85a1-5074d8460ca8>\",\"WARC-IP-Address\":\"3.134.23.114\",\"WARC-Target-URI\":\"https://www.picostat.com/dataset/r-dataset-package-mass-motors\",\"WARC-Payload-Digest\":\"sha1:NC3BUNJ2DMBHSXAZRKRR762TR6N3KSGH\",\"WARC-Block-Digest\":\"sha1:LP6HYLA4NGE3VYURKLPSQFC4PKPQJ2UQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107869933.16_warc_CC-MAIN-20201020050920-20201020080920-00253.warc.gz\"}"}