1
answer
1
watching
151
views

  1. Use the logistic model, fitted to the training data, to classify the test data.

    (a)Fit a logistic model to the training data, using the variables Sepal.Length and Sepal.Width as predictors (3 points).
    (i)Obtain the estimates and their standard errors for the model parameters (1.5 points).
    (ii)Compute the confusion matrix for the test data and the misclassification error rate (1.5 points).
    (iii)Are both of the predictor variables necessary for the purpose of classification? Explain your answer (3 points).

(b) Fit a logistic regression model to the training data, using the variable Sepal.Length as a one-dimensional predictor (3 points).

(i)Obtain the estimates and their standard errors for the model parameters (1.5 points).
(ii)Compute the confusion matrix for the test data, and the misclassification error rate (1.5 points).
(iii)Compare the results with those in 3(a). Does your result in 3(b)(ii) support the answer to 3(a)(iii) (3 points)?

For unlimited access to Homework Help, a Homework+ subscription is required.

Avatar image
Read by 1 person

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in

Related textbook solutions

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in