A survey asks questions about one's happiness and health. One would think that health plays a role in one's happiness. Use the data in the accompanying table to determine whether healthier people tend to also be happier. Treat level of health as the explanatory variable.
Poor | Fair | Good | Excellent | |
Not too happy | 696 | 1,386 | 1,629 | 732 |
Pretty happy | 940 | 3,817 | 9,642 | 5,195 |
Very happy | 350 | 1,382 | 4,520 | 5,095 |
Create a conditional distribution for the data. (Round to three decimal places as needed.)
Draw a bar graph of the found conditional distribution.
ANSWER:
Given that,
Here the below contingency table:
Level of Health | ||||
Level of Happiness | Poor | Fair | Good | Excellent |
Not too happy | 696 | 1376 | 1629 | 732 |
Pretty happy | 940 | 3817 | 9642 | 5195 |
Very happy | 345 | 1382 | 4520 | 5095 |
Total | 1981 | 6575 | 15791 | 11022 |
For conditional distribution for the data with level of health as the explanatory variable ; we need to divide each cell with column total. therefore below is conditional distribution:
Level of Happiness | Poor | Fair | Good | Excellent |
Not too happy | 0.351 | 0.209 | 0.103 | 0.066 |
Pretty happy | 0.475 | 0.581 | 0.611 | 0.471 |
Very happy | 0.174 | 0.210 | 0.286 | 0.462 |
Total | 1 | 1 | 1 | 1 |
revert for any clarification requried.
Get Answers For Free
Most questions answered within 1 hours.