开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

Tina · 2022年03月23日

1.65?

NO.PZ2020010304000053

问题如下:

A data management group wants to test the null hypothesis that observed data is N(0,1) distributed by evaluating the mean of a set of random draws. However, the actual underlying data is distributed as N(1, 2.25).

a. If the sample size is 10, what is the probability of a Type II error and the power of the test? Assume a 90% confidence level on a two-sided test.

b. How many samples would need to be taken to reduce the probability of a Type II error to less than 1%?

解释:

a. When the null hypothesis is false, the probability of a Type II error is equal to the probability that the hypothesis fails to be rejected.

Now, if there are 10 samples taken from an N(0,1) then the standard deviation is reduced

σH0=1/10=0.316\sigma_{H_0}=1/ \sqrt{10}=0.316

Therefore, the cut-off points are ±1.650.316=±0.522\pm1.65 * 0.316 = \pm0.522

In actuality, the true distribution is N(1,2.25), so the σ=22.25=1.5\sigma = \sqrt{22.25} = 1.5. For a sample size of 10, the expected sample standard deviation is

σsample=1.5/10=0.474\sigma_{sample}=1.5/ \sqrt{10} = 0.474

Calculating the equivalent distance of ±1.65\pm1.65 in this distribution compared to a standard N(0,1) yields

left = (-0.522-1)/0.474=-3.21

and right =(+0.522 - 1)/ 0.474 = -1.00

The probability of being on the left-hand side is practically zero. For the right, Pr(> right) = 1 - Φ(-1.00) = 1 - 15.9% = 84.1%.

So total probability of a Type II error is 1 – the probability of being in the two tails is

Pr(Non - Rejection|Ho is false) = 1 - [Pr(< left) + Pr(> right)] ≈ 1 - 84.1% = 15.9%

Therefore, the power of the test is 84.1%.

b. The requirement is to have 1 - [Pr(< left) + Pr(> right)] = 1%

Clearly, as n increases from 10, the probability of being in the left-hand tail will only decrease from already being close to zero.

Therefore, the requirement becomes 1 - Pr(> right) = 0.01

This occurs at a Z-score of (using the Excel function NORMSINV) -2.32.

Accordingly, the following equations need to be solved

1.65σH0=1.65/n=K1.65 * \sigma_{H_0} =1.65/ \sqrt n=K and

+K11.5n=2.32\frac{+K-1}{\frac{1.5}{\sqrt n}}=-2.32

Plugging in K yields:

1.65n11.5n=1.65n1.5=2.32n=5.13\frac{\frac{1.65}{\sqrt n}-1}{\frac{1.5}{\sqrt n}}= \frac{1.65-\sqrt n}{1.5}=-2.32\geq \sqrt n=5.13 n=26.3\geq n=26.3

And because partial observations are not allowed, n = 27.

请问老师,这里第二问为什么还要用1.65呢?没理解意思
2 个答案
已采纳答案

DD仔_品职助教 · 2022年03月24日

嗨,从没放弃的小努力你好:


同学你好,

前面那个是测试号,请忽略。

b问问的是样本数为多大的时候才能使得type ii error小于1%。

那么我们针对的还是那个90%双尾的检验,所以z值用的依旧是1.65。

我们以为这个分布是(0,1)分布,均值是0,方差是1,在90%的置信区间下,均值的范围就是【0+/-1.65*sigma】,这里的sigma是样本的,所以范围是【0+/-1.65*sigma÷根号下n】

也就是这个公式:

均值是0,sigma是1,带入对应的是答案里的这个式子:

以上是原本的分布的情况,其实这个分布是(1.2.25)分布,均值是1,方差是2.25,同时我们的要求变了,我们想要让type ii error小于1%,也就是存伪的概率小于1%,此时对应的检测值根据答案里excel显示是-2.32

根据现在的分布情况,以及新的均值与sigma,我们将1.65/根号下n带下面的公式,

得出答案的结果,

这个题的关键是涉及了两步,第一个是原本以为的分布,是在90%的情况下进行检测的,所以z值依旧要用90%的数据。

第二步才是用存伪的z值。

