This page lists down a set of **30 interview questions on Logistic Regression (machine learning/data science)** in form of **objective questions** and also provides links to a set of three practice tests that would help you test / check your knowledge on an ongoing basis. These questions and practice tests are intended to primarily help **interns/freshers/beginners** to help them brush up their knowledge in **logistic regression **from time to time. The following is a list of topics covered on this page.

- Introduction to logistic regression
- Logistic regression examples
- Evaluating performance of logistic regression and related techniques including AIC, deviance, ROC etc.
- Difference between linear and logistic regression

Here is another post on questions and answers related to Logistic regression fundamentals titled, Logistic Regression Quiz Questions and Answers. Here are some of the questions discussed in this post:

- What are different names/terms used in place of Logistic regression?
- Define Logistic regression in simple words?
- Define logistic regression in terms of logit?
- Define logistic function?
- What does training a logistic regression model mean?
- What are different types of logistic regression models?
- What are the different implementations of Logistic regression in Python Sklearn?
- What is regularization in Logistic regression and what are its different types?
- When to use which types of regularization in Logistic regression?

You might also want to check a related post on Logistic regression titled – Training a logistic regression model using Python.

### Logistic Regression Practice Tests

This is a set of practice tests (**10 questions and answers each**) that can be taken to quickly check your concepts on logistic regression. The questions included in these practice tests are listed in a later section.

- Logistic regression practice test – Set 1
- Logistic regression practice test – Set 2
- Logistic regression practice test – Set 3

### Logistic Regression Interview Question Set

- Logistic regression is used to predict _________ valued output?
- Continuous
- Categorical

- How much marks a student can get in a competitive exam based on hours of study can be solved using _________ regression model
- Multi-linear
- Logistic

- Logistic regression is _________ when the observed outcome of the dependent variable can have only two values such as 0 and 1 or success and failure
- Binomial
- Multinomial
- Ordinal

- Whether a student will pass or fail in the competitive exam based on hours of study can be solved using _________ regression model
- Multi-linear
- Logistic

- ________ regression can be termed as a special case of _________ regression when the outcome variable is categorical
- Logistic, Linear
- Linear, Logistic

- In logistic regression, the goal is to predict _________
- Actual value of outcome dependent variable
- Odds of outcome dependent variable

- Which of the following can be used to evaluate the performance of the logistic regression model?
- Adjusted R-Squared
- AIC

- Which of the following is link function in logistic regression
- Identity
- Logit

- Logistic regression is _________ when the observed outcome of the dependent variable can have multiple possible types
- Binomial
- Multinomial
- Ordinal

- In logistic regression, the following technique is used to measure the goodness of the fit
- Sum of squares calculations
- Deviance calculations

- Which of the following can be used to evaluate the performance of the logistic regression model?
- AIC
- Null and Residual Deviance
- Both of the above
- None of the above

- Given two models with different AIC values, which one would be the preferred model?
- One with a higher AIC value
- One with a lower AIC value

- Deviance is a measure of difference between a _______ model and the _________ model
- saturated, fitted
- Fitted, saturated

- Logistic regression is _________ when the observed outcome of dependent variable are ordered
- Binomial
- Multinomial
- Ordinal

- Logit transformation is log of ___________
- Odds of the event happening for different levels of each independent variable
- The ratio of odds of the event happening for different levels of each independent variable

- Logistic function is _________
- Dependent variable equalling a given case
- Probability that dependent variable equals a case

- Deviance is is a function of ________
- Exponential function of likelihood ratio
- Logarithmic function of likelihood ratio

- The odds of the dependent variable equaling a case (given some linear combination x of the predictors) is equivalent to _______
- Log function of the linear regression expression
- Exponential function of the linear regression function

- Regression coefficients in logistic regression are estimated using ________
- Ordinary least squares method
- Maximum likelihood estimation method

- _________ is analogous to __________ in linear regression
- Sum of squares calculations, deviance
- Deviance, the sum of squares calculations

- Deviance can be shown to follow __________
- t-distribution
- F-distribution
- Chi-square distribution
- None of the above

- ______ value of deviance represents the better fit of the model
- Higher
- Lower

- If the model deviance is significantly ________ than the null deviance then one can conclude that the predictor or set of predictors significantly improved model fit
- Smaller
- Larger

- Which of the following is analogous to R-Squared for logistic regression
- Likelihood ration R-squared
- McFadden R-squared
- Cox and Snell R-Squared
- All of the above

- Estimation in logistic regression chooses the parameters that ___________ the likelihood of observing the sample values
- Minimizes
- Maximizes

- Which of the following tests can be used to assess whether the logistic regression model is well calibrated
- Hosmer-Lemeshow test
- ROC Curve
- Both of the above

- ROC related with ROC curve stands for _______
- Regression Optimization Characteristic
- Regression Operating Characteristic
- Receiver Operating Characteristic

- Which of the following is used to identify the best threshold for separating positive and negative classes
- Hosmer-Lemeshow test
- ROC Curve
- Both of the above

- ROC curve is a plot of __________ vs ___________
- Sensitivity, 1-specificity
- 1-specificity, Sensitivity

- ______ the value of AUC, better is the prediction power of the model
- Lower
- Higher

- Linear Regression Cost Function: Python Example - December 2, 2023
- KNN vs Logistic Regression: Differences, Examples - December 2, 2023
- Linear Regression vs Logistic Regression: Differences - December 1, 2023

## Leave a Reply