Question: Please run the following code in R to learn more about the variables in the dataset: ? Boston Create a new binary variable Result with

Please run the following code in R to learn more about the variables in the dataset: ? Boston Create a new binary variable Result with a value of 1 if the medv (median value of owner-occupied homes in $1000s) variable is greater than $30k and 0 otherwise. Create a logistic regression model for this question using all the variables in the Boston dataset. Please do not forget to remove the medv variable while building the model. Use the information from the model to answer the following two questions. Select the closest answer. Question 31 How should one interpret the coefficient of rm? Group of answer choices C If rm increases by 1 unit, the natural log of the odds of the house median value being greater than $30,000 will increase by 2.3549, holding all other variables fixed. C If rm increases by 1 unit, the odds of the house median value being greater than $30,000 will increase by 2.3549, holding all other variables fixed. C If rm increases by 1 unit, the probability of the house median value being greater than $30,000 will increase by 2.3549, holding all other variables fixed. C If rm increases by 1 unit, the number of houses with median value greater than $30,000 will increase by 2.3549, holding all other variables fixed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
