script.R
1
2
3
4
5
6
7
# fit the Probit model and assign it to `Pogit_mod`
# obtain a robust summary of the model coefficients
# predict the probability of survival for the three
passengers
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R Console
1
>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX