Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started