※ 引述《maxdi.bbs@ptt.cc》之銘言:
> suppose the random variable X is normally distributed with meanμx and
> variance 400,A random sample with 36 observations is drawn to test whether
> of X is 100.Please answer the following questions.
> 1.Suppose the statistical inference rule is set to reject the null hypothesis
> whether the sample mean is greater then 106 or less then 94.What is the
> probability of type I error committed with the inference rule?
Test rule:
Reject H0 if and only if Xbar>106 or Xbar<94
即
Not reject H0 iff. Xbar≦106 and Xbar≧94
Tyep 1 error: reject H0 while H0 is true.
Type II error: not reject H0 while H0 is false.
The null hypothesis (H0) is
whether the mean μ of X is 100. (μX 省略 X)
H0 is true <==> μ = 100.
故計算 the probability of type I error
當然在 μ=100 時計算. 而要計算機率的 event 是
"reject H0", 也就是 Xbar>106 or Xbar<94.
> (a)0.929 (b)0.072 (c)0.833 (d)0.167 (e)None of the above
> 2.following questions 1,What is the probability of type II error committed
> with the inference rule when the true mean is 99?
Tyep II error 指 H0 不成立時卻 not reject H0, 即
μ≠100 但不 rehect H0.
因此, 計算 the probability of type II error 當然是
在 μ≠100 時. 而要計算機率的事件是 "not reject H0",
也就是 "94≦Xbar≦106". 但 μ≠100 有無限多個值,計
算機率必須取特定的值. 題目已明言
"when the true mean is 99"
當然是在 μ=99 時計算上述事件的機率.
> 第一題用誤差等於 Xbar正負Z(α/2)xσ√n 算α=0.072
> 但是第二題我就不知道怎麼算β
--
嗨! 你好! 祝事事如意, 天天 happy! 統計專業版, 需要你的支持! :)
無名小站 telnet://wretch.twbbs.org Statistics (統計方法討論區)
盈月與繁星 telnet://ms.twbbs.org Statistics (統計:讓數字說話)
成大計中站 telnet://bbs.ncku.edu.tw Statistics (統計方法及學理討論區)
交大資訊次世代 telnet://bs2.twbbs.org Statistics (統計與機率)
★本文未經本人同意請勿轉載; 回覆請勿全文引用, 請僅留下直接涉及部分。
--
夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子
之器不得已而用之恬淡為上勝而不美而美之者是樂殺人夫樂殺人者則不可得志於天下
矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以
喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦將知止知止可以不殆譬道之在天 163.15.188.87海