• No results found

Type I and II Censoring

N/A
N/A
Protected

Academic year: 2022

Share "Type I and II Censoring"

Copied!
28
0
0

Loading.... (view fulltext now)

Full text

(1)

Module 15

Saurav De

Department of Statistics Presidency University

(2)

Censoring in particular is a key issue in survival analysis.

Censoring distinguishes survival analysis from regular statistical problems.

Censoring is when an observation is incomplete due to some random cause.

The cause of censoring is usually dependent on the event of interest.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 2 / 28

(3)

Type I and II Censoring

Censoring differs from truncation in that the incomplete nature of the observations in truncation occurs due to a systematic selection process inherent to the study design.

Based on the directions through which incompleteness in the observations comes, cencoring is of three types

• Right Censoring • Left Censoring • Interval Censoring

(4)

Right censoring : The most common form of censoring

Here the lifetime of an item is followed until some time at which the event (i.e. failure or death) is yet to occur; but the event takes no further part in the study after that time.

e.g. A lung cancer patient is recruited for clinical trial to test the effect of a drug on his survival from his disease.

But he died in a car accident after T years of his disease.

=⇒ his survival with lung cancer is at least T years, but exact years can not be known.

=⇒ right censored.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 4 / 28

(5)

Type I and II Censoring

Left censoring : This occurs when the event of interest has already taken place at the time of observation; but the exact time of occurrance of the event is not known.

e.g.

Onset of an asymptomatic illness, like Brain Cancer

Infection with a sexually transmitted disease like HIV / AIDS

(6)

Interval Censoring :

Here the exact time of the occurrance of the event is not known precisely, but an interval bounding this time is known

In case the interval is too short (e.g. 1 day or 1 hr etc.) the common practice is to ignore the interval censoring and to set one end-point of the interval consistently

e.g.

failure of a machine during Chinese New Year celebration Infection with a sexually transmitted disease like HIV / AIDS in between two annual check-up

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 6 / 28

(7)

Type I and II Censoring

Depending on how censoring mechanism will work, there are three broad types of censoring

• Type I Censoring • Type II Censoring • Random Censoring We will discuss in brief

above three types in right censoring form

the MLEs of the corresponding parameters under the survivorship probability models

(8)

Type II censoring:

Supposenrandom sample units are set on life-testing experimentation But due to some reasons the experiment terminates after smallestr readings

Let these be denoted by the order statisticsT(1), . . . ,T(r). Here integerr is prefixed i.e. nonrandom.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 8 / 28

(9)

Type I and II Censoring

Since the remaining n−r random sample values are atleast as high as T(r) =⇒ the sampling scheme is a censored one.

Such a censoring is known as Type II censoring.

Type II censoring are frequently used in life-testing experiments.

Here say total of n items are placed on test.

Now instead of continuing until alln items get spared, suppose the experimenter waits just for the first r failures.

Such test saves both time and money.

(10)

Let Ti denote the lifetime / failure time ofith item.

SupposeTi’s be iid having a continuous distribution with pdf fθ(t) and cdf Fθ(t) whereθ: parameter of the distribution.

Then given t(1), . . . ,t(r); the realization of T(1), . . . ,T(r),the likelihood of θ under Type II censoring is

L(θ) = n!

(n−r)!fθ(t(1)). . .fθ(t(r))

Fθ(t(r))n−r

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 10 / 28

(11)

Type I and II Censoring

Verification:

From theory of order statistics, the jount pdf of all the ordeer statistics T(1), . . . ,T(n) is

hθ(t(1), . . . ,t(n)) =n!

n

Y

i=1

fθ(t(i))

=⇒ the marginal joint pdf of T(1), . . . ,T(r) att(1), . . . ,t(r) will be gθ(t(1), . . . ,t(r)) =

Z . . .

Z n!

n

Y

i=1

fθ(t(i))dt(n). . .dt(r+1)

=n!

r

Y

i=1

fθ(t(i)) Z

. . .

Z

t(n−1)

fθ(t(n))dt(n)

