Question
topic: model selection on applied linear regression
Exercise 5.5.3 LetY (6,8,9,4,4,4,4,4), X1 (3,0,6,2,4,7,0,0), X2 Consider the regression model Y-k) + Xi A +X2β2+ e, e ~ N (0
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Vif values of X1 and X2 are:

> vif (model) x1 x2 1.609938 1.609938

2. Estimates of B1 and B2 and estimated standard deviation

Coefficients: Estimate Std. Error t value Pr( ltI (Intercept) 5.4713 1.41743.860 0.0119 x1 x2 0.2420 -0.2102 0.4081 0.593 0.5

3. Estimated standard deviation: 2.352

Residual standard error: 2.352 on 5 degrees of freedom Multiple R-squared: 0.07385, Adjusted R-squared -0.2966 F-statistic: 0

# R codes:

library(car)

# Creating dataset

y = c(6,8,9,4,4,4,4,4)
x1 = c(3,0,6,2,4,7,0,0)
x2 = c(3,0,6,2,4,7,7,0)
data= data.frame(x1,x2,y)


# Building model
model = lm(y~.,data)
summary(model)
vif(model)

Add a comment
Know the answer?
Add Answer to:
Exercise 5.5.3 LetY (6,8,9,4,4,4,4,4), X1 (3,0,6,2,4,7,0,0), X2 Consider the regression model Y-k...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider a regression model Y = β0 + β1X1 + β2X2 + ε, where X1 is...

    Consider a regression model Y = β0 + β1X1 + β2X2 + ε, where X1 is a numerical variable, and X2 is a dummy variable. Sketch the response curves (the graphs of E(Y ) as a function of X1 for different values of X2), if η0 = 25, β1 = 0.2, and β2 = −12.

  • Consider the regression model y-80 + β1 x1 + β2x2 + e where x1 and x2...

    Consider the regression model y-80 + β1 x1 + β2x2 + e where x1 and x2 are as defined below. x1 = A quantitative variable lifx1 <20 o if x, 220 The estimated regression equation y 25.7 +5.5X +78x2 was obtained from a sample of 30 observations. Complete parts a through d below. a. Provide the estimated regression equation for instances in which x1 20. (Type integers or decimals.) b. Determine the value of y when x, -15. (Type an...

  • Consider the regression model given by: Yi = βo + β1Xi + β2Zi+ ui Suppose that...

    Consider the regression model given by: Yi = βo + β1Xi + β2Zi+ ui Suppose that an econometrician wishes to test the null hypothesis given by: Ho: β1 + β2 = 1 Use this null hypothesis to specify a restricted form of the regression model (in a form that may be estimated using an OLS estimation procedure). State the equation that you could estimate as the restricted version of this model.

  • Consider the regression model given by: Yi = βo + β1Xi + β2Zi+ ui Suppose that...

    Consider the regression model given by: Yi = βo + β1Xi + β2Zi+ ui Suppose that an econometrician wishes to test the null hypothesis given by: Ho: β1 + β2 = 0 Use this null hypothesis to specify a restricted form of the regression model (in a form that may be estimated using an OLS estimation procedure). State the equation that you could estimate as the restricted version of this model.

  • 1. Consider the following model where y denotes the tool life and xi, x2, and tz denote the cutti...

    1. Consider the following model where y denotes the tool life and xi, x2, and tz denote the cutting speed, tool type, and type of cutting oil, respectively. There are two different tool types, A and B, and there are two type of cutting oils, low-viscosity oil and medium-viscosity oil. The two categorical predictors are 1 if type A 1 f low-viscosity oil used defined as *20 if type B and c3 0 if medium-viscosity oil used (a) Interpret the...

  • 1. Consider the following linear regression model: (a) Which assumptions are needed to make the B,...

    1. Consider the following linear regression model: (a) Which assumptions are needed to make the B, unbiased estimators for the B, (b) Explain how one can test the hypothesis that A +As = 0 by means of a t-test. (c) Explain how one can test the hypothesis that A-A-0. Indicate the relevant test statistic. (d) Suppose that ri is an irrelevant explanatory variable in the population model and that you estimate the model including both and r2. What are the...

  • e. Consider the multiple regression model Y = X1?1 + X2?2 + . The Gauss-Markov conditions...

    e. Consider the multiple regression model Y = X1?1 + X2?2 + . The Gauss-Markov conditions hold. Show that Y0 (I ? H)Y = Y0 (I ? H1)Y ? ?ˆ0 2X0 2 (I ? H1)Y. e. Consider the multiple regression model Ý = XiA + X2ß2 + E. The Gauss-Markov conditions hold. show that Y'(l-H)Y-Y'(1-HJY-? (1-H,)Y

  • Consider the following three models: (a) Model 1: Y ~ X1 + X2 + X3 +...

    Consider the following three models: (a) Model 1: Y ~ X1 + X2 + X3 + X4            with AIC = -1234.3 (b) Model 2: Y ~ X1 + X3 + X5+ X7             with AIC = -1279.4   (c) Model 3: Y ~ X2 + X4 + X6 + X7 with AIC = -1189.2 Using the AIC values which model should we select as the best model?

  • A regression model was constructed by regressing Y on 5 explanatory variables, X1, X2, X3, X4,...

    A regression model was constructed by regressing Y on 5 explanatory variables, X1, X2, X3, X4, and X5. There were n = 40 observations (rows) in the data set. In this case, the degrees of freedom (d.f.) for the error term in the model is:

  • Consider a multiple regression model of the dependent variable y on independent variables x1, X2, X3, and x4: Using data with n 60 observations for each of the variables, a student obtains the follow...

    Consider a multiple regression model of the dependent variable y on independent variables x1, X2, X3, and x4: Using data with n 60 observations for each of the variables, a student obtains the following estimated regression equation for the model given: y0.35 0.58x1 + 0.45x2-0.25x3 - 0.10x4 He would like to conduct significance tests for a multiple regression relationship. He uses the F test to determine whether a significant relationship exists between the dependent variable and He uses the t...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT