Interview Q&A / Data Science

INTERVIEW Q&A · 56 QUESTIONS

Data Science interview questions

Statistics, pandas, cleaning data and exploratory analysis for analyst and data science roles.

  1. What do the slope and intercept mean in a simple linear regression?

    The slope is the average change in y for a one-unit increase in x, and the intercept is the predicted y when x is zero. Least squares picks the line that minimises the sum of squared vertical errors.

    BeginnerQuick answer1 min read
  2. What are the assumptions of linear regression?

    The main ones are a linear relationship, independent errors, constant error variance (homoscedasticity), roughly normal errors for inference, and no severe multicollinearity. Violations mainly hurt interpretation and confidence intervals rather than raw prediction.

    IntermediateQuick answer1 min read