fθ(t(n−1)). . . fθ(t(r+1))dt(n−1). . .dt(r+1)

(12)

=n!

r

Y

i=1

fθ(t(i)) Z

. . .

Z

t(n−2)

(1−Fθ(t(n−1)))fθ(t(n−1))dt(n−1)

fθ(t(n−2)). . .

=n!

r

Y

i=1

fθ(t(i)) Z

. . .

Z

t(n−3)

(1−Fθ(t(n−2)))2

2 fθ(t(n−2))dt(n−2)

fθ(t(n−3)). . .

= n!

2×3

r

Y

i=1

fθ(t(i)) Z

. . .

Z

t(n−4)

(1−Fθ(t(n−3)))3fθ(t(n−3))dt(n−3)

fθ(t(n−4)). . .

=⇒ finally we get gθ(t(1), . . . ,t(r)) = (n−r)!n!

r

Y

i=1

fθ(t(i))[Fθ(t(r))]n−r.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 12 / 28

(13)

Type I and II Censoring

But given the realizations, the form of joint pdf =⇒ the likelihood of θ.

Hence the form of the likelihood is verified.

Here Fθ(t) : the survival function at the time pointt.

Illustration : Let the of an item be exponential with meanθ.

=⇒ the pdf fθ(t) = 1θexp{−t/θ}

and the survival function at the time point t is Fθ(t) = exp{−t/θ}

(14)

=⇒ under Type II censoring, the likelihood function of θwill be L(θ) = n!

(n−r)!

1 θr exp

"

r

X

i=1

t(i)+ (n−r)t(r)

! /θ

#

=⇒ l(θ) = Const −rlogθ−

r

X

i=1

t(i)+ (n−r)t(r) θ

=⇒ l0(θ) =−r

θ+

r

X

i=1

t(i)+ (n−r)t(r) θ2

=⇒ the unique solution of likelihood equation l0(θ) = 0 will be

θˆ=

r

X

i=1

t(i)+ (n−r)t(r) r

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 14 / 28

(15)

Type I and II Censoring

From SOC we can ensure that ˆθ maximisesL(θ) i.e. ˆθ is the MLE of θ under type II censoring.

Note. θˆ=

r

X

i=1

T(i)+(n−r)T(r)

r is the MVUE ofθ.

Verification. Joint pdf ofT(1), . . . ,T(r) is

gθ(t(·)) = n!

(n−r)!

1 θr exp









r

X

i=1

t(i)+ (n−r)t(r) θ









 DefineZ1 =nT(1) , Zi = (n−i+ 1)(T(i)−T(i−1)) ;i = 2, . . . ,r

(16)

Check that the Jacobian of transformation from (T(1), . . . ,T(r))−→(Z1, . . . ,Zr) is (n−rn!)! and

r

X

i=1

Zi =

r

X

i=1

T(i)+ (n−r)T(r)=rθ.ˆ

=⇒ the joint pdf of Z1, . . . ,Zr is

hθ(z) = 1 θr exp









r

X

i=1

zi

θ









which implies that Z1, . . . ,Zr are iid exponential (mean =θ) random variables.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 16 / 28

(17)

Type I and II Censoring

=⇒ Eθ(ˆθ) =Eθ

r

X

i=1

Zi

!

/r =θ.

Also gθ(t(·))∈ an OPEF. =⇒ the statistic ˆθ=

r

X

i=1

T(i)+(n−r)T(r)

r is

complete sufficient. Hence by Lehman-Scheffe Theorem the Notefollows.

Type I Censoring

Sometimes experiments are run over a fixed period of time 3the exact lifetime of an item will be known only if it is less than some

pre-determined value.

(18)

In such a situation data are said to be type I censored (from right).

More precisely a type I censored sample is one that arises when n items numbered say 1,2, . . . ,n are subject to limited periods of observations, and

let L1, . . . ,Ln be those periods3

ith item’s lifetimeTi is observable only if Ti ≤Li. Li : called fixed censoring time for ith item

If allLi are equal, data are said to be single type I censored.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 18 / 28

