To Projects
CSC 423/324 -- Project 5
- Input and print the HeartAttack dataset.
- Type the logit model equation for predicting the probability that a patient has a second attack (ha2) from
ang and sco. (See the dataset for the meanings of these variables.)
- Find the predicted probability of having a second heart attack for each observation.
- If a new patient has ang=1 and sco=35, calculate the probability of a second
heart attack, both by hand and using SAS or R.