Professional Documents
Culture Documents
Saurav De
Department of Statistics
Presidency University
1
where fθ (t) = θ exp {−t/θ} and F θ (t) = exp {−t/θ}
X n
X
where r = δi = δi = # uncensored cases observed.
i∈A i=1
X X n
X
Now we can write ti + Li = yi
i∈A i∈Ac i=1
( n )
1 X
=⇒ L(θ) = r exp − yi /θ
θ
i=1
n
X
Yi
i=1
Hence get the MLE of θ as θ̂ = r
n
( )
X
1
Now L(θ) = θr exp − yi /θ
i=1
n
X n
X
yi yi
i=1 ∂ r i=1
=⇒ log L(θ) = −r log θ − =⇒ log L(θ) = − + 2
θ ∂θ θ θ
And
n
X
yi
∂2 r i=1
log L(θ) = 2 − 2 3
∂θ2 θ θ
Saurav De (Department of Statistics Presidency
MLEUniversity)
under Survival Data: Type I and Random Censoring and K-M Estimator 6 / 33
MLE under Survival Data:
Type I and Random Censoring
and K-M Estimator
X
2 E (Yi )
∂2 E (r )
=⇒ E − ∂θ2
log L(θ) = θ3
− θ2
. . . . . . (∗)
Now
E (Yi ) = E (Yi | δi = 1)Pθ [δi = 1] + E (Yi | δi = 0)Pθ [δi = 0] . . . . . . (∗∗)
As Pθ [Yi = Li | δi = 0] = 1 so E (Yi | δi = 0) = Li .
ZLi
t θ1 exp{−t/θ}dt
0
Also E (Yi | δi = 1) E (Ti | Ti ≤ Li ) = Fθ (Li )
h i
= θ (1 − exp {−Li /θ})−1 1 − Li
θ + 1 exp {−Li /θ}
n
X n
X
=⇒ E (r ) = E (δi ) = Pθ [δi = 1]
i=1 i=1
n
X
= (1 − exp {−Li /θ}) = Q say
i=1
n
X n o
Note: MLE of Q will be Q̂ = 1 − exp −Li /θ̂
i=1
Note: For large n, the normality assumption for θ̂ is good. However for
small n, it is rather poor. There are alternative approximate methods that
can be recommended in the context of asymptotic normality even for small
n. One such approach discussed below is due to D. A. Sprott (1973,
Biometrika).
Sprott showed that the transformation φ̂ = θ̂−1/3 converges in distribution
to normality more closely than θ̂ itself, even for small n.
E (φ̂) ≈ φ = θ̂−1/3
2
∂
And V (φ̂) ≈ φ Vasy (θ̂)
∂θ
2 2
θ−2/3 φ2
1 θ
= − θ−4/3 = =
3 Q 9Q 9Q
φ̂ − φ D φ̂ − φ D
q −→ N(0, 1) or, r −→ N(0, 1).
φ2 φ̂2
9Q
9Q̂
Let Ti be iid with common pdf fθ (·) and common cdf Fθ (·)
Let Ci be iid with common pdf g (·) and common cdf G (·).
Define (Yi , δi ) same way as in type I censoring.
Then the likelihood function of θ for given data set {(ti , δi ), i = 1, . . . , n}
on the paired random variables (Yi , δi )s will be
n
Y δi 1−δi
L(θ) = fθ (ti )G (ti ) g (ti )F θ (ti )
i=1
(as δi = 0 ⇔ Ti > Ci ⇔ Yi = Ci )
(as now δi = 1 ⇔ Ti ≤ Ci ⇔ Yi = Ti )
Otherwise, it is noninformative.
=⇒ informative censoring.
=⇒ noninformative censoring.
Saurav De (Department of Statistics Presidency
MLEUniversity)
under Survival Data: Type I and Random Censoring and K-M Estimator 17 / 33
MLE under Survival Data:
Type I and Random Censoring
and K-M Estimator
Kaplan-Meier (K-M) Estimator/Product Limit (PL) Estimator of
survival Function
PL estimator =⇒ also known as K-M estimator from the authors who first
discussed its properties.
Let λj = Probability that a randomly chosen item will fail at the time tj
given that it survived at tj−1 .
=⇒
So, from delta method, the asymptotic variance of log R̂n (t) will be
!2
X ∂
V log R̂n (t) ≈ log(1 − λ̂j ) |λ̂j =λj V (1 − λ̂j )
j:t ≤t
∂ λ̂ j j
X λj (1 − λj )
= (1 − λj )−2
nj
j:tj ≤t
X λj
=
nj (1 − λj )
j:tj ≤t
i ti δi
1 2 1
2 5 1
3 8 1
4 11 0
5 12 0
6 15 1
7 20 1
8 23 0
6 4 4 10 5∗ 5 8∗ 11 6 8∗ 6∗ 8 4∗ 4 4 7∗ 6 10∗ 3 5
where ∗ denotes the reading is right censored, not exact failure time.
time n . risk n . event survival std . err lower 95% CI upper 95% CI
3 20 1 0.950 0.0487 0.8591 1.000
4 19 4 0.750 0.0968 0.5823 0.966
5 14 2 0.643 0.1087 0.4616 0.895
6 11 3 0.468 0.1170 0.2862 0.764
8 6 1 0.390 0.1207 0.2123 0.715
10 3 1 0.260 0.1331 0.0951 0.709
11 1 1 0.000 NaN NA NA
> Sn2 = fit $ surv
> Sn2
[1] 0.9500000 0.7500000 0.6428571 0.4675325 0.4675325 0.3896104
0.2597403
[8] 0.0000000
> # K - M plot
> plot ( fit , xlab = " t " , ylab = expression ( S ( t ) ) , main = " Kaplan - Meier Plot " )
Saurav De (Department of Statistics Presidency
MLEUniversity)
under Survival Data: Type I and Random Censoring and K-M Estimator 32 / 33
MLE under Survival Data:
Type I and Random Censoring
and K-M Estimator
The Kaplan-Meier Plot corresponding to the problem :