In: Statistics and Probability
Solution :
The data can be represented in the tabular form as follows :
18 - 22 | 23 - 30 | 31 - 40 | Total | |
Smoke | 48 | 36 | 28 | 112 |
Do not smoke | 120 | 95 | 71 | 286 |
Total | 168 | 131 | 99 | 398 |
We have to find P(age 18-22 or dose not smoke).
P(age 18-22 or does not smoke) = P(age 18-22) + P(does not smoke) - P(age 18-22 and does not smoke)
P(age 18-22) = number of people aged 18-22/Total number of people
P(age 18-22) = 168/398
P(does not smoke) = number of people who don't smoke/Total number of people
P(does not smoke) = 286/398
P(age 18-22 and does not smoke) = Number of 18-22 aged people who do not smoke/Total number of people
P(age 18-22 and does not smoke) = 120/398
Hence,
P(age 18-22 or does not smoke) = (168/398) + (286/398) - (120/398)
P(age 18-22 or does not smoke) = 334/398
P(age 18-22 or does not smoke) = 0.839
Hence, the probability of getting someone who is age 18-22 or does not smoke is 0.839.
Please rate the answer. Thank you.