You run a logistic regression model in R using the glm() function. The dependent variable is the factor variable Y and independent variables are X1 and X2 (in other words, the formula is Y~X1+X2). In the model output, the coefficient of the constant term is a0, the coefficient of X1 is a1, and the coefficient of X2 is a2. Assuming a cutoff = 0.5, which of the following defines the equation of a decision boundary? a0 + a1X1 + a2X2 = 0.5 exp(-(a0 + a1X1 + a2X2)) = 0 O a0 + a1X1 + a2X2 = 0 exp(-(a0 + a1X1 + a2X2)) = 05

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter24: Forecasting Models
Section: Chapter Questions
Problem 6RP
icon
Related questions
Question
You run a logistic regression model in R using the glm() function. The dependent variable is the factor
variable Y and independent variables are X1 and X2 (in other words, the formula is Y~X1+X2). In the
model output, the coefficient of the constant term is a0, the coefficient of X1 is a1, and the
coefficient of X2 is a2. Assuming a cutoff = 0.5, which of the following defines the equation of a
decision boundary?
a0 + a1X1 + a2X2 = 0.5
exp(-(a0 + a1X1 + a2X2)) = 0
a0 + a1X1 + a2X2 = 0
O exp(-(a0 + a1X1 + a2X2)) = 0.5
Transcribed Image Text:You run a logistic regression model in R using the glm() function. The dependent variable is the factor variable Y and independent variables are X1 and X2 (in other words, the formula is Y~X1+X2). In the model output, the coefficient of the constant term is a0, the coefficient of X1 is a1, and the coefficient of X2 is a2. Assuming a cutoff = 0.5, which of the following defines the equation of a decision boundary? a0 + a1X1 + a2X2 = 0.5 exp(-(a0 + a1X1 + a2X2)) = 0 a0 + a1X1 + a2X2 = 0 O exp(-(a0 + a1X1 + a2X2)) = 0.5
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Time complexity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole