版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年天津市人教版高中语文第9单元现代文阅读理解习题
- 2025-2026年苏教版八年级地理第4章区域地理单元检测卷
- 2025-2026年病理生理学实验报告与复习题
- 2025-2026年四川省高三地理一轮复习资源地理第二章测试卷
- 2026年房地产经纪人考试模拟试题及解析
- 2026年汽车维修高级技能考核模拟试题
- 2025-2026年会计信息系统应用练习题
- 2026年宪法与数据安全法关系测试题
- 2025-2026年保险从业人员资格考试保险业务拓展与维护模拟试题
- 2025-2026年护理健康教育与慢性病管理考核试卷
- 2025年国家公务员考试证监会历年面试试题及解析
- 《工业机器人系统操作与运维》 课件 第22讲-机器人圆弧编程与焊接
- 挖机破碎合同协议书范本
- 儿童文学概论 课件全套 第1-12章 儿童文学基本理论-儿童文学整本书阅读指导
- 售前工程师笔试题及答案
- 2025年大学生信息素养大赛培训考试题库500题(附答案)
- 中职学校“双师型”教师队伍建设与激励机制的实践与研究
- 2024-2025学年云南省昆明八中八年级(上)期中数学试卷(含答案)
- 安全伴我行-大学生安全教育智慧树知到期末考试答案章节答案2024年哈尔滨工程大学
- 支气管哮喘病例讨论课件
- 2023-2024学年广西百色市高二(上)期末数学试卷(含解析)
评论
0/150
提交评论