9 Contingency analysis - Contingency analysis ! Test the...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Contingency analysis ! Test the independence of two or more categorical variables ! We’ll learn one kind: ! 2 contingency analysis Music and wine buying OBSERVED French music playing German music playing Totals Bottles of French wine sold 40 12 52 Bottles of German wine sold 8 22 30 Totals 48 34 82 Mosaic plot Hypotheses ! H 0 : The nationality of the bottle of wine is independent of the nationality of the music played when it is sold. ! H A : The nationality of the bottle of wine sold depends on the nationality of the music being played when it is sold.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Calculating the expectations With independence, Pr[ French wine AND French music] = Pr[French wine] Pr[French music] Calculating the expectations Pr[French wine] = 52/82=0.634 Pr[French music] = 48/82= 0.585 EXP. French music German music Totals French wine sold 52 German wine sold 30 Totals 48 34 82 If H 0 is true, Pr[French wine AND French music] = (0.634)(0.585) = 0.37112 Calculating the expectations EXP. French music
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/16/2010 for the course MATHEMATIC 1231 taught by Professor Driscoll during the Spring '10 term at Clayton College of Natural Health.

Page1 / 3

9 Contingency analysis - Contingency analysis ! Test the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online