(19)

Type I and II Censoring

Assume that Tis are iid with common pdffθ(t) and survival function Fθ(t).

Fromith item we record the exact the exact lifetime Ti as the realization provided Ti ≤Li.OtherwiseLi is recorded as the realization.

Let Yi denote the potential response (the response which is surely obtained) from ith item.

(20)

Then

Yi = Ti if Ti ≤Li (called uncensored case)

= Li ifTi >Li (called censored case) for all i. =⇒ Yi = min{Ti,Li}.

Also define indicator variables

δi = 1 ifTi ≤Li (called uncensored case)

= 0 ifTi >Li (called censored case) Then δis are called censoring indicators.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 20 / 28

(21)

Type I and II Censoring

So the type I censored data can be represented by the pairs of random variables (Yi, δi) for all i.

=⇒ the jount likelihood of θfor given data set{(ti, δi),i = 1, . . . ,n} on (Yi, δi)s will be

L(θ) =

n

Y

i=1

[fθ(ti)]δi

Fθ(Li)(1−δi)

How this is obtained ? It is true thatPθ[Yi =yii = 0] = 1 ifyi =Li. Pθ[Yi =yi, δi = 0] = Pθi = 0] =Pθ[Ti >Li] ifyi =Li

= Fθ(Li) i.e. the likelihood for the ith item is

Li(θ) =Fθ(Li) ifδi = 0(⇔ yi =Li) . . . (∗)

(22)

Again

Pθ[Yi ≤yi, δi = 1] = Pθ[Ti ≤yi] (asδi = 1⇔ Ti ≤Li ⇔ Yi =Ti)

= Fθ(yi)

=⇒ Li(θ) =fθ(yi) ifδi = 1 . . . (∗∗) (∗) and (∗∗) =⇒ Li(θ) = [fθ(ti)]δi

Fθ(Li)(1−δi)

As pairs (Yi, δi)s are independent, the joint likelihood of θ will be L(θ) =

n

Y

i=1

[fθ(ti)]δi

Fθ(Li)(1−δi)

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 22 / 28

(23)

Type I and II Censoring

Suppose the readings (in some suitable unit) of life from 10 items, set on an experimentation, are as follows:

1.4 , 0.17 , 1.4 , 1.4 , 0.28 , 0.94 , 1.4 , 0.7 , 1.07 , 1.20

where reading with is censored from right. If the life distribution is Weibull with density

f(t) =αβtβ−1e−αtβ,t >0 ; α, β >0,

and also α= 1, find the ML estimate of β from the life data readings.

Computation. From the nature of censoring, the data are type I censored from right and has the common censoring time point 1.4.

(24)

Also here β is the only unknown parameter to be estimated.

Note that for the given Weibull distribution, F(t) =e−αtβ.Hence the likelihood function of β (withα= 1) will be

L(β) =

10

Y

i=1

{f(ti)}δi

F(L) 1−δi

where δi : censoring indicator and L: the common censoring time (= 1.4 here). Therefore

L(β) =βr

10

Y

i=1

ti(β−1)δie

10

X

i=1 δitiβ

e−(10−r)Lβ

wherer =

10

X

i=1

δi = number of uncensored cases. tis denote exact readings.

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 24 / 28

(25)

Type I and II Censoring

So the loglikelihood of β will be

`(β) =rlnβ+ (β−1)

10

X

i=1

δilnti

10

X

i=1

δitiβ−(10−r)Lβ

So ∂

∂β`(β) = r

β +

10

X

i=1

δilnti

10

X

i=1

δitiβlnti −(10−r)LβlnL.

Hence the likelihood equation ofβ reduces to the form

β=r

"10 X

i=1

δitiβlnti+ (10−r)LβlnL−

10

X

i=1

δilnti

#−1

. . . (∗)

(26)

(∗) does not have any explicit solution. So we have to solve it numerically (using Newton Raphson method) for the ML estimate of β. To find out the initial value of β, we used the quantile method.

R program for the solution of numerical equation (∗) : R Code and Output :

