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

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

In regression analysis, what does model building mean?

25 questions

  1. 1

    In regression analysis, what does model building mean?

    1. A

      Developing an estimated equation that describes a dependent variable’s relationship with one or more independent variables

    2. B

      Choosing the dependent variable that produces the largest sample size

    3. C

      Transforming every measured variable until all values are normally distributed

    4. D

      Finding the independent variable that has the highest average value

    Correct answer
    A

    Developing an estimated equation that describes a dependent variable’s relationship with one or more independent variables

    Explanation

    Model building develops an estimated regression equation to describe the relationship between a dependent variable and one or more independent variables.

  2. 2

    Which two central decisions are highlighted in regression model building?

    1. A

      Choosing a plotting method and deciding how to sort the observations

    2. B

      Choosing a sample size and deciding how to code missing observations

    3. C

      Choosing a suitable functional form and selecting which independent variables to include

    4. D

      Selecting a dependent variable and setting the units of measurement

    Correct answer
    C

    Choosing a suitable functional form and selecting which independent variables to include

    Explanation

    The key issues are finding the proper functional form of the relationship and selecting the independent variables to include.

  3. 3

    A dataset contains one dependent variable and kkk candidate independent variables. What is the main objective of using these data in model building?

    1. A

      Ensuring that every independent variable has the same measured units

    2. B

      Including all kkk variables in the equation regardless of their contribution

    3. C

      Developing an estimated equation that provides the best relationship between the dependent and independent variables

    4. D

      Replacing the dependent variable with a summary of the independent variables

    Correct answer
    C

    Developing an estimated equation that provides the best relationship between the dependent and independent variables

    Explanation

    The goal is to use the collected data to develop an estimated regression equation that best describes the relationship between the dependent and independent variables.

  4. 4

    In the general regression form y = eta_0 + eta_1 z_1 + eta_2 z_2 + \cdots + eta_p z_p + \text{error}, what can each zjz_jzj​ represent?

    1. A

      A function of the original variables x1,x2,…,xkx_1, x_2, \ldots, x_kx1​,x2​,…,xk​

    2. B

      A fitted residual calculated after estimating the equation

    3. C

      Only one of the original variables, without any transformation

    4. D

      A coefficient that measures the error variance

    Correct answer
    A

    A function of the original variables x1,x2,…,xkx_1, x_2, \ldots, x_kx1​,x2​,…,xk​

    Explanation

    Each zjz_jzj​ is a function of the original variables for which data were collected; it may be an original variable or a transformed combination such as a squared variable.

  5. 5

    Which statement correctly describes the term “linear” in a general linear regression model?

    1. A

      The residuals must lie along a straight line when plotted against fitted values

    2. B

      The coefficients enter the equation to the first power, even if predictors are transformed

    3. C

      The dependent variable must have a straight-line relationship with every original predictor

    4. D

      Every predictor must enter the equation only to the first power

    Correct answer
    B

    The coefficients enter the equation to the first power, even if predictors are transformed

    Explanation

    “Linear” refers to the coefficients, such as β0,β1,…,βp\beta_0, \beta_1, \ldots, \beta_pβ0​,β1​,…,βp​, entering to the first power. It does not require a straight-line relationship between the response and each original predictor.

  6. 6

    Why can a model containing xxx and x2x^2x2 still be called a linear regression model?

    1. A

      The squared term is treated as an error rather than as a predictor

    2. B

      It is linear in its coefficients, even though the predictor relationship can be curvilinear

    3. C

      A model is linear whenever it contains only one original independent variable

    4. D

      Squaring xxx makes the relationship between the response and xxx a straight line

    Correct answer
    B

    It is linear in its coefficients, even though the predictor relationship can be curvilinear

    Explanation

    A model such as y=β0+β1x+β2x2y = \beta_0 + \beta_1x + \beta_2x^2y=β0​+β1​x+β2​x2 is linear in its coefficients, although its relationship with the original predictor xxx can be curved.

  7. 7

    In the Reynolds example, what were the dependent and independent variables?

    1. A

      Salesperson identity was the dependent variable, and scales sold was the independent variable

    2. B

      Months employed was the dependent variable, and salesperson identity was the independent variable

    3. C

      Scales sold was the dependent variable, and months employed was the independent variable

    4. D

      Months employed was the dependent variable, and scales sold was the independent variable

    Correct answer
    C

    Scales sold was the dependent variable, and months employed was the independent variable

    Explanation

    The company aimed to explain the number of electronic laboratory scales sold using each salesperson’s months of employment.

  8. 8

    How many salespeople were included in the data described for the Reynolds example?

    1. A

      Thirty randomly selected salespeople

    2. B

      Twenty randomly selected salespeople

    3. C

      Fifteen randomly selected salespeople

    4. D

      Ten randomly selected salespeople

    Correct answer
    C

    Fifteen randomly selected salespeople

    Explanation

    The data covered the most recent sales period for 15 randomly selected salespeople.

  9. 9

    What positive pattern did the scatter plot of months employed and scales sold suggest?

    1. A

      Months employed increased only when scales sold decreased

    2. B

      Sales tended to be higher for salespeople with more months of employment

    3. C

      Sales tended to be lower for salespeople with more months of employment

    4. D

      Sales were constant regardless of months of employment

    Correct answer
    B

    Sales tended to be higher for salespeople with more months of employment

    Explanation

    The scatter plot showed a positive trend: as months employed increased, scales sold tended to increase as well.

  10. 10

    In the Python workflow described, what does sm.OLS specify?

    1. A

      An ordinary least squares regression model

    2. B

      A procedure for calculating only the correlation between two variables

    3. C

      A function for converting a predictor into a squared variable

    4. D

      A method for plotting standardized residuals

    Correct answer
    A

    An ordinary least squares regression model

    Explanation

    sm.OLS specifies an ordinary least squares regression model.

  11. 11

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

    1. A

      To convert months employed into a standardized residual

    2. B

      To ensure that the slope coefficient is statistically significant

    3. C

      To allow the regression model to estimate an intercept

    4. D

      To force the fitted line to pass through the origin

    Correct answer
    C

    To allow the regression model to estimate an intercept

    Explanation

    Adding a constant allows the model to estimate an intercept, or constant term, in addition to the slope.

  12. 12

    What was the approximate fitted equation for the initial simple linear regression of scales sold on months employed?

    1. A

      y^=2.37+111.27x\hat{y} = 2.37 + 111.27xy^​=2.37+111.27x

    2. B

      y^=45.3+6.34x\hat{y} = 45.3 + 6.34xy^​=45.3+6.34x

    3. C

      y^=111.27+2.37x\hat{y} = 111.27 + 2.37xy^​=111.27+2.37x

    4. D

      y^=111.27−2.37x\hat{y} = 111.27 - 2.37xy^​=111.27−2.37x

    Correct answer
    C

    y^=111.27+2.37x\hat{y} = 111.27 + 2.37xy^​=111.27+2.37x

    Explanation

    The initial simple regression estimated scales sold at approximately 111.27+2.37111.27 + 2.37111.27+2.37 times months employed.

  13. 13

    What does a small p-value for the regression model’s overall F-test indicate in the Reynolds analysis?

    1. A

      The independent variable must be removed from the equation

    2. B

      The model’s fitted values are necessarily unbiased for every case

    3. C

      Every observation has a residual equal to zero

    4. D

      The overall regression model is statistically significant

    Correct answer
    D

    The overall regression model is statistically significant

    Explanation

    The small p-value for the F-test supports the conclusion that the regression model as a whole is statistically significant.

  14. 14

    What did the small p-value for months employed in the initial model indicate?

    1. A

      The slope for months employed had to equal zero

    2. B

      Months employed was a statistically significant predictor in that model

    3. C

      Months employed had no relationship with scales sold

    4. D

      The model’s residuals were guaranteed to be randomly distributed

    Correct answer
    B

    Months employed was a statistically significant predictor in that model

    Explanation

    The reported p-value for months employed was below the stated 0.05 threshold, indicating that this predictor was statistically significant in the initial model.

  15. 15

    Why did the analysis examine residuals even after finding a significant model and a relatively high R2R^2R2?

    1. A

      Residuals are needed only to calculate the number of independent variables

    2. B

      Residual plots replace the need to estimate regression coefficients

    3. C

      Significance and R2R^2R2 alone do not show whether the model’s functional form is appropriate

    4. D

      A significant model automatically has residuals that form a rectangular pattern

    Correct answer
    C

    Significance and R2R^2R2 alone do not show whether the model’s functional form is appropriate

    Explanation

    The analysis emphasizes that statistical significance and R2R^2R2 are not sufficient by themselves; residual plots can reveal whether the chosen model form is inadequate.

  16. 16

    In the initial residual plot, what quantities were placed on the horizontal and vertical axes?

    1. A

      Standardized residuals on the horizontal axis and observed predictor values on the vertical axis

    2. B

      Observed responses on the horizontal axis and fitted coefficients on the vertical axis

    3. C

      Predicted values on the horizontal axis and standardized residuals on the vertical axis

    4. D

      Independent-variable values on the horizontal axis and predicted values on the vertical axis

    Correct answer
    C

    Predicted values on the horizontal axis and standardized residuals on the vertical axis

    Explanation

    The residual plot placed fitted or predicted response values on the horizontal axis and standardized residuals on the vertical axis.

  17. 17

    What did the curved pattern in the initial standardized residual plot suggest?

    1. A

      The model had no statistically significant predictors

    2. B

      The residuals proved that the relationship was exactly linear

    3. C

      The relationship might be curvilinear, so a straight-line form may be inadequate

    4. D

      The dependent and independent variables had been interchanged

    Correct answer
    C

    The relationship might be curvilinear, so a straight-line form may be inadequate

    Explanation

    A curved residual pattern suggested that the linear model had not captured a possible curvilinear relationship between months employed and scales sold.

  18. 18

    What kind of residual pattern was considered evidence that the curvilinear model had improved the fit?

    1. A

      A steadily increasing curve across all predicted values

    2. B

      A pattern in which residuals formed two separated horizontal bands

    3. C

      A roughly rectangular pattern without the earlier curved structure

    4. D

      A line in which every residual was positive

    Correct answer
    C

    A roughly rectangular pattern without the earlier curved structure

    Explanation

    After adding the squared predictor, the residual plot no longer showed the earlier curvilinear pattern and appeared more consistent with a roughly rectangular distribution.

  19. 19

    Why was the evidence for curvature in the initial plot treated with some caution?

    1. A

      The dependent variable had not been measured in months

    2. B

      The dataset was small, so the apparent pattern was not conclusive

    3. C

      The initial model had no estimated intercept

    4. D

      The plot contained too many observations to identify any trend

    Correct answer
    B

    The dataset was small, so the apparent pattern was not conclusive

    Explanation

    The lecture noted that the dataset contained relatively few observations, making the apparent curvilinear pattern suggestive rather than definitive.

  20. 20

    How was the nonlinear pattern represented in the revised regression model?

    1. A

      By removing months employed and keeping only the intercept

    2. B

      By adding the predicted sales values as a second dependent variable

    3. C

      By adding months employed squared as another independent variable

    4. D

      By replacing months employed with the model’s residuals

    Correct answer
    C

    By adding months employed squared as another independent variable

    Explanation

    The model retained months employed and added its square as another predictor, allowing the fitted relationship with the original variable to curve.

  21. 21

    Which equation matches the approximate second-order model described for the Reynolds data?

    1. A

      y^=45.3+6.34x−0.0345x2\hat{y} = 45.3 + 6.34x - 0.0345x^2y^​=45.3+6.34x−0.0345x2

    2. B

      y^=45.3+6.34x+0.0345x2\hat{y} = 45.3 + 6.34x + 0.0345x^2y^​=45.3+6.34x+0.0345x2

    3. C

      y^=45.3−6.34x+0.0345x2\hat{y} = 45.3 - 6.34x + 0.0345x^2y^​=45.3−6.34x+0.0345x2

    4. D

      y^=111.27+2.37x−0.0345x2\hat{y} = 111.27 + 2.37x - 0.0345x^2y^​=111.27+2.37x−0.0345x2

    Correct answer
    A

    y^=45.3+6.34x−0.0345x2\hat{y} = 45.3 + 6.34x - 0.0345x^2y^​=45.3+6.34x−0.0345x2

    Explanation

    The reported second-order equation included a positive linear term and a negative squared term: approximately 45.3+6.34x−0.0345x245.3 + 6.34x - 0.0345x^245.3+6.34x−0.0345x2.

  22. 22

    What did the reported p-values for months employed and months employed squared indicate in the second-order model?

    1. A

      Both terms were statistically significant at the 0.05 level

    2. B

      Only the linear term was statistically significant at the 0.05 level

    3. C

      Neither term was statistically significant at the 0.05 level

    4. D

      Only the squared term was statistically significant at the 0.05 level

    Correct answer
    A

    Both terms were statistically significant at the 0.05 level

    Explanation

    The lecture reported p-values below 0.05 for both the linear months term and its squared term, with the squared term’s p-value given as 0.002.

  23. 23

    What was the reported adjusted R2R^2R2 for the second-order model?

    1. A

      Approximately 2.0%

    2. B

      Approximately 88.6%

    3. C

      Approximately 50.0%

    4. D

      Approximately 78.1%

    Correct answer
    B

    Approximately 88.6%

    Explanation

    The lecture reported an adjusted R2R^2R2 of 88.6% for the second-order model.

  24. 24

    How did the second-order model’s residual plot compare with the initial linear model’s plot?

    1. A

      The curved pattern was removed, supporting the improved model form

    2. B

      The curved pattern became stronger, supporting removal of the squared term

    3. C

      The residual plot no longer provided any information about model fit

    4. D

      The residuals became identical to the predicted values

    Correct answer
    A

    The curved pattern was removed, supporting the improved model form

    Explanation

    The revised model’s residual plot no longer showed the earlier curvilinear pattern, supporting the use of the squared term for these data.

  25. 25

    Why did the lecture use a squared predictor as the first nonlinear extension rather than immediately trying higher powers?

    1. A

      It required higher powers to be excluded whenever the sample contains 15 observations

    2. B

      It stated that squared predictors are the only transformations permitted in regression

    3. C

      It showed that a squared predictor always produces the best possible model

    4. D

      It presented the square as a starting point for modeling curvature, while noting that higher powers could also be considered

    Correct answer
    D

    It presented the square as a starting point for modeling curvature, while noting that higher powers could also be considered

    Explanation

    The lecture noted that one could also try powers such as three, four, or five, but used the square as an initial way to represent curvature.

Question 1 of 25
Question 1 of 25

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent