Extra_Question_hw05

Extra_Question_hw05 - 97 and 102 of the Chapter 6 (SLR)....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EXTRA QUESTION FOR 5 EXTRA POINTS For the small dataset given below please produce estimates α,β and full ANOVA Table for simple linear regression (SLR) BY HAND USING ONLY CALCULATOR. You need to show all the work to get a credit. This problem can give you extra 5 points to your grade if it is done correctly. That is it is one of the problems that will definitely be graded. Here is the dataset. We just have n   5 observations g   2 since we have two unknowns: slope α and single intercept β . Please attach it to Homework 05 if you want this extra 5 points. That can make total value of your HW05 21 points instead of standard 16 points. Please staple it as a last page. X Y 6 12 15 13 18 15 20 16 22 20 Values of the estimates that you need to get i.e. a   8 . 4018 and b   0 . 4196 are given below. ANOVA table for SLR that you need to get and estimates are given below so that you can double check the answers . For the formulas please see pages
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 97 and 102 of the Chapter 6 (SLR). > dataslr <- read.table("slr.data.txt",header=TRUE) > > mylm<- lm(Y X, data=dataslr) > summary(mylm) Call: lm(formula = Y X, data = dataslr) Residuals: 1 2 3 4 5 1.0804 -1.6964 -0.9554 -0.7946 2.3661 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 8.4018 2.6434 3.178 0.0502 . 1 X 0.4196 0.1542 2.721 0.0725 .---Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Residual standard error: 1.931 on 3 degrees of freedom Multiple R-squared: 0.7117, Adjusted R-squared: 0.6155 F-statistic: 7.404 on 1 and 3 DF, p-value: 0.07248 > > > anova(mylm) Analysis of Variance Table Response: Y Df Sum Sq Mean Sq F value Pr(>F) X 1 27.613 27.6125 7.4045 0.07248 . Residuals 3 11.188 3.7292---Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 > 2...
View Full Document

Page1 / 2

Extra_Question_hw05 - 97 and 102 of the Chapter 6 (SLR)....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online