Assignment 4
Assignment 4
Assignment 4
McLayne Bennett ✓
ID: T00707610
Assignment No. 4✓
Submitted to
Dr. John Marasigan
In partial fulfillment of the requirements for
Psychology 2101
TRU–Open Learning
July 21, 2023
Question 1 Mark: 15.5/18
X Y XY
7 83 581
11 92 1012
8 87 696
8 78 624
6 74 444
5 69 345
10 85 850
13 93 1209
4 68 272
9 81 729
49+121+64+64+36+25+100+169+16+81 = 725
81^2 /10 = 656.10
SSx= 725 - 656.10 = 68.90
6889+8464+7569+6084+5476+4761+7225+8649+4624+6561 = 66302
810^2/10 = 65610
SSy= 66302 - 65610= 692
r= 201 / √68.90 (692)
201/218.355 = 0.92
r= 0.92 ✓13/13
B) For a two tailed test with ɑ .05 the critical value for df= 8 would be .632,
therefore the correlation of r= .92 between number of hours of study and
test scores could be considered significant. ✓2/2
A)
B)
For a two-tailed test with an alpha level of .05, the critical score for df=8
is .632. Since our Spearman calculation = 0.89 we can reject the null
hypothesis and state that this correlation between number of hours of study
and test scores is significant. This calculation is similar to the Pearson
formula used above and most likely a bit smaller as we did not use exact
scores. ✓2/2
A)
B)
r^2= 0.0025
A)
Degree (X) Promotion (Y) X(Y)
0 1 0
0 1 0
0 0 0
1 1 1
1 1 1
1 1 1
1 1 1
1 1 1
1 1 1
1 1 1
1 1 1
0 0 0
0 0 0
1 1 1
0 0 0
1 0 0
1 1 1
1 1 1
1 1 1
0 0 0
∑X= 13 ∑Y= 14 ∑X(Y)= 12
SSx= 13 - 169/20 = 4.55
r^2= 0.464
49 3600 420
7 60
16 1600 160
4 40
9 1225 105
3 35
25 2500 250
5 50
1 900 30
1 30
64 4225 520
8 65
36 2025 270
6 45
4 1225 70
2 35
81 4900 630
9 70
A)
b= SP/SSx
b= 307/60.9 = 5.04 ✓
a= My=Mx(b)
C) F = MSregression/MSresidual
SSregression = r^2(SSy)
r=SP/√SSXSSY
= 307/ √ (60.9)(1660)
= 307/317.953
= 0.966
SSregression=r2SSY = (0.966)2 (1660)
= 0.933 (1660)
= 1548.78
SSresidual = (1 – r2)(SSy)
SSresidual = (1 – 0.9662)(1660)
= (1 – 0.933) (1660)
= 111.22
MSregression=SSregression/dfregression
= 1548.78/1
=1548.78
MSresidual=SSresidual /dfresidual
= 111.22/8
= 13.9
F=MSregression/MSresidual
= 1548.78/13.9
= 111.423
With df (1, 8) the critical F value for an alpha level of .05 = 4.84 and the F
value for our regression equation is 204.766. It can be concluded that yes,
the regression equation accounts for a major portion of the variance in the
annual salary. ✓ Additionally, if we look at the r^2 of 96.24% we can also
conclude that a significant portion of the variance is due to the effect that
years employed has on an employee’s salary.