这个题和讲义里148页的例题很类似,建议同学可以回去再听一下这个例题的讲解,对这道题的理解会更有用。





----------------------------------------------
加油吧,让我们一起遇见更好的自己!

android市场审核 · 2022年03月23日

你好

Tina · 2022年03月24日

老师,您的解答呢?

  • 2

    回答
  • 1

    关注
  • 321

    浏览
相关问题

NO.PZ2020010304000053 问题如下 A ta management group wants to test the null hypothesis thobserveta is N(0,1) stributeevaluating the meof a set of ranm aws. However, the actuunrlying ta is stributeN(1, 2.25). If the sample size is 10, whis the probability of a Type II error anthe power of the test? Assume a 90% confinlevel on a two-sitest.How many samples woulneeto taken to rethe probability of a Type II error to less th1%? When the null hypothesis is false, the probability of a Type II error is equto the probability ththe hypothesis fails to rejecteNow, if there are 10 samples taken from N(0,1) then the stanrviation is receH0=1/10=0.316\sigma_{H_0}=1/ \sqrt{10}=0.316σH0​​=1/10​=0.316Therefore, the cut-off points are ±1.65∗0.316=±0.522\pm1.65 * 0.316 = \pm0.522±1.65∗0.316=±0.522In actuality, the true stribution is N(1,2.25), so the σ=22.25=1.5\sigma = \sqrt{22.25} = 1.5σ=22.25​=1.5. For a sample size of 10, the expectesample stanrviation isσsample=1.5/10=0.474\sigma_{sample}=1.5/ \sqrt{10} = 0.474σsample​=1.5/10​=0.474Calculating the equivalent stanof ±1.65\pm1.65±1.65 in this stribution compareto a stanrN(0,1) yielleft = (-0.522-1)/0.474=-3.21anright =(+0.522 - 1)/ 0.474 = -1.00The probability of being on the left-hansi is practically zero. For the right, Pr( right) = 1 - Φ(-1.00) = 1 - 15.9% = 84.1%.So totprobability of a Type II error is 1 – the probability of being in the two tails isPr(Non - Rejection|Ho is false) = 1 - [Pr( left) + Pr( right)] ≈ 1 - 84.1% = 15.9%Therefore, the power of the test is 84.1%.The requirement is to have 1 - [Pr( left) + Pr( right)] = 1%Clearly, n increases from 10, the probability of being in the left-hantail will only crease from alrea being close to zero.Therefore, the requirement becomes 1 - Pr( right) = 0.01This occurs a Z-score of (using the Excel function NORMSINV) -2.32.Accorngly, the following equations neeto solve.65∗σH0=1.65/n=K1.65 * \sigma_{H_0} =1.65/ \sqrt n=K1.65∗σH0​​=1.65/n​=K an+K−11.5n=−2.32\frac{+K-1}{\frac{1.5}{\sqrt n}}=-2.32n​1.5​+K−1​=−2.32Plugging in K yiel: 1.65n−11.5n=1.65−n1.5=−2.32≥n=5.13\frac{\frac{1.65}{\sqrt n}-1}{\frac{1.5}{\sqrt n}}= \frac{1.65-\sqrt n}{1.5}=-2.32\geq \sqrt n=5.13n​1.5​n​1.65​−1​=1.51.65−n​​=−2.32≥n​=5.13 ≥n=26.3\geq n=26.3≥n=26.3Anbecause partiobservations are not allowe n = 27. 为什么totprobability of a Type II error is 1 – the probability of being in the two tailsP(Type II error) = P(H0假 接受H0)/P(H0假)=1-P(H0假 拒绝H0)/P(H0假)但我觉得the probability of being in the two tails = P(H0假 拒绝H0)啊

2024-05-05 13:48 4 · 回答

