In: Statistics and Probability
Predicted survived |
Predicted not survived |
|
Actually survived |
2245 |
280 |
Actually not survived |
157 |
1137 |
Answer:-
Given That:-
Empirical probability: A statistical model was developed to predict whether passengers on the Titanic ship survived base on their information such as age, number of siblings and spouses were on the ship, sex, the fare class, etc.
a.If picking a random passenger, what is the probability that the passenger survived according to the model or predicted by the model?
Given,
If picking a random passenger, the probability that the passenger survived according to the model
= (2245 + 157) / (2245 + 2245 + 157 + 1137)
= 0.4153
a. If picking a random passenger, what is the probability that the passenger did not survive according to the real record?
If picking a random passenger, the probability that the passenger did not survive according to the real record
= (2245 + 280) / (2245 + 2245 + 157 + 1137)
= 0.4365
a. If a passenger was predicted as a survivor, what is the probability that the passenger actually survived according to the actual record?
If a passenger was predicted as a survivor, the probability that the passenger actually survived according to the actual record
= 2245 / (2245 + 157)
= 0.9346
a. If a passenger was predicted as a non-survivor, what is the probability that the passenger actually did not survive according to the actual record?
If a passenger was predicted as a non-survivor, the probability that the passenger actually did not survive according to the actual record
= 1137 / (280 + 1137)
= 0.8024
Thank you for your supporting. please upvote my answer...