Download S-Plus 4.5 Supplement
Transcript
CENSORREG Notice that the coefficient estimates have dramatically changed. Offsets Offsets are also used to change the distribution of the failure time variable. Let ω denote the offset and let y denote the failure time. When offsets are used, the transformed failure time becomes z= g ( y ) − ω − xβ σ where the offset ω is a known and fixed value. A typical use of offsets is in likelihood ratio tests. Suppose that x 1 β̂ 1 + x 2 β̂ 2 optimizes the likelihood when covariates x 1 and x 2 are included in the model. Then a likelihood ratio test of H 0 : β̂ 1 = κ is obtained by setting ω = x 1 κ and comparing the optimized value of the likelihood of a model ω + x 2 β̂ 2 with the optimized likelihood for model x 1 β̂ 1 + x 2 β̂ 2 . We illustrate using the capacitor2 failure data discussed above. When “voltage” is included in the model the output is: Call: censorReg(formula = censor(days, event) ~ voltage, data = capacitor2, weights = weights) Distribution: Weibull Coefficients: (Intercept) voltage 24.14083 -0.6403586 Dispersion (scale) = 1.203945 Log-likelihood: -316.4589 Observations: 125 Total; 71 Censored Parameters Estimated: 3 A likelihood ratio test that the voltage coefficient is fixed at -0.5 is obtained by fitting a second model with offset specified to fix the parameter estimate of voltage. 215