NO.PZ2020010304000053 问题如下 A ta management group wants to test the null hypothesis thobserveta is N(0,1) stributeevaluating the meof a set of ranm aws. However, the actuunrlying ta is stributeN(1, 2.25). If the sample size is 10, whis the probability of a Type II error anthe power of the test? Assume a 90% confinlevel on a two-sitest.How many samples woulneeto taken to rethe probability of a Type II error to less th1%? When the null hypothesis is false, the probability of a Type II error is equto the probability ththe hypothesis fails to rejecteNow, if there are 10 samples taken from N(0,1) then the stanrviation is receH0=1/10=0.316\sigma_{H_0}=1/ \sqrt{10}=0.316σH0​​=1/10​=0.316Therefore, the cut-off points are ±1.65∗0.316=±0.522\pm1.65 * 0.316 = \pm0.522±1.65∗0.316=±0.522In actuality, the true stribution is N(1,2.25), so the σ=22.25=1.5\sigma = \sqrt{22.25} = 1.5σ=22.25​=1.5. For a sample size of 10, the expectesample stanrviation isσsample=1.5/10=0.474\sigma_{sample}=1.5/ \sqrt{10} = 0.474σsample​=1.5/10​=0.474Calculating the equivalent stanof ±1.65\pm1.65±1.65 in this stribution compareto a stanrN(0,1) yielleft = (-0.522-1)/0.474=-3.21anright =(+0.522 - 1)/ 0.474 = -1.00The probability of being on the left-hansi is practically zero. For the right, Pr( right) = 1 - Φ(-1.00) = 1 - 15.9% = 84.1%.So totprobability of a Type II error is 1 – the probability of being in the two tails isPr(Non - Rejection|Ho is false) = 1 - [Pr( left) + Pr( right)] ≈ 1 - 84.1% = 15.9%Therefore, the power of the test is 84.1%.The requirement is to have 1 - [Pr( left) + Pr( right)] = 1%Clearly, n increases from 10, the probability of being in the left-hantail will only crease from alrea being close to zero.Therefore, the requirement becomes 1 - Pr( right) = 0.01This occurs a Z-score of (using the Excel function NORMSINV) -2.32.Accorngly, the following equations neeto solve.65∗σH0=1.65/n=K1.65 * \sigma_{H_0} =1.65/ \sqrt n=K1.65∗σH0​​=1.65/n​=K an+K−11.5n=−2.32\frac{+K-1}{\frac{1.5}{\sqrt n}}=-2.32n​1.5​+K−1​=−2.32Plugging in K yiel: 1.65n−11.5n=1.65−n1.5=−2.32≥n=5.13\frac{\frac{1.65}{\sqrt n}-1}{\frac{1.5}{\sqrt n}}= \frac{1.65-\sqrt n}{1.5}=-2.32\geq \sqrt n=5.13n​1.5​n​1.65​−1​=1.51.65−n​​=−2.32≥n​=5.13 ≥n=26.3\geq n=26.3≥n=26.3Anbecause partiobservations are not allowe n = 27. 请问这个observeta是指什么?是抽样一次得到的数据么?

2024-04-28 13:41 1 · 回答

