1. Home
  2. Explore
  3. Engineering
  4. Regression Models & Hypothesis Testing

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Regression Models & Hypothesis Testing

  • 44Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Regression Fundamentals
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is regression analysis?

Tap to flipClick to flipspace

A group of statistical techniques that use existing data to estimate the relationship between a single dependent variable and one or more independent variables.

Or swipe the card

44 cards

  1. What is regression analysis?

    A group of statistical techniques that use existing data to estimate the relationship between a single dependent variable and one or more independent variables.

  2. What are the roles of the dependent variable (Y) and independent variables (X) in regression?

    The dependent variable (Y) is the outcome being estimated; independent variables (X) are predictors that may influence Y.

  3. What is the difference between correlation and causation?

    Correlation measures the strength of a linear relationship; causation implies one variable directly causes a change in another. Correlation does not imply causation.

  4. What is a population vs. a sample in regression?

    Population is the entire group of interest; a sample is a subset used to estimate population parameters.

  5. Define parameters and parameter estimates in regression.

    Parameters (e.g., β0\beta_0β0​, β1\beta_1β1​) are properties of the population; estimates (e.g., β^0\hat{\beta}_0β^​0​, β^1\hat{\beta}_1β^​1​) are calculated from sample data and denoted with a hat.

  6. What is ordinary least squares (OLS) estimation?

    OLS is a method that minimizes the sum of squared residuals to find the best-fit line in linear regression.

  7. Write the equation for a residual in linear regression.

    ϵi=Yi−Y^i\epsilon_i = Y_i - \hat{Y}_iϵi​=Yi​−Y^i​

  8. What are the four key assumptions of simple linear regression?

    Linearity, normality of residuals, independent observations, and homoscedasticity.

  9. How is the linearity assumption checked?

    By plotting a scatter plot of X vs. Y; points should roughly follow a straight line.

  10. What is the normality assumption in linear regression?

    Residuals should be normally distributed, checked via Q-Q plot or histogram.

  11. What is homoscedasticity?

    Constant variance of residuals across all levels of the independent variable; checked by plotting fitted values vs. residuals (random cloud).

  12. What does R-squared measure?

    The proportion of variance in Y explained by X; ranges from 0 to 1.

  13. How do you interpret the slope coefficient in simple linear regression?

    For a one-unit increase in X, Y changes by the slope value on average.

  14. What is a confidence band in regression?

    The shaded region around the regression line representing the uncertainty of predicted Y at each X.

  15. What is a holdout sample?

    A random subset of data not used to fit the model; used to evaluate performance on unseen data.

  16. Write the general formula for multiple linear regression with k independent variables.

    Y=β0+β1X1+β2X2+...+βkXk+ϵY = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + ... + \beta_k X_k + \epsilonY=β0​+β1​X1​+β2​X2​+...+βk​Xk​+ϵ

  17. What is one-hot encoding?

    Transforming a categorical variable into multiple binary (0/1) variables, one for each category (excluding one reference).

  18. What is an interaction term?

    A product of two independent variables representing how the relationship between one X and Y changes depending on the other X.

  19. What is multicollinearity?

    When two or more independent variables are highly correlated; violates the no multicollinearity assumption.

  20. What is adjusted R-squared?

    R-squared penalized for number of predictors; prevents overestimation of fit when adding variables.

  21. Define overfitting in regression.

    Model fits training data too closely, capturing noise, and performs poorly on new data.

  22. What is forward selection in variable selection?

    Start with no predictors; iteratively add the variable that most improves the model (based on a metric like F-test).

  23. What is backward elimination?

    Start with all predictors; iteratively remove the least significant variable (based on p-value or F-test).

  24. What is the bias-variance tradeoff?

    Models with high bias underfit (too simple); high variance overfit (too complex). The goal is balancing to minimize total error.

  25. Name three common regularization techniques.

    Lasso regression (L1L_1L1​), ridge regression (L2L_2L2​), elastic-net (combination of L1L_1L1​ and L2L_2L2​).

  26. What is the chi-squared goodness-of-fit test?

    Tests if an observed categorical variable follows an expected distribution.

  27. What is the chi-squared test of independence?

    Tests whether two categorical variables are associated (independent).

  28. What is one-way ANOVA?

    Compares means of a continuous dependent variable across three or more groups based on one categorical independent variable.

  29. What is the null hypothesis in one-way ANOVA?

    H0:μ1=μ2=μ3=⋯=μkH_0: \mu_1 = \mu_2 = \mu_3 = \dots = \mu_kH0​:μ1​=μ2​=μ3​=⋯=μk​ (all group means equal).

  30. What is two-way ANOVA?

    Tests the effect of two categorical independent variables on a continuous dependent variable, including possible interaction.

  31. What is Tukey's HSD test?

    A post-hoc test for ANOVA that performs pairwise comparisons while controlling family-wise error rate.

  32. What does ANCOVA stand for?

    Analysis of covariance: tests differences in means among groups while controlling for covariates.

  33. What is MANOVA?

    Multivariate analysis of variance: compares multiple continuous dependent variables across groups defined by categorical independent variables.

  34. What is MANCOVA?

    Multivariate analysis of covariance: like MANOVA but controls for covariates.

  35. What does binomial logistic regression model?

    The probability of a binary outcome (0 or 1) based on one or more independent variables.

  36. What is the logit function?

    The logarithm of odds: logit(P)=ln⁡(P1−P)\text{logit}(P) = \ln\left(\frac{P}{1-P}\right)logit(P)=ln(1−PP​).

  37. How is odds defined?

    Odds =P1−P= \frac{P}{1-P}=1−PP​, where P is the probability of an event occurring.

  38. What is maximum likelihood estimation (MLE) in logistic regression?

    A method that finds coefficient values maximizing the likelihood of observing the sample data.

  39. What are the assumptions of binomial logistic regression?

    1. Linear relationship between each X and logit(P). 2. Independent observations. 3. Little to no multicollinearity. 4. No extreme outliers.
  40. What is a confusion matrix?

    A table showing true positives, true negatives, false positives, false negatives for a classifier.

  41. Define precision.

    Precision =TPTP+FP= \frac{TP}{TP + FP}=TP+FPTP​; proportion of positive predictions that are correct.

  42. Define recall (sensitivity).

    Recall =TPTP+FN= \frac{TP}{TP + FN}=TP+FNTP​; proportion of true positives correctly identified.

  43. Define accuracy.

    Accuracy =TP+TNTP+TN+FP+FN= \frac{TP + TN}{TP + TN + FP + FN}=TP+TN+FP+FNTP+TN​; proportion of all correctly classified instances.

  44. How do you interpret logistic regression coefficients?

    Exponentiate the coefficient: eβe^{\beta}eβ gives the odds ratio for a one-unit increase in X. (If β=−0.118\beta= -0.118β=−0.118, then e−0.118=0.89e^{-0.118}=0.89e−0.118=0.89, odds decrease by 11%.)

Card 1 of 44
Card 1 of 44

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent