Docsity

Practice Problems Homework 1 - Regression Methods | STAT 501, Assignments of Statistics

Toggle sidebar
bg1
Stat 501 Homework
1. The following output relates the logarithm of the selling price of a home to the logarithm of the square
foot area of the home, the number of bedrooms, and the size of the garage.
Predictor Coef SE Coef T P
Constant 1.6173 0.1317 12.28 0.000
logarea 1.09866 0.04385 25.05 0.000
Bedrooms 0.002042 0.004956 0.41 0.680
CarGarag 0.053072 0.007411 7.16 0.000
Analysis of Variance
Source DF SS MS F P
Regression 3 13.7591 4.5864 533.15 0.000
Residual Error 517 4.4474 0.0086
Total 520 18.2065
A. Interpret the result of the t-test for the coefficient multiplying “Bedrooms” in the model. State a null
hypothesis and write a conclusion in the context of this situation.
B. Interpret the results of the F-test in the analysis of variance. State a null hypothesis and give a
conclusion in the context of this situation.
2. Suppose that four x-variables are candidates to be in a model for predicting y. Sum of squared
error (SSE) values for all possible models are:
Model SSE Model SSE Model SSE
x1 1500 x1, x2 1100 x1, x2, x3 540
x2 1250 x1, x3 880 x2, x3, x4 610
x3 970 x1, x4 660 x1, x2, x4 590
x4 1000 x2, x3 700 x1, x3, x4 630
x2, x4 900 x1, x2, x3, x4 500
x3, x4 730
A. Consider a forward selection stepwise procedure. List the sequence of models that will be
selected. Don’t worry about significance testing or a stopping rule. Write a model by listing the
variables in the model.
Step 1:
Step 2:
Step 3:
Step 4: x1, x2, x3, x4
B. Consider a backward elimination procedure. List the sequence of models that will be selected.
Again, don’t about significance testing or a stopping rule. Write a model by listing the variables
in the model.
Step 1: x1, x2, x3, x4
Step 2:
Step 3:
Step 4:
pf2

Partial preview of the text

Download Practice Problems Homework 1 - Regression Methods | STAT 501 and more Assignments Statistics in PDF only on Docsity!

Stat 501 Homework

1. The following output relates the logarithm of the selling price of a home to the logarithm of the square foot area of the home, the number of bedrooms, and the size of the garage.

Predictor Coef SE Coef T P Constant 1.6173 0.1317 12.28 0. logarea 1.09866 0.04385 25.05 0. Bedrooms 0.002042 0.004956 0.41 0. CarGarag 0.053072 0.007411 7.16 0.

Analysis of Variance Source DF SS MS F P Regression 3 13.7591 4.5864 533.15 0. Residual Error 517 4.4474 0. Total 520 18.

A. Interpret the result of the t-test for the coefficient multiplying “Bedrooms” in the model. State a null hypothesis and write a conclusion in the context of this situation.

B. Interpret the results of the F-test in the analysis of variance. State a null hypothesis and give a conclusion in the context of this situation.

2. Suppose that four x-variables are candidates to be in a model for predicting y. Sum of squared

error (SSE) values for all possible models are:

Model SSE Model SSE Model SSE

x1 1500 x1, x2 1100 x1, x2, x3 540

x2 1250 x1, x3 880 x2, x3, x4 610

x3 970 x1, x4 660 x1, x2, x4 590

x4 1000 x2, x3 700 x1, x3, x4 630

x2, x4 900 x1, x2, x3, x4 500

x3, x4 730

A. Consider a forward selection stepwise procedure. List the sequence of models that will be

selected. Don’t worry about significance testing or a stopping rule. Write a model by listing the

variables in the model.

Step 1:

Step 2:

Step 3:

Step 4: x1, x2, x3, x

B. Consider a backward elimination procedure. List the sequence of models that will be selected.

Again, don’t about significance testing or a stopping rule. Write a model by listing the variables

in the model.

Step 1: x1, x2, x3, x

Step 2:

Step 3:

Step 4:

C. Suppose that SSTO = 1920 and n = 25. Calculate each of the following: (i) Mean squared error (MSE) for the model that includes the predictors x1, x2, x3, x

(ii) R (^2) adjfor the model that includes only x1 and x

(iii) C (^) pfor the model that includes only x1 and x

3. Three different soil treatments are compared in an agricultural experiment. Each treatment is used in twenty fields (60 fields in all). The response variable is y = crop yield. A useful predictor is X = crop yield in the field last year. Indicator variables (for treatments) can be defined as T1 = 1 if treatment 1, 0 otherwise T2 = 1 if treatment 2, 0 otherwise

Consider this regression equation for the mean of Y: E(Y) = β 0 + β 1 X +β 2 T1 + β 3 T2.

A. For fields in which treatment 1 is used, what are the values of T1 and T2? Substitute these values into the regression model to determine the equation for E(Y) if treatment 1 is used.

B. Repeat part A for treatment 2.

C. Repeat part A for treatment 3.

D. Using the answers to parts A-C, explain what each of these parameters measures: (1) β 1 (2) β 2 (3) β 3.

E. Suppose that we will test H (^) o :β 2 =β 3 = 0. In the context of this situation, explain what it would mean

if we fail to reject this null hypothesis. Explain what it would mean if we reject this null hypothesis

F. Briefly explain how you would carry out the test of the null hypothesis given in the previous part.

G. Suppose that we will test H (^) o :β 1 = 0. In the context of this situation, explain what it would mean if we

fail to reject this null hypothesis. Explain what it would mean if we reject this null hypothesis

H. Suppose that we think there might be interaction between treatments and the variable X (last year’s crop yield). Write the appropriate equation for E(Y).