Professional Documents
Culture Documents
petar popovski
assistant professor
antennas, propagation and radio networking (APNET)
department of electronic systems
aalborg university
e-mail: petarp@es.aau.dk
lecture outline
2 / 24
refresh on confidence intervals (1)
n
we calculate ∑ Xi
X= i =1
n
and we want to know what is the interval around X in
which the real mean value μ lies with confidence 100(1 − α ) %
⎛ σ σ ⎞
⎜ x − zα/2 , x + zα/2 ⎟
⎝ n n⎠
3 / 24
refresh on confidence intervals (2)
α
P(Z ≤ − zα/2 ) = P(Z > zα/2 ) =
2
P(− zα/2 < Z < zα/2 ) = 1 − α
4 / 24
refresh on confidence intervals (3)
∑(X − X ) 2
⎜ X − tα/2,n −1 , X + tα/2,n −1 ⎟
i
S= i =1
⎝ n n⎠ n −1
5 / 24
difference in means for two normal populations - example
6 / 24
solution to the example 7.4a
numerical solution
X − Y = -13.05 (− 19.61,−6.49)
σ A2 σ B2
zα/2 + = 1.96 ⋅ 3.345 = 6.56
14 14
7 / 24
example with unknown variances (1)
8 / 24
example with unknown variances (2)
∑(X i − X) 2
∑ (Y − Y )
i
2
S1 = i =1
S2 = i =1
n −1 m −1
9 / 24
example with unknown variances (3)
recall
10 / 24
solution to the example
n=12, m=14
for 90% confidence interval, we look for
tα/2,n −1 = t0.05, 24 = 1.711
(2.5,11.93)
X − Y = 7.2143 S p2 = 49.1
all this does not work if the variances are different and
in that case we have to know at least the radio between
the variances
11 / 24
confidence intervals for Bernoulli random variables (1)
z0.025 = 1.96
0.52 ⋅ 0.48
1.96 = 0.04 n = 599.29
n
13 / 24
finding the required sample size
pˆ (1 − pˆ )
2 zα/2 =b
n
14 / 24
illustration by an example
REMARK
for a conservative estimate on n, we should take the max possible
value: ( zα/2 ) 2
n=
b2
15 / 24
Bayes estimator – a motivating example
transmitter + receiver
s=0 or r=s+z
s=1
0.4 0.4
0.35 0.35
0.3 0.3
0.25 0.25
0.2 0.2
0.15 0.15
0.1 0.1
0.05 0.05
0 0
-5 -4 -3 -2 -1 0 1 2 3 4 5 -5 -4 -3 -2 -1 0 1 2 3 4 5
16 / 24
Bayes estimator
prior distribution of θ
– reflects how much we know about it before any observation
posterior distribution of θ
– reflects how much we know about it after the observation
Bayes estimator
17 / 24
example with uniform prior distribution
18 / 24
example with normal prior distribution
19 / 24
further issues related to the Bayes estimator
20 / 24
evaluating a point estimator
r (d , θ ) = E [(d ( X , X , L X ) − θ ) ]
2
1 2 n
bθ (d ) = E [d ( X 1 , X 2 , L X n )] − θ
r (d , θ ) = Var (d ( X 1 , X 2 , L X n ) )
21 / 24
evaluating a point estimator (contd.)
σ 22
d = λd1 + (1 − λ )d 2 λ= 2
σ 1 + σ 22
general result
r (d , θ ) = Var (d ) + bθ2 (d )
22 / 24