1. Home
  2. Explore
  3. Statistics
  4. Regression Model Building

Study methods

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

Regression Model Building

  • 33Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Model Building

What is regression model building?

33 questions

  1. 1

    What is regression model building?

    Model answer

    It is the process of developing an estimated regression equation that describes the relationship between a dependent variable and one or more independent variables.

    Explanation

    The model is built from collected data to represent how the response relates to potential predictors.

  2. 2

    What are the two major decisions involved in building a regression model?

    Model answer

    Determine the appropriate functional form of the relationship and select which independent variables to include.

    Explanation

    The functional form may be linear or nonlinear, while variable selection determines which predictors belong in the model.

  3. 3

    When data are collected on one dependent variable and kkk independent variables, what is the overall objective of model building?

    Model answer

    Use the data to develop an estimated regression equation that provides the best relationship between the dependent variable and the independent variables.

    Explanation

    The candidate predictors are assessed to construct a useful equation for describing the response.

  4. 4

    Write the general form of the linear regression model described in the lecture, and explain what each zjz_jzj​ represents.

    Model answer

    The model is y = β_0 + β_1z_1 + β_2z_2 +  + β_pz_p + ε, where each zjz_jzj​ is a function of the collected independent variables.

    Explanation

    A transformed predictor can be used as a model term; it need not be identical to one original variable.

  5. 5

    Can a model term zjz_jzj​ be based on just one collected independent variable?

    Model answer

    Yes. A model term may be a function of only one independent variable.

    Explanation

    For example, a term can be the original predictor or a transformation such as its square.

  6. 6

    What is the simplest first-order regression model with one predictor?

    Model answer

    It uses one independent variable as the predictor, together with a constant and an error term: y=β0+β1x1+εy = β_0 + β_1x_1 + εy=β0​+β1​x1​+ε.

    Explanation

    This is the basic simple linear regression form.

  7. 7

    In model building, why might an independent variable be dropped or a new one added?

    Model answer

    The set of predictors should be selected to provide an appropriate model of the relationship; some variables may not be suitable, while transformations may be needed to represent the pattern.

    Explanation

    Model building considers which variables and functional forms adequately describe the data.

  8. 8

    In a general linear regression model, what does the word “linear” refer to?

    Model answer

    It refers to the regression coefficients having exponent 111, not necessarily to a straight-line relationship between the response and an original predictor.

    Explanation

    A model can be linear in its coefficients while including transformed predictors that produce a curved relationship.

  9. 9

    How can a regression model that is linear in its coefficients represent a curvilinear relationship?

    Model answer

    Include a transformed predictor, such as x12x_1^2x12​, as a model term while keeping its coefficient linear.

    Explanation

    For example, y=β0+β1x1+β2x12y = β_0 + β_1x_1 + β_2x_1^2y=β0​+β1​x1​+β2​x12​ is linear in the coefficients but can describe a curve in x1x_1x1​.

  10. 10

    Why does adding the squared predictor not make the regression model nonlinear in its coefficients?

    Model answer

    The predictor is squared, but the coefficient multiplying it still has exponent 111.

    Explanation

    Linearity in a general linear model concerns the coefficients, rather than whether the predictors themselves are transformed.

  11. 11

    How can a model builder begin investigating a curvilinear relationship when a straight-line model appears inadequate?

    Model answer

    Add the square of the predictor as a new independent variable and fit the model with both the original and squared terms.

    Explanation

    The lecture begins with a second-order term, x2x^2x2, as a practical way to represent curvature.

  12. 12

    Does the presence of a squared predictor require the regression equation to be nonlinear in the coefficients?

    Model answer

    No. A squared predictor can appear in a regression equation that remains linear in all its coefficients.

    Explanation

    For instance, β2x2β_2x^2β2​x2 is linear in β2β_2β2​ even though it is curved in xxx.

  13. 13

    What was the business question in the Reynolds example?

    Model answer

    The company wanted to investigate the relationship between how long its salespeople had been employed and how many electronic laboratory scales they sold.

    Explanation

    The example examines salesperson experience, measured by months employed, in relation to sales.

  14. 14

    In the Reynolds data, which variable was the predictor and which was the response?

    Model answer

    Months employed was the independent variable, and the number of scales sold was the dependent variable.

    Explanation

    Employment duration was used to explain or predict sales volume.

  15. 15

    How many salespeople were included in the Reynolds sample, and how were they selected?

    Model answer

    The data covered 15 salespeople selected at random.

    Explanation

    The observations paired each salesperson’s months employed with scales sold during the most recent sales period.

  16. 16

    What positive relationship was expected between months employed and scales sold, and why?

    Model answer

    Sales were expected to increase with months employed because more experienced salespeople were assumed to sell more products.

    Explanation

    Employment duration served as a measure of experience in the example.

  17. 17

    What did the scatter plot of months employed against scales sold suggest?

    Model answer

    It showed a positive trend: sales tended to increase as months employed increased.

    Explanation

    The observed direction was consistent with the expectation that experienced salespeople would sell more.

  18. 18

    What did the simple linear regression results indicate about the overall model and the months-employed predictor?

    Model answer

    The overall model was statistically significant, and months employed was also a significant predictor at the 0.05 level.

    Explanation

    The reported overall-model p-value was very small, and the individual p-value for months employed was below 0.05.

  19. 19

    What did adding months employed squared do to the fit of the Reynolds regression model?

    Model answer

    It improved the model fit: the adjusted R2R^2R2 was reported as 88.6%, compared with an R2R^2R2 of 78.1% for the simple linear model.

    Explanation

    The lecture reports better fit after adding the squared term, alongside evidence from residual analysis.

  20. 20

    What evidence supported including the squared months-employed term in the Reynolds model?

    Model answer

    The squared term was statistically significant, with a reported p-value of 0.002, and the overall model was significant.

    Explanation

    The significance of the added term indicated that it contributed to the model at the 0.05 level.

  21. 21

    What does a residual plot that lacks a rectangular pattern suggest about a fitted linear model?

    Model answer

    It may indicate that the model has not captured the relationship adequately and that a curvilinear form may be needed.

    Explanation

    A systematic pattern in residuals can signal that the straight-line specification is missing structure.

  22. 22

    Why did the residual plot for the simple Reynolds model raise concern even though the model was statistically significant?

    Model answer

    The standardized residuals showed a curvilinear pattern rather than a roughly rectangular pattern, suggesting the straight-line form was inadequate.

    Explanation

    A small p-value does not establish that the chosen functional form is appropriate.

  23. 23

    What residual pattern was observed after adding the squared predictor, and what did it suggest?

    Model answer

    The curvilinear pattern was removed, and the residuals appeared more consistent with a rectangular pattern, suggesting an improved model.

    Explanation

    The changed residual pattern supported using the quadratic relationship rather than the simple straight-line form.

  24. 24

    Why should regression model assessment not rely only on R2R^2R2 and p-values?

    Model answer

    Those statistics do not show whether the model’s assumptions and functional form fit the data; residual plots should also be examined.

    Explanation

    Residual analysis can reveal systematic patterns that summary statistics alone may not expose.

  25. 25

    What does a significant overall FFF-test indicate about a regression model?

    Model answer

    It indicates that the regression model as a whole is statistically significant.

    Explanation

    The lecture assesses overall significance using the FFF statistic and its corresponding p-value.

  26. 26

    What does testing an individual coefficient with a ttt-test help determine?

    Model answer

    It helps determine whether the corresponding independent variable is statistically significant in the model.

    Explanation

    The lecture examines individual predictor p-values in addition to the overall-model test.

  27. 27

    How was the 0.05 significance level used to evaluate the Reynolds models?

    Model answer

    A p-value below 0.05 was treated as evidence of statistical significance for the overall model or an individual predictor.

    Explanation

    The lecture uses this threshold when interpreting the overall FFF-test and coefficient tests.

  28. 28

    What role did the standardized residuals play in evaluating the Reynolds regression models?

    Model answer

    They were plotted against predicted values to check for patterns and assess whether the chosen functional form was appropriate.

    Explanation

    The plot helped reveal curvature in the simple model and improvement after adding the squared term.

  29. 29

    In the demonstrated Python workflow, which library was used to fit the ordinary least squares regression?

    Model answer

    The workflow used statsmodels to fit an ordinary least squares model.

    Explanation

    The lecture identifies OLS as the fitting method used for the regression analysis.

  30. 30

    Why was a constant added to the predictor data before fitting the regression model?

    Model answer

    A constant was added so that the regression model would include an intercept.

    Explanation

    The fitted equations shown include a constant term, β0β_0β0​.

  31. 31

    How was the quadratic predictor created in the Python analysis?

    Model answer

    The months-employed variable was squared and included as an additional independent variable alongside the original variable.

    Explanation

    This created a second predictor term for fitting the curvilinear model.

  32. 32

    After fitting the quadratic model in Python, what outputs and diagnostic were examined?

    Model answer

    The model summary was examined for fit and significance statistics, and a standardized-residual plot against predicted values was used as a diagnostic.

    Explanation

    The workflow considered both statistical results and residual behavior when judging the model.

  33. 33

    Why did the analysis begin with a squared term rather than immediately trying higher powers such as a cube?

    Model answer

    The lecture used the square as the initial way to model curvature, while noting that higher powers could also be considered.

    Explanation

    The second-order term was presented as a starting point for investigating a nonlinear pattern.

1 of 33
Question 1 of 33

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent