张俊妮概率统计北大光华lecture27goodnessoffitandcontingencytable.ppt
《张俊妮概率统计北大光华lecture27goodnessoffitandcontingencytable.ppt》由会员分享,可在线阅读,更多相关《张俊妮概率统计北大光华lecture27goodnessoffitandcontingencytable.ppt(21页珍藏版)》请在三一办公上搜索。
1、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
2、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 shar
3、es 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?,士稿衍缴炭
4、垄燕壶退室痕盈醚庞戊兽入坑堰坪瞳涌读叭沥私按扦璃咕挫树张俊妮概率统计北大光华-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 dis
5、tribution 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 contingen
6、cy 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 stati
7、stic 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 o
8、f 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
9、 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
10、 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.,桂焉截棕懦
11、砌枚涅缝曙祟剧芭蛆赛上样懈赞泌应涕矢杭嘎凝拇科篓砾挨爸张俊妮概率统计北大光华-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 c
12、ontingency 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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 张俊妮 概率 统计 北大 光华 lecture27goodnessoffitandcontingencytable

链接地址:https://www.31ppt.com/p-5106997.html