Question: ### Q10: using r create a dataframe with data on five new individuals, shown in the table below. Then use your logistic regression model above
### Q10: using r create a dataframe with data on five new individuals, shown in the table below. Then use your logistic regression model above and this new data to predict the likelihood of each individual would respond that they are in very good or excellent health. Use the `predict()` function. Round predictions to 2 decimal places. Store the predictions in `Q10`.
| ID | FRTDAY | binCheckup | |---------|--------|------------| | Person1 | 0 | 0 | | Person2 | 1 | 0 | | Person3 | 2 | 0 | | Person4 | 3 | 1 | | Person5 | 6 | 1 |
Hint 1: As a binary variable, binCheckup should *not* be coded as numeric.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
