Question

In: Statistics and Probability

Ten observations on the response variable y associated with two regressor variables x1 and x2 are...

Ten observations on the response variable y associated with two regressor variables x1 and x2 are given in the following table. The model fitted to these observations is yi = β 0 + β 1x1i + β 2x2i + εi , i = 1, …, n , (3) where ε’s are identically and independently distributed as a normal random variable with mean zero and a known variance σ ^2 = 3. Observation # y x1 x2 1 7 9 1 2 8 6 1 3 5 7 1 4 3 8 1 5 2 5 1 6 10 7 -1 7 9 6 -1 8 10 3 -1 9 9 4 -1 10 8 4 -1 a) Test the null hypothesis that there is no difference between the y-intercept for x2 = 1 and the y-intercept for x2 = -1 at a statistical significance level of 0.05. b) Now fit Model (4) to the 10 observations.

Solutions

Expert Solution

a)

The regression equation is defined as,

For X = 1, the regression analysis is done in excel by following steps,

Step 1: Write the data values in excel. The screenshot is shown below,

Step 2: DATA > Data Analysis > Regression > OK. The screenshot is shown below,

Step 3: Select Input Y Range: 'y' column, Input X Range: 'x1' column then OK. The screenshot is shown below,

The result is obtained. The screenshot is shown below,

The slope coefficient is,

Similarly, the slope coefficient for X = -1 is obtained in excel by following steps,

Step 1: Write the data values in excel. The screenshot is shown below,

Step 2: DATA > Data Analysis > Regression > OK.

Step 3: Select Input Y Range: 'y' column, Input X Range: 'x' column then OK.

The result is obtained. The screenshot is shown below,

The slope coefficient is,

Now, the hypothesis is tested by calcuating t-value and corresponding p-value as shown below,

Null Hypothesis:

Alternate Hypothesis:

The t value is obtained using the formula,

The P-value is obtained using the excel function =T.DIST.2T(x,deg_freedom) where x is the t value degree of freedom = N-1=5-1=4.

The P-value = 0.642007 is greater than 0.05 at 5% significance level. Hence the null hypothesis cannot be rejected. Now we can state that there is a statistically significant evidence that

b)

Now, the multiple regression analysis is done in excel by following steps

Step 1: Write the data values in excel. The screenshot is shown below,

Step 2: DATA > Data Analysis > Regression > OK.

Step 3: Select Input Y Range: 'y' column, Input X Range: 'x1' and 'x2' column then OK.

The result is obtained. The screenshot is shown below,

The regression equation is,


Related Solutions

Consider a binary response variable y and two explanatory variables x1 and x2. The following table...
Consider a binary response variable y and two explanatory variables x1 and x2. The following table contains the parameter estimates of the linear probability model (LPM) and the logit model, with the associated p-values shown in parentheses. Variable LPM Logit Constant −0.40 −2.20 (0.03 ) (0.01 ) x1 0.32 0.98 (0.04 ) (0.06 ) x2 −0.04 −0.20 (0.01 ) (0.01 ) a. At the 5% significance level, comment on the significance of the variables for both models. Variable LPM Logit...
Consider the following data for a dependent variable y and two independent variables, x2 and x1....
Consider the following data for a dependent variable y and two independent variables, x2 and x1. x1 x2 y 30 12 94 46 10 109 24 17 113 50 17 179 41 5 94 51 19 175 75 8 171 36 12 118 59 13 143 77 17 212 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 x1 . Predict y if x1=45....
Consider the following data for a dependent variable y and two independent variables, x1 and x2.
You may need to use the appropriate technology to answer this question. Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 93 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 211 The estimated regression equation for these data is ŷ = −18.89 + 2.02x1 + 4.74x2. Here, SST = 15,276.0,...
Consider the following data for a dependent variable y and two independent variables, x1 and x2....
Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 94 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 209 The estimated regression equation for these data is ŷ = −17.02 + 1.99x1 + 4.70x2. Here, SST = 14,902.9, SSR = 13,773.1, sb1 = 0.2470, and sb2 = 0.9480. (1a) Test...
Consider the following data for a dependent variable y and two independent variables, x1 and x2....
Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 13 95 46 10 108 25 18 113 50 16 179 40 5 95 51 20 176 74 7 170 36 12 117 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 x1. ŷ =_________ +___________ x1 Predict...
Consider the following data for a dependent variable y and two independent variables, x1 and x2....
Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 95 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 212 The estimated regression equation for these data is ŷ = −18.52 + 2.01x1 + 4.75x2. Here, SST = 15,234.1, SSR = 14,109.8, sb1 = 0.2464, and sb2 = 0.9457. (a)Test for...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and X3) in the data file. Select and use one independent variable throughout this analysis. Use Excel to perform the regression and correlation analysis to answer the following. Generate a scatterplot for the specified dependent variable (Y) and the selected independent variable (X), including the graph of the "best fit" line. Interpret. Determine the equation of the "best fit" line, which describes the relationship between...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and X3) in the data file. Select and use one independent variable throughout this analysis. Use Excel to perform the regression and correlation analysis to answer the following. The week 6 spreadsheet can be helpful in this work. 1. Generate a scatterplot for the specified dependent variable (Y) and the selected independent variable (X), including the graph of the "best fit" line. Interpret. 2 Determine...
Let X1 and X2 be two observations on an iid random variable drawn from a population...
Let X1 and X2 be two observations on an iid random variable drawn from a population with mean μ and variance σ2 (for example, the random variable could be income; X1 could be person 1’s income and X2, person 2’s income). Which of the following is an unbiased estimator of mean income? All of these are unbiased estimators of mean income. 23X1+13X2 15X1+45X2 Which of the following is the “best” (that is, least-variance) estimator of mean income? 15X1+45X2 23X1+13X2 All...
A MLR model have LIFE (y) as the response variable, and MALE (x1), BIRTH (x2), DIVO...
A MLR model have LIFE (y) as the response variable, and MALE (x1), BIRTH (x2), DIVO (x3), BEDS (x4), EDUC (x5), and INCO (x6), as predictors. I know you can use first fit the model using lm(y~x) then use anova(model) to check the SSreg,my question is, what is the difference between  SSreg(β2|β0,β3) and SSreg(β1|β0,β3,β2)? What should you put as the argument of lm() function with respect to (β2|β0,β3) and (β1|β0,β3,β2)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT