R語言 
motors 位於 MASS 包(package)。 說明
motors 數據幀有 40 行和 3 列。它說明了 10 個電機在四種溫度下的加速壽命測試,並且具有相當離散的時間。
用法
motors
格式
該 DataFrame 包含以下列:
temp- 
測試溫度(攝氏度)。
 time- 
故障或審查的時間為 8064 小時(= 336 天)。
 cens- 
死亡的指示變量。
 
例子
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)) )
來源
Kalbfleisch, J. D. 和 Prentice, R. L. (1980) 故障時間數據的統計分析。紐約:威利。
取自
Nelson, W. D. 和 Hahn, G. J. (1972) 根據審查數據進行回歸關係的線性回歸。第 1 部分 - 簡單方法及其應用。技術計量學,14, 247-276。
參考
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
相關用法
- R mcycle 來自模擬摩托車事故的數據
 - R michelson 邁克爾遜的光速數據
 - R muscle 氯化鈣對大鼠心髒肌肉收縮的影響
 - R minn38 1938 年明尼蘇達高中畢業生
 - R mammals 62 種陸地哺乳動物的大腦和體重
 - R menarche 華沙的初潮時代
 - R mca 多重對應分析
 - R mvrnorm 從多元正態分布進行模擬
 - R summary.rlm 魯棒線性模型的總結方法
 - R ginv 廣義逆矩陣
 - R housing 哥本哈根住房條件調查的頻率表
 - R biopsy 乳腺癌患者的活檢數據
 - R predict.qda 根據二次判別分析進行分類
 - R contr.sdif 連續差異對比編碼
 - R Melanoma 惡性黑色素瘤的生存率
 - R boxcox 線性模型的 Box-Cox 變換
 - R predict.glmmPQL glmmPQL 擬合的預測方法
 - R ucv 帶寬選擇的無偏交叉驗證
 - R theta.md 估計負二項式的 theta
 - R parcoord 平行坐標圖
 - R rlm 線性模型的穩健擬合
 - R npk 經典 N、P、K 階乘實驗
 - R Cars93 1993 年美國銷售的 93 輛汽車的數據
 - R predict.lda 通過線性判別對多變量觀測值進行分類
 - R geyser 老忠實間歇泉數據
 
注:本文由純淨天空篩選整理自R-devel大神的英文原創作品 Accelerated Life Testing of Motorettes。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