NO.PZ2020010304000053 问题如下 A ta management group wants to test the null hypothesis thobserveta is N(0,1) stributeevaluating the meof a set of ranm aws. However, the actuunrlying ta is stributeN(1, 2.25). If the sample size is 10, whis the probability of a Type II error anthe power of the test? Assume a 90% confinlevel on a two-sitest.How many samples woulneeto taken to rethe probability of a Type II error to less th1%? When the null hypothesis is false, the probability of a Type II error is equto the probability ththe hypothesis fails to rejecteNow, if there are 10 samples taken from N(0,1) then the stanrviation is receH0=1/10=0.316\sigma_{H_0}=1/ \sqrt{10}=0.316σH0​​=1/10​=0.316Therefore, the cut-off points are ±1.65∗0.316=±0.522\pm1.65 * 0.316 = \pm0.522±1.65∗0.316=±0.522In actuality, the true stribution is N(1,2.25), so the σ=22.25=1.5\sigma = \sqrt{22.25} = 1.5σ=22.25​=1.5. For a sample size of 10, the expectesample stanrviation isσsample=1.5/10=0.474\sigma_{sample}=1.5/ \sqrt{10} = 0.474σsample​=1.5/10​=0.474Calculating the equivalent stanof ±1.65\pm1.65±1.65 in this stribution compareto a stanrN(0,1) yielleft = (-0.522-1)/0.474=-3.21anright =(+0.522 - 1)/ 0.474 = -1.00The probability of being on the left-hansi is practically zero. For the right, Pr( right) = 1 - Φ(-1.00) = 1 - 15.9% = 84.1%.So totprobability of a Type II error is 1 – the probability of being in the two tails isPr(Non - Rejection|Ho is false) = 1 - [Pr( left) + Pr( right)] ≈ 1 - 84.1% = 15.9%Therefore, the power of the test is 84.1%.The requirement is to have 1 - [Pr( left) + Pr( right)] = 1%Clearly, n increases from 10, the probability of being in the left-hantail will only crease from alrea being close to zero.Therefore, the requirement becomes 1 - Pr( right) = 0.01This occurs a Z-score of (using the Excel function NORMSINV) -2.32.Accorngly, the following equations neeto solve.65∗σH0=1.65/n=K1.65 * \sigma_{H_0} =1.65/ \sqrt n=K1.65∗σH0​​=1.65/n​=K an+K−11.5n=−2.32\frac{+K-1}{\frac{1.5}{\sqrt n}}=-2.32n​1.5​+K−1​=−2.32Plugging in K yiel: 1.65n−11.5n=1.65−n1.5=−2.32≥n=5.13\frac{\frac{1.65}{\sqrt n}-1}{\frac{1.5}{\sqrt n}}= \frac{1.65-\sqrt n}{1.5}=-2.32\geq \sqrt n=5.13n​1.5​n​1.65​−1​=1.51.65−n​​=−2.32≥n​=5.13 ≥n=26.3\geq n=26.3≥n=26.3Anbecause partiobservations are not allowe n = 27. 这道题题干能不能翻译一下

2024-04-26 15:42 1 · 回答

NO.PZ2020010304000053 问题如下 A ta management group wants to test the null hypothesis thobserveta is N(0,1) stributeevaluating the meof a set of ranm aws. However, the actuunrlying ta is stributeN(1, 2.25). If the sample size is 10, whis the probability of a Type II error anthe power of the test? Assume a 90% confinlevel on a two-sitest.How many samples woulneeto taken to rethe probability of a Type II error to less th1%? When the null hypothesis is false, the probability of a Type II error is equto the probability ththe hypothesis fails to rejecteNow, if there are 10 samples taken from N(0,1) then the stanrviation is receH0=1/10=0.316\sigma_{H_0}=1/ \sqrt{10}=0.316σH0​​=1/10​=0.316Therefore, the cut-off points are ±1.65∗0.316=±0.522\pm1.65 * 0.316 = \pm0.522±1.65∗0.316=±0.522In actuality, the true stribution is N(1,2.25), so the σ=22.25=1.5\sigma = \sqrt{22.25} = 1.5σ=22.25​=1.5. For a sample size of 10, the expectesample stanrviation isσsample=1.5/10=0.474\sigma_{sample}=1.5/ \sqrt{10} = 0.474σsample​=1.5/10​=0.474Calculating the equivalent stanof ±1.65\pm1.65±1.65 in this stribution compareto a stanrN(0,1) yielleft = (-0.522-1)/0.474=-3.21anright =(+0.522 - 1)/ 0.474 = -1.00The probability of being on the left-hansi is practically zero. For the right, Pr( right) = 1 - Φ(-1.00) = 1 - 15.9% = 84.1%.So totprobability of a Type II error is 1 – the probability of being in the two tails isPr(Non - Rejection|Ho is false) = 1 - [Pr( left) + Pr( right)] ≈ 1 - 84.1% = 15.9%Therefore, the power of the test is 84.1%.The requirement is to have 1 - [Pr( left) + Pr( right)] = 1%Clearly, n increases from 10, the probability of being in the left-hantail will only crease from alrea being close to zero.Therefore, the requirement becomes 1 - Pr( right) = 0.01This occurs a Z-score of (using the Excel function NORMSINV) -2.32.Accorngly, the following equations neeto solve.65∗σH0=1.65/n=K1.65 * \sigma_{H_0} =1.65/ \sqrt n=K1.65∗σH0​​=1.65/n​=K an+K−11.5n=−2.32\frac{+K-1}{\frac{1.5}{\sqrt n}}=-2.32n​1.5​+K−1​=−2.32Plugging in K yiel: 1.65n−11.5n=1.65−n1.5=−2.32≥n=5.13\frac{\frac{1.65}{\sqrt n}-1}{\frac{1.5}{\sqrt n}}= \frac{1.65-\sqrt n}{1.5}=-2.32\geq \sqrt n=5.13n​1.5​n​1.65​−1​=1.51.65−n​​=−2.32≥n​=5.13 ≥n=26.3\geq n=26.3≥n=26.3Anbecause partiobservations are not allowe n = 27. 这道题如果没有给真实分布的话,那么可以认为type II 的概率是90%么?还是说没给真实分布的话,这道题解不出来?

