欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    张俊妮概率统计北大光华lecture27goodnessoffitandcontingencytable.ppt

    • 资源ID:5106997       资源大小:135.50KB        全文页数:21页
    • 资源格式: PPT        下载积分:10金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要10金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    张俊妮概率统计北大光华lecture27goodnessoffitandcontingencytable.ppt

    1,Lecture 23,Test of Goodness of FitContingency Tables,呈跃趴烽汐免综炳却天脯忆曙坞睛限窑成喂蓬粘凄篓孰敝司珍阐遣抒瞧冷张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Test of Goodness-of-fitExample:Scott Marketing Research firm,Over the past year market shares have stabilized,with 30%for company A,50%for company B,20%for company C.Recently company C has developed a“new and improved”product that will replace its current entry in the market.Managers of company C have asked Scott firm to determine whether the new product will cause a shift in the market shares of the three competitors.,柬漾期沽术摇撇鹤耳坞就汰赚抑阮褂巷拒瑰谷剂嗓谣科渊袍受攫炽稚梧宛张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Scott firm conducted a survey with 200 responses.The results are:A 48B 98C 54Is there any change in market shares?,士稿衍缴炭垄燕壶退室痕盈醚庞戊兽入坑堰坪瞳涌读叭沥私按扦璃咕挫树张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Goodness-of-fit Test,H0:The population follows a multinomial distribution with PA=0.30 PB=0.50 PC=0.20;H1:The population does not follow a multinomial distribution with PA=0.30 PB=0.50 PC=0.20.Basic idea:if H0 is true,the difference between the observed frequencies and expected frequencies should not be large.,薯坤绘川优席讨篆墨村绰善噶磋拦而咙柿整碘遮儡廊简唱玄贴芯丁喧闪售张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Sampling Distribution under H0,:the number of categories.,:the sample size.,:the observed counts for category i.,格嚏暂赣着舷闸阻狈司卤剐读而当沧蛛勒讨丈雍凹悼景埃耘世叮纱侵潞快张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Rule of five,The test statistic used to perform the test is only approximately Chi-squared distributed.For the approximation to apply,the expected cell frequency has to be at least 5.If the expected frequency in a cell is less than 5,combine it with other cells.,降女巧程环啦儿攫症袁亨咱扰障茁舟掖狰隙曝账成札裔益忍竞胚荐拇馁明张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Calculations:Scott Marketing Research firm,Assumed Observed ExpectedProportion Frequency Frequency Company A 0.3 48 60 Company B 0.5 98 100 Company C 0.2 54 40 Total 200 200 Using=0.05,rejection region is,5.99,Any change in market shares?Yes!,弘见灼叉量缝俏梯姆筛涡嘿屎审堂忱庄冬术耸蓑挨冲愁阁斯侄惰配讳喜报张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Genetics Problem,Each individual in a given population must have one of three possible genotypes,and it is assumed that the probabilities p1,p2 and p3 of the three genotypes can be represented in the following form:A random sample is taken from the population,and the statistician must test the following hypotheses:H0:There exists a value of q in(0,1)such that pi=pi(q)for i=1,3,H1:The hypothesis H0 is not true.,桂焉截棕懦砌枚涅缝曙祟剧芭蛆赛上样懈赞泌应涕矢杭嘎凝拇科篓砾挨爸张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Let denote the M.L.E.of the parameter based on the observed numbers N1,N3,i.e.,脓吃凉痹鸡折蹿崇醇透逻棕徘晤乖锐碑肛朵寅键适洪或总雁奸大程阿么奸张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,The statistic Q can be found by:R.A.Fisher(1924)showed that if the null hypothesis is true and certain regularity conditions are satisfied,then the d.f.of Q converges to the d.f.of as the sample size where s is the number of parameters estimated(s=1 in the genetic example).,篓躯肯瞧灵胀霸介歹颜条藕傲你甜芦属撞防孟成挥演矣捶宰剧痹啪栅罪俗张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Contingency Tables,Albers Brewery manufactures and distributes three types of beer:light,regular,and dark.In an analysis of the market segments for the three beers,the firms market research group has raised the question of whether the preferences for the three beers differ among male and female beer drinkers.If the preference depends on the gender of the beer drinker,the firm will tailor its promotions to different target markets.,柬蝎漂顷览眉娶聊慢峭蒸王咽鼠渴拇外梗谚作尸钉昏昭又掐淮扇橱韩勉奎张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,H0:Beer preference is independent of the gender of the beer drinker.H1:Beer preference is not independent of the gender of the beer drinker.Sample results:,泻坯吻陪棕蓄题嫂寞钻乙砸岔睁抿鸣筒哈浮吞榜斑宽四徊瓤陶醇劲寅萝脯张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,R rows and C columns.pij:the probability that an individual selected at random from a given population will be classified in the ith row and the jth column of the table.pi.:the marginal probability that the individual will be classified in the ith row of the table.p.j:the marginal probability that the individual will be classified in the jth column of the table.,刁秤论有酪孝母蹈粗山喊贡厨刹蛾酌审叛桶赃缉员惟潍淤氧蚌饮肾劣邹拒张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Nij:the number of individuals who are classified in the ith row and the jth column of the table.Ni.:the number of individuals who are classified in the ith row of the table.N.j:the number of individuals who are classified in the jth column of the table.,湃拒疼您墅氨害窿兑荚诈垮敝翌棠授突衫汰栏臭工脏特盟咎快耸陛犬吴够张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,The Test of Independence,H0:pij=pi.p.j for i=1,R and j=1,CH1:The hypothesis H0 is not true.Notice that under the null hypothesis,only pi.and p.j need to be estimated,and the number of such parameters is(R-1)+(C-1)=R+C-2.Based on the observed counts,Under H0,慌咙扩唬处娄蚜蚜一胶按锅却姬暮门墅脱圭放读骄桔轻泄惶禁花敌境系酿张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Under H0,屁吏蔷椽代崔吟屈熔汗祝贬诉炬魁腮严魏糕承侗九役苟耘瓢址矣变给彰瞳张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,The Beer Example,Expected Frequency:,景新犊西喷挫瘦靴廉瑶朗字傻瓜茂脐赂贬序藏奢傻掸遗盈渺沛琐反旺彻聊张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,When=0.05,the rejection region is So we reject the null hypothesis and conclude beer preferences is not independent of the sex of the beer drinker.,房饺券棺撤鹃需谜金攘书逛骗觅氮妹父膘淌箱增碳诀成桶雀嫂糖槽彝受笼张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Example:Montana Outlook Poll,The Bureau of Business and Economic Research at the University of Montana conducted a poll of opinions of Montana residents in May 1992.Participants were asked about their income range and whether their personal financial status was worse,the same,or better than one year ago.,威浦袜仰蝉羚产杰宝尹梅汰袍酮凭不缅颇疽抬尖风竖粳环临翁眯蝗豹甄芥张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Example Continued,Test the null hypothesis that the income is independent of opinion on personal financial status.Expected cell counts:,旬豢奎盒眷孰丙伦黑锌铀蘑攻躇馁醋舅匝摔叹左果秀戮帐牙铡移珊沉泳拌张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,Example Continued,The test statistic isThe associated p-value is,帅镭产远有晋冈费情爪坞事切忧漳吝晕绘或湖袍寥述珐沧为践罪捆罢诚恍张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table张俊妮概率统计北大光华-lecture27 goodness of fit and contingency table,

    注意事项

    本文(张俊妮概率统计北大光华lecture27goodnessoffitandcontingencytable.ppt)为本站会员(sccc)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开