版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Chi-Square TestsChapter 11Chi-Square TestsChapter 11ObjectivesIn this chapter, you learn:How and when to use the chi-square test for contingency tablesObjectivesIn this chapter, youContingency TablesContingency TablesUseful in situations comparing multiple population proportionsUsed to classify samp
2、le observations according to two or more characteristicsAlso called a cross-classification table.DCOVAContingency TablesContingency Left-Handed vs. Gender Dominant Hand: Left vs. Right Gender: Male vs. Female2 categories for each variable, so this is called a 2 x 2 tableSuppose we examine a sample o
3、f 300 childrenContingency Table ExampleDCOVALeft-Handed vs. GenderContingContingency Table ExampleSample results organized in a contingency table:(continued)GenderHand PreferenceLeftRightFemale12108120Male2415618036264300120 Females, 12 were left handed180 Males, 24 were left handedsample size = n =
4、 300:DCOVAContingency Table ExampleSampl2 Test for the Difference Between Two ProportionsIf H0 is true, then the proportion of left-handed females should be the same as the proportion of left-handed malesThe two proportions above should be the same as the proportion of left-handed people overallH0:
5、1 = 2 (Proportion of females who are left handed is equal to the proportion of males who are left handed) H1: 1 2 (The two proportions are not the same)DCOVA2 Test for the Difference BetThe Chi-Square Test Statisticwhere:fo = observed frequency in a particular cellfe = expected frequency in a partic
6、ular cell if H0 is true (Assumed: each cell in the contingency table has expectedfrequency of at least 5)The Chi-square test statistic is:DCOVAThe Chi-Square Test StatisticwDecision Rule22Decision Rule:If , reject H0, otherwise, do not reject H0The test statistic approximately follows a chi-squared
7、distribution with one degree of freedom0 Reject H0Do not reject H0DCOVADecision Rule22Decision RulComputing the Overall ProportionHere: 120 Females, 12 were left handed180 Males, 24 were left handedi.e., based on all 300 children the proportion of left handers is 0.12, that is, 12%The overall propor
8、tion is: DCOVAComputing the Overall ProportFinding Expected FrequenciesTo obtain the expected frequency for left handed females, multiply the average proportion left handed (p) by the total number of femalesTo obtain the expected frequency for left handed males, multiply the average proportion left
9、handed (p) by the total number of malesIf the two proportions are equal, then P(Left Handed | Female) = P(Left Handed | Male) = .12i.e., we would expect (.12)(120) = 14.4 females to be left handed(.12)(180) = 21.6 males to be left handedDCOVAFinding Expected FrequenciesToObserved vs. Expected Freque
10、nciesGenderHand PreferenceLeftRightFemaleObserved = 12Expected = 14.4Observed = 108Expected = 105.6120MaleObserved = 24Expected = 21.6Observed = 156Expected = 158.418036264300DCOVAObserved vs. Expected FrequencGenderHand PreferenceLeftRightFemaleObserved = 12Expected = 14.4Observed = 108Expected = 1
11、05.6120MaleObserved = 24Expected = 21.6Observed = 156Expected = 158.418036264300The Chi-Square Test StatisticThe test statistic is:DCOVAHand PreferenceLeftRightFemaleDecision RuleDecision Rule:If 3.841, reject H0, otherwise, do not reject H0Here, = 0.7576 12.592, reject H0, otherwise, do not reject H0Here, = 0.709 = 12.592, so do not reject H0 Conclusion: there is not sufficient evidence that meal plan and class standing are related at = 0.05220.05=12.5920 0.05Reject H0Do
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- GB/T 44809-2024物聯(lián)網(wǎng)工業(yè)物聯(lián)網(wǎng)系統(tǒng)設(shè)備兼容性要求和模型
- GB/T 44802-2024柔性直流輸電用絕緣柵雙極晶體管(IGBT)驅(qū)動器技術(shù)規(guī)范
- 高中歷史 第一單元 從“朕即皇帝”到“主權(quán)在民”第1節(jié) 歐洲的君主專制教案 岳麓版選修2
- 2024秋五年級語文上冊 第四單元 15 小島教案 新人教版
- 2023六年級數(shù)學上冊 6 百分數(shù)教案 新人教版
- 湖南省衡陽市高中數(shù)學 第一章 集合與函數(shù)概念 1.3 函數(shù)的基本性質(zhì) 1.3.1 單調(diào)性與最大(?。┲到贪?新人教A版必修1
- 八年級地理上冊 第二章 第三節(jié) 氣候與人類活動教案1 中圖版
- 2024-2025學年高中化學 第一章 物質(zhì)結(jié)構(gòu)元素周期律 第二節(jié) 元素周期律第3課時教案1 新人教版必修2
- 租用家庭氧氣瓶合同(2篇)
- 棕櫚油供銷合同(2篇)
- 華為鴻蒙系統(tǒng)
- 中國城市代碼對照表
- 黑水虻處理餐廚垃圾與畜禽糞便的資源化循環(huán)利用項目可行性研究報告
- 大學生勞動教育完整PPT全套教學課件
- 國網(wǎng)基建各專業(yè)考試題庫大全-計劃專業(yè)(考題匯總)
- 概率論與數(shù)理統(tǒng)計智慧樹知到答案章節(jié)測試2023年中國農(nóng)業(yè)大學
- 六頂思考帽與創(chuàng)新思維訓練
- 關(guān)于小學科學大單元教學設(shè)計的思考
- 模具加工計劃進度表-05
- 數(shù)學新課程標準的核心概念有哪些?結(jié)合教學實踐談談你的認識
- 紅樓夢5000字論文
評論
0/150
提交評論