DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST · Question #13
Suppose that we are interested in the factors that influence whether a political candidate wins an election. The outcome (response) variable is binary (0/1); win or lose. The predictor variables of…
The correct answer is B. Logistic Regression. Logistic regression Pros: Computationally inexpensive, easy to implement, knowledge representation easy to Cons: Prone to underfitting, may have low accuracy Works with: Numeric values, nominal values
Question
Suppose that we are interested in the factors that influence whether a political candidate wins an election. The outcome (response) variable is binary (0/1); win or lose. The predictor variables of interest are the amount of money spent on the campaign, the amount of time spent campaigning negatively and whether or not the candidate is an incumbent. Above is an example of
Options
- ALinear Regression
- BLogistic Regression
- CRecommendation system
- DMaximum likelihood estimation
- EHierarchical linear models
How the community answered
(25 responses)- A12% (3)
- B76% (19)
- C4% (1)
- D8% (2)
Explanation
Logistic regression Pros: Computationally inexpensive, easy to implement, knowledge representation easy to Cons: Prone to underfitting, may have low accuracy Works with: Numeric values, nominal values
Topics
Community Discussion
No community discussion yet for this question.