> t = c ( 1 . 4 , 0 . 1 7 , 1 . 4 , 1 . 4 , 0 . 2 8 , 0 . 9 4 , 1 . 4 , 0 . 7 , 1 . 0 7 , 1 . 2 0 )

> del = c (0 ,1 ,0 ,0 ,1 ,1 ,0 ,1 ,1 ,1)

> max . i t e r = 1 0 0

> r = sum ( del )

> # i n i t i a l v a l u e of ’ beta ’

> qu = q u a n t i l e ( t )

> i n i t = log ( log (4) ) / log ( as . n u m e r i c ( qu [ 4 ] ) )

> i n i t

[1] 0 . 9 7 0 7 6 1 4

> b e t a = N U L L

> b e t a [ 1 ] = i n i t

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 26 / 28

(27)

Type I and II Censoring

R Code and Output (continued) :

> # 1 st d e r i v a t i v e f u n c t i o n

> f u n 1 = f u n c t i o n ( b ) {

s u m 1 =0 s u m 2 =0

for ( i in 1: l e n g t h ( t ) ) {

s u m 1 = s u m 1 +( del [ i ] * log ( t [ i ]) ) }

for ( j in 1: l e n g t h ( t ) ) {

s u m 2 = s u m 2 +( del [ j ] * (( t [ j ]) ^ b ) * log ( t [ j ]) ) }

l1 =( r / b ) +( s u m 1 ) - sum2 -((10 - r ) * ( ( 1 . 4 ) ^ b ) * log ( 1 . 4 ) ) r e t u r n ( l1 )

}

(28)

R Code and Output (continued) :

> # 2 nd d e r i v a t i v e f u n c t i o n

> f u n 2 = f u n c t i o n ( b ) {

s u m 1 =0

for ( i in 1: l e n g t h ( t ) ) {

s u m 1 = s u m 1 +( del [ i ] * (( t [ i ]) ^ b ) * log ( t [ i ]) * log ( t [ i ]) ) }

l2 = -( r / ( b * b ) ) - sum1 -((10 - r ) * ( ( 1 . 4 ) ^ b ) * log ( 1 . 4 ) * log ( 1 . 4 ) ) r e t u r n ( l2 )

}

> for ( k in 2: max . i t e r ) {

b e t a [ k ]= b e t a [ k -1] -( f u n 1 ( b e t a [ k - 1 ] ) / f u n 2 ( b e t a [ k - 1 ] ) ) if ( b e t a [ k ] - b e t a [ k - 1 ] < 0 . 0 0 0 0 0 0 1 )

b r e a k }

> # MLE of ‘ beta ’ ( c o n v e r g e d v a l u e )

> b e t a [ k ] [1] 1 . 2 4 4 8 8 7

Saurav De (Department of Statistics Presidency University)MLE under Survival Data: Type I and II Censoring 28 / 28

References

Related documents

Positivity Test Results Closer to R-factor May be gamed Active Cases State Departments Current Workload Administrative Daily Deaths Clinical Most significant

The type I and type II reactions encountered during the course of the disease cause ocular involvement within days. Lagophthalmos often develops as a result of type I

Cleistanthus collinus induces type I distal renal tubular acidosis and type II respiratory failure in rats. Kettimuthu KP, Lourthuraj AA, Manickam AS, Subramani

The concept of the tether mooring type underwater robot is to moor the body to the seabed (for AUVs) or mother ship (for ROVs) by a tether which is kept tight all the time and

We consider a single server queue with two priority classes of customers where type I customers arrive according to a Poisson process with rate λ and type II customer arrival follows

I hereby declare that this dissertation entitled “Preclinical and comparative clinical study of Maruthampattai kudineer and yogam therapy in the management of madhumegam (Type II

The modified estimator by incorporating appropriate way the sense of type I scensoring , is called the PL estimate of the survival function.. PL estimator = ⇒ also known as

The antibodies bound to the surface antigens on target cells can lyse the target cells by either complement activation, by promoting phagocytosis or by