Question: Q 1 0 : Create a dataframe with data on five new individuals, shown in the table below. Then use your logistic regression model above

Q10: 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.
Hint 2: The prediction output should look like this:
```
12345
0.18
```

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!