Question: Please use R in your answer. LOGIT, PROBIT, LOGISTIC MODEL Sepal Length Sepal Width Petal Length Petal Width Species 5.1 3.5 1.4 0.2 0 4.6

Please use R in your answer.

LOGIT, PROBIT, LOGISTIC MODEL

Sepal Length Sepal Width Petal Length Petal Width Species
5.1 3.5 1.4 0.2 0
4.6 3.4 1.4 0.3 0
5.8 4 1.2 0.2 0
4.8 3.4 1.9 0.2 0
5.4 3.4 1.5 0.4 0
7 3.2 4.7 1.4 1
4.9 2.4 3.3 1 1
5.6 2.9 3.6 1.3 1
6.5 3 5.5 1.8 1
6.7 3.3 5.7 2.1

1

This is taken from the Iris dataset.

a.) Run a logistic model in R using logit transformation to model the probability of species = '1' as a function of the independent variables.

b.) Given Sepal Length = 5, Sepal Width = 3, Petal Length = 4, Petal Width = 1. Compute the probability that these measurements belong to species '1'.

c.) Repeat a and b using the probit transformation instead of the logit transformation.

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 Databases Questions!