Regression Model Building
- 25Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
In regression analysis, what does model building mean?
In regression analysis, what does model building mean?
25 questions
- 1
In regression analysis, what does model building mean?
- A
Developing an estimated equation that describes a dependent variable’s relationship with one or more independent variables
- B
Choosing the dependent variable that produces the largest sample size
- C
Transforming every measured variable until all values are normally distributed
- D
Finding the independent variable that has the highest average value
Correct answer
ADeveloping 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.
- A
- 2
Which two central decisions are highlighted in regression model building?
- A
Choosing a plotting method and deciding how to sort the observations
- B
Choosing a sample size and deciding how to code missing observations
- C
Choosing a suitable functional form and selecting which independent variables to include
- D
Selecting a dependent variable and setting the units of measurement
Correct answer
CChoosing 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.
- A
- 3
A dataset contains one dependent variable and k candidate independent variables. What is the main objective of using these data in model building?
- A
Ensuring that every independent variable has the same measured units
- B
Including all k variables in the equation regardless of their contribution
- C
Developing an estimated equation that provides the best relationship between the dependent and independent variables
- D
Replacing the dependent variable with a summary of the independent variables
Correct answer
CDeveloping 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.
- A
- 4
In the general regression form y = eta_0 + eta_1 z_1 + eta_2 z_2 + [0m\cdots + eta_p z_p + \text{error}, what can each zj represent?
- A
A function of the original variables x1,x2,…,xk
- B
A fitted residual calculated after estimating the equation
- C
Only one of the original variables, without any transformation
- D
A coefficient that measures the error variance
Correct answer
AA function of the original variables x1,x2,…,xk
Explanation
Each zj 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.
- A
- 5
Which statement correctly describes the term “linear” in a general linear regression model?
- A
The residuals must lie along a straight line when plotted against fitted values
- B
The coefficients enter the equation to the first power, even if predictors are transformed
- C
The dependent variable must have a straight-line relationship with every original predictor
- D
Every predictor must enter the equation only to the first power
Correct answer
BThe coefficients enter the equation to the first power, even if predictors are transformed
Explanation
“Linear” refers to the coefficients, such as β0,β1,…,βp, entering to the first power. It does not require a straight-line relationship between the response and each original predictor.
- A
- 6
Why can a model containing x and x2 still be called a linear regression model?
- A
The squared term is treated as an error rather than as a predictor
- B
It is linear in its coefficients, even though the predictor relationship can be curvilinear
- C
A model is linear whenever it contains only one original independent variable
- D
Squaring x makes the relationship between the response and x a straight line
Correct answer
BIt is linear in its coefficients, even though the predictor relationship can be curvilinear
Explanation
A model such as y=β0+β1x+β2x2 is linear in its coefficients, although its relationship with the original predictor x can be curved.
- A
- 7
In the Reynolds example, what were the dependent and independent variables?
- A
Salesperson identity was the dependent variable, and scales sold was the independent variable
- B
Months employed was the dependent variable, and salesperson identity was the independent variable
- C
Scales sold was the dependent variable, and months employed was the independent variable
- D
Months employed was the dependent variable, and scales sold was the independent variable
Correct answer
CScales 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.
- A
- 8
How many salespeople were included in the data described for the Reynolds example?
- A
Thirty randomly selected salespeople
- B
Twenty randomly selected salespeople
- C
Fifteen randomly selected salespeople
- D
Ten randomly selected salespeople
Correct answer
CFifteen randomly selected salespeople
Explanation
The data covered the most recent sales period for 15 randomly selected salespeople.
- A
- 9
What positive pattern did the scatter plot of months employed and scales sold suggest?
- A
Months employed increased only when scales sold decreased
- B
Sales tended to be higher for salespeople with more months of employment
- C
Sales tended to be lower for salespeople with more months of employment
- D
Sales were constant regardless of months of employment
Correct answer
BSales 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.
- A
- 10
In the Python workflow described, what does
sm.OLSspecify?- A
An ordinary least squares regression model
- B
A procedure for calculating only the correlation between two variables
- C
A function for converting a predictor into a squared variable
- D
A method for plotting standardized residuals
Correct answer
AAn ordinary least squares regression model
Explanation
sm.OLSspecifies an ordinary least squares regression model. - A
- 11
Why was a constant added to the predictor data before fitting the simple regression model?
- A
To convert months employed into a standardized residual
- B
To ensure that the slope coefficient is statistically significant
- C
To allow the regression model to estimate an intercept
- D
To force the fitted line to pass through the origin
Correct answer
CTo 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.
- A
- 12
What was the approximate fitted equation for the initial simple linear regression of scales sold on months employed?
- A
y^=2.37+111.27x
- B
y^=45.3+6.34x
- C
y^=111.27+2.37x
- D
y^=111.27−2.37x
Correct answer
Cy^=111.27+2.37x
Explanation
The initial simple regression estimated scales sold at approximately 111.27+2.37 times months employed.
- A
- 13
What does a small p-value for the regression model’s overall F-test indicate in the Reynolds analysis?
- A
The independent variable must be removed from the equation
- B
The model’s fitted values are necessarily unbiased for every case
- C
Every observation has a residual equal to zero
- D
The overall regression model is statistically significant
Correct answer
DThe 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.
- A
- 14
What did the small p-value for months employed in the initial model indicate?
- A
The slope for months employed had to equal zero
- B
Months employed was a statistically significant predictor in that model
- C
Months employed had no relationship with scales sold
- D
The model’s residuals were guaranteed to be randomly distributed
Correct answer
BMonths 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.
- A
- 15
Why did the analysis examine residuals even after finding a significant model and a relatively high R2?
- A
Residuals are needed only to calculate the number of independent variables
- B
Residual plots replace the need to estimate regression coefficients
- C
Significance and R2 alone do not show whether the model’s functional form is appropriate
- D
A significant model automatically has residuals that form a rectangular pattern
Correct answer
CSignificance and R2 alone do not show whether the model’s functional form is appropriate
Explanation
The analysis emphasizes that statistical significance and R2 are not sufficient by themselves; residual plots can reveal whether the chosen model form is inadequate.
- A
- 16
In the initial residual plot, what quantities were placed on the horizontal and vertical axes?
- A
Standardized residuals on the horizontal axis and observed predictor values on the vertical axis
- B
Observed responses on the horizontal axis and fitted coefficients on the vertical axis
- C
Predicted values on the horizontal axis and standardized residuals on the vertical axis
- D
Independent-variable values on the horizontal axis and predicted values on the vertical axis
Correct answer
CPredicted 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.
- A
- 17
What did the curved pattern in the initial standardized residual plot suggest?
- A
The model had no statistically significant predictors
- B
The residuals proved that the relationship was exactly linear
- C
The relationship might be curvilinear, so a straight-line form may be inadequate
- D
The dependent and independent variables had been interchanged
Correct answer
CThe 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.
- A
- 18
What kind of residual pattern was considered evidence that the curvilinear model had improved the fit?
- A
A steadily increasing curve across all predicted values
- B
A pattern in which residuals formed two separated horizontal bands
- C
A roughly rectangular pattern without the earlier curved structure
- D
A line in which every residual was positive
Correct answer
CA 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.
- A
- 19
Why was the evidence for curvature in the initial plot treated with some caution?
- A
The dependent variable had not been measured in months
- B
The dataset was small, so the apparent pattern was not conclusive
- C
The initial model had no estimated intercept
- D
The plot contained too many observations to identify any trend
Correct answer
BThe 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.
- A
- 20
How was the nonlinear pattern represented in the revised regression model?
- A
By removing months employed and keeping only the intercept
- B
By adding the predicted sales values as a second dependent variable
- C
By adding months employed squared as another independent variable
- D
By replacing months employed with the model’s residuals
Correct answer
CBy 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.
- A
- 21
Which equation matches the approximate second-order model described for the Reynolds data?
- A
y^=45.3+6.34x−0.0345x2
- B
y^=45.3+6.34x+0.0345x2
- C
y^=45.3−6.34x+0.0345x2
- D
y^=111.27+2.37x−0.0345x2
Correct answer
Ay^=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.0345x2.
- A
- 22
What did the reported p-values for months employed and months employed squared indicate in the second-order model?
- A
Both terms were statistically significant at the 0.05 level
- B
Only the linear term was statistically significant at the 0.05 level
- C
Neither term was statistically significant at the 0.05 level
- D
Only the squared term was statistically significant at the 0.05 level
Correct answer
ABoth 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.
- A
- 23
What was the reported adjusted R2 for the second-order model?
- A
Approximately 2.0%
- B
Approximately 88.6%
- C
Approximately 50.0%
- D
Approximately 78.1%
Correct answer
BApproximately 88.6%
Explanation
The lecture reported an adjusted R2 of 88.6% for the second-order model.
- A
- 24
How did the second-order model’s residual plot compare with the initial linear model’s plot?
- A
The curved pattern was removed, supporting the improved model form
- B
The curved pattern became stronger, supporting removal of the squared term
- C
The residual plot no longer provided any information about model fit
- D
The residuals became identical to the predicted values
Correct answer
AThe 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.
- A
- 25
Why did the lecture use a squared predictor as the first nonlinear extension rather than immediately trying higher powers?
- A
It required higher powers to be excluded whenever the sample contains 15 observations
- B
It stated that squared predictors are the only transformations permitted in regression
- C
It showed that a squared predictor always produces the best possible model
- D
It presented the square as a starting point for modeling curvature, while noting that higher powers could also be considered
Correct answer
DIt 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.
- A

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