Download Download Presentation Chi-Square Test

# Chi-Square Test

Download Presentation ## Chi-Square Test

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
##### Presentation Transcript

1. Chi-Square Test

2. Chi-Square (χ2) Test • Used to determine if there is a significant difference between the expected and observed data • Null hypothesis: There is NO statistically significant difference between expected & observed data • Any differences are due to CHANCE alone

3. Chi-Square (χ2) Formula

4. How to use the Chi-Square Test • Determine null hypothesis • All frequencies are equal –OR– Specific frequencies given already • Use formula to calculate χ2 value: • n = # of categories,e = expected, o = observed • Find critical value using table (Use p=0.05). • degrees of freedom (df) = n – 1 • If χ2 < Critical Value, then ACCEPT null hypothesis. Differences in data are due to chance alone. If χ2 > Critical Value, REJECT the null hypothesis: Differences in data are NOT due to chance alone!

5. Sample Problem • You buy a package of M&Ms from the factory store and find the following: 20 brown, 20 blue, 20 orange, 20 green, and 20 yellowM&Ms. • According to the M&M website, each package of candy should have 13% brown, 24% blue, 20% orange, 16% green, 13% red, and 14% yellowM&Ms. • You realize you are missing Red M&M’s in your package! Is this acceptable, or did something happen in the factory during the packaging process? • Use the Chi-Square Test to answer this question.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8512395,"math_prob":0.83244807,"size":1240,"snap":"2021-31-2021-39","text_gpt3_token_len":303,"char_repetition_ratio":0.10194175,"word_repetition_ratio":0.0,"special_character_ratio":0.2612903,"punctuation_ratio":0.12236287,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9638756,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,null,null,null,null,2,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-08-02T03:01:51Z\",\"WARC-Record-ID\":\"<urn:uuid:8bec5f31-308f-4356-904f-3454473d3880>\",\"Content-Length\":\"86699\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1c76a2de-3816-4180-9ef3-a03ba06f43ac>\",\"WARC-Concurrent-To\":\"<urn:uuid:ec5e18d2-58ad-4563-a615-2f7ce215fdb0>\",\"WARC-IP-Address\":\"54.187.66.113\",\"WARC-Target-URI\":\"https://fr.slideserve.com/manny/chi-square-test\",\"WARC-Payload-Digest\":\"sha1:KWD4YTOKUTTGIYWO57BJY5SKQ7WW7NJ6\",\"WARC-Block-Digest\":\"sha1:SBVFWN2HLL3V4R7WKJTOUPQEQC6YBDQ5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046154302.46_warc_CC-MAIN-20210802012641-20210802042641-00499.warc.gz\"}"}