Escolar Documentos
Profissional Documentos
Cultura Documentos
3 Testing
4 Properties of estimators
6 Properties
7 Discussion
Least squares
Consider a single factor model for log transformed survival time (why take logs?)
log Ti = 0 + 1 xi1 + i
We have
log Ti [0 + 1 xi1 ] = i
Now select 0 , and 1 so that
S (0 , 1 ) =
n
X
[log Ti [0 + 1 xi1 ]]
i=1
is minimised (how?)
Least squares
Partial differentiation gives
n
X
S
= 2
[log Ti [0 + 1 xi1 ]]
0
i=1
n
X
S
xi1 [log Ti [0 + 1 xi1 ]]
= 2
1
i=1
Set these to zero and solve for (least squares) estimators of 0 and 1
Least squares
Solution is
Pn
Pn
2
Pni=1 xi1 (Pni=1 log Ti1 )
( i=1 xi1 ) ( i=1 xi log Ti1 )
0 =
Pn
Pn
2
n i=1 x2i1 ( i=1 xi1 )
Pn
i log Ti1 )
Pnn( i=1 xP
n
( i=1 xi1 ) ( i=1 log Ti1 )
1 =
Pn
Pn
2
n i=1 x2i1 ( i=1 xi1 )
(Show this!)
RSS
=
n2
Pn
i=1
h
ii2
log Ti 0 + 1 xi1
n2
Testing
t-test
CLT implies that
j j
tn2
sj
Can determine p-values for tests of j = 0 (i.e. probability that under the null hypothesis this sample value would be
observed)
Can apply significance level of 0.05 or 0.1 to determine if significantly different from 0.
Properties of estimators
Properties of estimators
estimator of , is a random variable
,
Important properties of estimators
Unbiased Estimator
E =
Consistency
lim Pr n < = 1
The estimator gets closer to the true as the sample size increases (convergence in probability)
2
Efficiency - the estimator has the minimum variance of all estimators under consideration
Asymptotic distribution - Distribution of estimator in large samples
Ideal estimators
Ideally we would like to use an estimator that
has minimum variance (of all possible estimators)
is unbiased
has an asymptotic distribution for inference purposes
MLE
Notation
Likelihood for a single observation xi
f (; xi )
Likelihood for the sample
L (; x) =
n
Y
i=1
f (; xi )
l (; x) =
ln f (; xi )
i=1
Properties
Properties of MLE
n denotes an MLE of
bn is a consistent estimator of (b
n converges in probability to as n approaches infinity)
bn is asymptotically unbiased
lim E (b
n ) =
bn is approximately normal in large sample (asymptotically normal)
n (b
n )
tends to a normal distribution as n
Properties of MLE (Contd)
bn has asymptotic variance
V ar (b
N )
=
N E
l (; xi )
2
=
E
2
l (; x)
=
E
2
2 l (; x)
Discussion