To Projects

CSC 423/324 -- Project 5

  1. Input and print the HeartAttack dataset.
     
  2. 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.)
     
  3. Find the predicted probability of having a second heart attack for each observation.
     
  4. 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.