1. Home
  2. Explore
  3. Mathematics
  4. Linear Regression

Study methods

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

Linear Regression

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Regression Basics
The goal of regression is to
one variable based on another.

22 questions

  1. 1
    The goal of regression is to
    _____
    one variable based on another.
    Hint

    Think about the purpose of regression in statistics and machine learning.

    Answer

    predict

  2. 2
    In regression, the variable yyy is called the
    _____
    variable.
    Hint

    Consider which variable is being predicted.

    Answer

    explained or dependent

  3. 3
    In regression, the variable xxx is called the
    _____
    variable.
    Hint

    This variable is used to predict yyy.

    Answer

    explanatory or independent

  4. 4
    The simple linear regression model is $y = a + bx + \
    _____
    $.
    Hint

    This term captures random deviations from the line.

    Answer

    ϵ\epsilonϵ

  5. 5
    In the linear model y=a+bx+ϵy = a + bx + \epsilony=a+bx+ϵ, aaa is called the
    _____
    .
    Hint

    It is the value of yyy when x=0x=0x=0.

    Answer

    intercept

  6. 6
    In the linear model y=a+bx+ϵy = a + bx + \epsilony=a+bx+ϵ, bbb is called the
    _____
    .
    Hint

    It measures the change in yyy per unit change in xxx.

    Answer

    slope

  7. 7
    When xxx is a real-valued random variable, regression is called
    _____
    regression.
    Hint

    This term refers to having a single predictor.

    Answer

    univariate

  8. 8
    When xxx is in Rp\mathbb{R}^pRp with p≥2p \geq 2p≥2, regression is called
    _____
    regression.
    Hint

    This term involves multiple predictors.

    Answer

    multivariate

  9. 9
    The least squares criterion for the population minimizes the expectation of (Y−a−bX)2(Y - a - bX)^2(Y−a−bX)2; for the sample, it minimizes the sum of
    _____
    residuals.
    Hint

    This is the 'square' in least squares.

    Answer

    squared

  10. 10
    The least squares estimate of the slope bbb is given by the ratio of the
    _____
    of XXX and YYY to the variance of XXX.
    Hint

    This measures how two variables vary together.

    Answer

    covariance

  11. 11
    The least squares estimate of the intercept aaa is $\hat{a} = \bar{y} - \hat{b} \
    _____
    $.
    Hint

    It involves the sample mean of xxx.

    Answer

    xˉ\bar{x}xˉ

  12. 12
    In matrix form, the least squares estimator for β\betaβ is $\hat{\beta} = (X^T X)^{-1} X^T \
    _____
    $.
    Hint

    This is the vector of observed responses.

    Answer

    YYY

  13. 13
    The normal equations for linear regression are $X^T X \beta = X^T \
    _____
    $.
    Hint

    This equation results from setting the gradient of the sum of squared residuals to zero.

    Answer

    YYY

  14. 14
    A key assumption in linear regression is that the expectation of ϵ\epsilonϵ is
    _____
    .
    Hint

    This ensures the errors are centered.

    Answer

    zero

  15. 15
    Another assumption is that the covariance between xxx and ϵ\epsilonϵ is
    _____
    .
    Hint

    This ensures the error is not related to the predictor.

    Answer

    zero

  16. 16
    If we assume that xxx and ϵ\epsilonϵ are
    _____
    , then the zero-covariance condition is automatically satisfied.
    Hint

    This is a stronger condition implying no relationship.

    Answer

    independent

  17. 17
    For inference using t-distributions, we often assume that ϵ\epsilonϵ follows a
    _____
    distribution.
    Hint

    This bell-shaped distribution is common for errors.

    Answer

    Gaussian or normal

  18. 18
    The condition that Var(x)≠0\text{Var}(x) \neq 0Var(x)=0 is necessary for the regression slope to be
    _____
    .
    Hint

    If the predictor has no variability, the slope cannot be determined.

    Answer

    defined or estimable

  19. 19
    In the ideal gas law example, taking logs transforms a multiplicative relationship into a
    _____
    relationship.
    Hint

    Logarithms turn products into sums.

    Answer

    linear

  20. 20
    An alternative loss function to least squares is the sum of
    _____
    deviations.
    Hint

    This is also known as L1 regression.

    Answer

    absolute

  21. 21
    In multivariate regression with ppp predictors, the regression surface is a
    _____
    in p+1p+1p+1 dimensions.
    Hint

    It generalizes the line from simple regression.

    Answer

    plane or hyperplane

  22. 22
    In multivariate regression, the matrix XXX has rows corresponding to
    _____
    and columns corresponding to variables.
    Hint

    Each row represents one data point.

    Answer

    observations

1 of 22
Question 1 of 22

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent