Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

DRS 211-Regression Analysis

Assignment 1
Name:Hnin Sabai Khaing
Roll No. PGDRS-10
Date: 28.6.2022

1. Given the values for Y and X, calculate and interpret the standard error of the
estimate.
Y = 5, 6.3, 8, 7.5, 9, 8.1, 8, 8.5, 10
X = 2.6, 3.9, 5, 4.9, 5.2, 5, 5.5, 5, 6

Call:
lm(formula = y ~ x)
Residuals:
Min 1Q Median 3Q Max
-0.81469 -0.28164 -0.01686 0.38314 0.60401
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.1386 0.8791 1.295 0.236354
x 1.3957 0.1802 7.746 0.000112 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 0.5054 on 7 degrees of freedom
Multiple R-squared: 0.8955, Adjusted R-squared: 0.8806
F-statistic: 60 on 1 and 7 DF, p-value: 0.0001119

2. Using the values for X and Y below, determine within what interval 95.5% of
the observations for Y will fall if X = 4.
Y = 5, 4.5, 5.5, 6.2, 7.6, 5.5, 7
X = 1.9, 1.5, 3, 3.8, 4.5, 4, 4
Call:
lm(formula = y ~ x)
Coefficients:
(Intercept) x
3.212 0.829
a. 𝑌̂ = 3.212– 0.829 X
b. If X = 4, 𝑌̂ = 3.212– 0.829 (4) = 3.212-3.316=-0.104

You might also like