Tribhuvan University
Level: BIT 2nd semester Amrit Campus Date: 7/2/2019
Roll No: Basic Statistics
Practical 6
A B C D E F G H I J K L
1 Problem: Calculate Karl Pearson's Correlation Coefficient, test its significance and find the limits of Population Correlation Coeffiecient.
2 Find coefficient of determination.
3
4 Age of
husband Age of wife
5 24 23
6 22 20
7 35 30
8 35 28
9 23 20
10 31 26
11 33 23
12 33 20
13 21 21
14 30 30
15 27 27
16 25 20
17 25 20
18 24 23
19 34 25
20 33 23
21 33 27
22 30 27
23 19 19
24 32 19
25 21 18
26 35 23
27 27 22
28 19 19
29
30 Working Expressions:
31
32 Probable Error = P.E = 0.6745*(1-r2) /SQRT(n)
33 Lower Limit of Population Correlation Coefficient = r - P.E
34 Upper Limit of Population Correlation Coefficient = r + P.E
35 Coefficient of Determination = r2
36
37 SPSS Syntax:
38
39 DATASET ACTIVATE DataSet0.
40 CROSSTABS
41 /TABLES=Ageofhusband BY Ageofwife
42 /FORMAT=AVALUE TABLES
43 /STATISTICS=CORR
44 /CELLS=COUNT
45 /COUNT ROUND CELL.
46
47
48 DATASET ACTIVATE DataSet0.
49 CROSSTABS
50 /TABLES=Ageofhusband BY Ageofwife
51 /FORMAT=AVALUE TABLES
52 /STATISTICS=CORR
53 /CELLS=COUNT
54 /COUNT ROUND CELL.
55
56 CORRELATIONS
57 /VARIABLES=Ageofhusband Ageofwife
58 /PRINT=TWOTAIL NOSIG
59 /MISSING=PAIRWISE.
60
61
62
63 Calculation:
64
65
66 cases symbol value formula note
Name: 1 of3
Tribhuvan University
Level: BIT 2nd semester Amrit Campus Date: 7/2/2019
Roll No: Basic Statistics
Practical 6
A B C D E F G H I J K L
67 number of =COUNT(A5
obs. n 24 :A28)
=CORREL(A
68 Correlation 5:A28,B5:B2 Using excel
Coefficient r 0.61982938 8) Formula
69 Age of Using Data
husband Age of wife Analysis
70 Age of
husband 1
71 Age of wife 0.61982938 1
72
=0.6745*(1-
73 Probable C68^2)/
Error P.E 0.084786 SQRT(C67)
74
=IF(C73>C6
8,"it is
insignificant
75 ",IF(6*C73<
C68,"it is
significant",
"No
it is Conclusion"
Decision significant ))
76
77 Limits of Population Correlation Coefficient:
78 Lower Limit 0.53504337 =C68-C73
79 Upper Limit 0.70461538 =C68+C73
80
Coefficient
81 of
determinati
on r2 0.38418846 =C68^2
82
83 i.e. 38.42% of the variation is presented by the regression among total variation in the data.
84
85
86
87 Using SPSS:
88
89 Table 1:
90
91 Symmetric Measures
Approximat
92 Asymptotic e
Standard Approximate Significanc
Value Errora
T b
e
Interval by Pearson's R 0.620 0.116 3.705 .001c
93 Interval
Ordinal by Spearman 0.638 0.133 3.882 .001c
94 Ordinal Correlation
95 N of Valid Cases 24
96 a. Not assuming the null hypothesis.
97 b. Using the asymptotic standard error assuming the null hypothesis.
98 c. Based on normal approximation.
99
100
101
102
103
104
105
106
107
108
109
110 Table 2:
111
112 Correlations
Name: 2 of3
Tribhuvan University
Level: BIT 2nd semester Amrit Campus Date: 7/2/2019
Roll No: Basic Statistics
Practical 6
A B C D E F G H I J K L
113 Age of
husband Age of wife
Age of Pearson 1 .620**
114 husband Correlation
115 Sig. (2-tailed) 0.001
116 N 24 24
Age of wife Pearson .620** 1
117 Correlation
118 Sig. (2-tailed) 0.001
119 N 24 24
120 **. Correlation is significant at the 0.01 level (2-tailed).
121
122
123 Result:
124 Thus by using excel data analysis method and spss , the karl peason's coefficient is determined to be 0.6198. Also it is found to be
125 significant as (6*PE < r). Similarly limits of population correlation coefficient is found to be (0.5350, 0.7046) . Also coefficient of
126 determination is found to be 0.3841
Name: 3 of3