-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cor_test_genre.R
36 lines (33 loc) · 2.33 KB
/
Cor_test_genre.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
df1 = c(-0.019, -0.019, 0.046, -0.075, 0.142, 0.08, -0.015, 0.13, 0.117,
0.114, 0.23, 0.084, 0.139, 0.132, -0.032, 0.131, 0.021, -0.033,
-0.026, -0.085, -0.043, -0.058, 0.037, 0.028, -0.102, -0.048, -0.067,
-0.016, -0.014, 0.02, -0.047, 0.059, -0.13, -0.108, 0.045, -0.005,
0.106, 0.03, 0.015, -0.085, -0.022, -0.136, 0.039, 0.06, 0.005, -0.102,
0.066, 0.041, 0.005, 0.038, -0.111, -0.01, 0.064, -0.148, -0.049,
-0.07, -0.09, 0.07, 0.008, -0.07, -0.032, -0.006, 0.062, -0.056, 0.101,
-0.073, -0.053, -0.074, 0.005, 0.018, -0.017, -0.058, 0.027, 0.003,
0.036, 0.014, -0.062, -0.015, 0.028, -0.054, 0.049, 0.061, -0.064,
0.035, -0.039, -0.014, 0.101, 0.129, 0.04, -0.03)
df2 = c(-0.004, -0.011, 0.106, -0.104, 0.105, 0.038, 0.046, 0.167, 0.126,
0.217, 0.231, 0.06, 0.106, 0.17, -0.008, 0.116, 0, -0.044,
-0.009, -0.065, -0.031, 0.016, -0.053, -0.06, -0.059, -0.046,
-0.073, -0.009, -0.114, 0.024, -0.025, -0.007, -0.103, -0.165,
0.005, -0.012, 0.065, 0.108, 0.038, -0.102, -0.184, -0.146, 0.025,
0.032, 0.005, -0.054, -0.04, -0.019, -0.01, -0.013, -0.029, -0.052,
0.017, -0.126, 0.047, 0.062, -0.05, -0.031, 0.011, -0.01, 0.051,
0.018, 0.184, -0.025, 0.11, 0.041, -0.068, -0.001, 0.006, 0.029, 0.194,
-0.105, -0.001, -0.072, -0.023, 0.053, -0.064, -0.005, -0.042, -0.005,
-0.027, -0.014, 0.004, -0.012, 0.004, 0.002, 0.049, 0.137, -0.01, -0.03)
df3 = c(-0.053, -0.205, -0.138, 0.095, 0.133, 0.266, 0.185, 0.358, 0.325,
0.201, 0.368, -0.161, -0.124, 0.282, 0.089, 0.154, -0.157, -0.117,
0.15, 0.059, 0.152, -0.124, 0.006, 0.261, -0.059, 0.321, 0.154,
0.217, -0.268, 0.256, 0.51, 0.125, 0.081, 0.507, 0.052, 0.038,
0.326, 0.052, -0.246, -0.182, -0.209, -0.136, 0.046, 0.252, 0.128,
0.028, 0.181, 0.212, 0.062, 0.136, -0.074, -0.027, 0.287, -0.339,
0.326, 0.052, -0.246, -0.182, -0.209, -0.136, 0.046, 0.252, 0.128,
0.028, 0.181, 0.212, 0.062, 0.136, -0.074, -0.027, 0.287, -0.339,
-0.175, -0.158, 0.133, 0.182, -0.143, -0.08, -0.138, -0.552, -0.109,
-0.236, -0.217, 0.006, -0.106, -0.091, 0.22, 0.07, -0.275, 0.372)
cor.age.12_19 = matrix(data=df1, nrow=18, ncol=5)
cor.age.20_39 = matrix(data=df2, nrow=18, ncol=5)
cor.age.40_65 = matrix(data=df3, nrow=18, ncol=5)