HW1_SolutionSet

# HW1_SolutionSet - Homework#1 Solution Set Problem 1...

• Homework Help
• 5

This preview shows pages 1–2. Sign up to view the full content.

- 1 - Homework #1 Solution Set Problem 1 Solution: Use the COUNTIF and COUNTIFS functions in Excel to populate the following table: Worker Type Drinking Preference Total L R N B 111 122 17 250 W 79 59 12 150 Total 190 181 29 400 For example, to calculate Total B use =COUNTIF(B4:B403,"B") = 250 to calculate Total L use =COUNTIF(C4:C403,”L”) = 190 to calculate B L use =COUNTIFS(B4:B403,"B",C4:C403,”L”) = 111 Dividing each entry by the grand total 400 provides the joint probability table: Worker Type Drinking Preference Total L R N B 0.278 0.305 0.043 0.625 W 0.198 0.148 0.030 0.375 Total 0.475 0.453 0.073 1.000 (a) P(prefers light beer, given blue collar) = 444 . 0 625 . 0 278 . 0 ) ( ) ( ) | ( B P B L P B L P (b) P(prefers light beer, given white collar) = 527 . 0 375 . 0 198 . 0 ) ( ) ( ) | ( W P W L P W L P (c) There are 371 people who like to drink beer (light or regular). 233 of them are blue collar drinkers and 138 are white collar drinkers. Therefore, P(prefers light beer, given blue collar drinker) = P(prefers light beer AND blue collar drinker)/P(blue collar drinker) = (111/371)/(233/371) = 111/233 = 0.476 (d) P(prefers light beer, given white collar drinker)

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

This is the end of the preview. Sign up to access the rest of the document.
• Fall '11
• Damien
• White-collar worker, white collar, light beer, collar drinker

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern