You are on page 1of 8

ii 11 22 33 44 55 66 77 88

Before 65.8365. 111.151 106.181 91.1291. 97.4397. 135.891 69.4569. 83.3383.


(pg/ml) 83 11.15 06.18 12 43 35.89 45 33
After 77.9277. 129.271 109.721 97.6897. 124.371 147.121 71.1671. 81.2781.
(pg/ml) 92 29.27 09.72 68 24.37 47.12 16 27
99 1010
157.881 74.6974.
57.88 69
164.161
79.51
64.16
SAVE THIS FILE WITH YOUR NAME AND IUU ID: FOR EXAMPLE A.B.IUU
name: souravsingh rawat
id : IUU19MBA173
Sourav.SinghRawat17@iuu.ac
Consider the table below. It shows three performance measures for 10 students.
Develop a least-squares regression equation to predict test score, based on (1) IQ, (2) the number of hours that
studied and (3) both. Interpret R Square for each equation
Assess how well the regression equations predicts test score, the dependent variable.
Assess the contribution of each independent variable (i.e., IQ and study hours) to the prediction.
Are the regression equations best fit?
Are the coefficients of regression lines are significant?
Predict test score if IQ is 98 and Study hours are 18

Study
Student Test score IQ Solution
hours
1 100 125 30 SUMMARY OUTPUT
Interpretation
2 95 104 40
3 92 110 25 Regression Statistics
4 90 105 20 Multiple R 0.8974397 R square is 0.8054. It means 80.54
5 85 100 20 R Square 0.8053981 of variation in test score can be
6 80 100 20 Adjusted R S 0.7810729 explained by IQ.
7 78 95 15 Standard Erro 5.1953136
8 75 95 10 Observations 10
9 72 85 0
10 65 90 5 ANOVA
df SS MS
Corelation Regression 1 893.66973 893.66973
Test score IQ Study hours Residual 8 215.93027 26.991283
Test score 1 Total 9 1109.6
IQ 0.897439748 1
Study hours 0.89321556 0.77107124 1 CoefficientsStandard Error t Stat
Intercept -6.4156589 15.660664 -0.4096671
IQ 0.8881631 0.1543533 5.7540914

Upper 95%
29.697897
1.2441025

Test score = 23.156 + 0.505 * IQ + 0.467 * Hours 1


2

3
3

7
EXAMPLE A.B.IUUID.ASSGN3

Q, (2) the number of hours that the student

n.

SUMMARY OUTPUT
Interpretation Interpretation
Regression Statistics
is 0.8054. It means 80.54% Multiple R 0.8932156 R square is 0.79783. It means 79.78%
ation in test score can be R Square 0.797834 of variation in test score can be
explained by IQ. Adjusted R S 0.7725633 explained by study hours.
Standard Err 5.2953205
Observation 10

ANOVA
F Significance F df SS MS F Significance F
33.109568 0.000427 Regression 1 885.27665 885.27665 31.571448 0.0004992
Residual 8 224.32335 28.040419
Total 9 1109.6

P-value Lower 95% CoefficientsStandard Error t Stat P-value Lower 95%


0.6928001 -42.529215 Intercept 67.646707 3.2351483 20.909925 2.8711E-08 60.186441
0.000427 0.5322237 Study hours 0.8407186 0.1496247 5.6188476 0.0004992 0.4956833

Lower 95.0%Upper 95.0% Upper 95% Lower 95.0%Upper 95.0%


-42.529215 29.697897 75.106972 60.186441 75.106972
0.5322237 1.2441025 1.1857538 0.4956833 1.1857538

Test score = 23.156 + 0.505 * IQ + 0.467 * Hours


R Square 0.9052669
Ho: variation in test score cannot be explained by IQ and study time
H1: variation in test score can be explained by IQ and study time
F critical = 4.7374141
F calculated = 33.4459
F critical < F calculated
Ho is rejected. So, it is the best fit line

Independent variables are IQ and study hours


P-value of IQ = 0.02
HO : Coefficient (IQ) isn’t significant
H1 : Coefficient (IQ) is significant
As P-value (0.00) < 0.05, reject null hypothesis. The coefficient (IQ) is significant.
P-value of study hours = 0.02
HO : Coefficient (study hours) isn’t significant
H1 : Coefficient (study hours) is significant
As P-value (0.00) < 0.05, reject null hypothesis. The coefficient (study hours) is significant)
HO : Regression line is not best fit
H1 : Regression line is best fit
As P-value (0.00) < 0.05, reject null hypothesis. The regression line is the best fit.
P-value of IQ = 0.02
HO : Coefficient (IQ) isn’t significant
H1 : Coefficient (IQ) is significant
As P-value (0.00) < 0.05, reject null hypothesis. The coefficient (IQ) is significant.

P-value of study hours = 0.02


HO : Coefficient (study hours) isn’t significant
H1 : Coefficient (study hours) is significant
As P-value (0.00) < 0.05, reject null hypothesis. The coefficient (study hours) is significant)
Test score = 23.156 + 0.505 * IQ + 0.467 * Hours
Test score = 23.156 + 0.505 * 98 + 0.467 * 18
Test score = 23.156 + 49 + 8.28
Test score = 80.43
SUMMARY OUTPUT
Interpretation
Regression Statistics
Multiple R 0.9514552 R square is 0.9053. It means 90.53%
R Square 0.9052669 of variation in test score can be
Adjusted R S 0.8782003 explained by both IQ and study time.
Standard Err 3.8751185
Observation 10

ANOVA
df SS MS F Significance F
Regression 2 1004.4842 502.2421 33.445918 0.0002617
Residual 7 105.11581 15.016544
Total 9 1109.6

CoefficientsStandard Error t Stat P-value Lower 95%


Intercept 23.156141 15.967179 1.4502337 0.1902779 -14.600238
IQ 0.509434 0.1808094 2.8175192 0.0258652 0.0818877
Study hours 0.4671337 0.1719602 2.716522 0.0299156 0.0605124

Upper 95% Lower 95.0%Upper 95.0%


60.912519 -14.600238 60.912519
0.9369803 0.0818877 0.9369803
0.8737549 0.0605124 0.8737549
s significant)

You might also like