What are the SAS Codes: data=hw5.mus14data 4. a. Fit a logistic regression model using retirement status (retire),
Question:
What are the SAS Codes:
data=hw5.mus14data
4. a. Fit a logistic regression model using retirement status (retire), age (age), health status (hstatusg, coded 1 for good, very good or excellent and 0 otherwise), household income (hhincome), education in years (educyear), the indicator for married (married), and the indicator of hispanic ethnicity (hisp) as predictors and ins as the outcome. Which predictors have statistically significant coefficients?
b. Interpret the odds ratio for hispanics, comparing it with the result of question 3. Test the significance of the hispanic ethnicity effect using a Wald test or a likelihood ratio test.
c. Compute pseudo-R2.
5. a. Continuing with the same model as in question 4, examine whether there are any outliers.
b. Examine whether there are influential observations by plotting the DFBETAS.
c. What do you conclude with regard to outliers or influential observations.