Beruflich Dokumente
Kultur Dokumente
Null Hypothesis
Decision Errors
Accept H0
Reject H0
Correct
Type I Error
Type II Error
Correct
Steps in Hypothesis
Testing
Hypothesis testing is a proof by contradiction.
Some Definitions
Critical region or rejection region that region of the dataspace or the corresponding range of statistical test value for
which null hypothesis will be rejected.
A Simple Example
Example (contd.)
Evaluate z xs 0
If z > 2, then we decide that the sample has not come from
the zero mean Gaussian process under consideration.
xs 0
where f0(x) = N(0,2).
Example (contd.)
H 0 : f 0 ( x) p x | H 0
H 1 : f1 ( x ) p x | H 1
Bayesian Hypothesis
Testing
P ( H 0 | xs ) p ( xs | H 0 ) P ( H 0 )
P ( H 1 | xs ) p ( xs | H 1 ) P ( H 1 )
Decision
boundary:
p(x |0)H=
p(x
| H1)P(H1)1)
P(Type
III Error)
Error)
=
P(Type
p(x
H
)dx
PE = P(Type
I Error)P(H
+0)P(H
0) =
II01)dx
Error)P(H
P(Type
R0 p(x
|| H
R1
P ( H 0 | xs )
P ( H 1 | xs )
p( x | , H ) p( | H )d P( H )
p( x | , H ) p( | H )d P( H )
s
00
p( x | H 0 ) P( H 0 ) C01 p( x | H1 ) P( H1 )dx
R0
C10 p( xs | H 0 ) P( H 0 ) C11 p( xs | H1 ) P( H1 )
Fisherian Hypothesis
Testing
Neyman-Pearson Method
Neyman-Pearson Method
(contd.)
False Alarm: Wrongly rejecting H .
Neyman-Pearson Method
(contd.)
Neyman-Pearson Method
(contd.)
Relation between P and P given commonly by receiver
Neyman-Pearson Lemma
p xs | H 0
L ( xs , H 0 , H 1 )
p xs | H 1
p( xs | H 0 ) C01 C11 P ( H1 )
Points to Note
Bayes method also minimizes overall cost in case of zeroone cost function.
Maximum Likelihood
Estimation
Assumed that the parametric form of p(x) is known, but
Likelihood:
p ( X | ) p ( x1 , x2 ,......., xn | ) p ( xk | )
k 1
MLE (contd.)
Log-likelihood: l () ln p( X | ) ln p ( x | )
k
k 1
Solve for l ()
k 1
ln p ( xk | ) 0
MAP Estimation
Bayesian Estimation
p( x | X) p ( x | ) p ( | X)d
Bayesian Estimation
(contd.)
p ( | X)
p ( X | ) p ()
p(X | ) p()d
p ( X | ) p ( xk | )
k 1
Bayesian Estimation
Example
Given: p ( x | ) ~ N ( , )
p( ) ~ N ( , )
2
Reproducing density:
1
1 n
p( | X )
exp
2
2 n
2 n
n 02
2
n
where n
0
2
2
2
2
n 0
n 0
2
0
02 2
n 02 2
2
n
1 n
n xk
n k 1
p ( x | X) ~ N ( n , 2 n2 )