卡方分布英文课件.ppt

  1. 1、本文档共20页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
卡方分布英文课件

Pearson Chi-Square: Frequencies No mean and SD ?2 statistics No assumption of normality Chi-Square test for goodness of fit 50 30 30 10 Observed Frequencies Suppose we have 50 blue balls, 30 orange balls, 30 yellow balls and 10 green balls. -Is the frequency of balls with different colors equal in our bag? 25% 25% 25% 25% Expected Frequencies Chi-Square test for goodness of fit 50 30 30 10 Observed Frequencies 25% 25% 25% 25% Expected Frequencies 120 120 Total ? = 30 30 30 30 Expected Frequencies H0 Chi-Square test for goodness of fit 50 30 30 10 Observed Frequencies 30 30 30 30 Expected Frequencies Difference Normalize Chi-Square test for goodness of fit Chi-Square test for goodness of fit Critical value = 7.81 26.6 ?2(3,n=120) = 26.66, p 0.001 Chi-Square test for Goodness of fit You can test your sample against any possible expected values 25% 25% 25% 25% 10% 10% 10% 70% H0 H0 Example A new casino game involves rolling 3 dice. The winnings are directly proportional to the total number of sixes rolled. Suppose a gambler plays the game 101 times, with the following observed counts: The casino becomes suspicious of the gambler and wishes to determine whether the dice are fair. Do the observed number of rolls fit the expected ones? What do they conclude? Solution Theoretical distribution No of sixes 0 1 2 3 No of Rolls 58 35 7 1 Reject the Null ! Example A game involves flipping 3 times a coin (having a tail and a head). Suppose a gambler plays the game 80 times, with the following observed counts: Do the observed number of results fit the expected ones at 5% level? What can we conclude? No. of head 0 1 2 3 No. of times 4 32 38 6 Solution Theoretical distribution No. of heads 0 1 2 3 No. of times 10 30 30 10 ACCEPT the Null ! We can conclude that the coin is regular and the game is fair Chi-Square test for independence When we have two or more sets of categorical data the Chi-square test works 10 50 35 15 60 40 Male Female Others

文档评论(0)

dajuhyy + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档