(a)
ANOVA:
Source | SS | df | MS | F |
Regression | 31.1696-5.8443=25.3253 | 4 | 25.3253/4=6.3313 | 6.3313/0.5313=11.9166 |
Residual | 5.8443 | 15-4=11 | 5.8443/11=0.5313 | |
Total | 31.1696 | 16-1=15 |
(b) Value of F statistic=(14.4380-2.7525)/(5-2))/(14.4380/(16-6))=2.6979
P-value=P(F>2.6979|F~F3,10)= 0.1023(R code: round(1-pf(2.6979,3,10),4)).
Since P-value>0.01, hence X1, X12 and X1X2 are not significant.
(c) AIC=n*log(SSR/n)+2p
BIC=n*log(SSR)+(p-n)log n
where, n=no. of observations, p=no. of explanatory variables.
Model 2:
SSR=14.4380, n=16, p=2 then AIC=16*log(14.4380/16)+2*2=2.3564, BIC=16*log(14.4380)+(2-16)*log(16)=3.9016.
Model 3:
SSR=2.7525, n=16, p=5 then AIC=16*log(2.7525/16)+2*5=-18.1613, BIC=16*log(2.7525)+(5-16)*log(16)=-14.2983.
Model 2 is used.
Oehlert provides data from a small experiment with n = 16 observations on baking packaged cake...
(13 points) Suppose you have a simple linear regression model such that Y; = Bo + B18: +€4 with and N(0,0%) Call: 1m (formula - y - x) Formula: F=MSR/MSE, R2 = SSR/SSTO ANOVA decomposition: SSTOSSE + SSR Residuals: Min 1Q Modian -2.16313 -0.64507 -0.06586 Max 30 0.62479 3.00517 Coefficients: Estimate Std. Error t value Pr(> It) (Intercept) 8.00967 0.36529 21.93 -0.62009 0.04245 -14.61 <2e-16 ... <2e-16 .. Signif. codes: ****' 0.001 '** 0.01 '* 0.05 0.1'' 1 Residual standard...
To investigate the impact of advertising medias (say youtube) on sales, we construct the fol- lowing simple linear regression model Y; = Bo + B12; + &i with std N(0,0%) where Y is the sales and x is advertising budget in thousands of dollars. The summary table is given below: Formula: Call: 1m (formula = sales youtube, data = marketing) Residuals: Min 1Q Median 3Q Max -10.0632 -2.3454 -0.2295 2.4805 8.6548 F=MSR/MSE, R2 = SSR/SSTO ANOVA decomposition: SSTO = SSE...
(a) fill the blank (a),(b),(c),(d), and (e) (b) which model has small test error? justify your answer (c) compute AIC values for two models. Which model has smaller test error ? (d) to use F-test, find a F statistic value and degree of freedom for the test Model 1 (MI): Call: 1m(formula = Y - X1 + X2 + factor (X3) Coefficients: Estimate Std. Error t value (Intercept) 7.1745 4.8418 1.482 0.8049 0.2522 3.192 X2 0.6281 0.2460 2.553 factor (X3)B...
Model II: Table of Parameter Estimates Parameter Estimates Standard Error P-value 12.324 0.0001 3.858 0.0119 0.5550 65.095 31 β2 0.026 0.027 0.017 Model II: ANOVA Table SourceDf SS MS F Value P-value Model (4) 7) (10) (1 0.0162 Error (5) (8) 13.65 Total (6) (9) iv. In a city that has a population of 100,000 people, what is the expected change amount in expenditure (Y) with $1,000 increase in the average annual family income (X2)? Provide an estimate based on...
Consider a multiple linear regression model Y; = Bo + B1Xi1 + B22:2 + 33213 + Blog(x14) + Ej. We have the following statistics for the regression Call: 1m formula = y “ x1 + x2 + x3 + log(x4) Coefficients: Estimate Std. Error t value Pr(>1t|) (Intercept) 154.1928 194.9062 0.791 0.432938 x1 -4.2280 2.0301 -2.083 0.042873 * x2 -6.1353 2.1936 -2.797 0.007508 ** x3 0.4719 0.1285 3.672 0.000626 *** x4 26.7552 9.3374 2.865 0.006259 ** Signif. codes: O '***'...
Consider a multiple linear regression model Y; = Bo + B1Xi1 + B22:2 + 33213 + Blog(x14) + Ej. We have the following statistics for the regression Call: 1m formula = y “ x1 + x2 + x3 + log(x4) Coefficients: Estimate Std. Error t value Pr(>1t|) (Intercept) 154.1928 194.9062 0.791 0.432938 x1 -4.2280 2.0301 -2.083 0.042873 * x2 -6.1353 2.1936 -2.797 0.007508 ** x3 0.4719 0.1285 3.672 0.000626 *** x4 26.7552 9.3374 2.865 0.006259 ** Signif. codes: O '***'...
The following Regression function has been developed to check the relationship between the dependent variable y and the independent variable ?1 . Consider the following Minitab output and answer the questions. Regression Equation ?̂ = ? . ? ? + ? . ? ? x1 a) Please fill out the Coefficients table appropriately. b) Please fill out the ANOVA table appropriately. c) Suppose that variables ?2 ??? ?3 are added to the above model and the following regression analysis is...
The following Regression function has been developed to check the relationship between the dependent variable y and the independent variable ?1 . Consider the following Minitab output and answer the questions. Regression Equation ?̂ = ? . ? ? + ? . ? ? x1 a) Please fill out the Coefficients table appropriately. b) Please fill out the ANOVA table appropriately. c) Suppose that variables ?2 ??? ?3 are added to the above model and the following regression analysis is...
2. Samples of each of three types of stopwatches were tested. 21 watches of type I, 16 watches of tyep II and 11 watches of type III were randomly selected. The cycles (on-off-restart) survied until some part of the mechanism failed were measured. Below shows part of the R output from analyzing these data. Df --.754.4 Sum Sq Mean Sq F value type Residuals 56.7 (a) Complete the ANOVA table. (b) Write the formula for estimating σ2 (using our usual...
Please solve the problems (d),(e),(f),(g) 3. (20 pts) Do not use a computer to complete the answers for this problem. Show your work in all problems. Consider the following data: 2 -2 2 1 0 4 0 2 10 0 -2 8 Consider the multiple regression model where ci ~ iid N(0, σ*) for i 1, 2, 3, 4, 5. (a) Fill in the values for response vector, design matrix and coefficient vector: X- (b) Find the vector of least...