



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




A. Example 9.6.1 (mean of a binomial distribution) Assume that we want to know whether a coin toss is biased based on a sample of ten tosses. B. Our null hypothesis is that the coin is fair ( H (^) 0 : p^12 ) versus an alternative hypothesis that the coin toss is biased towards heads ( H 1 (^) : p^12 ).
P n p p p p p p
If^1 2 p , P n 8 0.054688. Thus, we reject H 0 at a confidence level of 0.10 and fail to reject H 0 at a 0.05 confidence level.
p p
Given that 2 2 ln ~ 1
We reject the hypothesis of a fair coin toss at a 0.05 confidence level. ( 2ln 3.854) and the critical region for a chi-squared distribution at one degree of freedom is 3.84. C. Example 9.6.2. Suppose the heights of male Stanford students is distributed (^) N ,^2 with a known variance of 0.16.
Professor Charles Moss Fall 2005
The test statistic then becomes 6 5. 1.58 ~ 0, .
Given that P Z 1.58 0.0571, we have the same decisions as above, namely that we reject the hypothesis at a confidence level of 0.10 and fail to reject the hypothesis at a confidence level of 0.05. D. Example 9.6.3 (mean of normal with variance unknown) Assume the same scenario as above, but that the variance is unknown, but estimated to be 0.16. The test then becomes:
9
t
The computed statistic becomes P t 9 1.58^ 0.074. E. Example 9.6.7 (differences in variances). In lecture XVIII, we discussed the chi-squared distribution as a distribution of the sample variance:
1
1 n X (^) n i Xi
and 2 2 1
n S (^) i X (^) i X n
Then a) X and S^2 are independent random variables b) X N n
2 ~ ,
c)
2 2
has a chi-squared distribution with n 1 degrees of freedom.
X X Y Y n n X Y
n S n S
Professor Charles Moss Fall 2005
This transformation implies
1
R A A A A c
A A A A
c
1 ˆ
exp ' 2 (^1) ˆ ˆ max exp ' MLE 2^ MLE^ MLE
Given that (^) MLE goes to , the numerator of the likelihood ratio test becomes one and 1 2 ˆ (^0) ' ˆ 0 ~ (^) k
Professor Charles Moss Fall 2005
B. A primary problem in the construction of these statistics is the assumption that we know the variance matrix. If we assume that we know the variance matrix to a scalar ( 2 Q where Q is known and 2 is unknown), the test becomes 1 0 0 2
c
Using the traditional chi-squared result 2 2 ~^ M
Dividing the first expression by the second yields 1 0 0