Sol:
use vif function from car package to get the VIF
Rcode:
y <- c(12,9,13,14,22,26,25,34,24,37)
x1 <- c(2,5,5,8,7,11,16,20,39,22)
x2 <- c(15,10,13,10,2,8,7,4,8,5)
x3 <- c(5,15,9,12,18,17,23,20,27,30)
library(car)
lmodel <- lm(y~x1+x2+x3)
vif(lmodel)
Output:
x1 x2 x3
3.801879 2.598683 6.560016
ANSWER:
OPTION (A)
eliminate the variable x3,which has a VIF of 6.6.No more variables need to be eliminated
Consider the following set of dependent and independent variables. Using technology, check for the presence of...
Use the accompanying set of dependent and independent variables to complete parts a through c below. Click the icon to view the data set. a) Using technology, construct a multiple regression model with the given data. ŷ= 0 + (x + 0x2 (Round to three decimal places as needed.) Set of dependent and independent variables 10 1 16 у X1 X2 12 5 16 5 16 8 11 22 6 1 26 10 9 30 17 7 350 21 11...
Game Point_Differential Assists Rebounds Turnovers Personal_Fouls 1 15 15 38 11 9 2 36 20 43 8 13 3 16 21 29 7 13 4 45 22 46 11 11 5 12 11 40 7 22 6 -10 10 31 13 26 7 11 19 45 11 7 8 12 16 32 16 14 9 3 16 27 18 15 10 19 9 34 17 17 11 40 16 41 9 17 12 44 12 29 9 22 13 16 ...
A realty company would like to develop a regression model to help set weekly rental rates for beach properties during the summer season. The independent variables for this model will be the size of the property in square feet, the number of bedrooms it has, the number of balthrooms it has, and its age. Use the accompanying data, which are from randomly selected rental properties, to complete parts a through d below EER Click the icon to view the data...
B)y^=? Use the accompanying set of dependent and independent variables to complete parts a through c below. Click the icon to view the data set. a) Using technology, construct a multiple regression model with the given data. y = (( ) + ( x + ( ) x2 (Round to three decimal places as needed.) Х i - Set of dependent and independent variables 46 41 38 38 29 24 22 17 9 У X1 73 63 79 53 44...
a) Construct a regression model using all four independent variables. (Round to three decimal places as needed.) b) Identify the general form of the null and alternative hypotheses. c) Find the test statistic for the coefficient of each independent variable. (Round to two decimal places as needed.) d) Determine the appropriate critical value(s) for α=0.10. (Round to three decimal places as needed.) e) Find the p-value for the coefficient of each independent variable. (Round to three decimal places as needed.)...
Consider the following data for a dependent variable y and two independent variables, 21 and 22. 21 22 30 12 95 47 11 108 25 18 113 51 16 178 40 5 94 52 20 176 74 7 171 36 12 118 59 13 142 77 16 211 Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating y to @i. + 31 Predict y if *1...
Use the following information to answer the questions below: Heat Power is a utility company that would like to predict the monthly heating bill for a household in a particular region during the month of January. A random sample of 18 households in the region were selected and their January heating bill recorded. The data is shown in the table below along with the square footage of the house (SF), the age of the heating system in years (Age), and...
Consider the following data for a dependent variable y and two independent variables, 21 and 22. Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating y to 21. 11 Predict y if x1 = 35. ỹ = b. Develop an estimated regression equation relating y to 22. 12 + Predict y if x2 = 15. c. Develop an estimated regression equation relating y to 31 and...
pmework Consider the following data for a depe dependent variable y and two independent variables, I and 22- Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating y to 31. Predict y if Ij = 45. b. Develop an estimated regression equation relating y to 12. Predict y if x2 = 15. c. Develop an estimated regression equation relating to and Predict y if x =...
Consider the following data for a dependent variable y and two independent variables, a1 and 2 Click on the datafile logo to reference the data. DATA file 30 12 94 47 10 108 25 17 16 112 178 51. 40 94 175 51 19 74 7 170 36 12 13 16 117 59 76 142 211 Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating y...