版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、1Lecture 20Testing for Mean When Variance is Known and Testing for Probabilityp valueEquivalence of Tests and Confidence IntervalsExample 1Suppose that X=(X1,Xn) is a random sample from a normal distribution with mean m and known variance . We wish to test the hypothesesOur test is to reject H0 if f
2、or some c.Example 1To make the test having a specified significance level a0, we wantAmong all such tests, we want to be as large as possible for any . Therefore, c should be made as large as that makesreject H0of allor valuesIfExample 2Suppose that X1,Xn are i.i.d. with Bernoulli distribution with
3、parameter p. Suppose we wish to test the hypotheses:Let . The larger p is, the larger we expect Y to be.Our test is to reject H0 if for some c.We want the size of the test to be as close to a0 as possible without exceeding a0, so c would be the smallest number such that E.g. n=10, p0=0.3, a0=0.1. Be
4、causeAny value of c in the interval (5,6 would be fine, because Y can only take integer values.p-valueThe smallest level a0 such that we would reject the null hypothesis H0 at level a0 with the observed data.The probability of getting a value of the test statistic as extreme as or more extreme than
5、that observed by chance alone, if the null hypothesis H0, is true.The null hypothesis H0 would be rejected for every larger value of a0 and would not be rejected for any smaller value.Example 1 ContinuedSuppose that X=(X1,Xn) is a random sample from a normal distribution with mean m and known varian
6、ce . We wish to test the hypothesesOur test is to reject H0 if for some c.Example 1 Continuedp/2-|Z|p/2|Z|If p0.0473.The researcher would typically report the observed value of the test statistic and the corresponding p-value.The researcher does not have to select beforehand an arbitrary level of si
7、gnificance at which the test is to be carried out.DiscussionSuppose that a random sample X=(X1,Xn) is to be taken from a distribution that depends on an unknown parameter .If a random set w(X) satisfies for every , we call w(x) a coefficient g Confidence Interval for q.Equivalence of Tests and Confi
8、dence IntervalsConsider testing the hypotheses:Suppose that for every point and every value of g (0g1), we can construct a level 1-g test such thatFor each possible set of values x=(x1,xn), let w(x) denote the set of all points for which the test accepts the hypothesis H0 when the observed data are
9、X=x. Hypothesis Test Confidence IntervalSuppose that w(x) is a Confidence Interval for q with confidence coefficient g. Then for each point , define a test procedure as follows: accepting H0 if and only ifSo is a level 1-g test for every q0. Confidence Interval Hypothesis Test Example 3 A Confidence
10、 Interval for the Mean of a Normal DistributionSuppose that X=(X1,Xn) is a random sample from a normal distribution with mean m and known variance . Based on the observed value x, we need to construct a coefficient g confidence interval for m.Let a0=1-g . We have known that a level a0 test for testing the hypothesesis to reject H0 if The equivalent confidence interval is Example 4 Constructing a Test from a Confidence IntervalSuppose that X=(X1,Xn) is a random sample from a normal distribution with mean m and v
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 石油化工防尘网安装协议
- 唐山市健身场馆租赁合同
- 航空航天支架租赁合同
- 排球俱乐部会员停车场地租赁合同
- 广东省加油站员工职业发展规划
- 木工工程工期合同
- 2024砂石资源开采与出口销售合同3篇
- 建筑涂料施工协议
- 豪华酒店广告牌安装施工合同
- 2024版提供技术服务合同书
- 2024-2034年中国船供油行业市场深度研究及发展趋势预测报告
- 大学生寒假安全教育主题班会省公开课一等奖全国示范课微课金奖课件
- 小学体育期末测评方案
- (正式版)JBT 5300-2024 工业用阀门材料 选用指南
- 体育赛事旅游产业化路径研究以厦门国际马拉松赛为例
- 《铁道概论课件》课件
- 双师课堂方案
- 2024年广东清远市清城区顺拓投资公司招聘笔试参考题库含答案解析
- 巴基斯坦炼铜工艺流程
- 四川省巴中市2023-2024学年高二上学期期末考试物理试题【含答案解析】
- 《两小儿辩日》教学案例:培养学生的思辨能力
评论
0/150
提交评论