2024-04-24 16:12 1 · 回答

NO.PZ2020010304000053问题如下A ta management group wants to test the null hypothesis thobserveta is N(0,1) stributeevaluating the meof a set of ranm aws. However, the actuunrlying ta is stributeN(1, 2.25). If the sample size is 10, whis the probability of a Type II error anthe power of the test? Assume a 90% confinlevel on a two-sitest.How many samples woulneeto taken to rethe probability of a Type II error to less th1%?When the null hypothesis is false, the probability of a Type II error is equto the probability ththe hypothesis fails to rejecteNow, if there are 10 samples taken from N(0,1) then the stanrviation is receH0=1/10=0.316\sigma_{H_0}=1/ \sqrt{10}=0.316σH0​​=1/10​=0.316Therefore, the cut-off points are ±1.65∗0.316=±0.522\pm1.65 * 0.316 = \pm0.522±1.65∗0.316=±0.522In actuality, the true stribution is N(1,2.25), so the σ=22.25=1.5\sigma = \sqrt{22.25} = 1.5σ=22.25​=1.5. For a sample size of 10, the expectesample stanrviation isσsample=1.5/10=0.474\sigma_{sample}=1.5/ \sqrt{10} = 0.474σsample​=1.5/10​=0.474Calculating the equivalent stanof ±1.65\pm1.65±1.65 in this stribution compareto a stanrN(0,1) yielleft = (-0.522-1)/0.474=-3.21anright =(+0.522 - 1)/ 0.474 = -1.00The probability of being on the left-hansi is practically zero. For the right, Pr( right) = 1 - Φ(-1.00) = 1 - 15.9% = 84.1%.So totprobability of a Type II error is 1 – the probability of being in the two tails isPr(Non - Rejection|Ho is false) = 1 - [Pr( left) + Pr( right)] ≈ 1 - 84.1% = 15.9%Therefore, the power of the test is 84.1%.The requirement is to have 1 - [Pr( left) + Pr( right)] = 1%Clearly, n increases from 10, the probability of being in the left-hantail will only crease from alrea being close to zero.Therefore, the requirement becomes 1 - Pr( right) = 0.01This occurs a Z-score of (using the Excel function NORMSINV) -2.32.Accorngly, the following equations neeto solve.65∗σH0=1.65/n=K1.65 * \sigma_{H_0} =1.65/ \sqrt n=K1.65∗σH0​​=1.65/n​=K an+K−11.5n=−2.32\frac{+K-1}{\frac{1.5}{\sqrt n}}=-2.32n​1.5​+K−1​=−2.32Plugging in K yiel: 1.65n−11.5n=1.65−n1.5=−2.32≥n=5.13\frac{\frac{1.65}{\sqrt n}-1}{\frac{1.5}{\sqrt n}}= \frac{1.65-\sqrt n}{1.5}=-2.32\geq \sqrt n=5.13n​1.5​n​1.65​−1​=1.51.65−n​​=−2.32≥n​=5.13 ≥n=26.3\geq n=26.3≥n=26.3Anbecause partiobservations are not allowe n = 27.老师好,这个部分使用的公式里面减去均值再除以标准差的那个X不是实际分布里面的X吗?也就是说公式是把不标准的正态分布标准化。可是这道题里面的正负0.522已经是标准正态分布里的分位点了,还可以用这个分位点的数值再标准化吗?

2024-03-06 15:19 1 · 回答