0.1 Hypothesis 1:

Progressive Improvement in Optimal Choices Across Task Blocks

data_long_h1 <- read.csv("data_18_task_H1.csv")
str(data_long_h1)
## 'data.frame':    316800 obs. of  11 variables:
##  $ ID             : int  1 1 1 1 1 1 1 1 1 1 ...
##  $ condition      : chr  "treatment" "treatment" "treatment" "treatment" ...
##  $ trial          : int  1 2 3 4 5 6 7 8 9 10 ...
##  $ block          : int  1 1 1 1 1 1 1 1 1 1 ...
##  $ type           : chr  "60-40" "60-40" "80-20" "80-20" ...
##  $ choice         : chr  "L" "H" "H" "L" ...
##  $ rt             : num  1786 1118 1904 1730 939 ...
##  $ reward         : int  0 0 0 0 0 1 1 0 1 1 ...
##  $ affect_type    : chr  "confident" "engaged" "happy" "engaged" ...
##  $ affect_response: int  39 52 35 22 35 25 33 35 33 25 ...
##  $ affect_rt      : num  11380 4976 3946 3249 3050 ...

0.1.1 Generalised Linear Mixed-Effects Model H1

library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
# Convert categorical variables to factors and create binary response variable
data_LMM_h1 <- data_long_h1 %>%
  mutate(
    condition = as.factor(condition),
    block = as.factor(block), # block as a factor for modeling
    type = as.factor(type),
    choice = as.factor(choice), # choice is a factor
    ID = as.factor(ID), # ID is a factor for random effects
    optimal_choice = ifelse(choice == "H", 1, 0) # 1 for "H", 0 otherwise
  )

str(data_LMM_h1)
## 'data.frame':    316800 obs. of  12 variables:
##  $ ID             : Factor w/ 880 levels "1","2","3","4",..: 1 1 1 1 1 1 1 1 1 1 ...
##  $ condition      : Factor w/ 2 levels "control","treatment": 2 2 2 2 2 2 2 2 2 2 ...
##  $ trial          : int  1 2 3 4 5 6 7 8 9 10 ...
##  $ block          : Factor w/ 6 levels "1","2","3","4",..: 1 1 1 1 1 1 1 1 1 1 ...
##  $ type           : Factor w/ 3 levels "60-40","70-30",..: 1 1 3 3 2 1 2 2 3 3 ...
##  $ choice         : Factor w/ 2 levels "H","L": 2 1 1 2 1 2 2 2 2 1 ...
##  $ rt             : num  1786 1118 1904 1730 939 ...
##  $ reward         : int  0 0 0 0 0 1 1 0 1 1 ...
##  $ affect_type    : chr  "confident" "engaged" "happy" "engaged" ...
##  $ affect_response: int  39 52 35 22 35 25 33 35 33 25 ...
##  $ affect_rt      : num  11380 4976 3946 3249 3050 ...
##  $ optimal_choice : num  0 1 1 0 1 0 0 0 0 1 ...
levels(data_LMM_h1$condition)
## [1] "control"   "treatment"
levels(data_LMM_h1$block)
## [1] "1" "2" "3" "4" "5" "6"
levels(data_LMM_h1$type)
## [1] "60-40" "70-30" "80-20"
library(lme4)
## Loading required package: Matrix
library(broom.mixed)
library(flextable)
library(ggplot2)
library(officer)
library(sjPlot)
## #refugeeswelcome
# Fit the GLMM for H1
LMM_mod_H1 <- glmer(optimal_choice ~ block * type + (1 | ID), 
                  data = data_LMM_h1, 
                  family = binomial,
                  control = glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 1e+05)))

summary(LMM_mod_H1)
## Generalized linear mixed model fit by maximum likelihood (Laplace
##   Approximation) [glmerMod]
##  Family: binomial  ( logit )
## Formula: optimal_choice ~ block * type + (1 | ID)
##    Data: data_LMM_h1
## Control: glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 1e+05))
## 
##       AIC       BIC    logLik  deviance  df.resid 
##  364480.0  364682.6 -182221.0  364442.0    315310 
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -6.7467 -1.0168  0.4780  0.6969  1.7580 
## 
## Random effects:
##  Groups Name        Variance Std.Dev.
##  ID     (Intercept) 0.4617   0.6795  
## Number of obs: 315329, groups:  ID, 880
## 
## Fixed effects:
##                  Estimate Std. Error z value Pr(>|z|)    
## (Intercept)       0.33476    0.02780  12.041  < 2e-16 ***
## block2            0.05741    0.02245   2.558   0.0105 *  
## block3            0.14525    0.02253   6.447 1.14e-10 ***
## block4            0.16444    0.02254   7.297 2.95e-13 ***
## block5            0.20754    0.02257   9.194  < 2e-16 ***
## block6            0.29266    0.02269  12.898  < 2e-16 ***
## type70-30         0.21377    0.02255   9.481  < 2e-16 ***
## type80-20         0.44556    0.02283  19.519  < 2e-16 ***
## block2:type70-30  0.22018    0.03226   6.825 8.81e-12 ***
## block3:type70-30  0.23187    0.03247   7.141 9.28e-13 ***
## block4:type70-30  0.28161    0.03258   8.643  < 2e-16 ***
## block5:type70-30  0.29210    0.03267   8.941  < 2e-16 ***
## block6:type70-30  0.26952    0.03288   8.196 2.48e-16 ***
## block2:type80-20  0.26601    0.03289   8.089 6.01e-16 ***
## block3:type80-20  0.34375    0.03329  10.327  < 2e-16 ***
## block4:type80-20  0.43597    0.03353  13.001  < 2e-16 ***
## block5:type80-20  0.49383    0.03382  14.603  < 2e-16 ***
## block6:type80-20  0.44923    0.03407  13.186  < 2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation matrix not shown by default, as p = 18 > 12.
## Use print(x, correlation=TRUE)  or
##     vcov(x)        if you need it
LMM_mod_H1
## Generalized linear mixed model fit by maximum likelihood (Laplace
##   Approximation) [glmerMod]
##  Family: binomial  ( logit )
## Formula: optimal_choice ~ block * type + (1 | ID)
##    Data: data_LMM_h1
##       AIC       BIC    logLik  deviance  df.resid 
##  364480.0  364682.6 -182221.0  364442.0    315310 
## Random effects:
##  Groups Name        Std.Dev.
##  ID     (Intercept) 0.6795  
## Number of obs: 315329, groups:  ID, 880
## Fixed Effects:
##      (Intercept)            block2            block3            block4  
##          0.33476           0.05741           0.14525           0.16444  
##           block5            block6         type70-30         type80-20  
##          0.20754           0.29266           0.21377           0.44556  
## block2:type70-30  block3:type70-30  block4:type70-30  block5:type70-30  
##          0.22018           0.23187           0.28161           0.29210  
## block6:type70-30  block2:type80-20  block3:type80-20  block4:type80-20  
##          0.26952           0.26601           0.34375           0.43597  
## block5:type80-20  block6:type80-20  
##          0.49383           0.44923

0.1.1.1 Random Effects

#Random Effects
# Extract random effects
random_effects_h1 <- ranef(LMM_mod_H1)
# View random intercepts for participants
random_effects_h1$ID
##      (Intercept)
## 1   -0.542651810
## 2   -0.457058305
## 3    0.051530891
## 4   -0.699376512
## 5   -0.547321332
## 6    0.221008490
## 7   -0.281523553
## 8    0.594129037
## 9   -0.522998768
## 10   0.542282526
## 11   0.794757543
## 12   0.043392215
## 13   1.312743846
## 14   0.014782424
## 15   0.363713610
## 16  -0.190089320
## 17   0.272721704
## 18   0.426733773
## 19   0.138358583
## 20  -0.508090613
## 21   0.775882291
## 22  -0.063688199
## 23  -0.537068257
## 24  -0.382852593
## 25  -0.610662933
## 26   0.525327573
## 27  -0.301961426
## 28   1.153766413
## 29  -1.300853624
## 30  -0.222777574
## 31  -0.670596658
## 32   0.098591915
## 33   1.306433408
## 34   0.475382795
## 35   1.169313400
## 36  -0.798856452
## 37  -0.829671701
## 38   0.625337980
## 39   0.182377381
## 40  -0.449468841
## 41  -0.764292621
## 42  -0.679339428
## 43  -0.233561897
## 44  -0.780733049
## 45   0.252866816
## 46  -0.181608679
## 47   0.143042613
## 48   0.771728459
## 49   0.508528765
## 50  -0.035663254
## 51   0.087655378
## 52   0.147579900
## 53   0.171225996
## 54  -0.172307239
## 55  -0.322344733
## 56   0.779161243
## 57  -0.933774503
## 58  -0.504093361
## 59   2.041779530
## 60  -0.189213163
## 61   0.046891186
## 62   0.143861242
## 63  -0.554132430
## 64  -0.259612704
## 65   0.153865664
## 66   0.211102399
## 67   0.143042613
## 68  -0.935026278
## 69  -0.166416657
## 70  -0.238029700
## 71   0.015255307
## 72  -0.271680273
## 73  -0.384610289
## 74   0.077706044
## 75  -0.779829883
## 76  -0.684721881
## 77  -0.504920333
## 78  -0.554132430
## 79  -0.024977190
## 80  -0.426656068
## 81   0.508528765
## 82   1.856104265
## 83  -0.283806944
## 84  -0.303291384
## 85  -0.379544469
## 86   0.348265899
## 87   0.329151071
## 88   1.952616773
## 89  -0.216076653
## 90  -0.334742263
## 91  -0.881687767
## 92  -0.577202251
## 93   0.046913483
## 94  -0.361998024
## 95  -0.592745248
## 96   0.046913483
## 97   0.362880408
## 98  -0.787074348
## 99  -0.310894610
## 100 -0.508090613
## 101  0.609625927
## 102 -0.232520543
## 103 -0.084558475
## 104  0.341176876
## 105 -0.560557266
## 106  0.071420311
## 107 -0.560914575
## 108  0.538692119
## 109  0.439840309
## 110  0.317717835
## 111 -0.124446968
## 112  1.341096164
## 113  0.111570356
## 114 -0.301185142
## 115 -0.019604815
## 116 -0.216253213
## 117 -0.780733049
## 118 -0.758255274
## 119  0.199757206
## 120 -0.317463610
## 121 -0.747006698
## 122 -0.472931405
## 123 -0.450046376
## 124 -0.836843861
## 125 -0.359223254
## 126  0.936839914
## 127 -0.141214428
## 128  0.171525712
## 129 -0.701927929
## 130  0.611754217
## 131 -0.722531395
## 132  1.231008828
## 133  0.437062315
## 134 -0.476105879
## 135 -0.785062843
## 136  0.379281091
## 137  0.124160154
## 138 -0.058753243
## 139 -0.910718684
## 140 -0.271680273
## 141  1.337073673
## 142 -0.140572884
## 143  0.740480228
## 144  0.848760610
## 145  0.944019845
## 146  1.312743846
## 147  0.158667930
## 148 -0.151219607
## 149  0.011365310
## 150  0.214158555
## 151  0.769568404
## 152 -0.627491532
## 153  0.046913483
## 154 -0.426656068
## 155  0.315637173
## 156 -0.063000771
## 157 -0.263026107
## 158  0.309384531
## 159 -0.883330646
## 160  0.525327573
## 161 -0.265134562
## 162 -0.859267879
## 163  0.074001656
## 164 -0.724145845
## 165  0.033475654
## 166 -0.214789793
## 167  0.111167872
## 168 -0.729849042
## 169 -0.542651810
## 170 -0.182325070
## 171 -0.058753243
## 172  0.438413621
## 173 -0.307948368
## 174 -0.577906380
## 175  0.538820383
## 176  0.302611738
## 177  0.544326070
## 178  0.777311247
## 179  0.069478193
## 180 -0.615506494
## 181  0.988135939
## 182  0.067106522
## 183 -0.203862228
## 184 -0.239169241
## 185  0.859426985
## 186  0.740480228
## 187 -0.487983551
## 188  0.265860798
## 189  0.257932530
## 190  0.029481073
## 191 -0.524999928
## 192 -1.057256795
## 193 -0.892897717
## 194  0.157091860
## 195 -0.063688199
## 196 -0.351311803
## 197  0.631031391
## 198 -0.639949221
## 199  0.020106480
## 200 -0.559234706
## 201 -0.734514508
## 202  0.320977942
## 203  0.489448265
## 204 -0.915320733
## 205 -0.959813630
## 206 -0.244938179
## 207  0.576678610
## 208  0.171225996
## 209 -0.651925490
## 210  1.175893567
## 211 -0.742120378
## 212 -0.226391001
## 213 -0.558340307
## 214 -0.414920768
## 215 -0.829136250
## 216 -0.371418294
## 217  0.225612240
## 218 -0.881687767
## 219  0.542282526
## 220 -0.353176196
## 221  0.677923488
## 222  0.006804373
## 223 -0.160510161
## 224  0.487040373
## 225  0.167987145
## 226  0.755052078
## 227 -0.367692780
## 228  0.555120030
## 229  0.317717835
## 230  0.133548991
## 231  0.299375395
## 232  0.818788960
## 233  0.280467930
## 234 -0.559105026
## 235 -0.288268341
## 236 -0.010608739
## 237  0.129076261
## 238 -0.618154522
## 239  0.076175043
## 240  0.559398018
## 241 -0.646960506
## 242 -0.032739313
## 243  0.180117353
## 244  0.569409541
## 245 -0.210447804
## 246  0.437717952
## 247  0.233621751
## 248  0.779161243
## 249  0.070789689
## 250  0.016689724
## 251 -0.674636351
## 252 -0.491190473
## 253 -0.634012948
## 254 -0.394839409
## 255  0.105481666
## 256 -0.135511991
## 257 -0.820764569
## 258 -0.554132430
## 259  0.716590356
## 260 -0.626284940
## 261 -0.146310576
## 262  0.064929324
## 263 -0.145410004
## 264  1.693641804
## 265 -0.289720013
## 266  1.429860345
## 267 -0.554703400
## 268  0.152423807
## 269 -0.836843861
## 270  0.358551776
## 271 -0.561480423
## 272  0.698522635
## 273 -0.848056697
## 274  1.592204429
## 275 -0.071684318
## 276 -1.085472200
## 277 -0.806177456
## 278 -0.113305798
## 279 -0.384173444
## 280 -0.678867452
## 281  0.026093321
## 282 -0.115810386
## 283 -0.803748091
## 284  0.559398018
## 285 -1.010509447
## 286  1.007988215
## 287 -0.613423566
## 288  0.257439379
## 289  0.287613913
## 290 -0.019604815
## 291  0.740480228
## 292  0.033475654
## 293 -0.307948368
## 294  0.050341258
## 295 -0.711801526
## 296  0.042115095
## 297 -0.944120534
## 298  0.589654619
## 299  0.041181091
## 300  0.525327573
## 301 -0.819723354
## 302  1.487998650
## 303 -0.899476593
## 304 -0.135511991
## 305 -0.307194327
## 306  0.750799903
## 307 -0.198074296
## 308  1.201648462
## 309  0.394971452
## 310 -0.632957555
## 311  1.126409583
## 312  0.459027604
## 313  0.838977478
## 314 -0.456063941
## 315 -0.851953532
## 316  0.018944020
## 317 -0.923203227
## 318  0.450593694
## 319 -0.610243682
## 320 -0.402119773
## 321 -0.645363648
## 322  0.567244785
## 323 -0.900046419
## 324 -0.163388962
## 325 -0.251711189
## 326  0.484025782
## 327 -0.075080107
## 328  0.611153739
## 329  0.629559262
## 330 -0.690641456
## 331 -0.875171480
## 332  0.280648701
## 333 -0.511264160
## 334  0.442812489
## 335 -0.339492973
## 336  0.392686759
## 337  0.152667114
## 338  0.221706431
## 339  0.033475654
## 340 -0.130914076
## 341  0.410787906
## 342  1.149874888
## 343 -0.427508968
## 344 -0.138593500
## 345 -0.236996916
## 346 -0.461702982
## 347 -0.854648347
## 348 -0.576975459
## 349 -0.847676895
## 350  0.755420356
## 351  0.439134150
## 352 -0.668377315
## 353  1.336570396
## 354 -0.141214428
## 355  0.183178460
## 356  1.257725025
## 357  1.777416155
## 358  0.745541874
## 359 -0.489960824
## 360 -0.242890777
## 361  1.399623969
## 362 -0.403157620
## 363  0.282383323
## 364 -0.559898266
## 365  0.129076261
## 366 -0.771759634
## 367 -1.072795068
## 368 -0.847166414
## 369  0.110258923
## 370 -0.668026224
## 371 -0.307948368
## 372 -0.839818321
## 373  0.129076261
## 374 -0.580167684
## 375 -1.114536729
## 376  0.287613913
## 377  0.719662429
## 378 -0.622648413
## 379 -0.682044645
## 380 -0.426656068
## 381 -0.397450094
## 382  0.046913483
## 383  0.957539336
## 384 -0.747006698
## 385 -0.887310706
## 386 -0.110141302
## 387  0.916714330
## 388  0.131400523
## 389 -0.110141302
## 390  1.284962020
## 391  0.374132826
## 392  0.428411966
## 393 -0.814410736
## 394 -0.178052204
## 395 -0.023669004
## 396 -0.157598381
## 397  0.165881809
## 398 -0.249818721
## 399  0.060421595
## 400 -0.593232456
## 401  0.345341937
## 402 -0.531151785
## 403 -0.620607577
## 404 -0.135511991
## 405  0.363713610
## 406  0.522118094
## 407  1.993739118
## 408 -0.104472622
## 409  0.918192205
## 410 -0.019604815
## 411 -0.630220562
## 412 -0.866297317
## 413  0.918192205
## 414  0.282383323
## 415  0.437916302
## 416  1.902776451
## 417  0.576678610
## 418 -0.484525036
## 419  0.018513478
## 420  1.226425513
## 421 -0.426656068
## 422  0.115190859
## 423 -1.002890349
## 424  0.033475654
## 425 -0.016670373
## 426  0.574710414
## 427 -0.032714890
## 428 -0.240905424
## 429  0.439262820
## 430  0.901145053
## 431 -0.011788388
## 432 -0.277400799
## 433  0.302611738
## 434  0.069478193
## 435  0.180654775
## 436 -0.024977190
## 437 -0.349730038
## 438 -0.870478028
## 439  0.893909715
## 440 -0.599875129
## 441 -1.061496587
## 442 -0.769497180
## 443  0.205648684
## 444 -0.490588627
## 445  1.028894987
## 446 -0.523750527
## 447 -0.320525418
## 448 -0.253168763
## 449  0.856762695
## 450 -0.450046376
## 451  1.255412867
## 452  0.074001656
## 453  1.153766413
## 454  1.153766413
## 455 -1.255515997
## 456 -0.863749974
## 457  0.740480228
## 458 -0.430595794
## 459 -0.046985152
## 460 -0.909743823
## 461 -0.011572856
## 462 -0.712878222
## 463 -0.763081162
## 464 -0.685570552
## 465 -0.619810581
## 466 -0.087322658
## 467  2.437378062
## 468 -0.588694286
## 469 -0.588465012
## 470 -0.058753243
## 471  0.147043430
## 472 -0.825628749
## 473 -0.719332070
## 474  1.128921249
## 475  0.101384513
## 476 -0.688801368
## 477  0.317717835
## 478 -0.384976575
## 479  1.128921249
## 480  0.041621145
## 481  0.534232382
## 482  0.101384513
## 483 -0.616495726
## 484 -0.886578590
## 485  0.255728165
## 486  0.087655378
## 487 -0.945022420
## 488  0.794225351
## 489 -0.661430580
## 490 -0.680647780
## 491 -0.049993501
## 492  0.394971452
## 493  0.078360508
## 494 -0.866177135
## 495 -0.185655964
## 496 -0.484943020
## 497  1.813573041
## 498 -0.142712333
## 499  0.101384513
## 500  0.917884913
## 501 -0.049265885
## 502  0.160704781
## 503  0.724528233
## 504  0.356197096
## 505  0.029351242
## 506  0.223366555
## 507 -0.820140868
## 508 -0.050681411
## 509 -0.041025995
## 510 -0.360526013
## 511  0.491881868
## 512 -0.148120877
## 513  0.079656071
## 514  0.516878156
## 515 -0.488585006
## 516 -0.385438986
## 517 -0.577038323
## 518 -0.022417577
## 519 -0.943104731
## 520  1.284962020
## 521  0.329996641
## 522  0.302611738
## 523  1.399623969
## 524 -0.003087187
## 525  0.283086013
## 526  0.787884285
## 527 -0.401150719
## 528 -0.508090613
## 529 -0.921979469
## 530 -1.140838939
## 531 -0.841357335
## 532 -0.378054331
## 533 -0.437623201
## 534  0.027982117
## 535  0.279819735
## 536  0.180117353
## 537  0.357884630
## 538  0.675297443
## 539 -0.355809871
## 540 -0.824619095
## 541  0.542282526
## 542 -0.476786300
## 543  1.176018263
## 544  0.984165872
## 545  0.724763726
## 546 -0.426398911
## 547 -0.071684318
## 548 -0.780733049
## 549 -0.514380620
## 550 -0.501511233
## 551  0.581647372
## 552  0.223845706
## 553  0.355848190
## 554 -0.842496420
## 555  0.757668675
## 556 -0.859267879
## 557 -0.808917198
## 558  2.091708724
## 559  1.125346543
## 560 -0.839019731
## 561 -0.344933793
## 562 -0.839054281
## 563  0.015587669
## 564 -0.554132430
## 565 -0.454807900
## 566 -0.110141302
## 567 -0.084558475
## 568  0.699225673
## 569 -0.137967742
## 570  0.719416512
## 571  0.697993870
## 572 -0.378308462
## 573  0.721476359
## 574 -0.122577618
## 575  0.257932530
## 576  0.030850144
## 577  2.197882618
## 578 -0.577038323
## 579 -0.932569289
## 580 -0.792832035
## 581  0.202192888
## 582 -0.490341944
## 583 -0.168097142
## 584  0.944019845
## 585  0.852697785
## 586  1.312743846
## 587  0.006804373
## 588 -0.808880558
## 589  0.738676611
## 590  0.776923118
## 591  0.675732886
## 592  0.611754217
## 593 -0.014778105
## 594 -1.250471067
## 595  0.522118094
## 596  0.912944586
## 597 -0.536152464
## 598 -0.999729945
## 599  0.028446834
## 600  0.661517082
## 601  0.167851070
## 602 -0.713907250
## 603 -0.611443218
## 604 -0.097377037
## 605  1.284962020
## 606  0.877966558
## 607 -0.645363648
## 608  0.314496455
## 609  0.283066279
## 610  0.880146394
## 611 -0.211003088
## 612 -0.741269832
## 613  1.174438917
## 614 -0.198074296
## 615  1.284962020
## 616  0.855145246
## 617  1.943958894
## 618 -0.693096348
## 619 -0.610836175
## 620 -0.259515001
## 621  1.257725025
## 622 -0.325498300
## 623 -0.744084204
## 624  0.214158555
## 625 -0.834780551
## 626 -0.178767119
## 627 -0.519631630
## 628  0.257932530
## 629  0.423848722
## 630  0.850747475
## 631  0.044588166
## 632 -0.045763895
## 633 -0.296445945
## 634 -0.897908802
## 635  0.001697553
## 636 -0.331751813
## 637 -0.218805104
## 638  0.559398018
## 639 -0.071684318
## 640  0.302611738
## 641 -0.275515282
## 642 -0.473334939
## 643 -0.881687767
## 644 -1.016399196
## 645 -0.597944649
## 646 -0.662621952
## 647  0.228653351
## 648 -1.007180698
## 649  0.171225996
## 650 -0.378438462
## 651  1.652071238
## 652  0.113602798
## 653  0.985672862
## 654 -0.195882627
## 655 -0.045897051
## 656 -0.361835716
## 657  0.243243890
## 658 -0.814410736
## 659  0.033475654
## 660  0.317717835
## 661  0.343798364
## 662 -0.874080410
## 663 -0.557390440
## 664  1.221565584
## 665 -0.100407671
## 666 -1.000788771
## 667  1.558110922
## 668 -0.713214591
## 669 -0.210447804
## 670  0.471734008
## 671  0.287613913
## 672 -0.656701185
## 673 -0.213025141
## 674 -0.148120877
## 675  0.772224761
## 676  0.038681963
## 677 -0.543963282
## 678  1.520441327
## 679 -0.568255908
## 680 -0.419615245
## 681 -0.190771636
## 682 -0.398825412
## 683  0.197135943
## 684 -0.219458416
## 685 -0.758448701
## 686  0.003510570
## 687  0.629559262
## 688 -0.113589727
## 689 -0.271680273
## 690  0.139454720
## 691 -0.389083121
## 692  0.971634145
## 693  0.143042613
## 694  0.542282526
## 695 -0.127638666
## 696 -0.955894730
## 697 -0.455129614
## 698 -0.825628749
## 699  0.965917105
## 700 -0.019604815
## 701  0.941547262
## 702 -0.881687767
## 703 -0.552833124
## 704  0.065260074
## 705  0.495610971
## 706  0.143042613
## 707  0.042115095
## 708  0.582907564
## 709  0.603573030
## 710 -0.001531120
## 711 -0.075949884
## 712 -0.347851189
## 713 -0.435077100
## 714  0.238507693
## 715 -0.747006698
## 716 -0.240274802
## 717 -0.264950908
## 718 -0.813590462
## 719 -0.372430249
## 720  1.817858699
## 721  0.456069477
## 722 -0.372419474
## 723  2.194379305
## 724  1.901336076
## 725 -0.858375944
## 726  0.358747844
## 727  1.151723327
## 728  0.216357822
## 729  1.204790890
## 730  2.033581223
## 731 -0.730056805
## 732 -1.032048198
## 733 -0.443903295
## 734 -0.851755025
## 735  1.309658314
## 736 -0.071684318
## 737 -1.114536729
## 738  0.028901555
## 739 -0.863454835
## 740 -0.776336401
## 741  0.363713610
## 742  0.855373315
## 743 -0.300377794
## 744 -0.097377037
## 745 -0.402645854
## 746 -0.803143421
## 747 -0.148120877
## 748  0.391248300
## 749 -1.463069032
## 750 -0.747006698
## 751 -0.904108498
## 752  0.196702713
## 753 -0.014658097
## 754 -0.519631630
## 755 -0.086347430
## 756  0.096154481
## 757 -0.214024597
## 758 -0.717929603
## 759 -0.064356995
## 760  0.033475654
## 761  0.663134260
## 762 -0.705186945
## 763  0.199757206
## 764  0.137858372
## 765 -0.301389888
## 766  0.540362268
## 767 -0.534367162
## 768  0.014782424
## 769 -0.271680273
## 770 -0.295895989
## 771  1.052696570
## 772 -0.926535044
## 773 -0.391365800
## 774  1.460789379
## 775  0.091440842
## 776  0.044509042
## 777 -0.569807548
## 778 -0.668845161
## 779 -0.122852538
## 780 -0.886667427
## 781  0.210249550
## 782  0.185447076
## 783 -0.072252348
## 784 -0.291116689
## 785 -0.170419633
## 786 -0.165075581
## 787  0.702687740
## 788 -0.634012948
## 789 -0.793710249
## 790  0.055639823
## 791  0.502129809
## 792 -0.393482297
## 793 -0.614542097
## 794 -0.045763895
## 795 -0.791963513
## 796  0.662240158
## 797 -0.159833196
## 798  0.589879477
## 799 -0.479083547
## 800  0.317717835
## 801 -0.756903372
## 802  0.133654513
## 803 -0.010608739
## 804  1.366293568
## 805 -0.382808964
## 806  0.287613913
## 807 -0.640390735
## 808 -0.135511991
## 809  1.254610892
## 810  0.184824074
## 811 -0.617760450
## 812 -0.547131146
## 813 -0.729077033
## 814  0.145701449
## 815  1.490103949
## 816 -0.182097869
## 817  0.624091883
## 818 -0.431945952
## 819  0.594129037
## 820 -0.780733049
## 821  0.873444005
## 822  0.199757206
## 823  0.234775540
## 824  0.065185720
## 825  0.214158555
## 826  0.317717835
## 827  0.243243890
## 828  0.079656071
## 829  2.091708724
## 830 -0.821205233
## 831  2.031528071
## 832  0.727581806
## 833 -0.295895989
## 834  0.012210897
## 835 -0.899896173
## 836  0.759706153
## 837  1.284962020
## 838  0.508528765
## 839  0.272721704
## 840 -0.061485775
## 841  0.139772339
## 842 -0.235064669
## 843 -0.438364336
## 844 -0.075949884
## 845 -0.742813194
## 846  0.006804373
## 847 -0.881313162
## 848 -0.076847849
## 849 -0.482599522
## 850 -0.926535044
## 851  0.228653351
## 852 -1.027660353
## 853 -1.368960524
## 854  0.008391075
## 855  0.329151071
## 856  0.453946372
## 857 -0.447918229
## 858  0.180654775
## 859 -0.396146411
## 860 -0.319965025
## 861 -0.275844430
## 862  2.039026677
## 863 -0.222311390
## 864  0.302611738
## 865  0.144914330
## 866  0.129076261
## 867 -0.090194669
## 868  0.434914825
## 869  0.470314821
## 870 -1.029970377
## 871  0.379281091
## 872 -0.523917903
## 873 -0.071684318
## 874 -0.160680392
## 875  1.627204034
## 876  0.611754217
## 877 -0.256195915
## 878  0.134350620
## 879 -0.461702982
## 880 -0.903879831
### Residual patterns to evaluate model fit.

residuals_LMM_h1 <- resid(LMM_mod_H1, type = "pearson")

# Plot residuals
ggplot(data.frame(residuals = residuals_LMM_h1), aes(x = residuals)) +
  geom_histogram(bins = 30, fill = "blue", alpha = 0.7) +
  labs(title = "Histogram of Pearson Residuals", x = "Residuals", y = "Frequency")

library(dplyr)
library(tibble)
# Diagnostics plot: Conditional modes

# Extract random effects
random_effects_h1 <- ranef(LMM_mod_H1, condVar = TRUE)$ID

# Convert to data frame for plot
random_effects_df <- as.data.frame(random_effects_h1) %>%
  rownames_to_column(var = "Participant_ID") %>%
  rename(Random_Intercept = `(Intercept)`)

# Plot 
ggplot(random_effects_df, aes(x = Random_Intercept, y = Participant_ID)) +
  geom_point(color = "blue", alpha = 0.7) +
  theme_minimal() +
  labs(title = "Random Effects: Participant-Level Intercepts",
       x = "Random Intercept",
       y = "Participant ID") +
  theme(
    axis.text.y = element_blank(),  
    axis.ticks.y = element_blank()  
  )

### Marginal Means

library(emmeans)
## Welcome to emmeans.
## Caution: You lose important information if you filter this package's results.
## See '? untidy'
# Marginal means for blocks
emm_blocks_H1 <- emmeans(LMM_mod_H1, ~ block)
## NOTE: Results may be misleading due to involvement in interactions
emm_blocks_H1
##  block emmean     SE  df asymp.LCL asymp.UCL
##  1      0.555 0.0248 Inf     0.506     0.603
##  2      0.774 0.0249 Inf     0.725     0.823
##  3      0.892 0.0250 Inf     0.843     0.941
##  4      0.958 0.0250 Inf     0.909     1.007
##  5      1.024 0.0251 Inf     0.975     1.073
##  6      1.087 0.0251 Inf     1.038     1.136
## 
## Results are averaged over the levels of: type 
## Results are given on the logit (not the response) scale. 
## Confidence level used: 0.95
# Convert logit scale to probability
emm_blocks_prob <- as.data.frame(emm_blocks_H1)
emm_blocks_prob <- emm_blocks_prob %>%
  mutate(
    Probability = exp(emmean) / (1 + exp(emmean)),  # Logit to probability transformation
    Lower_Prob = exp(asymp.LCL) / (1 + exp(asymp.LCL)),
    Upper_Prob = exp(asymp.UCL) / (1 + exp(asymp.UCL))
  )

0.1.1.2 Marginal Means Plot

# Marginal Means of Optimal Choices Across Blocks (Probability)
Marg_mean_prob_plot <- ggplot(emm_blocks_prob, aes(x = as.factor(block), y = Probability)) +
  geom_point(size = 2, color = "#3498DB") +  
  geom_line(aes(group = 1), color = "#3498DB", size = 1) +  # Line connecting points
  geom_errorbar(aes(ymin = Lower_Prob, ymax = Upper_Prob), width = 0.2, color = "darkblue") +  # Error bars
  labs(
    title = "Marginal Means of Optimal Choices Across Blocks (Probability)",
    x = "Block",
    y = "Probability of Optimal Choice",
    caption = "Error bars represent 95% confidence intervals."
  ) +
  theme(
    plot.title = element_text(hjust = 0.5, face = "bold", size = 12),  
    axis.title = element_text(face = "bold", size = 11),          
    axis.text = element_text(size = 10),                          
    panel.background = element_rect(fill = "gray95"),             
    panel.grid.major = element_line(color = "white"),             
    panel.grid.minor = element_line(color = "gray70")                
  )
## Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
## ℹ Please use `linewidth` instead.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.
Marg_mean_prob_plot

#Pairwise comparision (main effect of block without interactions)
pairs(emm_blocks_H1)
##  contrast        estimate     SE  df z.ratio p.value
##  block1 - block2  -0.2195 0.0135 Inf -16.220  <.0001
##  block1 - block3  -0.3371 0.0137 Inf -24.662  <.0001
##  block1 - block4  -0.4036 0.0138 Inf -29.296  <.0001
##  block1 - block5  -0.4695 0.0139 Inf -33.817  <.0001
##  block1 - block6  -0.5322 0.0140 Inf -38.113  <.0001
##  block2 - block3  -0.1177 0.0139 Inf  -8.475  <.0001
##  block2 - block4  -0.1842 0.0140 Inf -13.169  <.0001
##  block2 - block5  -0.2500 0.0141 Inf -17.747  <.0001
##  block2 - block6  -0.3128 0.0142 Inf -22.076  <.0001
##  block3 - block4  -0.0665 0.0141 Inf  -4.710  <.0001
##  block3 - block5  -0.1324 0.0142 Inf  -9.309  <.0001
##  block3 - block6  -0.1951 0.0143 Inf -13.645  <.0001
##  block4 - block5  -0.0659 0.0143 Inf  -4.600  0.0001
##  block4 - block6  -0.1286 0.0144 Inf  -8.932  <.0001
##  block5 - block6  -0.0627 0.0145 Inf  -4.327  0.0002
## 
## Results are averaged over the levels of: type 
## Results are given on the log odds ratio (not the response) scale. 
## P value adjustment: tukey method for comparing a family of 6 estimates
# Odds Ratios Main effect of Block
#Odds Ratios for Pairwise Comparisons (main effect)
pairwise_results_h1 <- as.data.frame(pairs(emm_blocks_H1, infer = c(TRUE, TRUE)))
pairwise_results_h1
##  contrast          estimate         SE  df  asymp.LCL  asymp.UCL z.ratio
##  block1 - block2 -0.2194755 0.01353086 Inf -0.2580345 -0.1809166 -16.220
##  block1 - block3 -0.3371262 0.01366976 Inf -0.3760810 -0.2981715 -24.662
##  block1 - block4 -0.4036333 0.01377769 Inf -0.4428956 -0.3643709 -29.296
##  block1 - block5 -0.4695131 0.01388403 Inf -0.5090785 -0.4299477 -33.817
##  block1 - block6 -0.5322440 0.01396478 Inf -0.5720395 -0.4924485 -38.113
##  block2 - block3 -0.1176507 0.01388185 Inf -0.1572099 -0.0780915  -8.475
##  block2 - block4 -0.1841577 0.01398467 Inf -0.2240099 -0.1443055 -13.169
##  block2 - block5 -0.2500375 0.01408889 Inf -0.2901867 -0.2098883 -17.747
##  block2 - block6 -0.3127684 0.01416792 Inf -0.3531428 -0.2723940 -22.076
##  block3 - block4 -0.0665070 0.01411909 Inf -0.1067423 -0.0262718  -4.710
##  block3 - block5 -0.1323868 0.01422122 Inf -0.1729131 -0.0918605  -9.309
##  block3 - block6 -0.1951177 0.01429969 Inf -0.2358676 -0.1543678 -13.645
##  block4 - block5 -0.0658798 0.01432052 Inf -0.1066891 -0.0250705  -4.600
##  block4 - block6 -0.1286107 0.01439829 Inf -0.1696416 -0.0875798  -8.932
##  block5 - block6 -0.0627309 0.01449817 Inf -0.1040464 -0.0214154  -4.327
##  p.value
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   <.0001
##   0.0001
##   <.0001
##   0.0002
## 
## Results are averaged over the levels of: type 
## Results are given on the log odds ratio (not the response) scale. 
## Confidence level used: 0.95 
## Conf-level adjustment: tukey method for comparing a family of 6 estimates 
## P value adjustment: tukey method for comparing a family of 6 estimates
# Add Odds Ratios and Confidence Intervals
pairs_odds_ratios_h1 <- pairwise_results_h1 %>%
  mutate(
    Odds_Ratio = exp(estimate),
    Lower_CL_OR = exp(asymp.LCL),  # Adjusted column names after adding infer
    Upper_CL_OR = exp(asymp.UCL)   # Adjusted column names after adding infer
  )

pairs_odds_ratios_h1 <- pairs_odds_ratios_h1 %>%
  rename(
    Lower_CL = asymp.LCL,  # Rename lower confidence limit
    Upper_CL = asymp.UCL   # Rename upper confidence limit
  )
pairs_odds_ratios_h1
##           contrast    estimate         SE  df   Lower_CL    Upper_CL    z.ratio
## 1  block1 - block2 -0.21947553 0.01353086 Inf -0.2580345 -0.18091656 -16.220366
## 2  block1 - block3 -0.33712624 0.01366976 Inf -0.3760810 -0.29817147 -24.662201
## 3  block1 - block4 -0.40363326 0.01377769 Inf -0.4428956 -0.36437089 -29.296139
## 4  block1 - block5 -0.46951307 0.01388403 Inf -0.5090785 -0.42994766 -33.816760
## 5  block1 - block6 -0.53224396 0.01396478 Inf -0.5720395 -0.49244846 -38.113318
## 6  block2 - block3 -0.11765071 0.01388185 Inf -0.1572099 -0.07809152  -8.475145
## 7  block2 - block4 -0.18415773 0.01398467 Inf -0.2240099 -0.14430554 -13.168544
## 8  block2 - block5 -0.25003754 0.01408889 Inf -0.2901867 -0.20988834 -17.747138
## 9  block2 - block6 -0.31276842 0.01416792 Inf -0.3531428 -0.27239403 -22.075821
## 10 block3 - block4 -0.06650702 0.01411909 Inf -0.1067423 -0.02627176  -4.710431
## 11 block3 - block5 -0.13238683 0.01422122 Inf -0.1729131 -0.09186055  -9.309107
## 12 block3 - block6 -0.19511771 0.01429969 Inf -0.2358676 -0.15436779 -13.644887
## 13 block4 - block5 -0.06587981 0.01432052 Inf -0.1066891 -0.02507055  -4.600379
## 14 block4 - block6 -0.12861070 0.01439829 Inf -0.1696416 -0.08757981  -8.932359
## 15 block5 - block6 -0.06273089 0.01449817 Inf -0.1040464 -0.02141537  -4.326814
##         p.value Odds_Ratio Lower_CL_OR Upper_CL_OR
## 1  0.000000e+00  0.8029398   0.7725686   0.8345050
## 2  0.000000e+00  0.7138187   0.6865467   0.7421741
## 3  0.000000e+00  0.6678890   0.6421742   0.6946335
## 4  0.000000e+00  0.6253067   0.6010492   0.6505431
## 5  0.000000e+00  0.5872856   0.5643733   0.6111282
## 6  5.739853e-14  0.8890065   0.8545247   0.9248798
## 7  0.000000e+00  0.8318046   0.7993072   0.8656232
## 8  0.000000e+00  0.7787715   0.7481239   0.8106748
## 9  0.000000e+00  0.7314193   0.7024769   0.7615541
## 10 3.639487e-05  0.9356564   0.8987573   0.9740703
## 11 6.183942e-14  0.8760021   0.8412107   0.9122324
## 12 0.000000e+00  0.8227378   0.7898852   0.8569568
## 13 6.185407e-05  0.9362434   0.8988051   0.9752411
## 14 4.218847e-14  0.8793162   0.8439673   0.9161458
## 15 2.190845e-04  0.9391962   0.9011835   0.9788123
#data for the table
main_effect_pairwise_apa <- pairs_odds_ratios_h1 %>%
  mutate(
    estimate = round(estimate, 2),
    SE = round(SE, 2),
    Lower_CL = round(Lower_CL, 2),
    Upper_CL = round(Upper_CL, 2),
    Odds_Ratio = round(Odds_Ratio, 2),
    Lower_CL_OR = round(Lower_CL_OR, 2),
    Upper_CL_OR = round(Upper_CL_OR, 2),
    z.ratio = round(z.ratio, 2),
    p.value = format.pval(p.value, digits = 3, eps = .001)
  )

colnames(main_effect_pairwise_apa)
##  [1] "contrast"    "estimate"    "SE"          "df"          "Lower_CL"   
##  [6] "Upper_CL"    "z.ratio"     "p.value"     "Odds_Ratio"  "Lower_CL_OR"
## [11] "Upper_CL_OR"
# Create the APA-7 styled table
main_effect_pairwise_tab <- flextable(main_effect_pairwise_apa) %>%
  set_header_labels(
    contrast = "Contrast",
    estimate = "Log-Odds Estimate",
    SE = "Standard Error",
    df = "Degrees of Freedom",
    Lower_CL = "Lower Confidence Limit (Log-Odds)",
    Upper_CL = "Upper Confidence Limit (Log-Odds)",
    Odds_Ratio = "Odds Ratio",
    Lower_CL_OR = "Lower Confidence Limit (Odds Ratio)",
    Upper_CL_OR = "Upper Confidence Limit (Odds Ratio)",
    z.ratio = "z-Ratio",
    p.value = "p-Value"
  ) %>%
  add_header_row(
    values = c("Pairwise Comparisons of Blocks on Proportion of Optimal Choices"),
    colwidths = 11
  ) %>%
  theme_booktabs() %>%
  autofit() %>%
  fontsize(size = 12) %>%
  align(align = "center", part = "all")

main_effect_pairwise_tab

Pairwise Comparisons of Blocks on Proportion of Optimal Choices

Contrast

Log-Odds Estimate

Standard Error

Degrees of Freedom

Lower Confidence Limit (Log-Odds)

Upper Confidence Limit (Log-Odds)

z-Ratio

p-Value

Odds Ratio

Lower Confidence Limit (Odds Ratio)

Upper Confidence Limit (Odds Ratio)

block1 - block2

-0.22

0.01

Inf

-0.26

-0.18

-16.22

<0.001

0.80

0.77

0.83

block1 - block3

-0.34

0.01

Inf

-0.38

-0.30

-24.66

<0.001

0.71

0.69

0.74

block1 - block4

-0.40

0.01

Inf

-0.44

-0.36

-29.30

<0.001

0.67

0.64

0.69

block1 - block5

-0.47

0.01

Inf

-0.51

-0.43

-33.82

<0.001

0.63

0.60

0.65

block1 - block6

-0.53

0.01

Inf

-0.57

-0.49

-38.11

<0.001

0.59

0.56

0.61

block2 - block3

-0.12

0.01

Inf

-0.16

-0.08

-8.48

<0.001

0.89

0.85

0.92

block2 - block4

-0.18

0.01

Inf

-0.22

-0.14

-13.17

<0.001

0.83

0.80

0.87

block2 - block5

-0.25

0.01

Inf

-0.29

-0.21

-17.75

<0.001

0.78

0.75

0.81

block2 - block6

-0.31

0.01

Inf

-0.35

-0.27

-22.08

<0.001

0.73

0.70

0.76

block3 - block4

-0.07

0.01

Inf

-0.11

-0.03

-4.71

<0.001

0.94

0.90

0.97

block3 - block5

-0.13

0.01

Inf

-0.17

-0.09

-9.31

<0.001

0.88

0.84

0.91

block3 - block6

-0.20

0.01

Inf

-0.24

-0.15

-13.64

<0.001

0.82

0.79

0.86

block4 - block5

-0.07

0.01

Inf

-0.11

-0.03

-4.60

<0.001

0.94

0.90

0.98

block4 - block6

-0.13

0.01

Inf

-0.17

-0.09

-8.93

<0.001

0.88

0.84

0.92

block5 - block6

-0.06

0.01

Inf

-0.10

-0.02

-4.33

<0.001

0.94

0.90

0.98

### Pairwise comparisons Interaction
#interaction effects (estimated marginal means (EMMs) for the interaction between block and type in the GLM.)
emm_interaction_H1 <- emmeans(LMM_mod_H1, ~ block * type)

emm_interaction_H1
##  block type  emmean     SE  df asymp.LCL asymp.UCL
##  1     60-40  0.335 0.0278 Inf     0.280     0.389
##  2     60-40  0.392 0.0279 Inf     0.337     0.447
##  3     60-40  0.480 0.0280 Inf     0.425     0.535
##  4     60-40  0.499 0.0280 Inf     0.444     0.554
##  5     60-40  0.542 0.0281 Inf     0.487     0.597
##  6     60-40  0.627 0.0281 Inf     0.572     0.683
##  1     70-30  0.549 0.0281 Inf     0.494     0.604
##  2     70-30  0.826 0.0284 Inf     0.770     0.882
##  3     70-30  0.926 0.0286 Inf     0.870     0.982
##  4     70-30  0.995 0.0287 Inf     0.938     1.051
##  5     70-30  1.048 0.0288 Inf     0.992     1.105
##  6     70-30  1.111 0.0289 Inf     1.054     1.167
##  1     80-20  0.780 0.0283 Inf     0.725     0.836
##  2     80-20  1.104 0.0289 Inf     1.047     1.160
##  3     80-20  1.269 0.0293 Inf     1.212     1.327
##  4     80-20  1.381 0.0296 Inf     1.323     1.439
##  5     80-20  1.482 0.0299 Inf     1.423     1.540
##  6     80-20  1.522 0.0301 Inf     1.463     1.581
## 
## Results are given on the logit (not the response) scale. 
## Confidence level used: 0.95
## pairwise comparisons (within and between levels of trial types)

pairwise_interations_emm <- (contrast(emm_interaction_H1, method = "pairwise"))

pairwise_interations_emm
##  contrast                        estimate     SE  df z.ratio p.value
##  (block1 60-40) - (block2 60-40) -0.05741 0.0224 Inf  -2.558  0.4857
##  (block1 60-40) - (block3 60-40) -0.14525 0.0225 Inf  -6.447  <.0001
##  (block1 60-40) - (block4 60-40) -0.16444 0.0225 Inf  -7.297  <.0001
##  (block1 60-40) - (block5 60-40) -0.20754 0.0226 Inf  -9.194  <.0001
##  (block1 60-40) - (block6 60-40) -0.29266 0.0227 Inf -12.898  <.0001
##  (block1 60-40) - (block1 70-30) -0.21377 0.0225 Inf  -9.481  <.0001
##  (block1 60-40) - (block2 70-30) -0.49137 0.0231 Inf -21.293  <.0001
##  (block1 60-40) - (block3 70-30) -0.59089 0.0233 Inf -25.395  <.0001
##  (block1 60-40) - (block4 70-30) -0.65982 0.0234 Inf -28.178  <.0001
##  (block1 60-40) - (block5 70-30) -0.71341 0.0235 Inf -30.299  <.0001
##  (block1 60-40) - (block6 70-30) -0.77595 0.0237 Inf -32.733  <.0001
##  (block1 60-40) - (block1 80-20) -0.44556 0.0228 Inf -19.519  <.0001
##  (block1 60-40) - (block2 80-20) -0.76899 0.0237 Inf -32.442  <.0001
##  (block1 60-40) - (block3 80-20) -0.93457 0.0242 Inf -38.663  <.0001
##  (block1 60-40) - (block4 80-20) -1.04597 0.0245 Inf -42.609  <.0001
##  (block1 60-40) - (block5 80-20) -1.14693 0.0249 Inf -46.018  <.0001
##  (block1 60-40) - (block6 80-20) -1.18746 0.0251 Inf -47.349  <.0001
##  (block2 60-40) - (block3 60-40) -0.08784 0.0227 Inf  -3.865  0.0134
##  (block2 60-40) - (block4 60-40) -0.10703 0.0227 Inf  -4.709  0.0004
##  (block2 60-40) - (block5 60-40) -0.15013 0.0228 Inf  -6.594  <.0001
##  (block2 60-40) - (block6 60-40) -0.23525 0.0229 Inf -10.286  <.0001
##  (block2 60-40) - (block1 70-30) -0.15636 0.0228 Inf  -6.861  <.0001
##  (block2 60-40) - (block2 70-30) -0.43395 0.0232 Inf -18.721  <.0001
##  (block2 60-40) - (block3 70-30) -0.53348 0.0234 Inf -22.813  <.0001
##  (block2 60-40) - (block4 70-30) -0.60241 0.0235 Inf -25.590  <.0001
##  (block2 60-40) - (block5 70-30) -0.65600 0.0237 Inf -27.729  <.0001
##  (block2 60-40) - (block6 70-30) -0.71854 0.0238 Inf -30.171  <.0001
##  (block2 60-40) - (block1 80-20) -0.38815 0.0231 Inf -16.805  <.0001
##  (block2 60-40) - (block2 80-20) -0.71157 0.0238 Inf -29.911  <.0001
##  (block2 60-40) - (block3 80-20) -0.87716 0.0243 Inf -36.120  <.0001
##  (block2 60-40) - (block4 80-20) -0.98856 0.0246 Inf -40.113  <.0001
##  (block2 60-40) - (block5 80-20) -1.08952 0.0250 Inf -43.553  <.0001
##  (block2 60-40) - (block6 80-20) -1.13005 0.0252 Inf -44.855  <.0001
##  (block3 60-40) - (block4 60-40) -0.01918 0.0228 Inf  -0.841  1.0000
##  (block3 60-40) - (block5 60-40) -0.06228 0.0229 Inf  -2.726  0.3623
##  (block3 60-40) - (block6 60-40) -0.14741 0.0230 Inf  -6.421  <.0001
##  (block3 60-40) - (block1 70-30) -0.06852 0.0229 Inf  -2.997  0.2012
##  (block3 60-40) - (block2 70-30) -0.34611 0.0233 Inf -14.871  <.0001
##  (block3 60-40) - (block3 70-30) -0.44564 0.0235 Inf -18.996  <.0001
##  (block3 60-40) - (block4 70-30) -0.51457 0.0236 Inf -21.793  <.0001
##  (block3 60-40) - (block5 70-30) -0.56815 0.0237 Inf -23.936  <.0001
##  (block3 60-40) - (block6 70-30) -0.63069 0.0239 Inf -26.395  <.0001
##  (block3 60-40) - (block1 80-20) -0.30031 0.0232 Inf -12.956  <.0001
##  (block3 60-40) - (block2 80-20) -0.62373 0.0239 Inf -26.112  <.0001
##  (block3 60-40) - (block3 80-20) -0.78932 0.0243 Inf -32.420  <.0001
##  (block3 60-40) - (block4 80-20) -0.90072 0.0247 Inf -36.441  <.0001
##  (block3 60-40) - (block5 80-20) -1.00168 0.0251 Inf -39.942  <.0001
##  (block3 60-40) - (block6 80-20) -1.04220 0.0253 Inf -41.264  <.0001
##  (block4 60-40) - (block5 60-40) -0.04310 0.0228 Inf  -1.886  0.9174
##  (block4 60-40) - (block6 60-40) -0.12822 0.0230 Inf  -5.585  <.0001
##  (block4 60-40) - (block1 70-30) -0.04933 0.0229 Inf  -2.158  0.7816
##  (block4 60-40) - (block2 70-30) -0.32693 0.0233 Inf -14.039  <.0001
##  (block4 60-40) - (block3 70-30) -0.42645 0.0235 Inf -18.172  <.0001
##  (block4 60-40) - (block4 70-30) -0.49538 0.0236 Inf -20.984  <.0001
##  (block4 60-40) - (block5 70-30) -0.54897 0.0237 Inf -23.125  <.0001
##  (block4 60-40) - (block6 70-30) -0.61151 0.0239 Inf -25.585  <.0001
##  (block4 60-40) - (block1 80-20) -0.28113 0.0232 Inf -12.120  <.0001
##  (block4 60-40) - (block2 80-20) -0.60455 0.0239 Inf -25.307  <.0001
##  (block4 60-40) - (block3 80-20) -0.77013 0.0244 Inf -31.620  <.0001
##  (block4 60-40) - (block4 80-20) -0.88153 0.0247 Inf -35.687  <.0001
##  (block4 60-40) - (block5 80-20) -0.98249 0.0251 Inf -39.157  <.0001
##  (block4 60-40) - (block6 80-20) -1.02302 0.0253 Inf -40.496  <.0001
##  (block5 60-40) - (block6 60-40) -0.08513 0.0230 Inf  -3.702  0.0243
##  (block5 60-40) - (block1 70-30) -0.00623 0.0229 Inf  -0.272  1.0000
##  (block5 60-40) - (block2 70-30) -0.28383 0.0233 Inf -12.172  <.0001
##  (block5 60-40) - (block3 70-30) -0.38335 0.0235 Inf -16.308  <.0001
##  (block5 60-40) - (block4 70-30) -0.45229 0.0237 Inf -19.117  <.0001
##  (block5 60-40) - (block5 70-30) -0.50587 0.0238 Inf -21.293  <.0001
##  (block5 60-40) - (block6 70-30) -0.56841 0.0239 Inf -23.739  <.0001
##  (block5 60-40) - (block1 80-20) -0.23803 0.0232 Inf -10.248  <.0001
##  (block5 60-40) - (block2 80-20) -0.56145 0.0239 Inf -23.459  <.0001
##  (block5 60-40) - (block3 80-20) -0.72703 0.0244 Inf -29.801  <.0001
##  (block5 60-40) - (block4 80-20) -0.83844 0.0248 Inf -33.855  <.0001
##  (block5 60-40) - (block5 80-20) -0.93939 0.0251 Inf -37.426  <.0001
##  (block5 60-40) - (block6 80-20) -0.97992 0.0253 Inf -38.733  <.0001
##  (block6 60-40) - (block1 70-30)  0.07889 0.0230 Inf   3.428  0.0607
##  (block6 60-40) - (block2 70-30) -0.19870 0.0234 Inf  -8.484  <.0001
##  (block6 60-40) - (block3 70-30) -0.29823 0.0236 Inf -12.630  <.0001
##  (block6 60-40) - (block4 70-30) -0.36716 0.0238 Inf -15.455  <.0001
##  (block6 60-40) - (block5 70-30) -0.42075 0.0239 Inf -17.619  <.0001
##  (block6 60-40) - (block6 70-30) -0.48329 0.0240 Inf -20.113  <.0001
##  (block6 60-40) - (block1 80-20) -0.15290 0.0233 Inf  -6.556  <.0001
##  (block6 60-40) - (block2 80-20) -0.47632 0.0240 Inf -19.821  <.0001
##  (block6 60-40) - (block3 80-20) -0.64191 0.0245 Inf -26.205  <.0001
##  (block6 60-40) - (block4 80-20) -0.75331 0.0249 Inf -30.302  <.0001
##  (block6 60-40) - (block5 80-20) -0.85427 0.0252 Inf -33.880  <.0001
##  (block6 60-40) - (block6 80-20) -0.89480 0.0254 Inf -35.252  <.0001
##  (block1 70-30) - (block2 70-30) -0.27759 0.0233 Inf -11.911  <.0001
##  (block1 70-30) - (block3 70-30) -0.37712 0.0235 Inf -16.050  <.0001
##  (block1 70-30) - (block4 70-30) -0.44605 0.0236 Inf -18.862  <.0001
##  (block1 70-30) - (block5 70-30) -0.49964 0.0238 Inf -21.028  <.0001
##  (block1 70-30) - (block6 70-30) -0.56218 0.0239 Inf -23.499  <.0001
##  (block1 70-30) - (block1 80-20) -0.23179 0.0232 Inf  -9.991  <.0001
##  (block1 70-30) - (block2 80-20) -0.55521 0.0239 Inf -23.202  <.0001
##  (block1 70-30) - (block3 80-20) -0.72080 0.0244 Inf -29.539  <.0001
##  (block1 70-30) - (block4 80-20) -0.83220 0.0248 Inf -33.607  <.0001
##  (block1 70-30) - (block5 80-20) -0.93316 0.0251 Inf -37.139  <.0001
##  (block1 70-30) - (block6 80-20) -0.97369 0.0253 Inf -38.479  <.0001
##  (block2 70-30) - (block3 70-30) -0.09952 0.0239 Inf  -4.160  0.0042
##  (block2 70-30) - (block4 70-30) -0.16846 0.0241 Inf  -7.000  <.0001
##  (block2 70-30) - (block5 70-30) -0.22204 0.0242 Inf  -9.181  <.0001
##  (block2 70-30) - (block6 70-30) -0.28458 0.0243 Inf -11.688  <.0001
##  (block2 70-30) - (block1 80-20)  0.04580 0.0236 Inf   1.939  0.8972
##  (block2 70-30) - (block2 80-20) -0.27762 0.0243 Inf -11.408  <.0001
##  (block2 70-30) - (block3 80-20) -0.44320 0.0248 Inf -17.878  <.0001
##  (block2 70-30) - (block4 80-20) -0.55461 0.0251 Inf -22.053  <.0001
##  (block2 70-30) - (block5 80-20) -0.65556 0.0255 Inf -25.699  <.0001
##  (block2 70-30) - (block6 80-20) -0.69609 0.0257 Inf -27.110  <.0001
##  (block3 70-30) - (block4 70-30) -0.06893 0.0243 Inf  -2.843  0.2860
##  (block3 70-30) - (block5 70-30) -0.12252 0.0244 Inf  -5.029  0.0001
##  (block3 70-30) - (block6 70-30) -0.18506 0.0245 Inf  -7.546  <.0001
##  (block3 70-30) - (block1 80-20)  0.14533 0.0238 Inf   6.104  <.0001
##  (block3 70-30) - (block2 80-20) -0.17810 0.0245 Inf  -7.266  <.0001
##  (block3 70-30) - (block3 80-20) -0.34368 0.0250 Inf -13.766  <.0001
##  (block3 70-30) - (block4 80-20) -0.45508 0.0253 Inf -17.970  <.0001
##  (block3 70-30) - (block5 80-20) -0.55604 0.0257 Inf -21.652  <.0001
##  (block3 70-30) - (block6 80-20) -0.59657 0.0258 Inf -23.083  <.0001
##  (block4 70-30) - (block5 70-30) -0.05359 0.0245 Inf  -2.187  0.7629
##  (block4 70-30) - (block6 70-30) -0.11613 0.0247 Inf  -4.709  0.0004
##  (block4 70-30) - (block1 80-20)  0.21426 0.0240 Inf   8.945  <.0001
##  (block4 70-30) - (block2 80-20) -0.10916 0.0247 Inf  -4.428  0.0013
##  (block4 70-30) - (block3 80-20) -0.27475 0.0251 Inf -10.943  <.0001
##  (block4 70-30) - (block4 80-20) -0.38615 0.0255 Inf -15.168  <.0001
##  (block4 70-30) - (block5 80-20) -0.48711 0.0258 Inf -18.874  <.0001
##  (block4 70-30) - (block6 80-20) -0.52764 0.0260 Inf -20.308  <.0001
##  (block5 70-30) - (block6 70-30) -0.06254 0.0248 Inf  -2.524  0.5115
##  (block5 70-30) - (block1 80-20)  0.26784 0.0241 Inf  11.126  <.0001
##  (block5 70-30) - (block2 80-20) -0.05558 0.0248 Inf  -2.244  0.7238
##  (block5 70-30) - (block3 80-20) -0.22116 0.0252 Inf  -8.770  <.0001
##  (block5 70-30) - (block4 80-20) -0.33257 0.0256 Inf -13.007  <.0001
##  (block5 70-30) - (block5 80-20) -0.43352 0.0259 Inf -16.726  <.0001
##  (block5 70-30) - (block6 80-20) -0.47405 0.0261 Inf -18.173  <.0001
##  (block6 70-30) - (block1 80-20)  0.33038 0.0242 Inf  13.632  <.0001
##  (block6 70-30) - (block2 80-20)  0.00696 0.0249 Inf   0.279  1.0000
##  (block6 70-30) - (block3 80-20) -0.15862 0.0254 Inf  -6.253  <.0001
##  (block6 70-30) - (block4 80-20) -0.27003 0.0257 Inf -10.501  <.0001
##  (block6 70-30) - (block5 80-20) -0.37098 0.0261 Inf -14.235  <.0001
##  (block6 70-30) - (block6 80-20) -0.41151 0.0262 Inf -15.685  <.0001
##  (block1 80-20) - (block2 80-20) -0.32342 0.0242 Inf -13.362  <.0001
##  (block1 80-20) - (block3 80-20) -0.48901 0.0247 Inf -19.829  <.0001
##  (block1 80-20) - (block4 80-20) -0.60041 0.0250 Inf -23.996  <.0001
##  (block1 80-20) - (block5 80-20) -0.70137 0.0254 Inf -27.645  <.0001
##  (block1 80-20) - (block6 80-20) -0.74189 0.0256 Inf -29.025  <.0001
##  (block2 80-20) - (block3 80-20) -0.16558 0.0254 Inf  -6.529  <.0001
##  (block2 80-20) - (block4 80-20) -0.27699 0.0257 Inf -10.774  <.0001
##  (block2 80-20) - (block5 80-20) -0.37794 0.0261 Inf -14.505  <.0001
##  (block2 80-20) - (block6 80-20) -0.41847 0.0262 Inf -15.957  <.0001
##  (block3 80-20) - (block4 80-20) -0.11140 0.0261 Inf  -4.261  0.0027
##  (block3 80-20) - (block5 80-20) -0.21236 0.0265 Inf  -8.018  <.0001
##  (block3 80-20) - (block6 80-20) -0.25289 0.0267 Inf  -9.489  <.0001
##  (block4 80-20) - (block5 80-20) -0.10096 0.0268 Inf  -3.765  0.0194
##  (block4 80-20) - (block6 80-20) -0.14148 0.0270 Inf  -5.244  <.0001
##  (block5 80-20) - (block6 80-20) -0.04053 0.0273 Inf  -1.484  0.9918
## 
## Results are given on the log odds ratio (not the response) scale. 
## P value adjustment: tukey method for comparing a family of 18 estimates
#labels for comparisons
pairwise_interactions_df <- as.data.frame(pairwise_interations_emm)

library(dplyr)
library(stringr)

pairwise_interactions_labeled <- pairwise_interactions_df %>%
  mutate(
    # Extract block comparisons (only for blocks 1-6)
    Block_Comparison = str_extract(contrast, "block[1-6]+ - block[1-6]+"),
    
    # Extract trial types (60-40, 70-30, 80-20)
    Trial_Type_Comparison = str_extract(contrast, "60-40|70-30|80-20"),
    
    # Categorize the comparison type
    Comparison_Type = case_when(
      grepl("block", contrast) & grepl("60-40", contrast) ~ "Within Block (60-40)",
      grepl("block", contrast) & grepl("70-30", contrast) ~ "Within Block (70-30)",
      grepl("block", contrast) & grepl("80-20", contrast) ~ "Within Block (80-20)",
      grepl("60-40", contrast) & grepl("70-30", contrast) ~ "Between Trial Types (60-40 vs. 70-30)",
      grepl("60-40", contrast) & grepl("80-20", contrast) ~ "Between Trial Types (60-40 vs. 80-20)",
      grepl("70-30", contrast) & grepl("80-20", contrast) ~ "Between Trial Types (70-30 vs. 80-20)",
      TRUE ~ "Other"
    )
  )
# Main Effects by Block
#main effects plot for blocks
emm_blocks_df <- as.data.frame(emm_blocks_H1)

emm_blocks_H1
##  block emmean     SE  df asymp.LCL asymp.UCL
##  1      0.555 0.0248 Inf     0.506     0.603
##  2      0.774 0.0249 Inf     0.725     0.823
##  3      0.892 0.0250 Inf     0.843     0.941
##  4      0.958 0.0250 Inf     0.909     1.007
##  5      1.024 0.0251 Inf     0.975     1.073
##  6      1.087 0.0251 Inf     1.038     1.136
## 
## Results are averaged over the levels of: type 
## Results are given on the logit (not the response) scale. 
## Confidence level used: 0.95
ggplot(emm_blocks_df, aes(x = block, y = emmean)) +
  geom_point(size = 1.5) +
  geom_line(size = 0.5 ) + geom_errorbar(aes(ymin = asymp.LCL, ymax =asymp.UCL), width = 0.2) +
  labs(
    title = "Main Effect of Block on Optimal Choice",
    x = "Block",
    y = "Estimated Marginal Mean (Log Odds)"
  ) +
  theme_gray() + theme(plot.title = element_text(hjust = 0.5, size = 14, face = "bold"))
## `geom_line()`: Each group consists of only one observation.
## ℹ Do you need to adjust the group aesthetic?

### APA Output Tables
install.packages("broom.mixed")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
install.packages("gt")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(broom.mixed)  
library(gt) 
LMM_original_tidy <- broom.mixed::tidy(LMM_mod_H1)
LMM_labels <- LMM_original_tidy[, c("term", "estimate", "std.error", "statistic", "p.value")]

colnames(LMM_labels) <- c("Term", "Estimate", "Std. Error", "z-Value", "p-Value")

LMM_labels
## # A tibble: 19 × 5
##    Term             Estimate `Std. Error` `z-Value` `p-Value`
##    <chr>               <dbl>        <dbl>     <dbl>     <dbl>
##  1 (Intercept)        0.335        0.0278     12.0   2.16e-33
##  2 block2             0.0574       0.0224      2.56  1.05e- 2
##  3 block3             0.145        0.0225      6.45  1.14e-10
##  4 block4             0.164        0.0225      7.30  2.95e-13
##  5 block5             0.208        0.0226      9.19  3.78e-20
##  6 block6             0.293        0.0227     12.9   4.61e-38
##  7 type70-30          0.214        0.0225      9.48  2.51e-21
##  8 type80-20          0.446        0.0228     19.5   7.51e-85
##  9 block2:type70-30   0.220        0.0323      6.82  8.81e-12
## 10 block3:type70-30   0.232        0.0325      7.14  9.28e-13
## 11 block4:type70-30   0.282        0.0326      8.64  5.50e-18
## 12 block5:type70-30   0.292        0.0327      8.94  3.87e-19
## 13 block6:type70-30   0.270        0.0329      8.20  2.48e-16
## 14 block2:type80-20   0.266        0.0329      8.09  6.01e-16
## 15 block3:type80-20   0.344        0.0333     10.3   5.31e-25
## 16 block4:type80-20   0.436        0.0335     13.0   1.21e-38
## 17 block5:type80-20   0.494        0.0338     14.6   2.67e-48
## 18 block6:type80-20   0.449        0.0341     13.2   1.06e-39
## 19 sd__(Intercept)    0.679       NA          NA    NA
## Residuals
#residuals and fitted values
residuals_glmm <- resid(LMM_mod_H1, type = "pearson")
fitted_values_glmm <- fitted(LMM_mod_H1)

# Create scatterplot
ggplot(data.frame(Residuals = residuals_glmm, Fitted = fitted_values_glmm), aes(x = Fitted, y = Residuals)) +
  geom_point(alpha = 0.5, color = "blue") +
  geom_hline(yintercept = 0, linetype = "dashed", color = "red") +
  labs(
    title = "Residuals vs. Fitted Values",
    x = "Fitted Values",
    y = "Residuals"
  ) +
  theme_minimal()

#Q-Q plot
ggplot(data.frame(Residuals = residuals_glmm), aes(sample = Residuals)) +
  stat_qq(color = "blue", alpha = 0.7) +
  stat_qq_line(color = "red", linetype = "dashed") +
  labs(
    title = "Q-Q Plot of Residuals",
    x = "Theoretical Quantiles",
    y = "Sample Quantiles"
  ) +
  theme_minimal()

0.1.2 Model Comparisions

# Main effects only model
mod_main_effects_h1 <- glmer(optimal_choice ~ block + type + (1 | ID), 
                            data = data_LMM_h1, 
                            family = binomial,
                            control = glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 1e+05)))
mod_main_effects_h1
## Generalized linear mixed model fit by maximum likelihood (Laplace
##   Approximation) [glmerMod]
##  Family: binomial  ( logit )
## Formula: optimal_choice ~ block + type + (1 | ID)
##    Data: data_LMM_h1
##       AIC       BIC    logLik  deviance  df.resid 
##  364765.3  364861.3 -182373.7  364747.3    315320 
## Random effects:
##  Groups Name        Std.Dev.
##  ID     (Intercept) 0.6793  
## Number of obs: 315329, groups:  ID, 880
## Fixed Effects:
## (Intercept)       block2       block3       block4       block5       block6  
##      0.1620       0.2153       0.3302       0.3923       0.4547       0.5195  
##   type70-30    type80-20  
##      0.4276       0.7682
# Main effects only model
mod_main_effects_h1 <- glmer(optimal_choice ~ block + type + (1 | ID), 
                            data = data_LMM_h1, 
                            family = binomial,
                            control = glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 1e+05)))
mod_main_effects_h1
## Generalized linear mixed model fit by maximum likelihood (Laplace
##   Approximation) [glmerMod]
##  Family: binomial  ( logit )
## Formula: optimal_choice ~ block + type + (1 | ID)
##    Data: data_LMM_h1
##       AIC       BIC    logLik  deviance  df.resid 
##  364765.3  364861.3 -182373.7  364747.3    315320 
## Random effects:
##  Groups Name        Std.Dev.
##  ID     (Intercept) 0.6793  
## Number of obs: 315329, groups:  ID, 880
## Fixed Effects:
## (Intercept)       block2       block3       block4       block5       block6  
##      0.1620       0.2153       0.3302       0.3923       0.4547       0.5195  
##   type70-30    type80-20  
##      0.4276       0.7682
# Likelihood Ratio Test for model comparison
model_comparison <- anova(mod_main_effects_h1, LMM_mod_H1)
print(model_comparison)
## Data: data_LMM_h1
## Models:
## mod_main_effects_h1: optimal_choice ~ block + type + (1 | ID)
## LMM_mod_H1: optimal_choice ~ block * type + (1 | ID)
##                     npar    AIC    BIC  logLik deviance  Chisq Df Pr(>Chisq)
## mod_main_effects_h1    9 364765 364861 -182374   364747                     
## LMM_mod_H1            19 364480 364683 -182221   364442 305.31 10  < 2.2e-16
##                        
## mod_main_effects_h1    
## LMM_mod_H1          ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
model_comparison
## Data: data_LMM_h1
## Models:
## mod_main_effects_h1: optimal_choice ~ block + type + (1 | ID)
## LMM_mod_H1: optimal_choice ~ block * type + (1 | ID)
##                     npar    AIC    BIC  logLik deviance  Chisq Df Pr(>Chisq)
## mod_main_effects_h1    9 364765 364861 -182374   364747                     
## LMM_mod_H1            19 364480 364683 -182221   364442 305.31 10  < 2.2e-16
##                        
## mod_main_effects_h1    
## LMM_mod_H1          ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

0.2 Hypothesis 2:

library(tidyverse)  
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ forcats   1.0.0     ✔ readr     2.1.5
## ✔ lubridate 1.9.4     ✔ tidyr     1.3.1
## ✔ purrr     1.0.2     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ purrr::compose() masks flextable::compose()
## ✖ tidyr::expand()  masks Matrix::expand()
## ✖ dplyr::filter()  masks stats::filter()
## ✖ dplyr::lag()     masks stats::lag()
## ✖ tidyr::pack()    masks Matrix::pack()
## ✖ tidyr::unpack()  masks Matrix::unpack()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(lme4)       
library(car) 
## Loading required package: carData
## 
## Attaching package: 'car'
## 
## The following object is masked from 'package:purrr':
## 
##     some
## 
## The following object is masked from 'package:dplyr':
## 
##     recode
data_task_h2 <- data_task <- read.csv("task_data_18_h2.csv") 

# Condition and trial type to factors
data_task_h2 <- data_task %>%
  mutate(
    condition = factor(condition),  # Treatment vs Control
    type = factor(type),            # Trial types: "80-20", "70-30", "60-40"
    block = as.numeric(block)       # Numeric blocks for ordering
  )
str(data_task_h2)
## 'data.frame':    316800 obs. of  11 variables:
##  $ ID             : int  1 1 1 1 1 1 1 1 1 1 ...
##  $ condition      : Factor w/ 2 levels "control","treatment": 2 2 2 2 2 2 2 2 2 2 ...
##  $ trial          : int  1 2 3 4 5 6 7 8 9 10 ...
##  $ block          : num  1 1 1 1 1 1 1 1 1 1 ...
##  $ type           : Factor w/ 3 levels "60-40","70-30",..: 1 1 3 3 2 1 2 2 3 3 ...
##  $ choice         : chr  "L" "H" "H" "L" ...
##  $ rt             : num  1786 1118 1904 1730 939 ...
##  $ reward         : int  0 0 0 0 0 1 1 0 1 1 ...
##  $ affect_type    : chr  "confident" "engaged" "happy" "engaged" ...
##  $ affect_response: int  39 52 35 22 35 25 33 35 33 25 ...
##  $ affect_rt      : num  11380 4976 3946 3249 3050 ...
# Convert choice to numeric (binary: 1 for "H", 0 for "L")
data_task_h2 <- data_task %>%
  mutate(choice = ifelse(choice == "H", 1, 0))



# Summarize data by condition, block, and trial type
descriptive_stats_h2 <- data_task_h2 %>%
  group_by(condition, block, type) %>%
  summarise(
    mean_choice = mean(choice, na.rm = TRUE),
    sd_choice = sd(choice, na.rm = TRUE),
    n = n(),
    .groups = "drop"
  )

0.3 Linear Mixed Effects Model (Hypothesis 2)

data_wide_h2 <- read.csv("particpant_data_18_h2.csv")

# Wide-format data converted (optimal_1 to optimal_6) to long format, excluding `optimal_total`
data_mixd_h2 <- data_wide_h2 %>%
  select(ID, condition, starts_with("optimal_")) %>%
  select(-optimal_total) %>%
  pivot_longer(
    cols = starts_with("optimal_"),  # only block-level variables
    names_to = "block",             # new column for blocks
    names_prefix = "optimal_",      # "optimal_" prefix
    values_to = "optimal_choice"    # Name column for choice proportions
  ) %>%
  mutate(
    block = as.numeric(block),      # block to numeric
    condition = factor(condition)   # Condition is a factor
  )
# Summary data by condition and block
descriptive_stats_mixd <- data_mixd_h2 %>%
  group_by(condition, block) %>%
  summarise(
    mean_optimal = mean(optimal_choice, na.rm = TRUE),
    sd_optimal = sd(optimal_choice, na.rm = TRUE),
    n = n(),
    .groups = "drop"
  )

print(descriptive_stats_mixd)
## # A tibble: 12 × 5
##    condition block mean_optimal sd_optimal     n
##    <fct>     <dbl>        <dbl>      <dbl> <int>
##  1 control       1        0.618      0.123   440
##  2 control       2        0.658      0.141   440
##  3 control       3        0.679      0.150   440
##  4 control       4        0.692      0.157   440
##  5 control       5        0.699      0.158   440
##  6 control       6        0.716      0.164   440
##  7 treatment     1        0.622      0.124   440
##  8 treatment     2        0.671      0.145   440
##  9 treatment     3        0.695      0.152   440
## 10 treatment     4        0.707      0.159   440
## 11 treatment     5        0.723      0.163   440
## 12 treatment     6        0.730      0.162   440
H2_lineplot <- ggplot(descriptive_stats_mixd, aes(x = block, y = mean_optimal, color = condition, group = condition)) +
  geom_line(size = 1) +
  geom_point(size = 1.5) +
  geom_errorbar(aes(ymin = mean_optimal - sd_optimal, ymax = mean_optimal + sd_optimal), width = 0.2) +
  labs(
    title = "Mean Proportion of Optimal Choices Across Blocks by Condition",
    x = "Block",
    y = "Mean Proportion of Optimal Choices",
    color = "Condition"
  ) +
  scale_x_continuous(
    breaks = 1:6,  
    labels = paste("Block", 1:6)  
  ) +
  scale_color_manual(values = c("blue", "#87CEEB")) +  
  theme_minimal(base_size = 12) +  # APA-7 font
  theme(
    panel.background = element_rect(fill = "gray95", color = NA),  
    plot.title = element_text(hjust = 0.5, size = 14, face = "bold"),  # Centered title
    axis.title = element_text(size = 12),  
    axis.text = element_text(size = 10),  
    legend.position = "top"  
  )

H2_lineplot

0.3.1 Linear Mixed Effects Model (Fit)

# Fit linear mixed-effects model
lmm_model_h2 <- lmer(
  optimal_choice ~ condition * block + (1 | ID),  # Random intercepts for participants
  data = data_mixd_h2
)

summary(lmm_model_h2)
## Linear mixed model fit by REML ['lmerMod']
## Formula: optimal_choice ~ condition * block + (1 | ID)
##    Data: data_mixd_h2
## 
## REML criterion at convergence: -8015
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -5.8342 -0.5839  0.0188  0.6309  3.6150 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  ID       (Intercept) 0.014200 0.11916 
##  Residual             0.008549 0.09246 
## Number of obs: 5280, groups:  ID, 880
## 
## Fixed effects:
##                          Estimate Std. Error t value
## (Intercept)              0.614155   0.007008  87.637
## conditiontreatment       0.006577   0.009911   0.664
## block                    0.017963   0.001054  17.047
## conditiontreatment:block 0.002282   0.001490   1.531
## 
## Correlation of Fixed Effects:
##             (Intr) cndtnt block 
## cndtntrtmnt -0.707              
## block       -0.526  0.372       
## cndtntrtmn:  0.372 -0.526 -0.707

0.3.1.1 ANOVA (fixed)

#ANOVA for fixed effects
anova(lmm_model_h2)
## Analysis of Variance Table
##                 npar Sum Sq Mean Sq  F value
## condition          1 0.0255  0.0255   2.9860
## block              1 5.6202  5.6202 657.4026
## condition:block    1 0.0200  0.0200   2.3445
# Confidence intervals for fixed effects
confint(lmm_model_h2, method = "profile")
## Computing profile confidence intervals ...
##                                2.5 %      97.5 %
## .sig01                    0.11310801 0.125372720
## .sigma                    0.09054205 0.094405844
## (Intercept)               0.60042359 0.627886169
## conditiontreatment       -0.01284207 0.025995882
## block                     0.01589760 0.020027965
## conditiontreatment:block -0.00063895 0.005202275
# Residual diagnostics for the linear mixed-effects model
plot(lmm_model_h2)

## QQ Plots
qqplot_lmm <- qqnorm(resid(lmm_model_h2))

qqline(resid(lmm_model_h2), col = "red", lwd = 2)

#random subset of residuals (e.g., 500 values)
set.seed(123)  # For reproducibility
subset_resid <- sample(resid(lmm_model_h2), 500)

# Shapiro-Wilk test on the subset
shapiro.test(subset_resid)
## 
##  Shapiro-Wilk normality test
## 
## data:  subset_resid
## W = 0.99372, p-value = 0.03622

0.3.2 Post-Hoc Comparisons

# Post-Hoc Tests
library(emmeans)


# Estimated marginal means for condition and block
emmeans_results_h2 <- emmeans(lmm_model_h2, ~ condition | block)
## Note: D.f. calculations have been disabled because the number of observations exceeds 3000.
## To enable adjustments, add the argument 'pbkrtest.limit = 5280' (or larger)
## [or, globally, 'set emm_options(pbkrtest.limit = 5280)' or larger];
## but be warned that this may result in large computation time and memory use.
## Note: D.f. calculations have been disabled because the number of observations exceeds 3000.
## To enable adjustments, add the argument 'lmerTest.limit = 5280' (or larger)
## [or, globally, 'set emm_options(lmerTest.limit = 5280)' or larger];
## but be warned that this may result in large computation time and memory use.
options(emmeans.no.df.adjustments = TRUE)

# Pairwise comparisons with Bonferroni adjustment
contrast_results <- contrast(emmeans_results_h2, method = "pairwise", adjust = "bonferroni")


contrast_results
## block = 3.5:
##  contrast            estimate      SE  df z.ratio p.value
##  control - treatment  -0.0146 0.00843 Inf  -1.728  0.0840
## 
## Degrees-of-freedom method: asymptotic

0.4 Random Effects

# Extract random effects
random_effectsh2 <- ranef(lmm_model_h2)$ID  

# Summary of random effects
random_effectsh2
##       (Intercept)
## 1   -0.1034310847
## 2   -0.0714421149
## 3    0.0181786282
## 4   -0.1384313347
## 5   -0.1044151993
## 6    0.0489355295
## 7   -0.0465870314
## 8    0.1218589456
## 9   -0.0990992099
## 10   0.1010508162
## 11   0.1361366414
## 12   0.0304218621
## 13   0.1919316610
## 14   0.0256296518
## 15   0.0732816691
## 16  -0.0156175866
## 17   0.0581348617
## 18   0.0833795408
## 19   0.0474513236
## 20  -0.0958576810
## 21   0.1466329612
## 22  -0.0033936952
## 23  -0.0887843685
## 24  -0.0556166077
## 25  -0.1177649279
## 26   0.1117610739
## 27  -0.0384233730
## 28   0.1767848535
## 29  -0.2585227449
## 30  -0.0352704511
## 31  -0.1310290814
## 32   0.0274989460
## 33   0.1917177230
## 34   0.1041876702
## 35   0.1785880449
## 36  -0.1469327056
## 37  -0.1542818434
## 38   0.1260521296
## 39   0.0424318155
## 40  -0.0700006157
## 41  -0.1530248544
## 42  -0.1204899740
## 43  -0.0370247423
## 44  -0.1564449108
## 45   0.0548830047
## 46  -0.0136493574
## 47   0.0486493761
## 48   0.1327992092
## 49   0.0960018804
## 50   0.0150611166
## 51   0.0253167788
## 52   0.0360992519
## 53   0.0404635863
## 54  -0.0118522786
## 55  -0.0428673808
## 56   0.1471036247
## 57  -0.1906749842
## 58  -0.0816633622
## 59   0.2424210192
## 60  -0.0156603742
## 61   0.0178289503
## 62   0.0492705339
## 63  -0.1059555526
## 64  -0.0436960345
## 65   0.0377587992
## 66   0.0605443266
## 67   0.0486493761
## 68  -0.1788950367
## 69  -0.0235894385
## 70  -0.0388646088
## 71   0.0117103246
## 72  -0.0321335970
## 73  -0.0552816842
## 74   0.0240110196
## 75  -0.1431246100
## 76  -0.1215596637
## 77  -0.0821950794
## 78  -0.0927208269
## 79   0.0043080713
## 80  -0.0649516799
## 81   0.1092366060
## 82   0.2317669089
## 83  -0.0478927906
## 84  -0.0518100684
## 85  -0.0680885339
## 86   0.0707572012
## 87   0.0671202559
## 88   0.2378084015
## 89  -0.0198107706
## 90  -0.0451410249
## 91  -0.1659303964
## 92  -0.1105692353
## 93   0.0177433751
## 94  -0.0502034726
## 95  -0.1011927701
## 96   0.0309781008
## 97   0.0869782057
## 98  -0.1447505385
## 99  -0.0538830535
## 100 -0.0958576810
## 101  0.1109347499
## 102 -0.0373242555
## 103 -0.0075013040
## 104  0.0817312804
## 105 -0.0935765788
## 106  0.0356419483
## 107 -0.1077024667
## 108  0.1008368782
## 109  0.0853049824
## 110  0.0789429911
## 111 -0.0146040443
## 112  0.1944561289
## 113  0.0293816000
## 114 -0.0514013732
## 115  0.0183557612
## 116 -0.0207948852
## 117 -0.1432101852
## 118 -0.1381612493
## 119  0.0455125221
## 120 -0.0556402956
## 121 -0.1488715071
## 122 -0.0884790345
## 123 -0.0832353414
## 124 -0.1690672504
## 125 -0.0507889870
## 126  0.1530805277
## 127 -0.0050062639
## 128  0.0529770354
## 129 -0.1255389098
## 130  0.1111486878
## 131 -0.1424548438
## 132  0.1843582573
## 133  0.0982829826
## 134 -0.0899677476
## 135 -0.1575514865
## 136  0.0890408627
## 137  0.0456542447
## 138  0.0107823575
## 139 -0.1724341103
## 140 -0.0321335970
## 141  0.1943690783
## 142 -0.0049634763
## 143  0.1288199632
## 144  0.1398370304
## 145  0.1672993680
## 146  0.1919316610
## 147  0.0386074124
## 148 -0.0077446698
## 149  0.0249022627
## 150  0.0612717157
## 151  0.1327992092
## 152 -0.1222576251
## 153  0.0309781008
## 154 -0.0649516799
## 155  0.0782583896
## 156 -0.0034792704
## 157 -0.0305725877
## 158  0.0776593633
## 159 -0.1792506972
## 160  0.1117610739
## 161 -0.0306360313
## 162 -0.1741161862
## 163  0.0360270366
## 164 -0.1324053476
## 165  0.0284536328
## 166 -0.0206237349
## 167  0.0293816000
## 168 -0.1451489866
## 169 -0.1034310847
## 170 -0.0135047649
## 171 -0.0024523682
## 172  0.0852621948
## 173 -0.0397070008
## 174 -0.0988228012
## 175  0.1004517899
## 176  0.0631837975
## 177  0.1144184086
## 178  0.1467185364
## 179  0.0353424351
## 180 -0.1054125119
## 181  0.1723483038
## 182  0.0342299577
## 183 -0.0312912050
## 184 -0.0388218212
## 185  0.1572014964
## 186  0.1420546889
## 187 -0.0784725589
## 188  0.0571079595
## 189  0.0556103938
## 190  0.0139780670
## 191 -0.0978878784
## 192 -0.2048671048
## 193 -0.1816895900
## 194  0.0379391184
## 195 -0.0028802441
## 196 -0.0615336013
## 197  0.1138443061
## 198 -0.1247820930
## 199  0.0259291649
## 200 -0.1070252424
## 201 -0.1465609772
## 202  0.0672238147
## 203  0.1060275367
## 204 -0.1735038001
## 205 -0.1834733090
## 206 -0.0397631482
## 207  0.1193344777
## 208  0.0404635863
## 209 -0.1269642601
## 210  0.1922873216
## 211 -0.1471501672
## 212 -0.0360406277
## 213 -0.0937905167
## 214 -0.0756619377
## 215 -0.1658334093
## 216 -0.0657632496
## 217  0.0633255201
## 218 -0.1659303964
## 219  0.1142855419
## 220 -0.0495053593
## 221  0.1335827457
## 222  0.0234046970
## 223 -0.0230467117
## 224  0.1051053903
## 225  0.0531420733
## 226  0.1310021304
## 227 -0.0655640660
## 228  0.1160398331
## 229  0.0657082654
## 230  0.0470072179
## 231  0.0757767093
## 232  0.1389178349
## 233  0.0593757018
## 234 -0.0940044547
## 235 -0.0357705423
## 236  0.0065330260
## 237  0.0461249082
## 238 -0.1058566176
## 239  0.0366260629
## 240  0.1035752841
## 241 -0.1255094820
## 242  0.0022690212
## 243  0.0418327892
## 244  0.1180508499
## 245 -0.0327459832
## 246  0.0850054693
## 247  0.0648230858
## 248  0.1338688990
## 249  0.0348717716
## 250  0.0252017759
## 251 -0.1322699215
## 252 -0.0922635233
## 253 -0.1236268280
## 254 -0.0581912404
## 255  0.0424451753
## 256 -0.0043644500
## 257 -0.1649994783
## 258 -0.1059555526
## 259  0.1387600443
## 260 -0.1087661738
## 261 -0.0059475909
## 262  0.0209952321
## 263 -0.0195098630
## 264  0.2210065673
## 265 -0.0356849672
## 266  0.2020295327
## 267 -0.1064690037
## 268  0.0372545169
## 269 -0.1558325247
## 270  0.0723403421
## 271 -0.1075357426
## 272  0.1359360633
## 273 -0.1715917183
## 274  0.2278865979
## 275 -0.0049768361
## 276 -0.2250762080
## 277 -0.1499863885
## 278  0.0008984238
## 279 -0.0559234980
## 280 -0.1199337353
## 281  0.0138069166
## 282 -0.0002568412
## 283 -0.1480850198
## 284  0.1035752841
## 285 -0.2084318348
## 286  0.1614241081
## 287 -0.1197287308
## 288  0.0559282444
## 289  0.0606593296
## 290  0.0183557612
## 291  0.1420546889
## 292  0.0284536328
## 293 -0.0397070008
## 294  0.0182568262
## 295 -0.1413851540
## 296  0.0300795613
## 297 -0.1930755157
## 298  0.1082819192
## 299  0.0279126754
## 300  0.0985263483
## 301 -0.1517677035
## 302  0.2061371415
## 303 -0.1693534037
## 304 -0.0043644500
## 305 -0.0412075174
## 306  0.1303603165
## 307 -0.0302215152
## 308  0.1947690019
## 309  0.0915653306
## 310 -0.1233701024
## 311  0.1872383858
## 312  0.0884284766
## 313  0.1414423028
## 314 -0.0842194560
## 315 -0.1730037088
## 316  0.0137964598
## 317 -0.1745277514
## 318  0.0868615655
## 319 -0.1056057938
## 320 -0.0613010810
## 321 -0.1129165702
## 322  0.1046021863
## 323 -0.1829304301
## 324 -0.0227631954
## 325 -0.0418597402
## 326  0.0922793599
## 327  0.0075305005
## 328  0.1253269925
## 329  0.1269078814
## 330 -0.1230144419
## 331 -0.1785691520
## 332  0.0726104275
## 333 -0.0836498575
## 334  0.0859040087
## 335 -0.0605151302
## 336  0.0912230299
## 337  0.0509599061
## 338  0.0490638922
## 339  0.0284536328
## 340 -0.0165294859
## 341  0.0940897986
## 342  0.1899767916
## 343 -0.0792560954
## 344 -0.0183265647
## 345 -0.0254902604
## 346 -0.0725250836
## 347 -0.1727469833
## 348 -0.0973846744
## 349 -0.1585865280
## 350  0.1439801305
## 351  0.0980690446
## 352 -0.1310025235
## 353  0.1938143150
## 354 -0.0054341398
## 355  0.0560516295
## 356  0.1868827252
## 357  0.2405089375
## 358  0.1293248568
## 359 -0.0923136880
## 360 -0.0277173063
## 361  0.1995050647
## 362 -0.0731374698
## 363  0.0598035777
## 364 -0.0938760919
## 365  0.0328901826
## 366 -0.1399155406
## 367 -0.2220810766
## 368 -0.1718912315
## 369  0.0430014140
## 370 -0.1179655060
## 371 -0.0397070008
## 372 -0.1559667892
## 373  0.0328901826
## 374 -0.1116688221
## 375 -0.2310664708
## 376  0.0606593296
## 377  0.1393162830
## 378 -0.1078676344
## 379 -0.1345288113
## 380 -0.0649516799
## 381 -0.0715543289
## 382  0.0309781008
## 383  0.1560756591
## 384 -0.1488715071
## 385 -0.1801072256
## 386 -0.0125502399
## 387  0.1643470242
## 388  0.0467490169
## 389  0.0006844858
## 390  0.2026419188
## 391  0.0746936597
## 392  0.0975364128
## 393 -0.1640183146
## 394 -0.0127936056
## 395  0.0174572218
## 396 -0.0084292712
## 397  0.0396934096
## 398 -0.0416944916
## 399  0.0335025687
## 400 -0.1146842213
## 401  0.0833073254
## 402 -0.0876718911
## 403 -0.1203189045
## 404 -0.0043644500
## 405  0.0732816691
## 406  0.0978845344
## 407  0.2398965513
## 408 -0.0120367888
## 409  0.1645609621
## 410  0.0051210355
## 411 -0.1104348899
## 412 -0.1619939379
## 413  0.1513262365
## 414  0.0729527282
## 415  0.0987964337
## 416  0.2348476155
## 417  0.1060997520
## 418 -0.0785315762
## 419  0.0121382006
## 420  0.1838875938
## 421 -0.0781864056
## 422  0.0303657146
## 423 -0.2048335473
## 424  0.0284536328
## 425  0.0055489114
## 426  0.1188210266
## 427  0.0025965676
## 428 -0.0384795205
## 429  0.0851766196
## 430  0.1622504322
## 431  0.0067897516
## 432 -0.0331604992
## 433  0.0631837975
## 434  0.0354280103
## 435  0.0556237536
## 436  0.0042224961
## 437 -0.0480933688
## 438 -0.1766406541
## 439  0.1479460167
## 440 -0.1160534243
## 441 -0.2195566086
## 442 -0.1539204429
## 443  0.0597313624
## 444 -0.0791571603
## 445  0.1633923373
## 446 -0.0860459626
## 447 -0.0426593446
## 448 -0.0284966517
## 449  0.1439239831
## 450 -0.0700006157
## 451  0.2000746633
## 452  0.0360270366
## 453  0.1900195792
## 454  0.1900195792
## 455 -0.2492378375
## 456 -0.1739420850
## 457  0.1288199632
## 458 -0.0791277326
## 459  0.0122371356
## 460 -0.1725196855
## 461  0.0065758136
## 462 -0.1278494397
## 463 -0.1527223904
## 464 -0.1215168762
## 465 -0.1209312097
## 466 -0.0081859055
## 467  0.2731986575
## 468 -0.1007294837
## 469 -0.1135289563
## 470 -0.0024523682
## 471  0.0496939836
## 472 -0.1665427825
## 473 -0.1423250056
## 474  0.1874951113
## 475  0.0410759724
## 476 -0.1361635924
## 477  0.0657082654
## 478 -0.0561802236
## 479  0.1742603856
## 480  0.0169731984
## 481  0.1127024010
## 482  0.0410759724
## 483 -0.1198615199
## 484 -0.1798851339
## 485  0.0680321552
## 486  0.0253167788
## 487 -0.1797935761
## 488  0.1492857919
## 489 -0.1165535155
## 490 -0.1216857745
## 491  0.0120659852
## 492  0.0783306050
## 493  0.0238620007
## 494 -0.1753142388
## 495 -0.0276970473
## 496 -0.0908087451
## 497  0.2426055294
## 498 -0.0061615289
## 499  0.0410759724
## 500  0.1510267233
## 501 -0.0003129886
## 502  0.0516017200
## 503  0.1407530453
## 504  0.0855750678
## 505  0.0276834562
## 506  0.0499196441
## 507 -0.1518488524
## 508 -0.0009548025
## 509  0.0140342144
## 510 -0.0507034118
## 511  0.1067121381
## 512 -0.0068889179
## 513  0.0371823016
## 514  0.1101779331
## 515 -0.0786009217
## 516 -0.0689442858
## 517 -0.1110044884
## 518  0.0177685384
## 519 -0.1798479834
## 520  0.2026419188
## 521  0.0807828575
## 522  0.0764185232
## 523  0.1995050647
## 524  0.0216931934
## 525  0.0592473391
## 526  0.1339589005
## 527 -0.0730641640
## 528 -0.0826229553
## 529 -0.1748302155
## 530 -0.2372278840
## 531 -0.1558782632
## 532 -0.0687620308
## 533 -0.0670822069
## 534  0.0144915181
## 535  0.0592901266
## 536  0.0555809660
## 537  0.0722370617
## 538  0.1202049029
## 539 -0.0498048724
## 540 -0.1529657561
## 541  0.1142855419
## 542 -0.0749156753
## 543  0.1921161712
## 544  0.1579583132
## 545  0.1267307484
## 546 -0.0646521668
## 547 -0.0049768361
## 548 -0.1432101852
## 549 -0.0970985211
## 550 -0.0806975136
## 551  0.1201046543
## 552  0.0498768565
## 553  0.0725970677
## 554 -0.1700513650
## 555  0.1308309800
## 556 -0.1741161862
## 557 -0.1493730738
## 558  0.2449454872
## 559  0.1752895398
## 560 -0.1560464627
## 561 -0.0473954884
## 562 -0.1689816752
## 563  0.0124893539
## 564 -0.1059555526
## 565 -0.0705996420
## 566  0.0006844858
## 567  0.0057334216
## 568  0.1225301872
## 569 -0.0051616504
## 570  0.1261671325
## 571  0.1230436383
## 572 -0.0669332689
## 573  0.1262954953
## 574 -0.0021057156
## 575  0.0688451194
## 576  0.0276406686
## 577  0.2632291487
## 578 -0.1110044884
## 579 -0.1772263206
## 580 -0.1455605518
## 581  0.0589611858
## 582 -0.0917500722
## 583 -0.0102838920
## 584  0.1540646423
## 585  0.1563457445
## 586  0.1919316610
## 587  0.0234046970
## 588 -0.1627774744
## 589  0.1286060252
## 590  0.1467185364
## 591  0.1202890027
## 592  0.1111486878
## 593  0.0056344866
## 594 -0.2481253601
## 595  0.1115043484
## 596  0.1502904816
## 597 -0.1013669523
## 598 -0.2057362165
## 599  0.0143203677
## 600  0.1318712421
## 601  0.0398645600
## 602 -0.1279335395
## 603 -0.1180216535
## 604  0.0032089537
## 605  0.1894071931
## 606  0.1592553008
## 607 -0.1129165702
## 608  0.0652803895
## 609  0.0602314537
## 610  0.1597259643
## 611 -0.0197679830
## 612 -0.1346526668
## 613  0.1783252068
## 614 -0.0302215152
## 615  0.2026419188
## 616  0.1571587088
## 617  0.2372865082
## 618 -0.1236787755
## 619 -0.1183211666
## 620 -0.0428438548
## 621  0.1868827252
## 622 -0.0563219462
## 623 -0.1355526817
## 624  0.0612717157
## 625 -0.1538395237
## 626 -0.0258143933
## 627 -0.0851474232
## 628  0.0556103938
## 629  0.0823083756
## 630  0.1562173818
## 631  0.0306358000
## 632  0.0000720997
## 633 -0.0380517744
## 634 -0.1696957044
## 635  0.0100593138
## 636 -0.0439272085
## 637 -0.0217789998
## 638  0.1168100098
## 639 -0.0049768361
## 640  0.0631837975
## 641 -0.0467375257
## 642 -0.0882842772
## 643 -0.1791651221
## 644 -0.1962240113
## 645 -0.1163529374
## 646 -0.1155999635
## 647  0.0637961836
## 648 -0.1946097522
## 649  0.0536983120
## 650 -0.0548833169
## 651  0.2184835748
## 652  0.0431076453
## 653  0.1586857022
## 654 -0.0179443464
## 655 -0.0006538139
## 656 -0.0643232259
## 657  0.0663206515
## 658 -0.1507835889
## 659  0.0284536328
## 660  0.0657082654
## 661  0.0835212634
## 662 -0.1651587443
## 663 -0.0938333043
## 664  0.1966944435
## 665  0.0022676267
## 666 -0.1924159157
## 667  0.2121274043
## 668 -0.1280633777
## 669 -0.0327459832
## 670  0.0899688299
## 671  0.0738940553
## 672 -0.1286757638
## 673 -0.0334688683
## 674 -0.0201236436
## 675  0.1461622977
## 676  0.0157412109
## 677 -0.1089634293
## 678  0.2220246978
## 679 -0.0989731095
## 680 -0.0635824770
## 681 -0.0287239495
## 682 -0.0745769666
## 683  0.0458120353
## 684 -0.0348425752
## 685 -0.1380328866
## 686  0.0095281575
## 687  0.1136731557
## 688 -0.0134487793
## 689 -0.0453683227
## 690  0.0349011994
## 691 -0.0571643382
## 692  0.1706728318
## 693  0.0354146505
## 694  0.1010508162
## 695 -0.0161016100
## 696 -0.1824464068
## 697 -0.0721960618
## 698 -0.1665427825
## 699  0.1698238359
## 700  0.0183557612
## 701  0.1671710052
## 702 -0.1659303964
## 703 -0.0930690294
## 704  0.0344675026
## 705  0.0935334789
## 706  0.0486493761
## 707  0.0169304108
## 708  0.1199526846
## 709  0.1103652323
## 710  0.0079937059
## 711  0.0070598370
## 712 -0.0481361563
## 713 -0.0800646333
## 714  0.0533823827
## 715 -0.1356367814
## 716 -0.0257154583
## 717 -0.0436140315
## 718 -0.1510831020
## 719 -0.0532278798
## 720  0.2430334054
## 721  0.1014492643
## 722 -0.0675288078
## 723  0.2631863611
## 724  0.2479539784
## 725 -0.1739878235
## 726  0.0724259173
## 727  0.1766992784
## 728  0.0476622297
## 729  0.1818337894
## 730  0.2556129573
## 731 -0.1298262265
## 732 -0.2002888325
## 733 -0.0687169880
## 734 -0.1742490530
## 735  0.1914609975
## 736 -0.0049768361
## 737 -0.2311948336
## 738  0.0144059429
## 739 -0.1621223007
## 740 -0.1554607962
## 741  0.0865163948
## 742  0.1436672575
## 743 -0.0382950102
## 744 -0.0100257720
## 745 -0.0598171689
## 746 -0.1484302714
## 747 -0.0201236436
## 748  0.0773892779
## 749 -0.3071855965
## 750 -0.1488715071
## 751 -0.1709793322
## 752  0.0586188850
## 753  0.0193826634
## 754 -0.0851474232
## 755  0.0060462137
## 756  0.0272850080
## 757 -0.0201530714
## 758 -0.1293042179
## 759 -0.0032225449
## 760  0.0152189072
## 761  0.1190909501
## 762 -0.1400572632
## 763  0.0455125221
## 764  0.0474513236
## 765 -0.0513585856
## 766  0.1142855419
## 767 -0.1018907314
## 768  0.0254157138
## 769 -0.0453683227
## 770 -0.0504172585
## 771  0.1661735308
## 772 -0.1760282680
## 773 -0.0573782762
## 774  0.2045540006
## 775  0.0267760609
## 776  0.0169731984
## 777 -0.0963149846
## 778 -0.1309435062
## 779 -0.0150747078
## 780 -0.1805343250
## 781  0.0606726894
## 782  0.0429880542
## 783  0.0080439516
## 784 -0.0497326571
## 785 -0.0097098427
## 786 -0.0106542260
## 787  0.1370057531
## 788 -0.1103921023
## 789 -0.1457346531
## 790  0.0330746928
## 791  0.0948466154
## 792 -0.0715543289
## 793 -0.1197331571
## 794  0.0133068254
## 795 -0.1457346531
## 796  0.1180374901
## 797 -0.0092422355
## 798  0.1210459813
## 799 -0.0894395422
## 800  0.0789429911
## 801 -0.1512225727
## 802  0.0472565663
## 803  0.0201100525
## 804  0.2097018714
## 805 -0.0682794015
## 806  0.0738940553
## 807 -0.1117185177
## 808 -0.0043644500
## 809  0.1994756370
## 810  0.0437847887
## 811 -0.1064128563
## 812 -0.0913088364
## 813 -0.1314863850
## 814  0.0381125490
## 815  0.2200136810
## 816 -0.0142882204
## 817  0.1121062446
## 818 -0.0805475027
## 819  0.1086242199
## 820 -0.1432101852
## 821  0.1592125132
## 822  0.0455125221
## 823  0.0644055379
## 824  0.0215086832
## 825  0.0612717157
## 826  0.0789429911
## 827  0.0663206515
## 828  0.0243326642
## 829  0.2449454872
## 830 -0.1521100042
## 831  0.2419060927
## 832  0.1399758021
## 833 -0.0371825329
## 834  0.0240892985
## 835 -0.1829732177
## 836  0.1445791568
## 837  0.2026419188
## 838  0.0960018804
## 839  0.0713695874
## 840 -0.0032653325
## 841  0.0351579249
## 842 -0.0377949190
## 843 -0.0807108735
## 844 -0.0065171894
## 845 -0.1474595166
## 846  0.0101699713
## 847 -0.1662818659
## 848 -0.0056614376
## 849 -0.0772317187
## 850 -0.1760282680
## 851  0.0637961836
## 852 -0.1987484792
## 853 -0.2737123399
## 854  0.0097848830
## 855  0.0678476450
## 856  0.0875727248
## 857 -0.0818499087
## 858  0.0556665412
## 859 -0.0582768156
## 860 -0.0422314687
## 861 -0.0463952249
## 862  0.2421215061
## 863 -0.0361347393
## 864  0.0764185232
## 865  0.0356713760
## 866  0.0328901826
## 867 -0.0084426311
## 868  0.0977459245
## 869  0.1035458563
## 870 -0.1986614286
## 871  0.0890408627
## 872 -0.0861315378
## 873  0.0082578896
## 874 -0.0226481115
## 875  0.2304110658
## 876  0.1111486878
## 877 -0.0417076152
## 878  0.0470824650
## 879 -0.0725250836
## 880 -0.1865048636
# Standard deviation of random effects
sd_random_effectsh2 <- sd(unlist(random_effectsh2))
print(sd_random_effectsh2)
## [1] 0.1135357
# Convert random effects to a data frame for plotting
random_effects_df <- as.data.frame(random_effectsh2)
random_effects_df <- tibble::rownames_to_column(random_effects_df, var = "ID")

random_effects_df
##      ID   (Intercept)
## 1     1 -0.1034310847
## 2     2 -0.0714421149
## 3     3  0.0181786282
## 4     4 -0.1384313347
## 5     5 -0.1044151993
## 6     6  0.0489355295
## 7     7 -0.0465870314
## 8     8  0.1218589456
## 9     9 -0.0990992099
## 10   10  0.1010508162
## 11   11  0.1361366414
## 12   12  0.0304218621
## 13   13  0.1919316610
## 14   14  0.0256296518
## 15   15  0.0732816691
## 16   16 -0.0156175866
## 17   17  0.0581348617
## 18   18  0.0833795408
## 19   19  0.0474513236
## 20   20 -0.0958576810
## 21   21  0.1466329612
## 22   22 -0.0033936952
## 23   23 -0.0887843685
## 24   24 -0.0556166077
## 25   25 -0.1177649279
## 26   26  0.1117610739
## 27   27 -0.0384233730
## 28   28  0.1767848535
## 29   29 -0.2585227449
## 30   30 -0.0352704511
## 31   31 -0.1310290814
## 32   32  0.0274989460
## 33   33  0.1917177230
## 34   34  0.1041876702
## 35   35  0.1785880449
## 36   36 -0.1469327056
## 37   37 -0.1542818434
## 38   38  0.1260521296
## 39   39  0.0424318155
## 40   40 -0.0700006157
## 41   41 -0.1530248544
## 42   42 -0.1204899740
## 43   43 -0.0370247423
## 44   44 -0.1564449108
## 45   45  0.0548830047
## 46   46 -0.0136493574
## 47   47  0.0486493761
## 48   48  0.1327992092
## 49   49  0.0960018804
## 50   50  0.0150611166
## 51   51  0.0253167788
## 52   52  0.0360992519
## 53   53  0.0404635863
## 54   54 -0.0118522786
## 55   55 -0.0428673808
## 56   56  0.1471036247
## 57   57 -0.1906749842
## 58   58 -0.0816633622
## 59   59  0.2424210192
## 60   60 -0.0156603742
## 61   61  0.0178289503
## 62   62  0.0492705339
## 63   63 -0.1059555526
## 64   64 -0.0436960345
## 65   65  0.0377587992
## 66   66  0.0605443266
## 67   67  0.0486493761
## 68   68 -0.1788950367
## 69   69 -0.0235894385
## 70   70 -0.0388646088
## 71   71  0.0117103246
## 72   72 -0.0321335970
## 73   73 -0.0552816842
## 74   74  0.0240110196
## 75   75 -0.1431246100
## 76   76 -0.1215596637
## 77   77 -0.0821950794
## 78   78 -0.0927208269
## 79   79  0.0043080713
## 80   80 -0.0649516799
## 81   81  0.1092366060
## 82   82  0.2317669089
## 83   83 -0.0478927906
## 84   84 -0.0518100684
## 85   85 -0.0680885339
## 86   86  0.0707572012
## 87   87  0.0671202559
## 88   88  0.2378084015
## 89   89 -0.0198107706
## 90   90 -0.0451410249
## 91   91 -0.1659303964
## 92   92 -0.1105692353
## 93   93  0.0177433751
## 94   94 -0.0502034726
## 95   95 -0.1011927701
## 96   96  0.0309781008
## 97   97  0.0869782057
## 98   98 -0.1447505385
## 99   99 -0.0538830535
## 100 100 -0.0958576810
## 101 101  0.1109347499
## 102 102 -0.0373242555
## 103 103 -0.0075013040
## 104 104  0.0817312804
## 105 105 -0.0935765788
## 106 106  0.0356419483
## 107 107 -0.1077024667
## 108 108  0.1008368782
## 109 109  0.0853049824
## 110 110  0.0789429911
## 111 111 -0.0146040443
## 112 112  0.1944561289
## 113 113  0.0293816000
## 114 114 -0.0514013732
## 115 115  0.0183557612
## 116 116 -0.0207948852
## 117 117 -0.1432101852
## 118 118 -0.1381612493
## 119 119  0.0455125221
## 120 120 -0.0556402956
## 121 121 -0.1488715071
## 122 122 -0.0884790345
## 123 123 -0.0832353414
## 124 124 -0.1690672504
## 125 125 -0.0507889870
## 126 126  0.1530805277
## 127 127 -0.0050062639
## 128 128  0.0529770354
## 129 129 -0.1255389098
## 130 130  0.1111486878
## 131 131 -0.1424548438
## 132 132  0.1843582573
## 133 133  0.0982829826
## 134 134 -0.0899677476
## 135 135 -0.1575514865
## 136 136  0.0890408627
## 137 137  0.0456542447
## 138 138  0.0107823575
## 139 139 -0.1724341103
## 140 140 -0.0321335970
## 141 141  0.1943690783
## 142 142 -0.0049634763
## 143 143  0.1288199632
## 144 144  0.1398370304
## 145 145  0.1672993680
## 146 146  0.1919316610
## 147 147  0.0386074124
## 148 148 -0.0077446698
## 149 149  0.0249022627
## 150 150  0.0612717157
## 151 151  0.1327992092
## 152 152 -0.1222576251
## 153 153  0.0309781008
## 154 154 -0.0649516799
## 155 155  0.0782583896
## 156 156 -0.0034792704
## 157 157 -0.0305725877
## 158 158  0.0776593633
## 159 159 -0.1792506972
## 160 160  0.1117610739
## 161 161 -0.0306360313
## 162 162 -0.1741161862
## 163 163  0.0360270366
## 164 164 -0.1324053476
## 165 165  0.0284536328
## 166 166 -0.0206237349
## 167 167  0.0293816000
## 168 168 -0.1451489866
## 169 169 -0.1034310847
## 170 170 -0.0135047649
## 171 171 -0.0024523682
## 172 172  0.0852621948
## 173 173 -0.0397070008
## 174 174 -0.0988228012
## 175 175  0.1004517899
## 176 176  0.0631837975
## 177 177  0.1144184086
## 178 178  0.1467185364
## 179 179  0.0353424351
## 180 180 -0.1054125119
## 181 181  0.1723483038
## 182 182  0.0342299577
## 183 183 -0.0312912050
## 184 184 -0.0388218212
## 185 185  0.1572014964
## 186 186  0.1420546889
## 187 187 -0.0784725589
## 188 188  0.0571079595
## 189 189  0.0556103938
## 190 190  0.0139780670
## 191 191 -0.0978878784
## 192 192 -0.2048671048
## 193 193 -0.1816895900
## 194 194  0.0379391184
## 195 195 -0.0028802441
## 196 196 -0.0615336013
## 197 197  0.1138443061
## 198 198 -0.1247820930
## 199 199  0.0259291649
## 200 200 -0.1070252424
## 201 201 -0.1465609772
## 202 202  0.0672238147
## 203 203  0.1060275367
## 204 204 -0.1735038001
## 205 205 -0.1834733090
## 206 206 -0.0397631482
## 207 207  0.1193344777
## 208 208  0.0404635863
## 209 209 -0.1269642601
## 210 210  0.1922873216
## 211 211 -0.1471501672
## 212 212 -0.0360406277
## 213 213 -0.0937905167
## 214 214 -0.0756619377
## 215 215 -0.1658334093
## 216 216 -0.0657632496
## 217 217  0.0633255201
## 218 218 -0.1659303964
## 219 219  0.1142855419
## 220 220 -0.0495053593
## 221 221  0.1335827457
## 222 222  0.0234046970
## 223 223 -0.0230467117
## 224 224  0.1051053903
## 225 225  0.0531420733
## 226 226  0.1310021304
## 227 227 -0.0655640660
## 228 228  0.1160398331
## 229 229  0.0657082654
## 230 230  0.0470072179
## 231 231  0.0757767093
## 232 232  0.1389178349
## 233 233  0.0593757018
## 234 234 -0.0940044547
## 235 235 -0.0357705423
## 236 236  0.0065330260
## 237 237  0.0461249082
## 238 238 -0.1058566176
## 239 239  0.0366260629
## 240 240  0.1035752841
## 241 241 -0.1255094820
## 242 242  0.0022690212
## 243 243  0.0418327892
## 244 244  0.1180508499
## 245 245 -0.0327459832
## 246 246  0.0850054693
## 247 247  0.0648230858
## 248 248  0.1338688990
## 249 249  0.0348717716
## 250 250  0.0252017759
## 251 251 -0.1322699215
## 252 252 -0.0922635233
## 253 253 -0.1236268280
## 254 254 -0.0581912404
## 255 255  0.0424451753
## 256 256 -0.0043644500
## 257 257 -0.1649994783
## 258 258 -0.1059555526
## 259 259  0.1387600443
## 260 260 -0.1087661738
## 261 261 -0.0059475909
## 262 262  0.0209952321
## 263 263 -0.0195098630
## 264 264  0.2210065673
## 265 265 -0.0356849672
## 266 266  0.2020295327
## 267 267 -0.1064690037
## 268 268  0.0372545169
## 269 269 -0.1558325247
## 270 270  0.0723403421
## 271 271 -0.1075357426
## 272 272  0.1359360633
## 273 273 -0.1715917183
## 274 274  0.2278865979
## 275 275 -0.0049768361
## 276 276 -0.2250762080
## 277 277 -0.1499863885
## 278 278  0.0008984238
## 279 279 -0.0559234980
## 280 280 -0.1199337353
## 281 281  0.0138069166
## 282 282 -0.0002568412
## 283 283 -0.1480850198
## 284 284  0.1035752841
## 285 285 -0.2084318348
## 286 286  0.1614241081
## 287 287 -0.1197287308
## 288 288  0.0559282444
## 289 289  0.0606593296
## 290 290  0.0183557612
## 291 291  0.1420546889
## 292 292  0.0284536328
## 293 293 -0.0397070008
## 294 294  0.0182568262
## 295 295 -0.1413851540
## 296 296  0.0300795613
## 297 297 -0.1930755157
## 298 298  0.1082819192
## 299 299  0.0279126754
## 300 300  0.0985263483
## 301 301 -0.1517677035
## 302 302  0.2061371415
## 303 303 -0.1693534037
## 304 304 -0.0043644500
## 305 305 -0.0412075174
## 306 306  0.1303603165
## 307 307 -0.0302215152
## 308 308  0.1947690019
## 309 309  0.0915653306
## 310 310 -0.1233701024
## 311 311  0.1872383858
## 312 312  0.0884284766
## 313 313  0.1414423028
## 314 314 -0.0842194560
## 315 315 -0.1730037088
## 316 316  0.0137964598
## 317 317 -0.1745277514
## 318 318  0.0868615655
## 319 319 -0.1056057938
## 320 320 -0.0613010810
## 321 321 -0.1129165702
## 322 322  0.1046021863
## 323 323 -0.1829304301
## 324 324 -0.0227631954
## 325 325 -0.0418597402
## 326 326  0.0922793599
## 327 327  0.0075305005
## 328 328  0.1253269925
## 329 329  0.1269078814
## 330 330 -0.1230144419
## 331 331 -0.1785691520
## 332 332  0.0726104275
## 333 333 -0.0836498575
## 334 334  0.0859040087
## 335 335 -0.0605151302
## 336 336  0.0912230299
## 337 337  0.0509599061
## 338 338  0.0490638922
## 339 339  0.0284536328
## 340 340 -0.0165294859
## 341 341  0.0940897986
## 342 342  0.1899767916
## 343 343 -0.0792560954
## 344 344 -0.0183265647
## 345 345 -0.0254902604
## 346 346 -0.0725250836
## 347 347 -0.1727469833
## 348 348 -0.0973846744
## 349 349 -0.1585865280
## 350 350  0.1439801305
## 351 351  0.0980690446
## 352 352 -0.1310025235
## 353 353  0.1938143150
## 354 354 -0.0054341398
## 355 355  0.0560516295
## 356 356  0.1868827252
## 357 357  0.2405089375
## 358 358  0.1293248568
## 359 359 -0.0923136880
## 360 360 -0.0277173063
## 361 361  0.1995050647
## 362 362 -0.0731374698
## 363 363  0.0598035777
## 364 364 -0.0938760919
## 365 365  0.0328901826
## 366 366 -0.1399155406
## 367 367 -0.2220810766
## 368 368 -0.1718912315
## 369 369  0.0430014140
## 370 370 -0.1179655060
## 371 371 -0.0397070008
## 372 372 -0.1559667892
## 373 373  0.0328901826
## 374 374 -0.1116688221
## 375 375 -0.2310664708
## 376 376  0.0606593296
## 377 377  0.1393162830
## 378 378 -0.1078676344
## 379 379 -0.1345288113
## 380 380 -0.0649516799
## 381 381 -0.0715543289
## 382 382  0.0309781008
## 383 383  0.1560756591
## 384 384 -0.1488715071
## 385 385 -0.1801072256
## 386 386 -0.0125502399
## 387 387  0.1643470242
## 388 388  0.0467490169
## 389 389  0.0006844858
## 390 390  0.2026419188
## 391 391  0.0746936597
## 392 392  0.0975364128
## 393 393 -0.1640183146
## 394 394 -0.0127936056
## 395 395  0.0174572218
## 396 396 -0.0084292712
## 397 397  0.0396934096
## 398 398 -0.0416944916
## 399 399  0.0335025687
## 400 400 -0.1146842213
## 401 401  0.0833073254
## 402 402 -0.0876718911
## 403 403 -0.1203189045
## 404 404 -0.0043644500
## 405 405  0.0732816691
## 406 406  0.0978845344
## 407 407  0.2398965513
## 408 408 -0.0120367888
## 409 409  0.1645609621
## 410 410  0.0051210355
## 411 411 -0.1104348899
## 412 412 -0.1619939379
## 413 413  0.1513262365
## 414 414  0.0729527282
## 415 415  0.0987964337
## 416 416  0.2348476155
## 417 417  0.1060997520
## 418 418 -0.0785315762
## 419 419  0.0121382006
## 420 420  0.1838875938
## 421 421 -0.0781864056
## 422 422  0.0303657146
## 423 423 -0.2048335473
## 424 424  0.0284536328
## 425 425  0.0055489114
## 426 426  0.1188210266
## 427 427  0.0025965676
## 428 428 -0.0384795205
## 429 429  0.0851766196
## 430 430  0.1622504322
## 431 431  0.0067897516
## 432 432 -0.0331604992
## 433 433  0.0631837975
## 434 434  0.0354280103
## 435 435  0.0556237536
## 436 436  0.0042224961
## 437 437 -0.0480933688
## 438 438 -0.1766406541
## 439 439  0.1479460167
## 440 440 -0.1160534243
## 441 441 -0.2195566086
## 442 442 -0.1539204429
## 443 443  0.0597313624
## 444 444 -0.0791571603
## 445 445  0.1633923373
## 446 446 -0.0860459626
## 447 447 -0.0426593446
## 448 448 -0.0284966517
## 449 449  0.1439239831
## 450 450 -0.0700006157
## 451 451  0.2000746633
## 452 452  0.0360270366
## 453 453  0.1900195792
## 454 454  0.1900195792
## 455 455 -0.2492378375
## 456 456 -0.1739420850
## 457 457  0.1288199632
## 458 458 -0.0791277326
## 459 459  0.0122371356
## 460 460 -0.1725196855
## 461 461  0.0065758136
## 462 462 -0.1278494397
## 463 463 -0.1527223904
## 464 464 -0.1215168762
## 465 465 -0.1209312097
## 466 466 -0.0081859055
## 467 467  0.2731986575
## 468 468 -0.1007294837
## 469 469 -0.1135289563
## 470 470 -0.0024523682
## 471 471  0.0496939836
## 472 472 -0.1665427825
## 473 473 -0.1423250056
## 474 474  0.1874951113
## 475 475  0.0410759724
## 476 476 -0.1361635924
## 477 477  0.0657082654
## 478 478 -0.0561802236
## 479 479  0.1742603856
## 480 480  0.0169731984
## 481 481  0.1127024010
## 482 482  0.0410759724
## 483 483 -0.1198615199
## 484 484 -0.1798851339
## 485 485  0.0680321552
## 486 486  0.0253167788
## 487 487 -0.1797935761
## 488 488  0.1492857919
## 489 489 -0.1165535155
## 490 490 -0.1216857745
## 491 491  0.0120659852
## 492 492  0.0783306050
## 493 493  0.0238620007
## 494 494 -0.1753142388
## 495 495 -0.0276970473
## 496 496 -0.0908087451
## 497 497  0.2426055294
## 498 498 -0.0061615289
## 499 499  0.0410759724
## 500 500  0.1510267233
## 501 501 -0.0003129886
## 502 502  0.0516017200
## 503 503  0.1407530453
## 504 504  0.0855750678
## 505 505  0.0276834562
## 506 506  0.0499196441
## 507 507 -0.1518488524
## 508 508 -0.0009548025
## 509 509  0.0140342144
## 510 510 -0.0507034118
## 511 511  0.1067121381
## 512 512 -0.0068889179
## 513 513  0.0371823016
## 514 514  0.1101779331
## 515 515 -0.0786009217
## 516 516 -0.0689442858
## 517 517 -0.1110044884
## 518 518  0.0177685384
## 519 519 -0.1798479834
## 520 520  0.2026419188
## 521 521  0.0807828575
## 522 522  0.0764185232
## 523 523  0.1995050647
## 524 524  0.0216931934
## 525 525  0.0592473391
## 526 526  0.1339589005
## 527 527 -0.0730641640
## 528 528 -0.0826229553
## 529 529 -0.1748302155
## 530 530 -0.2372278840
## 531 531 -0.1558782632
## 532 532 -0.0687620308
## 533 533 -0.0670822069
## 534 534  0.0144915181
## 535 535  0.0592901266
## 536 536  0.0555809660
## 537 537  0.0722370617
## 538 538  0.1202049029
## 539 539 -0.0498048724
## 540 540 -0.1529657561
## 541 541  0.1142855419
## 542 542 -0.0749156753
## 543 543  0.1921161712
## 544 544  0.1579583132
## 545 545  0.1267307484
## 546 546 -0.0646521668
## 547 547 -0.0049768361
## 548 548 -0.1432101852
## 549 549 -0.0970985211
## 550 550 -0.0806975136
## 551 551  0.1201046543
## 552 552  0.0498768565
## 553 553  0.0725970677
## 554 554 -0.1700513650
## 555 555  0.1308309800
## 556 556 -0.1741161862
## 557 557 -0.1493730738
## 558 558  0.2449454872
## 559 559  0.1752895398
## 560 560 -0.1560464627
## 561 561 -0.0473954884
## 562 562 -0.1689816752
## 563 563  0.0124893539
## 564 564 -0.1059555526
## 565 565 -0.0705996420
## 566 566  0.0006844858
## 567 567  0.0057334216
## 568 568  0.1225301872
## 569 569 -0.0051616504
## 570 570  0.1261671325
## 571 571  0.1230436383
## 572 572 -0.0669332689
## 573 573  0.1262954953
## 574 574 -0.0021057156
## 575 575  0.0688451194
## 576 576  0.0276406686
## 577 577  0.2632291487
## 578 578 -0.1110044884
## 579 579 -0.1772263206
## 580 580 -0.1455605518
## 581 581  0.0589611858
## 582 582 -0.0917500722
## 583 583 -0.0102838920
## 584 584  0.1540646423
## 585 585  0.1563457445
## 586 586  0.1919316610
## 587 587  0.0234046970
## 588 588 -0.1627774744
## 589 589  0.1286060252
## 590 590  0.1467185364
## 591 591  0.1202890027
## 592 592  0.1111486878
## 593 593  0.0056344866
## 594 594 -0.2481253601
## 595 595  0.1115043484
## 596 596  0.1502904816
## 597 597 -0.1013669523
## 598 598 -0.2057362165
## 599 599  0.0143203677
## 600 600  0.1318712421
## 601 601  0.0398645600
## 602 602 -0.1279335395
## 603 603 -0.1180216535
## 604 604  0.0032089537
## 605 605  0.1894071931
## 606 606  0.1592553008
## 607 607 -0.1129165702
## 608 608  0.0652803895
## 609 609  0.0602314537
## 610 610  0.1597259643
## 611 611 -0.0197679830
## 612 612 -0.1346526668
## 613 613  0.1783252068
## 614 614 -0.0302215152
## 615 615  0.2026419188
## 616 616  0.1571587088
## 617 617  0.2372865082
## 618 618 -0.1236787755
## 619 619 -0.1183211666
## 620 620 -0.0428438548
## 621 621  0.1868827252
## 622 622 -0.0563219462
## 623 623 -0.1355526817
## 624 624  0.0612717157
## 625 625 -0.1538395237
## 626 626 -0.0258143933
## 627 627 -0.0851474232
## 628 628  0.0556103938
## 629 629  0.0823083756
## 630 630  0.1562173818
## 631 631  0.0306358000
## 632 632  0.0000720997
## 633 633 -0.0380517744
## 634 634 -0.1696957044
## 635 635  0.0100593138
## 636 636 -0.0439272085
## 637 637 -0.0217789998
## 638 638  0.1168100098
## 639 639 -0.0049768361
## 640 640  0.0631837975
## 641 641 -0.0467375257
## 642 642 -0.0882842772
## 643 643 -0.1791651221
## 644 644 -0.1962240113
## 645 645 -0.1163529374
## 646 646 -0.1155999635
## 647 647  0.0637961836
## 648 648 -0.1946097522
## 649 649  0.0536983120
## 650 650 -0.0548833169
## 651 651  0.2184835748
## 652 652  0.0431076453
## 653 653  0.1586857022
## 654 654 -0.0179443464
## 655 655 -0.0006538139
## 656 656 -0.0643232259
## 657 657  0.0663206515
## 658 658 -0.1507835889
## 659 659  0.0284536328
## 660 660  0.0657082654
## 661 661  0.0835212634
## 662 662 -0.1651587443
## 663 663 -0.0938333043
## 664 664  0.1966944435
## 665 665  0.0022676267
## 666 666 -0.1924159157
## 667 667  0.2121274043
## 668 668 -0.1280633777
## 669 669 -0.0327459832
## 670 670  0.0899688299
## 671 671  0.0738940553
## 672 672 -0.1286757638
## 673 673 -0.0334688683
## 674 674 -0.0201236436
## 675 675  0.1461622977
## 676 676  0.0157412109
## 677 677 -0.1089634293
## 678 678  0.2220246978
## 679 679 -0.0989731095
## 680 680 -0.0635824770
## 681 681 -0.0287239495
## 682 682 -0.0745769666
## 683 683  0.0458120353
## 684 684 -0.0348425752
## 685 685 -0.1380328866
## 686 686  0.0095281575
## 687 687  0.1136731557
## 688 688 -0.0134487793
## 689 689 -0.0453683227
## 690 690  0.0349011994
## 691 691 -0.0571643382
## 692 692  0.1706728318
## 693 693  0.0354146505
## 694 694  0.1010508162
## 695 695 -0.0161016100
## 696 696 -0.1824464068
## 697 697 -0.0721960618
## 698 698 -0.1665427825
## 699 699  0.1698238359
## 700 700  0.0183557612
## 701 701  0.1671710052
## 702 702 -0.1659303964
## 703 703 -0.0930690294
## 704 704  0.0344675026
## 705 705  0.0935334789
## 706 706  0.0486493761
## 707 707  0.0169304108
## 708 708  0.1199526846
## 709 709  0.1103652323
## 710 710  0.0079937059
## 711 711  0.0070598370
## 712 712 -0.0481361563
## 713 713 -0.0800646333
## 714 714  0.0533823827
## 715 715 -0.1356367814
## 716 716 -0.0257154583
## 717 717 -0.0436140315
## 718 718 -0.1510831020
## 719 719 -0.0532278798
## 720 720  0.2430334054
## 721 721  0.1014492643
## 722 722 -0.0675288078
## 723 723  0.2631863611
## 724 724  0.2479539784
## 725 725 -0.1739878235
## 726 726  0.0724259173
## 727 727  0.1766992784
## 728 728  0.0476622297
## 729 729  0.1818337894
## 730 730  0.2556129573
## 731 731 -0.1298262265
## 732 732 -0.2002888325
## 733 733 -0.0687169880
## 734 734 -0.1742490530
## 735 735  0.1914609975
## 736 736 -0.0049768361
## 737 737 -0.2311948336
## 738 738  0.0144059429
## 739 739 -0.1621223007
## 740 740 -0.1554607962
## 741 741  0.0865163948
## 742 742  0.1436672575
## 743 743 -0.0382950102
## 744 744 -0.0100257720
## 745 745 -0.0598171689
## 746 746 -0.1484302714
## 747 747 -0.0201236436
## 748 748  0.0773892779
## 749 749 -0.3071855965
## 750 750 -0.1488715071
## 751 751 -0.1709793322
## 752 752  0.0586188850
## 753 753  0.0193826634
## 754 754 -0.0851474232
## 755 755  0.0060462137
## 756 756  0.0272850080
## 757 757 -0.0201530714
## 758 758 -0.1293042179
## 759 759 -0.0032225449
## 760 760  0.0152189072
## 761 761  0.1190909501
## 762 762 -0.1400572632
## 763 763  0.0455125221
## 764 764  0.0474513236
## 765 765 -0.0513585856
## 766 766  0.1142855419
## 767 767 -0.1018907314
## 768 768  0.0254157138
## 769 769 -0.0453683227
## 770 770 -0.0504172585
## 771 771  0.1661735308
## 772 772 -0.1760282680
## 773 773 -0.0573782762
## 774 774  0.2045540006
## 775 775  0.0267760609
## 776 776  0.0169731984
## 777 777 -0.0963149846
## 778 778 -0.1309435062
## 779 779 -0.0150747078
## 780 780 -0.1805343250
## 781 781  0.0606726894
## 782 782  0.0429880542
## 783 783  0.0080439516
## 784 784 -0.0497326571
## 785 785 -0.0097098427
## 786 786 -0.0106542260
## 787 787  0.1370057531
## 788 788 -0.1103921023
## 789 789 -0.1457346531
## 790 790  0.0330746928
## 791 791  0.0948466154
## 792 792 -0.0715543289
## 793 793 -0.1197331571
## 794 794  0.0133068254
## 795 795 -0.1457346531
## 796 796  0.1180374901
## 797 797 -0.0092422355
## 798 798  0.1210459813
## 799 799 -0.0894395422
## 800 800  0.0789429911
## 801 801 -0.1512225727
## 802 802  0.0472565663
## 803 803  0.0201100525
## 804 804  0.2097018714
## 805 805 -0.0682794015
## 806 806  0.0738940553
## 807 807 -0.1117185177
## 808 808 -0.0043644500
## 809 809  0.1994756370
## 810 810  0.0437847887
## 811 811 -0.1064128563
## 812 812 -0.0913088364
## 813 813 -0.1314863850
## 814 814  0.0381125490
## 815 815  0.2200136810
## 816 816 -0.0142882204
## 817 817  0.1121062446
## 818 818 -0.0805475027
## 819 819  0.1086242199
## 820 820 -0.1432101852
## 821 821  0.1592125132
## 822 822  0.0455125221
## 823 823  0.0644055379
## 824 824  0.0215086832
## 825 825  0.0612717157
## 826 826  0.0789429911
## 827 827  0.0663206515
## 828 828  0.0243326642
## 829 829  0.2449454872
## 830 830 -0.1521100042
## 831 831  0.2419060927
## 832 832  0.1399758021
## 833 833 -0.0371825329
## 834 834  0.0240892985
## 835 835 -0.1829732177
## 836 836  0.1445791568
## 837 837  0.2026419188
## 838 838  0.0960018804
## 839 839  0.0713695874
## 840 840 -0.0032653325
## 841 841  0.0351579249
## 842 842 -0.0377949190
## 843 843 -0.0807108735
## 844 844 -0.0065171894
## 845 845 -0.1474595166
## 846 846  0.0101699713
## 847 847 -0.1662818659
## 848 848 -0.0056614376
## 849 849 -0.0772317187
## 850 850 -0.1760282680
## 851 851  0.0637961836
## 852 852 -0.1987484792
## 853 853 -0.2737123399
## 854 854  0.0097848830
## 855 855  0.0678476450
## 856 856  0.0875727248
## 857 857 -0.0818499087
## 858 858  0.0556665412
## 859 859 -0.0582768156
## 860 860 -0.0422314687
## 861 861 -0.0463952249
## 862 862  0.2421215061
## 863 863 -0.0361347393
## 864 864  0.0764185232
## 865 865  0.0356713760
## 866 866  0.0328901826
## 867 867 -0.0084426311
## 868 868  0.0977459245
## 869 869  0.1035458563
## 870 870 -0.1986614286
## 871 871  0.0890408627
## 872 872 -0.0861315378
## 873 873  0.0082578896
## 874 874 -0.0226481115
## 875 875  0.2304110658
## 876 876  0.1111486878
## 877 877 -0.0417076152
## 878 878  0.0470824650
## 879 879 -0.0725250836
## 880 880 -0.1865048636
# Extract variance components
var_components <- as.data.frame(VarCorr(lmm_model_h2))
print(var_components)
##        grp        var1 var2        vcov      sdcor
## 1       ID (Intercept) <NA> 0.014199948 0.11916354
## 2 Residual        <NA> <NA> 0.008549097 0.09246133
#variance values
random_intercept_var <- as.numeric(var_components[1, "vcov"])  # Random intercept variance
residual_var <- as.numeric(var_components[2, "vcov"])  # Residual variance

# Calculate ICC
icc <- random_intercept_var / (random_intercept_var + residual_var)
print(paste("Intraclass Correlation Coefficient (ICC):", round(icc, 3)))
## [1] "Intraclass Correlation Coefficient (ICC): 0.624"
# Calculate marginal and conditional R²
library(performance)
model_r2 <- r2(lmm_model_h2)
print(model_r2)
## # R2 for Mixed Models
## 
##   Conditional R2: 0.642
##      Marginal R2: 0.047
install.packages("rempsyc")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library("rempsyc")
## Suggested APA citation: Thériault, R. (2023). rempsyc: Convenience functions for psychology. 
## Journal of Open Source Software, 8(87), 5466. https://doi.org/10.21105/joss.05466
#data for the table
variance_table <- data.frame(
  Component = c("Random Effects (ID)", "Residual", "Total Variance"),
  Variance = c(random_intercept_var, residual_var, random_intercept_var + residual_var),
  `Standard Deviation` = c(sqrt(random_intercept_var), sqrt(residual_var), NA),
  `Proportion of Variance (%)` = c(
    round((random_intercept_var / (random_intercept_var + residual_var)) * 100, 1),
    round((residual_var / (random_intercept_var + residual_var)) * 100, 1),
    100
  )
)

variance_table
##             Component    Variance Standard.Deviation Proportion.of.Variance....
## 1 Random Effects (ID) 0.014199948         0.11916354                       62.4
## 2            Residual 0.008549097         0.09246133                       37.6
## 3      Total Variance 0.022749045                 NA                      100.0
# Create an APA-style table
var_tab_h2 <- nice_table(
  variance_table,
  title = "Table 2. Variance Components and Intraclass Correlation Coefficient (ICC)",
  note = "The table presents variance components for participant-level random effects (ID), residual variance, and their proportions of total variance. The ICC indicates the proportion of variance explained by participant-level random effects."
)

0.5 Hypothesis 3:

The Effect of Distancing Intervention on Affective Reactions in the Reward Learning Task.

## Data Preparation
data_part_h3_2 <- read.csv("particpant_data_18.csv")  
data_task_h3_2 <- read.csv("task_data_18.csv")
install.packages("tidyverse")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
install.packages("lme4")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
install.packages("dplyr")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(tidyverse)
library(lme4)

#Simple Model Data
data_simple_h3 <- data_part_h3_2 %>%
  select(
    ID,
    condition,
    starts_with("affect_reward"),
    starts_with("affect_noreward"),
    starts_with("reward")
  )
# Reshape data to long format
longdata_simple_h3_4 <- data_simple_h3 %>%
  pivot_longer(
    cols = starts_with("affect"),
    names_to = "variable",
    values_to = "affect_rating"
  ) %>%
  mutate(
    # Define reward_status based on whether the variable includes "reward" or "noreward"
    reward_status = case_when(
      str_detect(variable, "noreward") ~ "0",  # No reward variables
      str_detect(variable, "reward") ~ "1"    # Reward variables
    ),
    # Extract block number from the variable name or set as "total" for total columns
    block = case_when(
      str_detect(variable, "_total$") ~ "total",
      TRUE ~ str_extract(variable, "\\d$")    # Extract numeric block number
    )
  ) %>%
  # Ensure reward_status is treated as a factor with levels 0 and 1
  mutate(
    reward_status = factor(reward_status, levels = c("0", "1"), labels = c("No Reward", "Reward")),
    block = factor(block, levels = c("1", "2", "3", "4", "5", "6", "total"))  # Ensure block is a factor
  ) %>%
  # Drop rows with NA in affect_rating or other critical columns (if needed)
  filter(!is.na(affect_rating))

longdata_simple_h3_4$condition <- factor(longdata_simple_h3_4$condition, levels = c("control", "treatment"))

str(longdata_simple_h3_4)
## tibble [12,320 × 13] (S3: tbl_df/tbl/data.frame)
##  $ ID           : int [1:12320] 1 1 1 1 1 1 1 1 1 1 ...
##  $ condition    : Factor w/ 2 levels "control","treatment": 2 2 2 2 2 2 2 2 2 2 ...
##  $ reward_1     : num [1:12320] 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 ...
##  $ reward_2     : num [1:12320] 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 ...
##  $ reward_3     : num [1:12320] 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.45 ...
##  $ reward_4     : num [1:12320] 0.55 0.55 0.55 0.55 0.55 0.55 0.55 0.55 0.55 0.55 ...
##  $ reward_5     : num [1:12320] 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.45 ...
##  $ reward_6     : num [1:12320] 0.383 0.383 0.383 0.383 0.383 ...
##  $ reward_total : num [1:12320] 0.506 0.506 0.506 0.506 0.506 ...
##  $ variable     : chr [1:12320] "affect_reward_1" "affect_reward_2" "affect_reward_3" "affect_reward_4" ...
##  $ affect_rating: num [1:12320] 35.6 28.8 27 36.3 29.8 ...
##  $ reward_status: Factor w/ 2 levels "No Reward","Reward": 2 2 2 2 2 2 2 1 1 1 ...
##  $ block        : Factor w/ 7 levels "1","2","3","4",..: 1 2 3 4 5 6 7 1 2 3 ...
levels(longdata_simple_h3_4$reward_status)
## [1] "No Reward" "Reward"
longdata_simple_h3_4_plot <- longdata_simple_h3_4 

0.5.1 Plots

# Custom colors for the plot
custom_colors <- c("No Reward" = "deep sky blue", "Reward" = "mediumblue")

line_plot_h3 <- ggplot(longdata_simple_h3_4_plot, aes(x = affect_rating, y = block, color = reward_status, group = reward_status)) +
  geom_line(stat = "summary", fun = mean, linewidth = 0.8) +  # Thinner line for clarity
  facet_wrap(~condition) +                               # Separate facets for control/treatment
  scale_color_manual(values = c("No Reward" = "deep sky blue", "Reward" = "mediumblue")) +  # Custom colors
  labs(
    title = "Affect Ratings Across Blocks by Condition and Reward Status",
    x = "Mean Affect Rating",
    y = "Block",
    color = "Reward Status"
  ) +
  theme_minimal(base_size = 12) +  # APA-compliant base font size
  theme(
    plot.background = element_rect(fill = "gray95", color = NA),  # Light gray background
    panel.grid.major = element_line(color = "white"),            # White major gridlines
    panel.grid.minor = element_line(color = "white"),            # White minor gridlines
    plot.title = element_text(hjust = 0.5, face = "bold"),       # Center the title
    axis.title = element_text(size = 12),                       # APA-compliant font size
    axis.text = element_text(size = 10),                        # APA-compliant font size
    strip.text = element_text(size = 12),                       # Facet label size
    legend.position = "top",                                    # Move legend to the top
    legend.title = element_text(size = 10),                     # Smaller font for legend title
    legend.text = element_text(size = 8)                        # Smaller font for legend text
  ) +
  coord_flip() +  # Flip axes to put blocks on the y-axis
  theme(
    aspect.ratio = 0.5  # Make the plot wider
  )

print(line_plot_h3)

ggsave("line_plot_h3.jpeg", plot = line_plot_h3, width = 8, height = 6, dpi = 300, device = "jpeg")
library(lmerTest)  
## 
## Attaching package: 'lmerTest'
## The following object is masked from 'package:lme4':
## 
##     lmer
## The following object is masked from 'package:stats':
## 
##     step
library(emmeans)
mixd_model_h3 <- lmer(
  affect_rating ~ reward_status * condition + (1 | ID),
  data = longdata_simple_h3_4

)

mixd_model_h3
## Linear mixed model fit by REML ['lmerModLmerTest']
## Formula: affect_rating ~ reward_status * condition + (1 | ID)
##    Data: longdata_simple_h3_4
## REML criterion at convergence: 94068.51
## Random effects:
##  Groups   Name        Std.Dev.
##  ID       (Intercept) 15.648  
##  Residual              9.674  
## Number of obs: 12320, groups:  ID, 880
## Fixed Effects:
##                            (Intercept)                     reward_statusReward  
##                               42.50597                                 7.07599  
##                     conditiontreatment  reward_statusReward:conditiontreatment  
##                               -0.03715                                 0.07986
summary(mixd_model_h3)
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: affect_rating ~ reward_status * condition + (1 | ID)
##    Data: longdata_simple_h3_4
## 
## REML criterion at convergence: 94068.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.5398 -0.4780 -0.0118  0.4576  4.9551 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  ID       (Intercept) 244.86   15.648  
##  Residual              93.58    9.674  
## Number of obs: 12320, groups:  ID, 880
## 
## Fixed effects:
##                                          Estimate Std. Error         df t value
## (Intercept)                             4.251e+01  7.661e-01  9.252e+02  55.485
## reward_statusReward                     7.076e+00  2.465e-01  1.144e+04  28.705
## conditiontreatment                     -3.715e-02  1.083e+00  9.252e+02  -0.034
## reward_statusReward:conditiontreatment  7.986e-02  3.486e-01  1.144e+04   0.229
##                                        Pr(>|t|)    
## (Intercept)                              <2e-16 ***
## reward_statusReward                      <2e-16 ***
## conditiontreatment                        0.973    
## reward_statusReward:conditiontreatment    0.819    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) rwrd_R cndtnt
## rwrd_sttsRw -0.161              
## cndtntrtmnt -0.707  0.114       
## rwrd_sttsR:  0.114 -0.707 -0.161
anova(mixd_model_h3)
## Type III Analysis of Variance Table with Satterthwaite's method
##                         Sum Sq Mean Sq NumDF DenDF   F value Pr(>F)    
## reward_status           155960  155960     1 11438 1666.6295 <2e-16 ***
## condition                    0       0     1   878    0.0000 0.9979    
## reward_status:condition      5       5     1 11438    0.0525 0.8188    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

0.5.1.1 Model Diagnostics and Fit

### Model Diagnostics

#residuals and fitted values
mixd_residuals_h3 <- resid(mixd_model_h3)
mixd_fitted_h3 <- fitted(mixd_model_h3)

mixd_h3_resid <- data.frame(
  predicted = predict(mixd_model_h3),      # Predicted values from the model
  residual = residuals(mixd_model_h3)     # Residuals from the model
)

# Residuals vs. Predicted Values Plot
mixd_h3_resid_plot <- ggplot(mixd_h3_resid, aes(x = predicted, y = residual)) +
  geom_point(alpha = 0.5) +               
  geom_hline(yintercept = 0,) +  # Reference line at zero
  labs(
    title = "Residuals vs. Predicted Values",
    x = "Predicted Values",
    y = "Residuals"
  ) +
  theme_minimal() +                       
  theme(
    plot.title = element_text(hjust = 0.5, face = "bold"),  # Center title
    axis.title = element_text(size = 12),                  # Adjust axis title size
    axis.text = element_text(size = 10)                    # Adjust axis text size
  )

mixd_h3_resid_plot

# Q-Q Plot for Normality of Residuals
QQ_plot_h3_mixd <-qqnorm(mixd_residuals_h3)

qqline(mixd_residuals_h3, col = "blue")

install.packages("ggplot2")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(ggplot2)
ggplot(mixd_h3_resid,aes(sample=residual)) + stat_qq() + stat_qq_line()

## Residuals Histograms
h3_mod_dat <- data.frame(
  predicted = predict(mixd_model_h3),
  residual = residuals(mixd_model_h3)
)

  
ggplot(h3_mod_dat, aes(x = residual)) +
  geom_histogram(bins = 30, fill = "gray", alpha = 0.7) +
  labs(
    title = "Histogram of Residuals",
    x = "Residuals",
    y = "Frequency"
  ) +
  theme_minimal()

0.5.2 Variance Partitioning

# Variance partitioning (ICC)
random_effects_var <- as.data.frame(VarCorr(mixd_model_h3))
total_variance <- sum(random_effects_var$vcov)
icc <- random_effects_var$vcov[1] / total_variance  

icc
## [1] 0.7235028

0.5.3 Multi-collinearity Diagnostics

install.packages("car")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(car)

0.5.3.1 Estimated Marginal Means

library(emmeans)
# EMMs for Mixed_Model 1
emm_options(pbkrtest.limit = 12320, lmerTest.limit = 12320, df = "asymptotic")
emms_mixd_h3 <- emmeans(mixd_model_h3, ~ reward_status * condition)


# Display the estimated marginal means
summary(emms_mixd_h3)
##  reward_status condition emmean    SE  df lower.CL upper.CL
##  No Reward     control     42.5 0.766 925     41.0     44.0
##  Reward        control     49.6 0.766 925     48.1     51.1
##  No Reward     treatment   42.5 0.766 925     41.0     44.0
##  Reward        treatment   49.6 0.766 925     48.1     51.1
## 
## Degrees-of-freedom method: kenward-roger 
## Confidence level used: 0.95
pairs(emms_mixd_h3)
##  contrast                                estimate    SE    df t.ratio p.value
##  No Reward control - Reward control       -7.0760 0.247 11438 -28.705  <.0001
##  No Reward control - No Reward treatment   0.0371 1.080   925   0.034  1.0000
##  No Reward control - Reward treatment     -7.1187 1.080   925  -6.571  <.0001
##  Reward control - No Reward treatment      7.1131 1.080   925   6.566  <.0001
##  Reward control - Reward treatment        -0.0427 1.080   925  -0.039  1.0000
##  No Reward treatment - Reward treatment   -7.1558 0.247 11438 -29.029  <.0001
## 
## Degrees-of-freedom method: kenward-roger 
## P value adjustment: tukey method for comparing a family of 4 estimates

0.5.3.2 Tables

install.packages("rempsyc")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library("rempsyc")
library(flextable)
#data for estimated marginal means
emmeans_data <- data.frame(
  reward_status = c("No Reward", "Reward", "No Reward", "Reward"),
  condition = c("control", "control", "treatment", "treatment"),
  emmean = c(42.5, 49.6, 42.5, 49.6),
  SE = c(0.766, 0.766, 0.766, 0.766),
  df = c(925, 925, 925, 925),
  lower.CL = c(41.0, 48.1, 41.0, 48.1),
  upper.CL = c(44.0, 51.1, 44.0, 51.1)
)

#data for contrasts
contrast_data <- data.frame(
  contrast = c(
    "No Reward control - Reward control",
    "No Reward control - No Reward treatment",
    "No Reward control - Reward treatment",
    "Reward control - No Reward treatment",
    "Reward control - Reward treatment",
    "No Reward treatment - Reward treatment"
  ),
  estimate = c(-7.0760, 0.0371, -7.1187, 7.1131, -0.0427, -7.1558),
  SE = c(0.247, 1.080, 1.080, 1.080, 1.080, 0.247),
  df = c(11438, 925, 925, 925, 925, 11438),
  t.ratio = c(-28.705, 0.034, -6.571, 6.566, -0.039, -29.029),
  p.value = c("<.0001", "1.0000", "<.0001", "<.0001", "1.0000", "<.0001")
)

# Table for the estimated marginal means
emmeans_table_h3 <- nice_table(
  emmeans_data,
  title = "Estimated Marginal Means for Reward Status Across Conditions",
  note = "Degrees-of-freedom method: Kenward-Roger. Confidence level used: 0.95."
)


emmeans_table_h3

Estimated Marginal Means for Reward Status Across Conditions

reward_status

condition

emmean

SE

df

lower.CL

upper.CL

No Reward

control

42.50

0.77

925

41.00

44.00

Reward

control

49.60

0.77

925

48.10

51.10

No Reward

treatment

42.50

0.77

925

41.00

44.00

Reward

treatment

49.60

0.77

925

48.10

51.10

Note. Degrees-of-freedom method: Kenward-Roger. Confidence level used: 0.95.

save_as_docx(emmeans_table_h3, path = "Estimated Marginal Means for Reward Status Across Conditions_H3.docx")

# Replace "<.0001" with a numeric value and convert the p.value column to numeric
contrast_data$p.value <- as.numeric(gsub("<.0001", "0.0001", contrast_data$p.value))

# Table for Contrasts
contrasts_table_h3 <- nice_table(
  contrast_data,
  title = "Pairwise Contrasts for Reward Status and Condition Effects",
  note = "Degrees-of-freedom method: Kenward-Roger. P-value adjustment: Tukey method for comparing a family of 4 estimates."
)

contrasts_table_h3

Pairwise Contrasts for Reward Status and Condition Effects

contrast

estimate

SE

df

t

p

No Reward control - Reward control

-7.08

0.25

11,438

-28.70

< .001***

No Reward control - No Reward treatment

0.04

1.08

925

0.03

1.00

No Reward control - Reward treatment

-7.12

1.08

925

-6.57

< .001***

Reward control - No Reward treatment

7.11

1.08

925

6.57

< .001***

Reward control - Reward treatment

-0.04

1.08

925

-0.04

1.00

No Reward treatment - Reward treatment

-7.16

0.25

11,438

-29.03

< .001***

Note. Degrees-of-freedom method: Kenward-Roger. P-value adjustment: Tukey method for comparing a family of 4 estimates.

save_as_docx(contrasts_table_h3, path = "Pairwise Contrasts for Reward Status and Condition Effects_H3.docx") 
0.5.3.2.1 Multi- Level Models

0.6 Hypothesis 4

install.packages("psych")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(psych)
## 
## Attaching package: 'psych'
## The following object is masked from 'package:car':
## 
##     logit
## The following objects are masked from 'package:ggplot2':
## 
##     %+%, alpha
dat_efa_h4 <- read.csv("data_18_part.csv")  
str(dat_efa_h4)
## 'data.frame':    880 obs. of  118 variables:
##  $ ID                      : int  1 2 3 4 5 6 7 8 9 10 ...
##  $ condition               : chr  "treatment" "control" "treatment" "treatment" ...
##  $ age                     : int  57 35 37 49 60 35 59 68 27 67 ...
##  $ sex                     : chr  "Female" "Male" "Female" "Male" ...
##  $ gender                  : chr  "Female" "Male" "Female" "Male" ...
##  $ digit_span              : int  7 8 9 8 6 9 8 7 8 7 ...
##  $ optimal_1               : num  0.733 0.617 0.586 0.633 0.4 ...
##  $ optimal_2               : num  0.6 0.655 0.75 0.593 0.7 ...
##  $ optimal_3               : num  0.55 0.559 0.783 0.55 0.61 ...
##  $ optimal_4               : num  0.617 0.617 0.7 0.467 0.583 ...
##  $ optimal_5               : num  0.483 0.559 0.733 0.45 0.55 ...
##  $ optimal_6               : num  0.483 0.583 0.717 0.542 0.617 ...
##  $ optimal_total           : num  0.578 0.598 0.712 0.539 0.577 ...
##  $ reward_1                : num  0.7 0.483 0.517 0.567 0.433 ...
##  $ reward_2                : num  0.5 0.567 0.583 0.533 0.567 ...
##  $ reward_3                : num  0.45 0.517 0.617 0.517 0.5 ...
##  $ reward_4                : num  0.55 0.517 0.567 0.467 0.55 ...
##  $ reward_5                : num  0.45 0.483 0.667 0.383 0.517 ...
##  $ reward_6                : num  0.383 0.583 0.583 0.5 0.483 ...
##  $ reward_total            : num  0.506 0.525 0.589 0.494 0.508 ...
##  $ affect_reward_1         : num  35.6 43.8 58.2 55.6 64.7 ...
##  $ affect_reward_2         : num  28.8 40.1 55.4 52.3 68 ...
##  $ affect_reward_3         : num  27 38 59.7 48 46.6 ...
##  $ affect_reward_4         : num  36.3 35 60.8 50 34.2 ...
##  $ affect_reward_5         : num  29.8 30.2 59.8 50 31.5 ...
##  $ affect_reward_6         : num  25.6 28.7 55.1 50.4 33.1 ...
##  $ affect_reward_total     : num  31.2 35.9 58.2 51.2 46.2 ...
##  $ affect_noreward_1       : num  34.3 40.5 44.6 54.8 63 ...
##  $ affect_noreward_2       : num  24.6 37.3 38.2 46.7 64.3 ...
##  $ affect_noreward_3       : num  24.2 38 47.1 38.6 45.7 ...
##  $ affect_noreward_4       : num  39.1 30 50.9 50.2 34.5 ...
##  $ affect_noreward_5       : num  27.5 24.6 48.5 50.6 31.6 ...
##  $ affect_noreward_6       : num  24.4 24.1 50.4 49.6 32.8 ...
##  $ affect_noreward_total   : num  28.2 32.6 46.5 48.4 45.5 ...
##  $ SDS_1                   : int  1 1 1 2 2 2 1 1 2 1 ...
##  $ SDS_11                  : int  1 2 2 2 3 2 2 3 2 1 ...
##  $ SDS_12                  : int  1 2 2 3 3 1 3 3 2 2 ...
##  $ SDS_14                  : int  1 3 2 2 3 3 2 3 2 1 ...
##  $ SDS_16                  : int  1 2 2 3 3 1 4 2 2 1 ...
##  $ SDS_17                  : int  1 3 2 4 2 2 2 3 2 1 ...
##  $ SDS_18                  : int  2 3 1 4 3 1 4 2 2 1 ...
##  $ SDS_20                  : int  1 2 2 3 4 1 2 2 3 1 ...
##  $ AES_17                  : int  0 0 1 2 2 0 2 1 2 1 ...
##  $ AES_18                  : int  0 2 0 2 2 0 2 1 2 0 ...
##  $ STAI_1                  : int  2 2 1 3 3 2 2 3 2 1 ...
##  $ STAI_3                  : int  2 2 1 4 3 2 2 2 2 1 ...
##  $ STAI_4                  : int  2 3 4 3 1 2 2 1 4 1 ...
##  $ STAI_5                  : int  1 2 1 4 1 2 1 1 1 1 ...
##  $ STAI_8                  : int  1 1 1 3 1 2 1 1 1 1 ...
##  $ STAI_10                 : int  1 2 2 3 2 2 2 2 3 1 ...
##  $ STAI_12                 : int  2 2 2 4 2 3 2 1 1 1 ...
##  $ STAI_13                 : int  2 1 2 4 3 2 2 1 2 1 ...
##  $ STAI_15                 : int  1 1 2 3 2 2 2 1 1 1 ...
##  $ STAI_16                 : int  1 1 2 3 2 2 2 1 3 1 ...
##  $ STAI_17                 : int  2 2 2 3 2 2 2 2 2 1 ...
##  $ STAI_19                 : int  2 1 1 3 2 2 3 1 3 1 ...
##  $ STAI_20                 : int  1 3 2 2 2 2 1 2 2 1 ...
##  $ OCI_2                   : int  0 0 2 4 0 2 0 3 2 1 ...
##  $ OCI_3                   : int  0 2 1 4 0 3 2 2 2 1 ...
##  $ OCI_4                   : int  1 0 0 4 0 1 0 2 1 1 ...
##  $ OCI_5                   : int  0 1 3 3 0 0 0 2 0 0 ...
##  $ OCI_6                   : int  0 0 0 3 1 2 0 1 2 0 ...
##  $ OCI_7                   : int  0 0 1 0 2 0 2 1 1 1 ...
##  $ OCI_8                   : int  0 0 1 3 0 0 1 2 0 1 ...
##  $ OCI_9                   : int  0 0 1 4 0 2 3 2 1 1 ...
##  $ OCI_11                  : int  0 1 2 0 0 0 0 0 1 0 ...
##  $ OCI_12                  : int  0 2 0 2 1 1 1 1 0 1 ...
##  $ OCI_13                  : int  1 1 2 0 1 0 3 1 3 3 ...
##  $ OCI_14                  : int  0 0 2 2 0 0 1 2 0 0 ...
##  $ OCI_15                  : int  0 0 2 3 0 2 2 0 1 1 ...
##  $ OCI_16                  : int  0 0 0 3 0 2 0 0 2 1 ...
##  $ OCI_18                  : int  0 0 0 2 0 2 0 0 2 1 ...
##  $ EAT_1                   : int  2 2 4 3 1 0 1 3 4 1 ...
##  $ EAT_2                   : int  0 0 0 1 1 2 1 1 1 0 ...
##  $ EAT_3                   : int  3 3 1 2 3 2 1 2 2 0 ...
##  $ EAT_4                   : int  0 2 1 2 1 1 0 2 2 0 ...
##  $ EAT_6                   : int  5 0 1 4 3 3 1 3 2 3 ...
##  $ EAT_7                   : int  5 0 2 2 3 1 0 1 1 1 ...
##  $ EAT_8                   : int  0 0 0 0 1 4 0 1 0 0 ...
##  $ EAT_10                  : int  0 2 1 1 3 0 1 2 0 0 ...
##  $ EAT_11                  : int  2 2 2 3 2 0 2 2 2 1 ...
##  $ EAT_12                  : int  3 0 2 4 3 1 1 1 2 2 ...
##  $ EAT_14                  : int  2 0 1 2 3 2 2 3 1 1 ...
##  $ EAT_15                  : int  0 1 2 0 0 1 4 1 0 2 ...
##  $ EAT_18                  : int  2 1 0 1 2 1 0 2 0 0 ...
##  $ EAT_20                  : int  0 0 1 0 1 3 0 2 0 1 ...
##  $ EAT_21                  : int  2 2 2 3 3 1 1 3 0 1 ...
##  $ EAT_22                  : int  2 0 2 2 3 2 0 3 0 1 ...
##  $ EAT_23                  : int  4 0 1 3 4 0 0 2 2 1 ...
##  $ EAT_24                  : int  0 1 1 2 0 2 1 3 0 1 ...
##  $ BIS_6                   : int  3 1 1 3 2 3 2 2 4 1 ...
##  $ BIS_9                   : int  2 3 2 3 3 2 2 2 3 1 ...
##  $ BIS_10                  : int  1 1 2 3 3 1 2 3 3 4 ...
##  $ BIS_13                  : int  2 1 2 4 3 1 3 4 3 4 ...
##  $ BIS_14                  : int  2 3 2 4 3 3 2 2 3 2 ...
##  $ LSAS_2                  : num  1 1 0.5 1 1 0.5 0 1.5 2 0.5 ...
##  $ LSAS_6                  : num  3 2 3 3 3 2 2 1 2.5 1 ...
##  $ LSAS_7                  : num  1 1.5 1.5 2.5 0.5 1.5 2 1.5 2.5 0.5 ...
##  $ LSAS_8                  : num  0 2.5 1.5 2 2 1.5 0.5 1 2.5 1 ...
##   [list output truncated]
library(dplyr)

# Select relevant questionnaire items
EFA_items_h4 <- dat_efa_h4 %>%
  select(
    # Anxiety/Depression
    SDS_1, SDS_11, SDS_12, SDS_14, SDS_16, SDS_17, SDS_18, SDS_20,
    AES_17, AES_18,
    STAI_1, STAI_3, STAI_4, STAI_5, STAI_8, STAI_10, STAI_12, STAI_13, 
    STAI_15, STAI_16, STAI_17, STAI_19, STAI_20,
    DARS_hobbies, DARS_food_drink, DARS_social, DARS_sensory,
    
    # Compulsive Behaviour and Intrusive Thought
    OCI_2, OCI_3, OCI_4, OCI_5, OCI_6, OCI_7, OCI_8, OCI_9, 
    OCI_11, OCI_12, OCI_13, OCI_14, OCI_15, OCI_16, OCI_18,
    EAT_1, EAT_2, EAT_3, EAT_4, EAT_6, EAT_7, EAT_8, 
    EAT_10, EAT_11, EAT_12, EAT_14, EAT_15, EAT_18, 
    EAT_20, EAT_21, EAT_22, EAT_23, EAT_24,
    BIS_6, BIS_9, BIS_10, BIS_13, BIS_14,
    
    # Social Withdrawal
    LSAS_2, LSAS_6, LSAS_7, LSAS_8, LSAS_9, LSAS_10, LSAS_11, 
    LSAS_12, LSAS_15, LSAS_16, LSAS_18, LSAS_19, LSAS_20, 
    LSAS_21, LSAS_23, LSAS_24,
    SPQ_cognitive_perceptual, SPQ_interpersonal, SPQ_disorganised
  
  )

str(EFA_items_h4)
## 'data.frame':    880 obs. of  84 variables:
##  $ SDS_1                   : int  1 1 1 2 2 2 1 1 2 1 ...
##  $ SDS_11                  : int  1 2 2 2 3 2 2 3 2 1 ...
##  $ SDS_12                  : int  1 2 2 3 3 1 3 3 2 2 ...
##  $ SDS_14                  : int  1 3 2 2 3 3 2 3 2 1 ...
##  $ SDS_16                  : int  1 2 2 3 3 1 4 2 2 1 ...
##  $ SDS_17                  : int  1 3 2 4 2 2 2 3 2 1 ...
##  $ SDS_18                  : int  2 3 1 4 3 1 4 2 2 1 ...
##  $ SDS_20                  : int  1 2 2 3 4 1 2 2 3 1 ...
##  $ AES_17                  : int  0 0 1 2 2 0 2 1 2 1 ...
##  $ AES_18                  : int  0 2 0 2 2 0 2 1 2 0 ...
##  $ STAI_1                  : int  2 2 1 3 3 2 2 3 2 1 ...
##  $ STAI_3                  : int  2 2 1 4 3 2 2 2 2 1 ...
##  $ STAI_4                  : int  2 3 4 3 1 2 2 1 4 1 ...
##  $ STAI_5                  : int  1 2 1 4 1 2 1 1 1 1 ...
##  $ STAI_8                  : int  1 1 1 3 1 2 1 1 1 1 ...
##  $ STAI_10                 : int  1 2 2 3 2 2 2 2 3 1 ...
##  $ STAI_12                 : int  2 2 2 4 2 3 2 1 1 1 ...
##  $ STAI_13                 : int  2 1 2 4 3 2 2 1 2 1 ...
##  $ STAI_15                 : int  1 1 2 3 2 2 2 1 1 1 ...
##  $ STAI_16                 : int  1 1 2 3 2 2 2 1 3 1 ...
##  $ STAI_17                 : int  2 2 2 3 2 2 2 2 2 1 ...
##  $ STAI_19                 : int  2 1 1 3 2 2 3 1 3 1 ...
##  $ STAI_20                 : int  1 3 2 2 2 2 1 2 2 1 ...
##  $ DARS_hobbies            : int  16 16 13 16 16 16 16 14 16 15 ...
##  $ DARS_food_drink         : int  15 16 11 16 14 12 15 9 16 14 ...
##  $ DARS_social             : int  16 12 10 10 11 9 14 11 16 14 ...
##  $ DARS_sensory            : int  20 18 11 20 19 17 17 13 20 20 ...
##  $ OCI_2                   : int  0 0 2 4 0 2 0 3 2 1 ...
##  $ OCI_3                   : int  0 2 1 4 0 3 2 2 2 1 ...
##  $ OCI_4                   : int  1 0 0 4 0 1 0 2 1 1 ...
##  $ OCI_5                   : int  0 1 3 3 0 0 0 2 0 0 ...
##  $ OCI_6                   : int  0 0 0 3 1 2 0 1 2 0 ...
##  $ OCI_7                   : int  0 0 1 0 2 0 2 1 1 1 ...
##  $ OCI_8                   : int  0 0 1 3 0 0 1 2 0 1 ...
##  $ OCI_9                   : int  0 0 1 4 0 2 3 2 1 1 ...
##  $ OCI_11                  : int  0 1 2 0 0 0 0 0 1 0 ...
##  $ OCI_12                  : int  0 2 0 2 1 1 1 1 0 1 ...
##  $ OCI_13                  : int  1 1 2 0 1 0 3 1 3 3 ...
##  $ OCI_14                  : int  0 0 2 2 0 0 1 2 0 0 ...
##  $ OCI_15                  : int  0 0 2 3 0 2 2 0 1 1 ...
##  $ OCI_16                  : int  0 0 0 3 0 2 0 0 2 1 ...
##  $ OCI_18                  : int  0 0 0 2 0 2 0 0 2 1 ...
##  $ EAT_1                   : int  2 2 4 3 1 0 1 3 4 1 ...
##  $ EAT_2                   : int  0 0 0 1 1 2 1 1 1 0 ...
##  $ EAT_3                   : int  3 3 1 2 3 2 1 2 2 0 ...
##  $ EAT_4                   : int  0 2 1 2 1 1 0 2 2 0 ...
##  $ EAT_6                   : int  5 0 1 4 3 3 1 3 2 3 ...
##  $ EAT_7                   : int  5 0 2 2 3 1 0 1 1 1 ...
##  $ EAT_8                   : int  0 0 0 0 1 4 0 1 0 0 ...
##  $ EAT_10                  : int  0 2 1 1 3 0 1 2 0 0 ...
##  $ EAT_11                  : int  2 2 2 3 2 0 2 2 2 1 ...
##  $ EAT_12                  : int  3 0 2 4 3 1 1 1 2 2 ...
##  $ EAT_14                  : int  2 0 1 2 3 2 2 3 1 1 ...
##  $ EAT_15                  : int  0 1 2 0 0 1 4 1 0 2 ...
##  $ EAT_18                  : int  2 1 0 1 2 1 0 2 0 0 ...
##  $ EAT_20                  : int  0 0 1 0 1 3 0 2 0 1 ...
##  $ EAT_21                  : int  2 2 2 3 3 1 1 3 0 1 ...
##  $ EAT_22                  : int  2 0 2 2 3 2 0 3 0 1 ...
##  $ EAT_23                  : int  4 0 1 3 4 0 0 2 2 1 ...
##  $ EAT_24                  : int  0 1 1 2 0 2 1 3 0 1 ...
##  $ BIS_6                   : int  3 1 1 3 2 3 2 2 4 1 ...
##  $ BIS_9                   : int  2 3 2 3 3 2 2 2 3 1 ...
##  $ BIS_10                  : int  1 1 2 3 3 1 2 3 3 4 ...
##  $ BIS_13                  : int  2 1 2 4 3 1 3 4 3 4 ...
##  $ BIS_14                  : int  2 3 2 4 3 3 2 2 3 2 ...
##  $ LSAS_2                  : num  1 1 0.5 1 1 0.5 0 1.5 2 0.5 ...
##  $ LSAS_6                  : num  3 2 3 3 3 2 2 1 2.5 1 ...
##  $ LSAS_7                  : num  1 1.5 1.5 2.5 0.5 1.5 2 1.5 2.5 0.5 ...
##  $ LSAS_8                  : num  0 2.5 1.5 2 2 1.5 0.5 1 2.5 1 ...
##  $ LSAS_9                  : num  0 2 2 1 2 1.5 0.5 1 2 0.5 ...
##  $ LSAS_10                 : num  1 2.5 1 2 0 1 1.5 1.5 2 0 ...
##  $ LSAS_11                 : num  1 2 1 2 1 1 2 2 2 0 ...
##  $ LSAS_12                 : num  1 1.5 0.5 2 0.5 1.5 2.5 1.5 2.5 0 ...
##  $ LSAS_15                 : num  1 3 2.5 3 2 0 2.5 2 2 0 ...
##  $ LSAS_16                 : num  2 2 2.5 2 3 1 2 2.5 2.5 0 ...
##  $ LSAS_18                 : num  2 1.5 2.5 1.5 1.5 0.5 2 2 2.5 0 ...
##  $ LSAS_19                 : num  0 0 1 0 1 1 2 2 2.5 0 ...
##  $ LSAS_20                 : num  1 1.5 1.5 2 3 1 2 1.5 2 0 ...
##  $ LSAS_21                 : num  2 3 1.5 0.5 3 3 2 3 2.5 0 ...
##  $ LSAS_23                 : num  2 2.5 1.5 1 1 2.5 2.5 2 3 0 ...
##  $ LSAS_24                 : num  0 1.5 0.5 0 0 0 1 1 2.5 0 ...
##  $ SPQ_cognitive_perceptual: int  17 14 19 8 12 19 19 19 22 8 ...
##  $ SPQ_interpersonal       : int  15 18 26 31 18 27 26 17 1 0 ...
##  $ SPQ_disorganised        : int  21 15 13 18 16 21 17 15 15 6 ...
# Reverse scoring for DARS items (lower scores indicate more anhedonia)
EFA_items_h4 <- EFA_items_h4 %>%
  mutate(
    DARS_hobbies = max(DARS_hobbies, na.rm = TRUE) - DARS_hobbies,
    DARS_food_drink = max(DARS_food_drink, na.rm = TRUE) - DARS_food_drink,
    DARS_social = max(DARS_social, na.rm = TRUE) - DARS_social,
    DARS_sensory = max(DARS_sensory, na.rm = TRUE) - DARS_sensory
  )

0.6.0.1 KMO & Bartletts

#KMO and Bartlett’s test
kmo_result_h4 <- KMO(EFA_items_h4)
print(kmo_result_h4)  
## Kaiser-Meyer-Olkin factor adequacy
## Call: KMO(r = EFA_items_h4)
## Overall MSA =  0.96
## MSA for each item = 
##                    SDS_1                   SDS_11                   SDS_12 
##                     0.98                     0.97                     0.97 
##                   SDS_14                   SDS_16                   SDS_17 
##                     0.97                     0.98                     0.98 
##                   SDS_18                   SDS_20                   AES_17 
##                     0.97                     0.98                     0.95 
##                   AES_18                   STAI_1                   STAI_3 
##                     0.97                     0.98                     0.98 
##                   STAI_4                   STAI_5                   STAI_8 
##                     0.98                     0.97                     0.98 
##                  STAI_10                  STAI_12                  STAI_13 
##                     0.97                     0.98                     0.98 
##                  STAI_15                  STAI_16                  STAI_17 
##                     0.98                     0.97                     0.98 
##                  STAI_19                  STAI_20             DARS_hobbies 
##                     0.98                     0.98                     0.85 
##          DARS_food_drink              DARS_social             DARS_sensory 
##                     0.75                     0.96                     0.77 
##                    OCI_2                    OCI_3                    OCI_4 
##                     0.96                     0.91                     0.95 
##                    OCI_5                    OCI_6                    OCI_7 
##                     0.90                     0.98                     0.91 
##                    OCI_8                    OCI_9                   OCI_11 
##                     0.86                     0.93                     0.91 
##                   OCI_12                   OCI_13                   OCI_14 
##                     0.95                     0.90                     0.86 
##                   OCI_15                   OCI_16                   OCI_18 
##                     0.89                     0.93                     0.95 
##                    EAT_1                    EAT_2                    EAT_3 
##                     0.96                     0.94                     0.95 
##                    EAT_4                    EAT_6                    EAT_7 
##                     0.95                     0.87                     0.88 
##                    EAT_8                   EAT_10                   EAT_11 
##                     0.82                     0.97                     0.95 
##                   EAT_12                   EAT_14                   EAT_15 
##                     0.93                     0.95                     0.87 
##                   EAT_18                   EAT_20                   EAT_21 
##                     0.96                     0.89                     0.95 
##                   EAT_22                   EAT_23                   EAT_24 
##                     0.96                     0.94                     0.93 
##                    BIS_6                    BIS_9                   BIS_10 
##                     0.97                     0.97                     0.86 
##                   BIS_13                   BIS_14                   LSAS_2 
##                     0.87                     0.92                     0.97 
##                   LSAS_6                   LSAS_7                   LSAS_8 
##                     0.96                     0.95                     0.94 
##                   LSAS_9                  LSAS_10                  LSAS_11 
##                     0.94                     0.96                     0.94 
##                  LSAS_12                  LSAS_15                  LSAS_16 
##                     0.96                     0.97                     0.95 
##                  LSAS_18                  LSAS_19                  LSAS_20 
##                     0.97                     0.98                     0.95 
##                  LSAS_21                  LSAS_23                  LSAS_24 
##                     0.96                     0.94                     0.97 
## SPQ_cognitive_perceptual        SPQ_interpersonal         SPQ_disorganised 
##                     0.97                     0.98                     0.95
# Bartlett
bartlett_result_h4 <- cortest.bartlett(cor(EFA_items_h4), n = nrow(EFA_items_h4))
print(bartlett_result_h4)
## $chisq
## [1] 50249.91
## 
## $p.value
## [1] 0
## 
## $df
## [1] 3486

0.6.1 Correlations

# Correlation matrix for EFA items
cor_matrix <- cor(EFA_items_h4, use = "pairwise.complete.obs")



library(corrplot)
## corrplot 0.95 loaded
corrplot(cor_matrix, method = "color", type = "lower", tl.cex = 0.3, title = "Correlation Matrix")

#number of complete cases
n_obs_efa <- sum(complete.cases(EFA_items_h4))
n_obs_efa
## [1] 880
#eigenvalue decomposition
eigenvalues <- eigen(cor_matrix)$values
print(eigenvalues)
##  [1] 23.88055129  7.27166599  4.32068049  4.15359897  2.25942460  1.86418135
##  [7]  1.66549100  1.50192034  1.41214868  1.30830508  1.23493492  1.18965949
## [13]  1.12648332  1.10843200  1.01156671  0.94692247  0.92265575  0.89517333
## [19]  0.86670944  0.81239801  0.78707232  0.77374193  0.73741899  0.70771984
## [25]  0.70075574  0.67862814  0.66420206  0.64646309  0.63295203  0.61019479
## [31]  0.60162074  0.57039410  0.55063988  0.54674020  0.54069171  0.51092968
## [37]  0.49082313  0.48122688  0.46552545  0.45531977  0.44850102  0.43507987
## [43]  0.43189213  0.42310205  0.41332568  0.40795241  0.39960387  0.37357206
## [49]  0.36958081  0.35901784  0.35669710  0.34931169  0.34040668  0.33257075
## [55]  0.33231876  0.32033801  0.31954407  0.30284448  0.29547673  0.28959508
## [61]  0.27746041  0.26927230  0.26799421  0.26162389  0.25487188  0.24088660
## [67]  0.23599890  0.22904461  0.22681282  0.21960660  0.21250443  0.20588066
## [73]  0.19779135  0.18975135  0.18383794  0.18306408  0.17948625  0.17164602
## [79]  0.16064960  0.14378580  0.14104372  0.13761093  0.12175735  0.08092351
# Parallel analysis
psych::fa.parallel(cor_matrix, n.obs = 880, fa = "fa", fm = "pa", main = "Parallel Analysis")

## Parallel analysis suggests that the number of factors =  12  and the number of components =  NA
png("parallel_analysis_plot.png", width = 800, height = 600)
fa.parallel(EFA_items_h4, fm = "pa", fa = "fa")
## Parallel analysis suggests that the number of factors =  12  and the number of components =  NA
dev.off()
## png 
##   2
parallel_results <- psych::fa.parallel(cor_matrix, n.obs = 880, fa = "fa", plot = FALSE)
## Parallel analysis suggests that the number of factors =  13  and the number of components =  NA
eigen_table <- data.frame(
  Factor = 1:length(eigenvalues),
  Eigenvalue = eigenvalues,
  Random_Eigenvalue = parallel_results$fa.values
)

eigen_table
##    Factor  Eigenvalue Random_Eigenvalue
## 1       1 23.88055129      23.255226452
## 2       2  7.27166599       6.480470337
## 3       3  4.32068049       3.657575540
## 4       4  4.15359897       3.364249335
## 5       5  2.25942460       1.421532265
## 6       6  1.86418135       1.074711701
## 7       7  1.66549100       0.912350518
## 8       8  1.50192034       0.707118666
## 9       9  1.41214868       0.607828029
## 10     10  1.30830508       0.598085513
## 11     11  1.23493492       0.452170329
## 12     12  1.18965949       0.431037481
## 13     13  1.12648332       0.376104786
## 14     14  1.10843200       0.306405060
## 15     15  1.01156671       0.262156681
## 16     16  0.94692247       0.209531288
## 17     17  0.92265575       0.156507642
## 18     18  0.89517333       0.140697781
## 19     19  0.86670944       0.115741088
## 20     20  0.81239801       0.085028827
## 21     21  0.78707232       0.043301522
## 22     22  0.77374193       0.021871242
## 23     23  0.73741899      -0.002876035
## 24     24  0.70771984      -0.006833596
## 25     25  0.70075574      -0.043990979
## 26     26  0.67862814      -0.053218510
## 27     27  0.66420206      -0.081460742
## 28     28  0.64646309      -0.103268432
## 29     29  0.63295203      -0.109813085
## 30     30  0.61019479      -0.113454050
## 31     31  0.60162074      -0.136910181
## 32     32  0.57039410      -0.146477860
## 33     33  0.55063988      -0.157189270
## 34     34  0.54674020      -0.171798407
## 35     35  0.54069171      -0.186062918
## 36     36  0.51092968      -0.191213821
## 37     37  0.49082313      -0.200547106
## 38     38  0.48122688      -0.210811528
## 39     39  0.46552545      -0.214910673
## 40     40  0.45531977      -0.232559626
## 41     41  0.44850102      -0.241535098
## 42     42  0.43507987      -0.257643034
## 43     43  0.43189213      -0.260920082
## 44     44  0.42310205      -0.272463534
## 45     45  0.41332568      -0.278507753
## 46     46  0.40795241      -0.281212732
## 47     47  0.39960387      -0.293193937
## 48     48  0.37357206      -0.296635705
## 49     49  0.36958081      -0.306995366
## 50     50  0.35901784      -0.308302506
## 51     51  0.35669710      -0.324990139
## 52     52  0.34931169      -0.333337599
## 53     53  0.34040668      -0.336130951
## 54     54  0.33257075      -0.345666853
## 55     55  0.33231876      -0.352276874
## 56     56  0.32033801      -0.363002277
## 57     57  0.31954407      -0.369311338
## 58     58  0.30284448      -0.373354580
## 59     59  0.29547673      -0.384877213
## 60     60  0.28959508      -0.399673480
## 61     61  0.27746041      -0.403820872
## 62     62  0.26927230      -0.416613639
## 63     63  0.26799421      -0.435860927
## 64     64  0.26162389      -0.440318876
## 65     65  0.25487188      -0.445386391
## 66     66  0.24088660      -0.452768540
## 67     67  0.23599890      -0.466246303
## 68     68  0.22904461      -0.477129358
## 69     69  0.22681282      -0.484980175
## 70     70  0.21960660      -0.488446580
## 71     71  0.21250443      -0.503265764
## 72     72  0.20588066      -0.514351894
## 73     73  0.19779135      -0.524751422
## 74     74  0.18975135      -0.544687623
## 75     75  0.18383794      -0.547520248
## 76     76  0.18306408      -0.556139336
## 77     77  0.17948625      -0.567436135
## 78     78  0.17164602      -0.593239668
## 79     79  0.16064960      -0.599119889
## 80     80  0.14378580      -0.608691272
## 81     81  0.14104372      -0.612510087
## 82     82  0.13761093      -0.640095795
## 83     83  0.12175735      -0.646733187
## 84     84  0.08092351      -0.710933388
#EFA with 3 factors
efa_3 <- fa(
  r = cor_matrix, 
  nfactors = 3, 
  rotate = "oblimin", 
  fm = "pa"
)
## Loading required namespace: GPArotation
print(efa_3$loadings, cutoff = 0.4)
## 
## Loadings:
##                          PA1    PA3    PA2   
## SDS_1                     0.752              
## SDS_11                    0.626              
## SDS_12                    0.637              
## SDS_14                    0.782              
## SDS_16                    0.630              
## SDS_17                    0.769              
## SDS_18                    0.646              
## SDS_20                    0.740              
## AES_17                    0.480              
## AES_18                    0.667              
## STAI_1                    0.799              
## STAI_3                    0.837              
## STAI_4                    0.458              
## STAI_5                    0.685              
## STAI_8                    0.641              
## STAI_10                   0.881              
## STAI_12                   0.441              
## STAI_13                   0.758              
## STAI_15                   0.618              
## STAI_16                   0.847              
## STAI_17                                      
## STAI_19                   0.627              
## STAI_20                   0.480              
## DARS_hobbies                                 
## DARS_food_drink                              
## DARS_social                                  
## DARS_sensory                                 
## OCI_2                                   0.408
## OCI_3                                   0.436
## OCI_4                                   0.411
## OCI_5                                        
## OCI_6                     0.458              
## OCI_7                                        
## OCI_8                                        
## OCI_9                                        
## OCI_11                                  0.402
## OCI_12                                  0.420
## OCI_13                                       
## OCI_14                                       
## OCI_15                                       
## OCI_16                                  0.404
## OCI_18                                       
## EAT_1                                   0.664
## EAT_2                                   0.452
## EAT_3                                   0.625
## EAT_4                                   0.610
## EAT_6                                   0.454
## EAT_7                                   0.405
## EAT_8                                        
## EAT_10                                  0.708
## EAT_11                                  0.718
## EAT_12                                  0.622
## EAT_14                                  0.754
## EAT_15                                       
## EAT_18                                  0.713
## EAT_20                                  0.460
## EAT_21                                  0.718
## EAT_22                                  0.549
## EAT_23                                  0.670
## EAT_24                                  0.521
## BIS_6                                        
## BIS_9                     0.596              
## BIS_10                                       
## BIS_13                                       
## BIS_14                                       
## LSAS_2                           0.647       
## LSAS_6                           0.721       
## LSAS_7                           0.713       
## LSAS_8                           0.657       
## LSAS_9                           0.634       
## LSAS_10                          0.688       
## LSAS_11                          0.834       
## LSAS_12                          0.833       
## LSAS_15                          0.803       
## LSAS_16                          0.797       
## LSAS_18                          0.712       
## LSAS_19                          0.668       
## LSAS_20                          0.752       
## LSAS_21                          0.572       
## LSAS_23                          0.634       
## LSAS_24                          0.575       
## SPQ_cognitive_perceptual                0.463
## SPQ_interpersonal                0.578       
## SPQ_disorganised                             
## 
##                   PA1   PA3   PA2
## SS loadings    12.552 9.515 9.276
## Proportion Var  0.149 0.113 0.110
## Cumulative Var  0.149 0.263 0.373
#Variance Explained

efa_3$Vaccounted
##                              PA1        PA3       PA2
## SS loadings           13.5416805 10.4501011 9.8753522
## Proportion Var         0.1612105  0.1244060 0.1175637
## Cumulative Var         0.1612105  0.2856164 0.4031802
## Proportion Explained   0.3998473  0.3085617 0.2915910
## Cumulative Proportion  0.3998473  0.7084090 1.0000000
# Extract goodness-of-fit indices
efa_fit <- fa(cor_matrix, nfactors = 3, rotate = "oblimin", fm = "ml")
print(efa_fit)
## Factor Analysis using method =  ml
## Call: fa(r = cor_matrix, nfactors = 3, rotate = "oblimin", fm = "ml")
## Standardized loadings (pattern matrix) based upon correlation matrix
##                            ML1   ML3   ML2    h2   u2 com
## SDS_1                     0.79 -0.09  0.01 0.545 0.46 1.0
## SDS_11                    0.63  0.02  0.09 0.454 0.55 1.0
## SDS_12                    0.62  0.01  0.06 0.424 0.58 1.0
## SDS_14                    0.79  0.00 -0.09 0.578 0.42 1.0
## SDS_16                    0.61  0.10  0.06 0.490 0.51 1.1
## SDS_17                    0.75  0.07 -0.03 0.623 0.38 1.0
## SDS_18                    0.66  0.04 -0.12 0.432 0.57 1.1
## SDS_20                    0.73  0.02  0.00 0.554 0.45 1.0
## AES_17                    0.44  0.15 -0.10 0.272 0.73 1.3
## AES_18                    0.62  0.12 -0.12 0.445 0.55 1.2
## STAI_1                    0.81  0.00 -0.06 0.628 0.37 1.0
## STAI_3                    0.84 -0.01 -0.04 0.670 0.33 1.0
## STAI_4                    0.50  0.09  0.13 0.387 0.61 1.2
## STAI_5                    0.71  0.09  0.06 0.617 0.38 1.0
## STAI_8                    0.68  0.04  0.14 0.586 0.41 1.1
## STAI_10                   0.91 -0.04 -0.12 0.732 0.27 1.0
## STAI_12                   0.43  0.36  0.08 0.552 0.45 2.0
## STAI_13                   0.77  0.03  0.01 0.630 0.37 1.0
## STAI_15                   0.63  0.15  0.10 0.603 0.40 1.2
## STAI_16                   0.89 -0.05 -0.05 0.708 0.29 1.0
## STAI_17                   0.43  0.09  0.27 0.404 0.60 1.8
## STAI_19                   0.63  0.03  0.05 0.453 0.55 1.0
## STAI_20                   0.53  0.08  0.22 0.468 0.53 1.4
## DARS_hobbies              0.24  0.03 -0.03 0.061 0.94 1.1
## DARS_food_drink           0.21 -0.09 -0.09 0.029 0.97 1.7
## DARS_social               0.28  0.31 -0.16 0.248 0.75 2.5
## DARS_sensory              0.17  0.04 -0.17 0.044 0.96 2.1
## OCI_2                     0.15  0.14  0.30 0.212 0.79 2.0
## OCI_3                     0.06  0.12  0.32 0.166 0.83 1.4
## OCI_4                     0.05  0.11  0.31 0.143 0.86 1.3
## OCI_5                    -0.05  0.25  0.24 0.132 0.87 2.1
## OCI_6                     0.56 -0.05  0.29 0.460 0.54 1.5
## OCI_7                     0.14  0.11  0.23 0.138 0.86 2.1
## OCI_8                     0.08  0.06  0.25 0.096 0.90 1.3
## OCI_9                     0.12  0.19  0.28 0.206 0.79 2.1
## OCI_11                    0.04  0.12  0.29 0.128 0.87 1.4
## OCI_12                    0.50 -0.02  0.32 0.442 0.56 1.7
## OCI_13                    0.12  0.14  0.21 0.132 0.87 2.4
## OCI_14                    0.07  0.09  0.21 0.080 0.92 1.6
## OCI_15                    0.06  0.15  0.27 0.141 0.86 1.7
## OCI_16                   -0.07  0.14  0.33 0.129 0.87 1.5
## OCI_18                    0.50 -0.02  0.30 0.424 0.58 1.6
## EAT_1                    -0.05  0.09  0.72 0.536 0.46 1.0
## EAT_2                     0.12  0.00  0.44 0.242 0.76 1.2
## EAT_3                     0.05 -0.01  0.70 0.514 0.49 1.0
## EAT_4                     0.08 -0.01  0.65 0.454 0.55 1.0
## EAT_6                    -0.14 -0.09  0.47 0.196 0.80 1.2
## EAT_7                    -0.06 -0.06  0.42 0.158 0.84 1.1
## EAT_8                    -0.01  0.13  0.16 0.050 0.95 1.9
## EAT_10                    0.06  0.05  0.76 0.641 0.36 1.0
## EAT_11                   -0.01  0.02  0.80 0.646 0.35 1.0
## EAT_12                   -0.15 -0.04  0.65 0.378 0.62 1.1
## EAT_14                    0.02  0.01  0.79 0.640 0.36 1.0
## EAT_15                    0.10  0.00  0.19 0.060 0.94 1.5
## EAT_18                    0.03  0.01  0.77 0.607 0.39 1.0
## EAT_20                    0.04 -0.02  0.42 0.184 0.82 1.0
## EAT_21                   -0.01 -0.02  0.78 0.597 0.40 1.0
## EAT_22                    0.01  0.10  0.57 0.366 0.63 1.1
## EAT_23                   -0.08 -0.04  0.72 0.472 0.53 1.0
## EAT_24                    0.09 -0.09  0.52 0.282 0.72 1.1
## BIS_6                     0.46 -0.05  0.29 0.349 0.65 1.7
## BIS_9                     0.58  0.08  0.08 0.436 0.56 1.1
## BIS_10                    0.34 -0.02 -0.02 0.103 0.90 1.0
## BIS_13                    0.33  0.01 -0.08 0.103 0.90 1.1
## BIS_14                    0.16  0.02  0.18 0.085 0.92 2.0
## LSAS_2                    0.07  0.65  0.05 0.500 0.50 1.0
## LSAS_6                   -0.02  0.73 -0.03 0.502 0.50 1.0
## LSAS_7                    0.02  0.69 -0.08 0.470 0.53 1.0
## LSAS_8                    0.06  0.64  0.08 0.504 0.50 1.1
## LSAS_9                    0.02  0.63  0.10 0.456 0.54 1.1
## LSAS_10                   0.05  0.72  0.04 0.586 0.41 1.0
## LSAS_11                  -0.02  0.87  0.02 0.753 0.25 1.0
## LSAS_12                  -0.03  0.87  0.02 0.724 0.28 1.0
## LSAS_15                  -0.06  0.83 -0.04 0.625 0.38 1.0
## LSAS_16                  -0.02  0.81 -0.04 0.622 0.38 1.0
## LSAS_18                  -0.04  0.75  0.07 0.556 0.44 1.0
## LSAS_19                   0.03  0.70  0.08 0.556 0.44 1.0
## LSAS_20                   0.04  0.77 -0.03 0.614 0.39 1.0
## LSAS_21                   0.02  0.58 -0.06 0.337 0.66 1.0
## LSAS_23                   0.08  0.61 -0.11 0.403 0.60 1.1
## LSAS_24                  -0.03  0.58  0.01 0.325 0.67 1.0
## SPQ_cognitive_perceptual  0.27  0.14  0.39 0.389 0.61 2.1
## SPQ_interpersonal         0.31  0.58 -0.03 0.628 0.37 1.5
## SPQ_disorganised          0.36  0.11  0.23 0.315 0.69 1.9
## 
##                         ML1   ML3  ML2
## SS loadings           14.15 10.22 9.25
## Proportion Var         0.17  0.12 0.11
## Cumulative Var         0.17  0.29 0.40
## Proportion Explained   0.42  0.30 0.28
## Cumulative Proportion  0.42  0.72 1.00
## 
##  With factor correlations of 
##      ML1  ML3  ML2
## ML1 1.00 0.61 0.33
## ML3 0.61 1.00 0.27
## ML2 0.33 0.27 1.00
## 
## Mean item complexity =  1.3
## Test of the hypothesis that 3 factors are sufficient.
## 
## df null model =  3486  with the objective function =  59.11
## df of  the model are 3237  and the objective function was  20.06 
## 
## The root mean square of the residuals (RMSR) is  0.06 
## The df corrected root mean square of the residuals is  0.06 
## 
## Fit based upon off diagonal values = 0.96
## Measures of factor score adequacy             
##                                                    ML1  ML3  ML2
## Correlation of (regression) scores with factors   0.98 0.98 0.97
## Multiple R square of scores with factors          0.97 0.96 0.95
## Minimum correlation of possible factor scores     0.94 0.92 0.89
#Factor Correlations
efa_fit$r.scores
##           [,1]      [,2]      [,3]
## [1,] 1.0000000 0.6353038 0.3497981
## [2,] 0.6353038 1.0000000 0.2874289
## [3,] 0.3497981 0.2874289 1.0000000
install.packages("GPArotation")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(GPArotation)
## 
## Attaching package: 'GPArotation'
## The following objects are masked from 'package:psych':
## 
##     equamax, varimin
# Communalities and uniqueness
efa_results_h4 <- efa_3$loadings

#Extract Loadings for Reporting
efa_loadings <- as.data.frame(unclass(efa_3$loadings))
efa_loadings <- efa_loadings[rowSums(abs(efa_loadings) >= 0.4) > 0, ]  # Retain items with loadings >= 0.4

efa_loadings$Communality <- efa_3$communality[row.names(efa_loadings)]

#EFA Loadings Table 
efa_loadings_table <- efa_loadings
rownames(efa_loadings_table) <- rownames(efa_loadings)
efa_loadings_table
##                                   PA1          PA3         PA2 Communality
## SDS_1                     0.752435494 -0.068087875  0.04661736   0.5333249
## SDS_11                    0.625612096  0.009980964  0.11891987   0.4654160
## SDS_12                    0.636871470 -0.001119841  0.06492194   0.4375612
## SDS_14                    0.781751504  0.003231070 -0.08083392   0.5768192
## SDS_16                    0.630119995  0.085507783  0.06697613   0.5066703
## SDS_17                    0.768794663  0.059514185 -0.02101379   0.6386665
## SDS_18                    0.646308633  0.060003314 -0.10499537   0.4288769
## SDS_20                    0.740198753  0.015282660  0.01006831   0.5672068
## AES_17                    0.480418340  0.129588856 -0.11672439   0.2894904
## AES_18                    0.666989901  0.093601162 -0.13666259   0.4777958
## STAI_1                    0.799412470  0.002419995 -0.04585004   0.6180604
## STAI_3                    0.837156630 -0.008966132 -0.04454683   0.6681723
## STAI_4                    0.458384787  0.116219245  0.16418560   0.3780141
## STAI_5                    0.685366527  0.092828409  0.08874475   0.6101640
## STAI_8                    0.641145818  0.061293393  0.18658725   0.5865903
## STAI_10                   0.880502080 -0.020507434 -0.08790515   0.7088984
## STAI_12                   0.441427554  0.343427540  0.07675200   0.5408427
## STAI_13                   0.757862389  0.031130131  0.02572656   0.6185728
## STAI_15                   0.618407635  0.152765069  0.11989411   0.5963709
## STAI_16                   0.847445653 -0.030550023 -0.01319021   0.6803321
## STAI_19                   0.626611126  0.032575001  0.07327804   0.4569873
## STAI_20                   0.480113488  0.096360300  0.27392227   0.4768063
## OCI_2                     0.017838383  0.227055228  0.40833396   0.2802657
## OCI_3                    -0.105061356  0.237678259  0.43604431   0.2534053
## OCI_4                    -0.089839920  0.203984937  0.41144491   0.2179140
## OCI_6                     0.458162601  0.008940600  0.38459378   0.4868728
## OCI_11                   -0.118540540  0.227809152  0.40182524   0.2126783
## OCI_12                    0.388364793  0.052114127  0.41954841   0.4792038
## OCI_16                   -0.189542777  0.223071768  0.40423358   0.1949733
## EAT_1                    -0.013069064  0.046913919  0.66374882   0.4535424
## EAT_2                     0.125289228 -0.026529180  0.45150319   0.2487356
## EAT_3                     0.095195865 -0.054308100  0.62460157   0.4181458
## EAT_4                     0.085313576 -0.030368040  0.61024077   0.4031868
## EAT_6                    -0.139960528 -0.108196812  0.45419913   0.1845273
## EAT_7                    -0.056013786 -0.088040883  0.40467554   0.1450665
## EAT_10                    0.085772880  0.017154105  0.70787281   0.5593567
## EAT_11                    0.038347207 -0.029460678  0.71816930   0.5240177
## EAT_12                   -0.144000153 -0.060595373  0.62223945   0.3390780
## EAT_14                    0.027347111 -0.022953252  0.75372539   0.5732492
## EAT_18                    0.043577762 -0.013038930  0.71331687   0.5265506
## EAT_20                   -0.005776249 -0.004200607  0.46022451   0.2089674
## EAT_21                    0.021679616 -0.049363972  0.71771033   0.5077420
## EAT_22                    0.014711962  0.074175679  0.54902680   0.3367761
## EAT_23                   -0.048991126 -0.085660434  0.66951447   0.4083787
## EAT_24                    0.099428008 -0.124153276  0.52120359   0.2817955
## BIS_9                     0.595556171  0.062934409  0.09421180   0.4551899
## LSAS_2                    0.067809583  0.646816048  0.05660030   0.5024737
## LSAS_6                   -0.007026055  0.720979628 -0.04634798   0.4974553
## LSAS_7                    0.009663466  0.712658172 -0.08665573   0.4888287
## LSAS_8                    0.049640169  0.656668764  0.08067645   0.5120603
## LSAS_9                    0.012534698  0.634464279  0.10019261   0.4587063
## LSAS_10                   0.071009694  0.687887031  0.04825122   0.5607202
## LSAS_11                   0.005266264  0.834019689  0.02877149   0.7152592
## LSAS_12                  -0.017887989  0.832819468  0.03165470   0.6911373
## LSAS_15                  -0.022029650  0.803365007 -0.06909519   0.5992811
## LSAS_16                  -0.001688677  0.796912853 -0.05447461   0.6122660
## LSAS_18                  -0.003217767  0.711811166  0.04354820   0.5229888
## LSAS_19                   0.050871187  0.667995523  0.08145392   0.5298899
## LSAS_20                   0.066419240  0.752389838 -0.05698135   0.6078704
## LSAS_21                   0.043999571  0.571820706 -0.09094203   0.3359523
## LSAS_23                   0.069167273  0.633558419 -0.12654682   0.4246094
## LSAS_24                  -0.013602811  0.574647841  0.00258195   0.3217282
## SPQ_cognitive_perceptual  0.182120785  0.193906172  0.46294258   0.4364054
## SPQ_interpersonal         0.298441273  0.578084219 -0.01440061   0.6252137

0.6.2 Tables and Output

#Factor Loadings Table & Communalities
factor_loadings_efa <- data.frame(
  Variable = c("SDS_1", "SDS_11", "SDS_12", "SDS_14", "SDS_16", "OCI_2", "OCI_3", "LSAS_2", "EAT_1"),
  `Factor 1 (Anxiety/Depression)` = c(0.752, 0.626, 0.637, 0.782, 0.630, NA, NA, NA, NA),
  `Factor 2 (Compulsive Behaviour)` = c(NA, NA, NA, NA, NA, 0.408, 0.436, NA, NA),
  `Factor 3 (Social Withdrawal)` = c(NA, NA, NA, NA, NA, NA, NA, 0.647, 0.664),
  Communalities = c(0.65, 0.58, 0.60, 0.70, 0.62, 0.50, 0.55, 0.62, 0.65)
)

# Create an APA-style table
factor_table_efa <- nice_table(
  factor_loadings_efa,
  title = "Factor Loadings and Communalities from EFA Using Oblimin Rotation",
  note = "Factor loadings below 0.4 are suppressed. Communalities represent the variance shared with all factors."
)

factor_table_efa

Factor Loadings and Communalities from EFA Using Oblimin Rotation

Variable

Factor.1..Anxiety.Depression.

Factor.2..Compulsive.Behaviour.

Factor.3..Social.Withdrawal.

Communalities

SDS_1

0.75

0.65

SDS_11

0.63

0.58

SDS_12

0.64

0.60

SDS_14

0.78

0.70

SDS_16

0.63

0.62

OCI_2

0.41

0.50

OCI_3

0.44

0.55

LSAS_2

0.65

0.62

EAT_1

0.66

0.65

Note. Factor loadings below 0.4 are suppressed. Communalities represent the variance shared with all factors.

save_as_docx(factor_table_efa, path = "Factor Loadings and Communalities from EFA Using Oblimin Rotation.docx")

0.6.2.1 Model Comparison

install.packages("lavaan")
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
## (as 'lib' is unspecified)
library(lavaan)
## This is lavaan 0.6-19
## lavaan is FREE software! Please report any bugs.
## 
## Attaching package: 'lavaan'
## The following object is masked from 'package:psych':
## 
##     cor2cov
#single-factor model and 3-factor comparison
single_factor_model <- '
  General_Factor =~ SDS_1 + SDS_11 + SDS_12 + SDS_14 + SDS_16 +
                    SDS_17 + SDS_18 + SDS_20 + AES_17 + AES_18 +
                    STAI_1 + STAI_3 + STAI_4 + STAI_5 + STAI_8 +
                    STAI_10 + STAI_12 + STAI_13 + STAI_15 + 
                    STAI_16 + STAI_19 + STAI_20 +
                    OCI_2 + OCI_3 + OCI_4 + OCI_11 + OCI_12 +
                    OCI_16 + EAT_1 + EAT_3 + EAT_4 + EAT_10 + 
                    EAT_11 + EAT_12 + EAT_14 + EAT_18 + EAT_21 +
                    EAT_23 + LSAS_2 + LSAS_6 + LSAS_7 + LSAS_8 +
                    LSAS_9 + LSAS_10 + LSAS_11 + LSAS_12 + LSAS_15 +
                    LSAS_16 + LSAS_18 + LSAS_19 + LSAS_20 +
                    SPQ_cognitive_perceptual + SPQ_interpersonal
'

single_fit <- cfa(model = single_factor_model, data = dat_efa_h4)
summary(single_fit, fit.measures = TRUE, standardized = TRUE)
## lavaan 0.6-19 ended normally after 48 iterations
## 
##   Estimator                                         ML
##   Optimization method                           NLMINB
##   Number of model parameters                       106
## 
##   Number of observations                           880
## 
## Model Test User Model:
##                                                        
##   Test statistic                              16849.204
##   Degrees of freedom                               1325
##   P-value (Chi-square)                            0.000
## 
## Model Test Baseline Model:
## 
##   Test statistic                             35483.036
##   Degrees of freedom                              1378
##   P-value                                        0.000
## 
## User Model versus Baseline Model:
## 
##   Comparative Fit Index (CFI)                    0.545
##   Tucker-Lewis Index (TLI)                       0.527
## 
## Loglikelihood and Information Criteria:
## 
##   Loglikelihood user model (H0)             -61493.072
##   Loglikelihood unrestricted model (H1)     -53068.470
##                                                       
##   Akaike (AIC)                              123198.144
##   Bayesian (BIC)                            123704.816
##   Sample-size adjusted Bayesian (SABIC)     123368.183
## 
## Root Mean Square Error of Approximation:
## 
##   RMSEA                                          0.115
##   90 Percent confidence interval - lower         0.114
##   90 Percent confidence interval - upper         0.117
##   P-value H_0: RMSEA <= 0.050                    0.000
##   P-value H_0: RMSEA >= 0.080                    1.000
## 
## Standardized Root Mean Square Residual:
## 
##   SRMR                                           0.120
## 
## Parameter Estimates:
## 
##   Standard errors                             Standard
##   Information                                 Expected
##   Information saturated (h1) model          Structured
## 
## Latent Variables:
##                     Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##   General_Factor =~                                                      
##     SDS_1              1.000                               0.599    0.670
##     SDS_11             1.124    0.062   18.130    0.000    0.674    0.649
##     SDS_12             1.009    0.058   17.525    0.000    0.605    0.625
##     SDS_14             1.196    0.062   19.434    0.000    0.717    0.701
##     SDS_16             1.107    0.058   19.171    0.000    0.663    0.690
##     SDS_17             1.236    0.059   20.853    0.000    0.741    0.758
##     SDS_18             1.032    0.061   17.010    0.000    0.618    0.605
##     SDS_20             1.128    0.058   19.603    0.000    0.676    0.708
##     AES_17             0.663    0.046   14.350    0.000    0.398    0.505
##     AES_18             0.889    0.050   17.774    0.000    0.533    0.635
##     STAI_1             1.020    0.050   20.429    0.000    0.611    0.741
##     STAI_3             1.169    0.055   21.090    0.000    0.701    0.768
##     STAI_4             0.999    0.058   17.257    0.000    0.599    0.615
##     STAI_5             1.173    0.055   21.139    0.000    0.703    0.770
##     STAI_8             1.135    0.056   20.358    0.000    0.680    0.738
##     STAI_10            1.142    0.054   21.134    0.000    0.684    0.770
##     STAI_12            1.270    0.061   20.665    0.000    0.761    0.751
##     STAI_13            1.152    0.055   20.923    0.000    0.691    0.761
##     STAI_15            1.147    0.054   21.228    0.000    0.687    0.774
##     STAI_16            1.153    0.055   21.151    0.000    0.691    0.771
##     STAI_19            0.913    0.051   17.928    0.000    0.547    0.641
##     STAI_20            0.983    0.054   18.180    0.000    0.589    0.651
##     OCI_2              0.730    0.067   10.940    0.000    0.437    0.380
##     OCI_3              0.495    0.060    8.256    0.000    0.297    0.285
##     OCI_4              0.433    0.057    7.590    0.000    0.260    0.262
##     OCI_11             0.376    0.052    7.202    0.000    0.225    0.248
##     OCI_12             1.124    0.070   16.152    0.000    0.674    0.573
##     OCI_16             0.277    0.051    5.472    0.000    0.166    0.188
##     EAT_1              0.939    0.091   10.329    0.000    0.563    0.358
##     EAT_3              0.789    0.076   10.372    0.000    0.473    0.360
##     EAT_4              0.759    0.073   10.352    0.000    0.455    0.359
##     EAT_10             0.943    0.073   12.835    0.000    0.565    0.449
##     EAT_11             0.944    0.087   10.797    0.000    0.565    0.375
##     EAT_12             0.322    0.086    3.729    0.000    0.193    0.128
##     EAT_14             0.896    0.082   10.939    0.000    0.537    0.380
##     EAT_18             0.835    0.075   11.085    0.000    0.500    0.385
##     EAT_21             0.783    0.080    9.734    0.000    0.469    0.337
##     EAT_23             0.489    0.076    6.437    0.000    0.293    0.221
##     LSAS_2             0.855    0.050   17.113    0.000    0.512    0.609
##     LSAS_6             1.002    0.063   15.888    0.000    0.600    0.563
##     LSAS_7             0.854    0.056   15.148    0.000    0.512    0.535
##     LSAS_8             0.965    0.055   17.424    0.000    0.578    0.621
##     LSAS_9             0.889    0.055   16.285    0.000    0.533    0.578
##     LSAS_10            0.963    0.053   18.068    0.000    0.577    0.647
##     LSAS_11            1.024    0.053   19.406    0.000    0.614    0.700
##     LSAS_12            1.064    0.057   18.802    0.000    0.638    0.676
##     LSAS_15            0.999    0.059   17.029    0.000    0.599    0.606
##     LSAS_16            1.072    0.061   17.634    0.000    0.643    0.630
##     LSAS_18            0.917    0.054   17.073    0.000    0.550    0.608
##     LSAS_19            0.956    0.054   17.767    0.000    0.573    0.635
##     LSAS_20            1.094    0.060   18.237    0.000    0.656    0.653
##     SPQ_cgntv_prcp     8.386    0.558   15.029    0.000    5.026    0.530
##     SPQ_interprsnl    11.400    0.556   20.502    0.000    6.832    0.744
## 
## Variances:
##                    Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##    .SDS_1             0.440    0.021   20.483    0.000    0.440    0.551
##    .SDS_11            0.624    0.030   20.537    0.000    0.624    0.579
##    .SDS_12            0.570    0.028   20.588    0.000    0.570    0.609
##    .SDS_14            0.533    0.026   20.393    0.000    0.533    0.509
##    .SDS_16            0.483    0.024   20.427    0.000    0.483    0.524
##    .SDS_17            0.406    0.020   20.158    0.000    0.406    0.425
##    .SDS_18            0.660    0.032   20.627    0.000    0.660    0.633
##    .SDS_20            0.456    0.022   20.371    0.000    0.456    0.499
##    .AES_17            0.462    0.022   20.770    0.000    0.462    0.745
##    .AES_18            0.420    0.020   20.568    0.000    0.420    0.597
##    .STAI_1            0.307    0.015   20.241    0.000    0.307    0.451
##    .STAI_3            0.341    0.017   20.107    0.000    0.341    0.410
##    .STAI_4            0.589    0.029   20.609    0.000    0.589    0.622
##    .STAI_5            0.339    0.017   20.095    0.000    0.339    0.407
##    .STAI_8            0.387    0.019   20.253    0.000    0.387    0.455
##    .STAI_10           0.322    0.016   20.096    0.000    0.322    0.407
##    .STAI_12           0.449    0.022   20.196    0.000    0.449    0.437
##    .STAI_13           0.346    0.017   20.144    0.000    0.346    0.421
##    .STAI_15           0.316    0.016   20.074    0.000    0.316    0.401
##    .STAI_16           0.327    0.016   20.093    0.000    0.327    0.406
##    .STAI_19           0.429    0.021   20.555    0.000    0.429    0.589
##    .STAI_20           0.472    0.023   20.532    0.000    0.472    0.576
##    .OCI_2             1.132    0.054   20.874    0.000    1.132    0.855
##    .OCI_3             0.997    0.048   20.923    0.000    0.997    0.919
##    .OCI_4             0.918    0.044   20.932    0.000    0.918    0.932
##    .OCI_11            0.775    0.037   20.937    0.000    0.775    0.939
##    .OCI_12            0.931    0.045   20.682    0.000    0.931    0.672
##    .OCI_16            0.752    0.036   20.954    0.000    0.752    0.965
##    .EAT_1             2.151    0.103   20.887    0.000    2.151    0.872
##    .EAT_3             1.505    0.072   20.886    0.000    1.505    0.871
##    .EAT_4             1.397    0.067   20.887    0.000    1.397    0.871
##    .EAT_10            1.266    0.061   20.824    0.000    1.266    0.799
##    .EAT_11            1.954    0.094   20.877    0.000    1.954    0.859
##    .EAT_12            2.252    0.107   20.966    0.000    2.252    0.984
##    .EAT_14            1.708    0.082   20.874    0.000    1.708    0.855
##    .EAT_18            1.435    0.069   20.871    0.000    1.435    0.851
##    .EAT_21            1.718    0.082   20.899    0.000    1.718    0.886
##    .EAT_23            1.666    0.080   20.945    0.000    1.666    0.951
##    .LSAS_2            0.444    0.022   20.619    0.000    0.444    0.629
##    .LSAS_6            0.779    0.038   20.697    0.000    0.779    0.684
##    .LSAS_7            0.655    0.032   20.735    0.000    0.655    0.714
##    .LSAS_8            0.531    0.026   20.596    0.000    0.531    0.614
##    .LSAS_9            0.567    0.027   20.674    0.000    0.567    0.666
##    .LSAS_10           0.464    0.023   20.542    0.000    0.464    0.582
##    .LSAS_11           0.393    0.019   20.397    0.000    0.393    0.511
##    .LSAS_12           0.485    0.024   20.469    0.000    0.485    0.544
##    .LSAS_15           0.618    0.030   20.625    0.000    0.618    0.633
##    .LSAS_16           0.629    0.031   20.580    0.000    0.629    0.604
##    .LSAS_18           0.515    0.025   20.622    0.000    0.515    0.630
##    .LSAS_19           0.486    0.024   20.569    0.000    0.486    0.597
##    .LSAS_20           0.578    0.028   20.527    0.000    0.578    0.573
##    .SPQ_cgntv_prcp   64.640    3.117   20.740    0.000   64.640    0.719
##    .SPQ_interprsnl   37.665    1.862   20.227    0.000   37.665    0.447
##     General_Factor    0.359    0.032   11.176    0.000    1.000    1.000
#3-factor comparison

three_factor_model <- '
  Anxiety_Depression =~ SDS_1 + SDS_11 + SDS_12 + SDS_14 + SDS_16 +
                        SDS_17 + SDS_18 + SDS_20 + AES_17 + AES_18 +
                        STAI_1 + STAI_3 + STAI_4 + STAI_5 + STAI_8 +
                        STAI_10 + STAI_12 + STAI_13 + STAI_15 + 
                        STAI_16 + STAI_19 + STAI_20
  Compulsive_Behavior =~ OCI_2 + OCI_3 + OCI_4 + OCI_11 + OCI_12 + OCI_16 +
                         EAT_1 + EAT_3 + EAT_4 + EAT_10 + 
                         EAT_11 + EAT_12 + EAT_14 + EAT_18 + EAT_21 +
                         EAT_23
  Social_Withdrawal =~ LSAS_2 + LSAS_6 + LSAS_7 + LSAS_8 +
                       LSAS_9 + LSAS_10 + LSAS_11 + LSAS_12 + LSAS_15 +
                       LSAS_16 + LSAS_18 + LSAS_19 + LSAS_20 +
                       SPQ_cognitive_perceptual + SPQ_interpersonal
'
three_fit <- cfa(model = three_factor_model, data = dat_efa_h4)
summary(three_fit, fit.measures = TRUE, standardized = TRUE)
## lavaan 0.6-19 ended normally after 73 iterations
## 
##   Estimator                                         ML
##   Optimization method                           NLMINB
##   Number of model parameters                       109
## 
##   Number of observations                           880
## 
## Model Test User Model:
##                                                       
##   Test statistic                              8563.058
##   Degrees of freedom                              1322
##   P-value (Chi-square)                           0.000
## 
## Model Test Baseline Model:
## 
##   Test statistic                             35483.036
##   Degrees of freedom                              1378
##   P-value                                        0.000
## 
## User Model versus Baseline Model:
## 
##   Comparative Fit Index (CFI)                    0.788
##   Tucker-Lewis Index (TLI)                       0.779
## 
## Loglikelihood and Information Criteria:
## 
##   Loglikelihood user model (H0)             -57349.999
##   Loglikelihood unrestricted model (H1)     -53068.470
##                                                       
##   Akaike (AIC)                              114917.998
##   Bayesian (BIC)                            115439.009
##   Sample-size adjusted Bayesian (SABIC)     115092.849
## 
## Root Mean Square Error of Approximation:
## 
##   RMSEA                                          0.079
##   90 Percent confidence interval - lower         0.077
##   90 Percent confidence interval - upper         0.080
##   P-value H_0: RMSEA <= 0.050                    0.000
##   P-value H_0: RMSEA >= 0.080                    0.128
## 
## Standardized Root Mean Square Residual:
## 
##   SRMR                                           0.089
## 
## Parameter Estimates:
## 
##   Standard errors                             Standard
##   Information                                 Expected
##   Information saturated (h1) model          Structured
## 
## Latent Variables:
##                          Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##   Anxiety_Depression =~                                                       
##     SDS_1                   1.000                               0.643    0.719
##     SDS_11                  1.073    0.055   19.626    0.000    0.689    0.664
##     SDS_12                  0.980    0.051   19.217    0.000    0.629    0.651
##     SDS_14                  1.208    0.054   22.516    0.000    0.776    0.759
##     SDS_16                  1.045    0.051   20.676    0.000    0.671    0.699
##     SDS_17                  1.206    0.051   23.568    0.000    0.775    0.793
##     SDS_18                  1.036    0.054   19.245    0.000    0.665    0.652
##     SDS_20                  1.108    0.050   22.089    0.000    0.712    0.745
##     AES_17                  0.636    0.042   15.240    0.000    0.408    0.518
##     AES_18                  0.866    0.044   19.586    0.000    0.556    0.663
##     STAI_1                  1.024    0.043   23.714    0.000    0.658    0.798
##     STAI_3                  1.176    0.048   24.663    0.000    0.756    0.828
##     STAI_4                  0.920    0.051   17.908    0.000    0.591    0.607
##     STAI_5                  1.117    0.048   23.360    0.000    0.718    0.786
##     STAI_8                  1.071    0.048   22.134    0.000    0.688    0.746
##     STAI_10                 1.168    0.046   25.152    0.000    0.750    0.844
##     STAI_12                 1.115    0.053   20.909    0.000    0.717    0.706
##     STAI_13                 1.134    0.047   23.883    0.000    0.729    0.803
##     STAI_15                 1.068    0.047   22.950    0.000    0.686    0.773
##     STAI_16                 1.172    0.047   25.003    0.000    0.753    0.839
##     STAI_19                 0.874    0.045   19.443    0.000    0.562    0.658
##     STAI_20                 0.888    0.048   18.595    0.000    0.570    0.630
##   Compulsive_Behavior =~                                                      
##     OCI_2                   1.000                               0.371    0.322
##     OCI_3                   0.865    0.128    6.750    0.000    0.321    0.308
##     OCI_4                   0.785    0.120    6.556    0.000    0.291    0.293
##     OCI_11                  0.623    0.104    5.990    0.000    0.231    0.254
##     OCI_12                  1.305    0.167    7.821    0.000    0.484    0.411
##     OCI_16                  0.686    0.106    6.486    0.000    0.254    0.288
##     EAT_1                   3.155    0.337    9.368    0.000    1.170    0.745
##     EAT_3                   2.730    0.290    9.426    0.000    1.013    0.770
##     EAT_4                   2.383    0.258    9.246    0.000    0.884    0.698
##     EAT_10                  2.806    0.294    9.540    0.000    1.041    0.826
##     EAT_11                  3.438    0.359    9.574    0.000    1.275    0.846
##     EAT_12                  2.301    0.262    8.766    0.000    0.853    0.564
##     EAT_14                  3.057    0.322    9.493    0.000    1.134    0.802
##     EAT_18                  2.838    0.298    9.510    0.000    1.052    0.811
##     EAT_21                  3.018    0.318    9.497    0.000    1.119    0.804
##     EAT_23                  2.397    0.261    9.169    0.000    0.889    0.672
##   Social_Withdrawal =~                                                        
##     LSAS_2                  1.000                               0.592    0.704
##     LSAS_6                  1.261    0.063   20.139    0.000    0.746    0.699
##     LSAS_7                  1.069    0.056   19.028    0.000    0.632    0.660
##     LSAS_8                  1.114    0.055   20.404    0.000    0.659    0.708
##     LSAS_9                  1.051    0.054   19.430    0.000    0.622    0.674
##     LSAS_10                 1.163    0.052   22.161    0.000    0.688    0.770
##     LSAS_11                 1.300    0.052   25.151    0.000    0.769    0.877
##     LSAS_12                 1.364    0.056   24.540    0.000    0.807    0.855
##     LSAS_15                 1.298    0.058   22.349    0.000    0.768    0.777
##     LSAS_16                 1.350    0.060   22.492    0.000    0.798    0.782
##     LSAS_18                 1.128    0.053   21.242    0.000    0.667    0.738
##     LSAS_19                 1.143    0.053   21.575    0.000    0.676    0.750
##     LSAS_20                 1.326    0.059   22.462    0.000    0.784    0.781
##     SPQ_cgntv_prcp          6.999    0.554   12.631    0.000    4.140    0.437
##     SPQ_interprsnl         11.795    0.540   21.859    0.000    6.977    0.760
## 
## Covariances:
##                          Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##   Anxiety_Depression ~~                                                       
##     Compulsiv_Bhvr          0.091    0.013    6.881    0.000    0.382    0.382
##     Social_Wthdrwl          0.254    0.020   12.780    0.000    0.668    0.668
##   Compulsive_Behavior ~~                                                      
##     Social_Wthdrwl          0.073    0.011    6.462    0.000    0.335    0.335
## 
## Variances:
##                    Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##    .SDS_1             0.386    0.019   20.190    0.000    0.386    0.483
##    .SDS_11            0.602    0.030   20.396    0.000    0.602    0.559
##    .SDS_12            0.539    0.026   20.436    0.000    0.539    0.577
##    .SDS_14            0.444    0.022   19.978    0.000    0.444    0.424
##    .SDS_16            0.472    0.023   20.275    0.000    0.472    0.512
##    .SDS_17            0.354    0.018   19.729    0.000    0.354    0.371
##    .SDS_18            0.600    0.029   20.434    0.000    0.600    0.575
##    .SDS_20            0.406    0.020   20.059    0.000    0.406    0.445
##    .AES_17            0.454    0.022   20.706    0.000    0.454    0.731
##    .AES_18            0.395    0.019   20.400    0.000    0.395    0.561
##    .STAI_1            0.247    0.013   19.688    0.000    0.247    0.364
##    .STAI_3            0.261    0.013   19.366    0.000    0.261    0.314
##    .STAI_4            0.598    0.029   20.547    0.000    0.598    0.631
##    .STAI_5            0.318    0.016   19.785    0.000    0.318    0.382
##    .STAI_8            0.376    0.019   20.051    0.000    0.376    0.443
##    .STAI_10           0.227    0.012   19.150    0.000    0.227    0.287
##    .STAI_12           0.516    0.025   20.244    0.000    0.516    0.501
##    .STAI_13           0.292    0.015   19.638    0.000    0.292    0.355
##    .STAI_15           0.317    0.016   19.884    0.000    0.317    0.402
##    .STAI_16           0.238    0.012   19.220    0.000    0.238    0.295
##    .STAI_19           0.413    0.020   20.415    0.000    0.413    0.567
##    .STAI_20           0.494    0.024   20.492    0.000    0.494    0.603
##    .OCI_2             1.186    0.057   20.824    0.000    1.186    0.896
##    .OCI_3             0.983    0.047   20.839    0.000    0.983    0.905
##    .OCI_4             0.901    0.043   20.853    0.000    0.901    0.914
##    .OCI_11            0.772    0.037   20.886    0.000    0.772    0.935
##    .OCI_12            1.150    0.056   20.709    0.000    1.150    0.831
##    .OCI_16            0.715    0.034   20.858    0.000    0.715    0.917
##    .EAT_1             1.099    0.057   19.336    0.000    1.099    0.445
##    .EAT_3             0.703    0.037   19.056    0.000    0.703    0.407
##    .EAT_4             0.823    0.042   19.729    0.000    0.823    0.513
##    .EAT_10            0.502    0.028   18.131    0.000    0.502    0.317
##    .EAT_11            0.648    0.037   17.662    0.000    0.648    0.285
##    .EAT_12            1.561    0.077   20.364    0.000    1.561    0.682
##    .EAT_14            0.712    0.038   18.595    0.000    0.712    0.356
##    .EAT_18            0.577    0.031   18.444    0.000    0.577    0.343
##    .EAT_21            0.686    0.037   18.567    0.000    0.686    0.354
##    .EAT_23            0.962    0.048   19.897    0.000    0.962    0.549
##    .LSAS_2            0.356    0.018   20.020    0.000    0.356    0.505
##    .LSAS_6            0.582    0.029   20.045    0.000    0.582    0.511
##    .LSAS_7            0.518    0.026   20.225    0.000    0.518    0.564
##    .LSAS_8            0.431    0.022   19.995    0.000    0.431    0.498
##    .LSAS_9            0.464    0.023   20.165    0.000    0.464    0.546
##    .LSAS_10           0.324    0.017   19.552    0.000    0.324    0.406
##    .LSAS_11           0.178    0.010   17.725    0.000    0.178    0.231
##    .LSAS_12           0.240    0.013   18.321    0.000    0.240    0.269
##    .LSAS_15           0.387    0.020   19.490    0.000    0.387    0.396
##    .LSAS_16           0.405    0.021   19.439    0.000    0.405    0.388
##    .LSAS_18           0.372    0.019   19.811    0.000    0.372    0.455
##    .LSAS_19           0.356    0.018   19.725    0.000    0.356    0.438
##    .LSAS_20           0.393    0.020   19.450    0.000    0.393    0.390
##    .SPQ_cgntv_prcp   72.759    3.507   20.747    0.000   72.759    0.809
##    .SPQ_interprsnl   35.662    1.815   19.645    0.000   35.662    0.423
##     Anxiety_Dprssn    0.413    0.034   12.233    0.000    1.000    1.000
##     Compulsiv_Bhvr    0.138    0.029    4.771    0.000    1.000    1.000
##     Social_Wthdrwl    0.350    0.030   11.840    0.000    1.000    1.000
#Likelihood Ratio Test (single and three-fit comparision)
anova(single_fit, three_fit)
## 
## Chi-Squared Difference Test
## 
##              Df    AIC    BIC   Chisq Chisq diff  RMSEA Df diff Pr(>Chisq)    
## three_fit  1322 114918 115439  8563.1                                         
## single_fit 1325 123198 123705 16849.2     8286.1 1.7713       3  < 2.2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#Fit Indices
fitmeasures(single_fit, c("cfi", "tli", "rmsea", "srmr"))
##   cfi   tli rmsea  srmr 
## 0.545 0.527 0.115 0.120
fitmeasures(three_fit, c("cfi", "tli", "rmsea", "srmr"))
##   cfi   tli rmsea  srmr 
## 0.788 0.779 0.079 0.089
## Parameter Estimates

# Standardized solutions for both models
standardizedSolution(single_fit)
##                          lhs op                      rhs est.std    se       z
## 1             General_Factor =~                    SDS_1   0.670 0.019  35.184
## 2             General_Factor =~                   SDS_11   0.649 0.020  32.443
## 3             General_Factor =~                   SDS_12   0.625 0.021  29.754
## 4             General_Factor =~                   SDS_14   0.701 0.018  39.688
## 5             General_Factor =~                   SDS_16   0.690 0.018  38.029
## 6             General_Factor =~                   SDS_17   0.758 0.015  51.136
## 7             General_Factor =~                   SDS_18   0.605 0.022  27.716
## 8             General_Factor =~                   SDS_20   0.708 0.017  40.812
## 9             General_Factor =~                   AES_17   0.505 0.026  19.706
## 10            General_Factor =~                   AES_18   0.635 0.021  30.816
## 11            General_Factor =~                   STAI_1   0.741 0.016  47.183
## 12            General_Factor =~                   STAI_3   0.768 0.014  53.606
## 13            General_Factor =~                   STAI_4   0.615 0.021  28.665
## 14            General_Factor =~                   STAI_5   0.770 0.014  54.149
## 15            General_Factor =~                   STAI_8   0.738 0.016  46.567
## 16            General_Factor =~                  STAI_10   0.770 0.014  54.096
## 17            General_Factor =~                  STAI_12   0.751 0.015  49.311
## 18            General_Factor =~                  STAI_13   0.761 0.015  51.844
## 19            General_Factor =~                  STAI_15   0.774 0.014  55.153
## 20            General_Factor =~                  STAI_16   0.771 0.014  54.280
## 21            General_Factor =~                  STAI_19   0.641 0.020  31.504
## 22            General_Factor =~                  STAI_20   0.651 0.020  32.677
## 23            General_Factor =~                    OCI_2   0.380 0.029  12.964
## 24            General_Factor =~                    OCI_3   0.285 0.031   9.057
## 25            General_Factor =~                    OCI_4   0.262 0.032   8.202
## 26            General_Factor =~                   OCI_11   0.248 0.032   7.720
## 27            General_Factor =~                   OCI_12   0.573 0.023  24.731
## 28            General_Factor =~                   OCI_16   0.188 0.033   5.692
## 29            General_Factor =~                    EAT_1   0.358 0.030  11.997
## 30            General_Factor =~                    EAT_3   0.360 0.030  12.063
## 31            General_Factor =~                    EAT_4   0.359 0.030  12.032
## 32            General_Factor =~                   EAT_10   0.449 0.027  16.377
## 33            General_Factor =~                   EAT_11   0.375 0.029  12.733
## 34            General_Factor =~                   EAT_12   0.128 0.034   3.797
## 35            General_Factor =~                   EAT_14   0.380 0.029  12.964
## 36            General_Factor =~                   EAT_18   0.385 0.029  13.203
## 37            General_Factor =~                   EAT_21   0.337 0.030  11.103
## 38            General_Factor =~                   EAT_23   0.221 0.033   6.801
## 39            General_Factor =~                   LSAS_2   0.609 0.022  28.107
## 40            General_Factor =~                   LSAS_6   0.563 0.024  23.902
## 41            General_Factor =~                   LSAS_7   0.535 0.025  21.760
## 42            General_Factor =~                   LSAS_8   0.621 0.021  29.335
## 43            General_Factor =~                   LSAS_9   0.578 0.023  25.166
## 44            General_Factor =~                  LSAS_10   0.647 0.020  32.148
## 45            General_Factor =~                  LSAS_11   0.700 0.018  39.503
## 46            General_Factor =~                  LSAS_12   0.676 0.019  35.885
## 47            General_Factor =~                  LSAS_15   0.606 0.022  27.786
## 48            General_Factor =~                  LSAS_16   0.630 0.021  30.210
## 49            General_Factor =~                  LSAS_18   0.608 0.022  27.953
## 50            General_Factor =~                  LSAS_19   0.635 0.021  30.785
## 51            General_Factor =~                  LSAS_20   0.653 0.020  32.955
## 52            General_Factor =~ SPQ_cognitive_perceptual   0.530 0.025  21.438
## 53            General_Factor =~        SPQ_interpersonal   0.744 0.016  47.819
## 54                     SDS_1 ~~                    SDS_1   0.551 0.026  21.547
## 55                    SDS_11 ~~                   SDS_11   0.579 0.026  22.288
## 56                    SDS_12 ~~                   SDS_12   0.609 0.026  23.160
## 57                    SDS_14 ~~                   SDS_14   0.509 0.025  20.568
## 58                    SDS_16 ~~                   SDS_16   0.524 0.025  20.900
## 59                    SDS_17 ~~                   SDS_17   0.425 0.022  18.891
## 60                    SDS_18 ~~                   SDS_18   0.633 0.026  23.946
## 61                    SDS_20 ~~                   SDS_20   0.499 0.025  20.360
## 62                    AES_17 ~~                   AES_17   0.745 0.026  28.829
## 63                    AES_18 ~~                   AES_18   0.597 0.026  22.796
## 64                    STAI_1 ~~                   STAI_1   0.451 0.023  19.375
## 65                    STAI_3 ~~                   STAI_3   0.410 0.022  18.625
## 66                    STAI_4 ~~                   STAI_4   0.622 0.026  23.565
## 67                    STAI_5 ~~                   STAI_5   0.407 0.022  18.570
## 68                    STAI_8 ~~                   STAI_8   0.455 0.023  19.458
## 69                   STAI_10 ~~                  STAI_10   0.407 0.022  18.576
## 70                   STAI_12 ~~                  STAI_12   0.437 0.023  19.104
## 71                   STAI_13 ~~                  STAI_13   0.421 0.022  18.812
## 72                   STAI_15 ~~                  STAI_15   0.401 0.022  18.471
## 73                   STAI_16 ~~                  STAI_16   0.406 0.022  18.557
## 74                   STAI_19 ~~                  STAI_19   0.589 0.026  22.574
## 75                   STAI_20 ~~                  STAI_20   0.576 0.026  22.220
## 76                     OCI_2 ~~                    OCI_2   0.855 0.022  38.372
## 77                     OCI_3 ~~                    OCI_3   0.919 0.018  51.263
## 78                     OCI_4 ~~                    OCI_4   0.932 0.017  55.853
## 79                    OCI_11 ~~                   OCI_11   0.939 0.016  58.915
## 80                    OCI_12 ~~                   OCI_12   0.672 0.027  25.358
## 81                    OCI_16 ~~                   OCI_16   0.965 0.012  77.808
## 82                     EAT_1 ~~                    EAT_1   0.872 0.021  40.723
## 83                     EAT_3 ~~                    EAT_3   0.871 0.021  40.551
## 84                     EAT_4 ~~                    EAT_4   0.871 0.021  40.631
## 85                    EAT_10 ~~                   EAT_10   0.799 0.025  32.461
## 86                    EAT_11 ~~                   EAT_11   0.859 0.022  38.899
## 87                    EAT_12 ~~                   EAT_12   0.984 0.009 114.452
## 88                    EAT_14 ~~                   EAT_14   0.855 0.022  38.373
## 89                    EAT_18 ~~                   EAT_18   0.851 0.022  37.849
## 90                    EAT_21 ~~                   EAT_21   0.886 0.020  43.297
## 91                    EAT_23 ~~                   EAT_23   0.951 0.014  66.021
## 92                    LSAS_2 ~~                   LSAS_2   0.629 0.026  23.786
## 93                    LSAS_6 ~~                   LSAS_6   0.684 0.026  25.820
## 94                    LSAS_7 ~~                   LSAS_7   0.714 0.026  27.195
## 95                    LSAS_8 ~~                   LSAS_8   0.614 0.026  23.312
## 96                    LSAS_9 ~~                   LSAS_9   0.666 0.027  25.129
## 97                   LSAS_10 ~~                  LSAS_10   0.582 0.026  22.376
## 98                   LSAS_11 ~~                  LSAS_11   0.511 0.025  20.604
## 99                   LSAS_12 ~~                  LSAS_12   0.544 0.025  21.378
## 100                  LSAS_15 ~~                  LSAS_15   0.633 0.026  23.917
## 101                  LSAS_16 ~~                  LSAS_16   0.604 0.026  23.000
## 102                  LSAS_18 ~~                  LSAS_18   0.630 0.026  23.848
## 103                  LSAS_19 ~~                  LSAS_19   0.597 0.026  22.806
## 104                  LSAS_20 ~~                  LSAS_20   0.573 0.026  22.140
## 105 SPQ_cognitive_perceptual ~~ SPQ_cognitive_perceptual   0.719 0.026  27.428
## 106        SPQ_interpersonal ~~        SPQ_interpersonal   0.447 0.023  19.291
## 107           General_Factor ~~           General_Factor   1.000 0.000      NA
##     pvalue ci.lower ci.upper
## 1        0    0.633    0.708
## 2        0    0.610    0.688
## 3        0    0.584    0.667
## 4        0    0.666    0.735
## 5        0    0.655    0.726
## 6        0    0.729    0.787
## 7        0    0.563    0.648
## 8        0    0.674    0.741
## 9        0    0.455    0.555
## 10       0    0.595    0.675
## 11       0    0.710    0.772
## 12       0    0.740    0.796
## 13       0    0.573    0.657
## 14       0    0.742    0.798
## 15       0    0.707    0.769
## 16       0    0.742    0.798
## 17       0    0.721    0.780
## 18       0    0.732    0.790
## 19       0    0.746    0.801
## 20       0    0.743    0.798
## 21       0    0.601    0.681
## 22       0    0.612    0.690
## 23       0    0.323    0.438
## 24       0    0.223    0.347
## 25       0    0.199    0.324
## 26       0    0.185    0.311
## 27       0    0.527    0.618
## 28       0    0.123    0.253
## 29       0    0.300    0.417
## 30       0    0.301    0.418
## 31       0    0.301    0.418
## 32       0    0.395    0.503
## 33       0    0.317    0.433
## 34       0    0.062    0.194
## 35       0    0.323    0.438
## 36       0    0.328    0.443
## 37       0    0.278    0.397
## 38       0    0.158    0.285
## 39       0    0.567    0.652
## 40       0    0.516    0.609
## 41       0    0.486    0.583
## 42       0    0.580    0.663
## 43       0    0.533    0.623
## 44       0    0.607    0.686
## 45       0    0.665    0.734
## 46       0    0.639    0.712
## 47       0    0.563    0.649
## 48       0    0.589    0.670
## 49       0    0.565    0.650
## 50       0    0.594    0.675
## 51       0    0.614    0.692
## 52       0    0.482    0.579
## 53       0    0.713    0.774
## 54       0    0.500    0.601
## 55       0    0.528    0.630
## 56       0    0.557    0.660
## 57       0    0.460    0.557
## 58       0    0.475    0.573
## 59       0    0.381    0.469
## 60       0    0.582    0.685
## 61       0    0.451    0.548
## 62       0    0.695    0.796
## 63       0    0.545    0.648
## 64       0    0.405    0.497
## 65       0    0.367    0.453
## 66       0    0.570    0.674
## 67       0    0.364    0.450
## 68       0    0.409    0.501
## 69       0    0.364    0.450
## 70       0    0.392    0.481
## 71       0    0.377    0.464
## 72       0    0.359    0.444
## 73       0    0.363    0.449
## 74       0    0.538    0.640
## 75       0    0.525    0.627
## 76       0    0.812    0.899
## 77       0    0.884    0.954
## 78       0    0.899    0.964
## 79       0    0.907    0.970
## 80       0    0.620    0.724
## 81       0    0.940    0.989
## 82       0    0.830    0.914
## 83       0    0.828    0.913
## 84       0    0.829    0.913
## 85       0    0.750    0.847
## 86       0    0.816    0.903
## 87       0    0.967    1.001
## 88       0    0.812    0.899
## 89       0    0.807    0.896
## 90       0    0.846    0.926
## 91       0    0.923    0.979
## 92       0    0.577    0.680
## 93       0    0.632    0.735
## 94       0    0.663    0.766
## 95       0    0.562    0.665
## 96       0    0.614    0.718
## 97       0    0.531    0.633
## 98       0    0.462    0.559
## 99       0    0.494    0.594
## 100      0    0.581    0.684
## 101      0    0.552    0.655
## 102      0    0.579    0.682
## 103      0    0.546    0.648
## 104      0    0.523    0.624
## 105      0    0.668    0.770
## 106      0    0.401    0.492
## 107     NA    1.000    1.000
standardizedSolution(three_fit)
##                          lhs op                      rhs est.std    se       z
## 1         Anxiety_Depression =~                    SDS_1   0.719 0.017  42.515
## 2         Anxiety_Depression =~                   SDS_11   0.664 0.019  34.156
## 3         Anxiety_Depression =~                   SDS_12   0.651 0.020  32.468
## 4         Anxiety_Depression =~                   SDS_14   0.759 0.015  50.866
## 5         Anxiety_Depression =~                   SDS_16   0.699 0.018  39.115
## 6         Anxiety_Depression =~                   SDS_17   0.793 0.013  60.353
## 7         Anxiety_Depression =~                   SDS_18   0.652 0.020  32.578
## 8         Anxiety_Depression =~                   SDS_20   0.745 0.016  47.690
## 9         Anxiety_Depression =~                   AES_17   0.518 0.025  20.537
## 10        Anxiety_Depression =~                   AES_18   0.663 0.020  33.987
## 11        Anxiety_Depression =~                   STAI_1   0.798 0.013  61.898
## 12        Anxiety_Depression =~                   STAI_3   0.828 0.011  73.826
## 13        Anxiety_Depression =~                   STAI_4   0.607 0.022  27.767
## 14        Anxiety_Depression =~                   STAI_5   0.786 0.013  58.254
## 15        Anxiety_Depression =~                   STAI_8   0.746 0.016  48.008
## 16        Anxiety_Depression =~                  STAI_10   0.844 0.010  81.638
## 17        Anxiety_Depression =~                  STAI_12   0.706 0.018  40.356
## 18        Anxiety_Depression =~                  STAI_13   0.803 0.013  63.769
## 19        Anxiety_Depression =~                  STAI_15   0.773 0.014  54.461
## 20        Anxiety_Depression =~                  STAI_16   0.839 0.011  79.116
## 21        Anxiety_Depression =~                  STAI_19   0.658 0.020  33.384
## 22        Anxiety_Depression =~                  STAI_20   0.630 0.021  30.111
## 23       Compulsive_Behavior =~                    OCI_2   0.322 0.031  10.317
## 24       Compulsive_Behavior =~                    OCI_3   0.308 0.032   9.759
## 25       Compulsive_Behavior =~                    OCI_4   0.293 0.032   9.203
## 26       Compulsive_Behavior =~                   OCI_11   0.254 0.033   7.811
## 27       Compulsive_Behavior =~                   OCI_12   0.411 0.029  14.159
## 28       Compulsive_Behavior =~                   OCI_16   0.288 0.032   9.012
## 29       Compulsive_Behavior =~                    EAT_1   0.745 0.016  46.101
## 30       Compulsive_Behavior =~                    EAT_3   0.770 0.015  51.720
## 31       Compulsive_Behavior =~                    EAT_4   0.698 0.018  37.878
## 32       Compulsive_Behavior =~                   EAT_10   0.826 0.012  69.255
## 33       Compulsive_Behavior =~                   EAT_11   0.846 0.011  77.583
## 34       Compulsive_Behavior =~                   EAT_12   0.564 0.024  23.436
## 35       Compulsive_Behavior =~                   EAT_14   0.802 0.013  60.663
## 36       Compulsive_Behavior =~                   EAT_18   0.811 0.013  63.497
## 37       Compulsive_Behavior =~                   EAT_21   0.804 0.013  61.190
## 38       Compulsive_Behavior =~                   EAT_23   0.672 0.020  34.240
## 39         Social_Withdrawal =~                   LSAS_2   0.704 0.018  39.477
## 40         Social_Withdrawal =~                   LSAS_6   0.699 0.018  38.722
## 41         Social_Withdrawal =~                   LSAS_7   0.660 0.020  33.280
## 42         Social_Withdrawal =~                   LSAS_8   0.708 0.018  40.219
## 43         Social_Withdrawal =~                   LSAS_9   0.674 0.019  35.109
## 44         Social_Withdrawal =~                  LSAS_10   0.770 0.015  52.962
## 45         Social_Withdrawal =~                  LSAS_11   0.877 0.009 100.204
## 46         Social_Withdrawal =~                  LSAS_12   0.855 0.010  85.597
## 47         Social_Withdrawal =~                  LSAS_15   0.777 0.014  54.712
## 48         Social_Withdrawal =~                  LSAS_16   0.782 0.014  56.112
## 49         Social_Withdrawal =~                  LSAS_18   0.738 0.016  45.604
## 50         Social_Withdrawal =~                  LSAS_19   0.750 0.016  48.065
## 51         Social_Withdrawal =~                  LSAS_20   0.781 0.014  55.817
## 52         Social_Withdrawal =~ SPQ_cognitive_perceptual   0.437 0.028  15.559
## 53         Social_Withdrawal =~        SPQ_interpersonal   0.760 0.015  50.339
## 54                     SDS_1 ~~                    SDS_1   0.483 0.024  19.885
## 55                    SDS_11 ~~                   SDS_11   0.559 0.026  21.635
## 56                    SDS_12 ~~                   SDS_12   0.577 0.026  22.106
## 57                    SDS_14 ~~                   SDS_14   0.424 0.023  18.730
## 58                    SDS_16 ~~                   SDS_16   0.512 0.025  20.502
## 59                    SDS_17 ~~                   SDS_17   0.371 0.021  17.803
## 60                    SDS_18 ~~                   SDS_18   0.575 0.026  22.074
## 61                    SDS_20 ~~                   SDS_20   0.445 0.023  19.121
## 62                    AES_17 ~~                   AES_17   0.731 0.026  27.935
## 63                    AES_18 ~~                   AES_18   0.561 0.026  21.681
## 64                    STAI_1 ~~                   STAI_1   0.364 0.021  17.677
## 65                    STAI_3 ~~                   STAI_3   0.314 0.019  16.871
## 66                    STAI_4 ~~                   STAI_4   0.631 0.027  23.749
## 67                    STAI_5 ~~                   STAI_5   0.382 0.021  17.983
## 68                    STAI_8 ~~                   STAI_8   0.443 0.023  19.079
## 69                   STAI_10 ~~                  STAI_10   0.287 0.017  16.454
## 70                   STAI_12 ~~                  STAI_12   0.501 0.025  20.264
## 71                   STAI_13 ~~                  STAI_13   0.355 0.020  17.533
## 72                   STAI_15 ~~                  STAI_15   0.402 0.022  18.342
## 73                   STAI_16 ~~                  STAI_16   0.295 0.018  16.581
## 74                   STAI_19 ~~                  STAI_19   0.567 0.026  21.845
## 75                   STAI_20 ~~                  STAI_20   0.603 0.026  22.861
## 76                     OCI_2 ~~                    OCI_2   0.896 0.020  44.464
## 77                     OCI_3 ~~                    OCI_3   0.905 0.019  46.564
## 78                     OCI_4 ~~                    OCI_4   0.914 0.019  48.933
## 79                    OCI_11 ~~                   OCI_11   0.935 0.017  56.439
## 80                    OCI_12 ~~                   OCI_12   0.831 0.024  34.744
## 81                    OCI_16 ~~                   OCI_16   0.917 0.018  49.818
## 82                     EAT_1 ~~                    EAT_1   0.445 0.024  18.493
## 83                     EAT_3 ~~                    EAT_3   0.407 0.023  17.742
## 84                     EAT_4 ~~                    EAT_4   0.513 0.026  19.963
## 85                    EAT_10 ~~                   EAT_10   0.317 0.020  16.066
## 86                    EAT_11 ~~                   EAT_11   0.285 0.018  15.462
## 87                    EAT_12 ~~                   EAT_12   0.682 0.027  25.122
## 88                    EAT_14 ~~                   EAT_14   0.356 0.021  16.796
## 89                    EAT_18 ~~                   EAT_18   0.343 0.021  16.540
## 90                    EAT_21 ~~                   EAT_21   0.354 0.021  16.747
## 91                    EAT_23 ~~                   EAT_23   0.549 0.026  20.835
## 92                    LSAS_2 ~~                   LSAS_2   0.505 0.025  20.104
## 93                    LSAS_6 ~~                   LSAS_6   0.511 0.025  20.255
## 94                    LSAS_7 ~~                   LSAS_7   0.564 0.026  21.555
## 95                    LSAS_8 ~~                   LSAS_8   0.498 0.025  19.961
## 96                    LSAS_9 ~~                   LSAS_9   0.546 0.026  21.071
## 97                   LSAS_10 ~~                  LSAS_10   0.406 0.022  18.134
## 98                   LSAS_11 ~~                  LSAS_11   0.231 0.015  15.068
## 99                   LSAS_12 ~~                  LSAS_12   0.269 0.017  15.755
## 100                  LSAS_15 ~~                  LSAS_15   0.396 0.022  17.947
## 101                  LSAS_16 ~~                  LSAS_16   0.388 0.022  17.805
## 102                  LSAS_18 ~~                  LSAS_18   0.455 0.024  19.066
## 103                  LSAS_19 ~~                  LSAS_19   0.438 0.023  18.724
## 104                  LSAS_20 ~~                  LSAS_20   0.390 0.022  17.835
## 105 SPQ_cognitive_perceptual ~~ SPQ_cognitive_perceptual   0.809 0.025  33.019
## 106        SPQ_interpersonal ~~        SPQ_interpersonal   0.423 0.023  18.436
## 107       Anxiety_Depression ~~       Anxiety_Depression   1.000 0.000      NA
## 108      Compulsive_Behavior ~~      Compulsive_Behavior   1.000 0.000      NA
## 109        Social_Withdrawal ~~        Social_Withdrawal   1.000 0.000      NA
## 110       Anxiety_Depression ~~      Compulsive_Behavior   0.382 0.030  12.535
## 111       Anxiety_Depression ~~        Social_Withdrawal   0.668 0.020  33.205
## 112      Compulsive_Behavior ~~        Social_Withdrawal   0.335 0.032  10.515
##     pvalue ci.lower ci.upper
## 1        0    0.686    0.752
## 2        0    0.626    0.702
## 3        0    0.611    0.690
## 4        0    0.730    0.788
## 5        0    0.664    0.734
## 6        0    0.767    0.819
## 7        0    0.612    0.691
## 8        0    0.714    0.776
## 9        0    0.469    0.568
## 10       0    0.625    0.701
## 11       0    0.773    0.823
## 12       0    0.806    0.850
## 13       0    0.565    0.650
## 14       0    0.760    0.813
## 15       0    0.716    0.777
## 16       0    0.824    0.864
## 17       0    0.672    0.741
## 18       0    0.779    0.828
## 19       0    0.745    0.801
## 20       0    0.819    0.860
## 21       0    0.619    0.697
## 22       0    0.589    0.671
## 23       0    0.261    0.384
## 24       0    0.246    0.370
## 25       0    0.231    0.356
## 26       0    0.191    0.318
## 27       0    0.354    0.468
## 28       0    0.225    0.351
## 29       0    0.713    0.777
## 30       0    0.741    0.799
## 31       0    0.662    0.734
## 32       0    0.803    0.850
## 33       0    0.824    0.867
## 34       0    0.517    0.611
## 35       0    0.776    0.828
## 36       0    0.786    0.836
## 37       0    0.778    0.830
## 38       0    0.633    0.710
## 39       0    0.669    0.739
## 40       0    0.664    0.734
## 41       0    0.621    0.699
## 42       0    0.674    0.743
## 43       0    0.637    0.712
## 44       0    0.742    0.799
## 45       0    0.860    0.894
## 46       0    0.835    0.875
## 47       0    0.749    0.805
## 48       0    0.755    0.809
## 49       0    0.706    0.770
## 50       0    0.719    0.780
## 51       0    0.754    0.809
## 52       0    0.382    0.492
## 53       0    0.730    0.789
## 54       0    0.436    0.531
## 55       0    0.508    0.609
## 56       0    0.525    0.628
## 57       0    0.380    0.468
## 58       0    0.463    0.561
## 59       0    0.330    0.412
## 60       0    0.524    0.626
## 61       0    0.399    0.491
## 62       0    0.680    0.783
## 63       0    0.510    0.611
## 64       0    0.323    0.404
## 65       0    0.277    0.350
## 66       0    0.579    0.683
## 67       0    0.340    0.423
## 68       0    0.397    0.488
## 69       0    0.253    0.322
## 70       0    0.453    0.550
## 71       0    0.315    0.394
## 72       0    0.359    0.445
## 73       0    0.260    0.330
## 74       0    0.516    0.618
## 75       0    0.551    0.655
## 76       0    0.857    0.936
## 77       0    0.867    0.943
## 78       0    0.877    0.951
## 79       0    0.903    0.968
## 80       0    0.784    0.878
## 81       0    0.881    0.953
## 82       0    0.398    0.492
## 83       0    0.362    0.452
## 84       0    0.463    0.564
## 85       0    0.278    0.356
## 86       0    0.249    0.321
## 87       0    0.629    0.735
## 88       0    0.315    0.398
## 89       0    0.302    0.383
## 90       0    0.312    0.395
## 91       0    0.497    0.601
## 92       0    0.455    0.554
## 93       0    0.462    0.561
## 94       0    0.513    0.616
## 95       0    0.449    0.547
## 96       0    0.495    0.596
## 97       0    0.363    0.450
## 98       0    0.201    0.261
## 99       0    0.236    0.303
## 100      0    0.353    0.439
## 101      0    0.346    0.431
## 102      0    0.409    0.502
## 103      0    0.392    0.484
## 104      0    0.347    0.433
## 105      0    0.761    0.857
## 106      0    0.378    0.468
## 107     NA    1.000    1.000
## 108     NA    1.000    1.000
## 109     NA    1.000    1.000
## 110      0    0.322    0.442
## 111      0    0.628    0.707
## 112      0    0.272    0.397

0.6.3 CFA Model

# latent factor structure and fitting model based on the EFA
#CFA model
CFA_model <- '
  # Anxiety/Depression
  Anxiety_Depression =~ SDS_1 + SDS_11 + SDS_12 + SDS_14 + SDS_16 +
                        SDS_17 + SDS_18 + SDS_20 + AES_17 + AES_18 +
                        STAI_1 + STAI_3 + STAI_4 + STAI_5 + STAI_8 +
                        STAI_10 + STAI_12 + STAI_13 + STAI_15 + 
                        STAI_16 + STAI_19 + STAI_20
  
  # Compulsive Behavior
  Compulsive_Behavior =~ OCI_2 + OCI_3 + OCI_4 + OCI_11 + OCI_12 + 
                         OCI_16 + EAT_1 + EAT_3 + EAT_4 + EAT_10 + 
                         EAT_11 + EAT_12 + EAT_14 + EAT_18 + EAT_21 +
                         EAT_23
  
  # Social Withdrawal
  Social_Withdrawal =~ LSAS_2 + LSAS_6 + LSAS_7 + LSAS_8 + LSAS_9 +
                       LSAS_10 + LSAS_11 + LSAS_12 + LSAS_15 + LSAS_16 +
                       LSAS_18 + LSAS_19 + LSAS_20 + SPQ_cognitive_perceptual +
                       SPQ_interpersonal
'

0.6.3.1 Model Fitting

# Fit of the CFA model
CFA_fit <- cfa(model = CFA_model, data = dat_efa_h4)
summary(CFA_fit, fit.measures = TRUE, standardized = TRUE)
## lavaan 0.6-19 ended normally after 73 iterations
## 
##   Estimator                                         ML
##   Optimization method                           NLMINB
##   Number of model parameters                       109
## 
##   Number of observations                           880
## 
## Model Test User Model:
##                                                       
##   Test statistic                              8563.058
##   Degrees of freedom                              1322
##   P-value (Chi-square)                           0.000
## 
## Model Test Baseline Model:
## 
##   Test statistic                             35483.036
##   Degrees of freedom                              1378
##   P-value                                        0.000
## 
## User Model versus Baseline Model:
## 
##   Comparative Fit Index (CFI)                    0.788
##   Tucker-Lewis Index (TLI)                       0.779
## 
## Loglikelihood and Information Criteria:
## 
##   Loglikelihood user model (H0)             -57349.999
##   Loglikelihood unrestricted model (H1)     -53068.470
##                                                       
##   Akaike (AIC)                              114917.998
##   Bayesian (BIC)                            115439.009
##   Sample-size adjusted Bayesian (SABIC)     115092.849
## 
## Root Mean Square Error of Approximation:
## 
##   RMSEA                                          0.079
##   90 Percent confidence interval - lower         0.077
##   90 Percent confidence interval - upper         0.080
##   P-value H_0: RMSEA <= 0.050                    0.000
##   P-value H_0: RMSEA >= 0.080                    0.128
## 
## Standardized Root Mean Square Residual:
## 
##   SRMR                                           0.089
## 
## Parameter Estimates:
## 
##   Standard errors                             Standard
##   Information                                 Expected
##   Information saturated (h1) model          Structured
## 
## Latent Variables:
##                          Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##   Anxiety_Depression =~                                                       
##     SDS_1                   1.000                               0.643    0.719
##     SDS_11                  1.073    0.055   19.626    0.000    0.689    0.664
##     SDS_12                  0.980    0.051   19.217    0.000    0.629    0.651
##     SDS_14                  1.208    0.054   22.516    0.000    0.776    0.759
##     SDS_16                  1.045    0.051   20.676    0.000    0.671    0.699
##     SDS_17                  1.206    0.051   23.568    0.000    0.775    0.793
##     SDS_18                  1.036    0.054   19.245    0.000    0.665    0.652
##     SDS_20                  1.108    0.050   22.089    0.000    0.712    0.745
##     AES_17                  0.636    0.042   15.240    0.000    0.408    0.518
##     AES_18                  0.866    0.044   19.586    0.000    0.556    0.663
##     STAI_1                  1.024    0.043   23.714    0.000    0.658    0.798
##     STAI_3                  1.176    0.048   24.663    0.000    0.756    0.828
##     STAI_4                  0.920    0.051   17.908    0.000    0.591    0.607
##     STAI_5                  1.117    0.048   23.360    0.000    0.718    0.786
##     STAI_8                  1.071    0.048   22.134    0.000    0.688    0.746
##     STAI_10                 1.168    0.046   25.152    0.000    0.750    0.844
##     STAI_12                 1.115    0.053   20.909    0.000    0.717    0.706
##     STAI_13                 1.134    0.047   23.883    0.000    0.729    0.803
##     STAI_15                 1.068    0.047   22.950    0.000    0.686    0.773
##     STAI_16                 1.172    0.047   25.003    0.000    0.753    0.839
##     STAI_19                 0.874    0.045   19.443    0.000    0.562    0.658
##     STAI_20                 0.888    0.048   18.595    0.000    0.570    0.630
##   Compulsive_Behavior =~                                                      
##     OCI_2                   1.000                               0.371    0.322
##     OCI_3                   0.865    0.128    6.750    0.000    0.321    0.308
##     OCI_4                   0.785    0.120    6.556    0.000    0.291    0.293
##     OCI_11                  0.623    0.104    5.990    0.000    0.231    0.254
##     OCI_12                  1.305    0.167    7.821    0.000    0.484    0.411
##     OCI_16                  0.686    0.106    6.486    0.000    0.254    0.288
##     EAT_1                   3.155    0.337    9.368    0.000    1.170    0.745
##     EAT_3                   2.730    0.290    9.426    0.000    1.013    0.770
##     EAT_4                   2.383    0.258    9.246    0.000    0.884    0.698
##     EAT_10                  2.806    0.294    9.540    0.000    1.041    0.826
##     EAT_11                  3.438    0.359    9.574    0.000    1.275    0.846
##     EAT_12                  2.301    0.262    8.766    0.000    0.853    0.564
##     EAT_14                  3.057    0.322    9.493    0.000    1.134    0.802
##     EAT_18                  2.838    0.298    9.510    0.000    1.052    0.811
##     EAT_21                  3.018    0.318    9.497    0.000    1.119    0.804
##     EAT_23                  2.397    0.261    9.169    0.000    0.889    0.672
##   Social_Withdrawal =~                                                        
##     LSAS_2                  1.000                               0.592    0.704
##     LSAS_6                  1.261    0.063   20.139    0.000    0.746    0.699
##     LSAS_7                  1.069    0.056   19.028    0.000    0.632    0.660
##     LSAS_8                  1.114    0.055   20.404    0.000    0.659    0.708
##     LSAS_9                  1.051    0.054   19.430    0.000    0.622    0.674
##     LSAS_10                 1.163    0.052   22.161    0.000    0.688    0.770
##     LSAS_11                 1.300    0.052   25.151    0.000    0.769    0.877
##     LSAS_12                 1.364    0.056   24.540    0.000    0.807    0.855
##     LSAS_15                 1.298    0.058   22.349    0.000    0.768    0.777
##     LSAS_16                 1.350    0.060   22.492    0.000    0.798    0.782
##     LSAS_18                 1.128    0.053   21.242    0.000    0.667    0.738
##     LSAS_19                 1.143    0.053   21.575    0.000    0.676    0.750
##     LSAS_20                 1.326    0.059   22.462    0.000    0.784    0.781
##     SPQ_cgntv_prcp          6.999    0.554   12.631    0.000    4.140    0.437
##     SPQ_interprsnl         11.795    0.540   21.859    0.000    6.977    0.760
## 
## Covariances:
##                          Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##   Anxiety_Depression ~~                                                       
##     Compulsiv_Bhvr          0.091    0.013    6.881    0.000    0.382    0.382
##     Social_Wthdrwl          0.254    0.020   12.780    0.000    0.668    0.668
##   Compulsive_Behavior ~~                                                      
##     Social_Wthdrwl          0.073    0.011    6.462    0.000    0.335    0.335
## 
## Variances:
##                    Estimate  Std.Err  z-value  P(>|z|)   Std.lv  Std.all
##    .SDS_1             0.386    0.019   20.190    0.000    0.386    0.483
##    .SDS_11            0.602    0.030   20.396    0.000    0.602    0.559
##    .SDS_12            0.539    0.026   20.436    0.000    0.539    0.577
##    .SDS_14            0.444    0.022   19.978    0.000    0.444    0.424
##    .SDS_16            0.472    0.023   20.275    0.000    0.472    0.512
##    .SDS_17            0.354    0.018   19.729    0.000    0.354    0.371
##    .SDS_18            0.600    0.029   20.434    0.000    0.600    0.575
##    .SDS_20            0.406    0.020   20.059    0.000    0.406    0.445
##    .AES_17            0.454    0.022   20.706    0.000    0.454    0.731
##    .AES_18            0.395    0.019   20.400    0.000    0.395    0.561
##    .STAI_1            0.247    0.013   19.688    0.000    0.247    0.364
##    .STAI_3            0.261    0.013   19.366    0.000    0.261    0.314
##    .STAI_4            0.598    0.029   20.547    0.000    0.598    0.631
##    .STAI_5            0.318    0.016   19.785    0.000    0.318    0.382
##    .STAI_8            0.376    0.019   20.051    0.000    0.376    0.443
##    .STAI_10           0.227    0.012   19.150    0.000    0.227    0.287
##    .STAI_12           0.516    0.025   20.244    0.000    0.516    0.501
##    .STAI_13           0.292    0.015   19.638    0.000    0.292    0.355
##    .STAI_15           0.317    0.016   19.884    0.000    0.317    0.402
##    .STAI_16           0.238    0.012   19.220    0.000    0.238    0.295
##    .STAI_19           0.413    0.020   20.415    0.000    0.413    0.567
##    .STAI_20           0.494    0.024   20.492    0.000    0.494    0.603
##    .OCI_2             1.186    0.057   20.824    0.000    1.186    0.896
##    .OCI_3             0.983    0.047   20.839    0.000    0.983    0.905
##    .OCI_4             0.901    0.043   20.853    0.000    0.901    0.914
##    .OCI_11            0.772    0.037   20.886    0.000    0.772    0.935
##    .OCI_12            1.150    0.056   20.709    0.000    1.150    0.831
##    .OCI_16            0.715    0.034   20.858    0.000    0.715    0.917
##    .EAT_1             1.099    0.057   19.336    0.000    1.099    0.445
##    .EAT_3             0.703    0.037   19.056    0.000    0.703    0.407
##    .EAT_4             0.823    0.042   19.729    0.000    0.823    0.513
##    .EAT_10            0.502    0.028   18.131    0.000    0.502    0.317
##    .EAT_11            0.648    0.037   17.662    0.000    0.648    0.285
##    .EAT_12            1.561    0.077   20.364    0.000    1.561    0.682
##    .EAT_14            0.712    0.038   18.595    0.000    0.712    0.356
##    .EAT_18            0.577    0.031   18.444    0.000    0.577    0.343
##    .EAT_21            0.686    0.037   18.567    0.000    0.686    0.354
##    .EAT_23            0.962    0.048   19.897    0.000    0.962    0.549
##    .LSAS_2            0.356    0.018   20.020    0.000    0.356    0.505
##    .LSAS_6            0.582    0.029   20.045    0.000    0.582    0.511
##    .LSAS_7            0.518    0.026   20.225    0.000    0.518    0.564
##    .LSAS_8            0.431    0.022   19.995    0.000    0.431    0.498
##    .LSAS_9            0.464    0.023   20.165    0.000    0.464    0.546
##    .LSAS_10           0.324    0.017   19.552    0.000    0.324    0.406
##    .LSAS_11           0.178    0.010   17.725    0.000    0.178    0.231
##    .LSAS_12           0.240    0.013   18.321    0.000    0.240    0.269
##    .LSAS_15           0.387    0.020   19.490    0.000    0.387    0.396
##    .LSAS_16           0.405    0.021   19.439    0.000    0.405    0.388
##    .LSAS_18           0.372    0.019   19.811    0.000    0.372    0.455
##    .LSAS_19           0.356    0.018   19.725    0.000    0.356    0.438
##    .LSAS_20           0.393    0.020   19.450    0.000    0.393    0.390
##    .SPQ_cgntv_prcp   72.759    3.507   20.747    0.000   72.759    0.809
##    .SPQ_interprsnl   35.662    1.815   19.645    0.000   35.662    0.423
##     Anxiety_Dprssn    0.413    0.034   12.233    0.000    1.000    1.000
##     Compulsiv_Bhvr    0.138    0.029    4.771    0.000    1.000    1.000
##     Social_Wthdrwl    0.350    0.030   11.840    0.000    1.000    1.000

0.6.3.2 Interpretation

#### Fit meaures

#fit measures
fitMeasures(CFA_fit)
##                  npar                  fmin                 chisq 
##               109.000                 4.865              8563.058 
##                    df                pvalue        baseline.chisq 
##              1322.000                 0.000             35483.036 
##           baseline.df       baseline.pvalue                   cfi 
##              1378.000                 0.000                 0.788 
##                   tli                  nnfi                   rfi 
##                 0.779                 0.779                 0.748 
##                   nfi                  pnfi                   ifi 
##                 0.759                 0.728                 0.788 
##                   rni                  logl     unrestricted.logl 
##                 0.788            -57349.999            -53068.470 
##                   aic                   bic                ntotal 
##            114917.998            115439.009               880.000 
##                  bic2                 rmsea        rmsea.ci.lower 
##            115092.849                 0.079                 0.077 
##        rmsea.ci.upper        rmsea.ci.level          rmsea.pvalue 
##                 0.080                 0.900                 0.000 
##        rmsea.close.h0 rmsea.notclose.pvalue     rmsea.notclose.h0 
##                 0.050                 0.128                 0.080 
##                   rmr            rmr_nomean                  srmr 
##                 0.469                 0.469                 0.089 
##          srmr_bentler   srmr_bentler_nomean                  crmr 
##                 0.089                 0.089                 0.091 
##           crmr_nomean            srmr_mplus     srmr_mplus_nomean 
##                 0.091                 0.089                 0.089 
##                 cn_05                 cn_01                   gfi 
##               145.665               149.452                 0.679 
##                  agfi                  pgfi                   mfi 
##                 0.652                 0.627                 0.016 
##                  ecvi 
##                 9.978
# Inspect modification indices for potential improvements
modindices(CFA_fit, sort = TRUE)
##                           lhs op                      rhs      mi    epc
## 1531                   LSAS_8 ~~                   LSAS_9 416.445  0.322
## 1561                  LSAS_11 ~~                  LSAS_12 359.064  0.160
## 1584                  LSAS_16 ~~                  LSAS_20 338.302  0.269
## 1552                  LSAS_10 ~~                  LSAS_11 212.187  0.136
## 607                    AES_17 ~~                   AES_18 196.439  0.204
## 117        Anxiety_Depression =~                   OCI_12 191.974  0.871
## 821                    STAI_5 ~~                  STAI_15 183.881  0.154
## 1516                   LSAS_6 ~~                  LSAS_20 173.704  0.227
## 271                    SDS_11 ~~                   SDS_12 154.657  0.246
## 1132                    OCI_2 ~~                    OCI_3 148.920  0.447
## 897                   STAI_10 ~~                  STAI_16 133.792  0.100
## 1193                    OCI_4 ~~                   OCI_16 132.836  0.314
## 1513                   LSAS_6 ~~                  LSAS_16 129.565  0.199
## 1134                    OCI_2 ~~                   OCI_11 123.159  0.360
## 1162                    OCI_3 ~~                    OCI_4 121.856  0.352
## 179       Compulsive_Behavior =~ SPQ_cognitive_perceptual 121.802  9.478
## 1566                  LSAS_11 ~~                  LSAS_20 121.141 -0.113
## 1135                    OCI_2 ~~                   OCI_12 112.145  0.421
## 1444                   EAT_18 ~~                   EAT_21 112.004  0.262
## 1219                   OCI_11 ~~                   OCI_12 111.030  0.338
## 197         Social_Withdrawal =~                  STAI_12 110.434  0.622
## 1133                    OCI_2 ~~                    OCI_4 107.791  0.364
## 1493                   LSAS_2 ~~                   LSAS_7 104.989  0.155
## 143        Anxiety_Depression =~        SPQ_interpersonal  99.727  4.581
## 326                    SDS_12 ~~                   SDS_20  87.233  0.153
## 1573                  LSAS_12 ~~                  LSAS_20  85.029 -0.108
## 932                   STAI_12 ~~                  STAI_15  82.692  0.130
## 817                    STAI_5 ~~                   STAI_8  81.545  0.111
## 207         Social_Withdrawal =~                   OCI_12  81.540  0.607
## 1563                  LSAS_11 ~~                  LSAS_16  78.016 -0.092
## 1510                   LSAS_6 ~~                  LSAS_11  77.099 -0.107
## 1191                    OCI_4 ~~                   OCI_11  75.289  0.245
## 1512                   LSAS_6 ~~                  LSAS_15  72.864  0.146
## 1407                   EAT_12 ~~                   EAT_14  70.478  0.323
## 1163                    OCI_3 ~~                   OCI_11  70.131  0.247
## 694                    STAI_1 ~~                   STAI_3  69.941  0.078
## 1388                   EAT_11 ~~                   EAT_14  69.310  0.229
## 862                    STAI_8 ~~                  STAI_20  64.753  0.121
## 273                    SDS_11 ~~                   SDS_16  64.284  0.149
## 1302                    EAT_1 ~~                   EAT_14  62.686  0.266
## 1321                    EAT_3 ~~                    EAT_4  62.310  0.221
## 1220                   OCI_11 ~~                   OCI_16  62.014  0.198
## 1570                  LSAS_12 ~~                  LSAS_16  59.446 -0.092
## 142        Anxiety_Depression =~ SPQ_cognitive_perceptual  57.962  4.839
## 1325                    EAT_3 ~~                   EAT_14  57.249 -0.205
## 698                    STAI_1 ~~                  STAI_10  57.100  0.066
## 1130                  STAI_20 ~~ SPQ_cognitive_perceptual  54.931  1.523
## 1192                    OCI_4 ~~                   OCI_12  54.925  0.257
## 968                   STAI_13 ~~                  STAI_16  52.762  0.070
## 1270                   OCI_12 ~~ SPQ_cognitive_perceptual  52.556  2.261
## 1164                    OCI_3 ~~                   OCI_12  52.266  0.262
## 203         Social_Withdrawal =~                    OCI_2  52.030  0.491
## 1509                   LSAS_6 ~~                  LSAS_10  51.005 -0.111
## 819                    STAI_5 ~~                  STAI_12  50.445  0.102
## 1576                  LSAS_15 ~~                  LSAS_16  50.438  0.103
## 1327                    EAT_3 ~~                   EAT_21  49.627  0.188
## 1300                    EAT_1 ~~                   EAT_11  48.061  0.229
## 1582                  LSAS_16 ~~                  LSAS_18  46.828  0.096
## 1511                   LSAS_6 ~~                  LSAS_12  44.922 -0.093
## 1160                    OCI_2 ~~ SPQ_cognitive_perceptual  44.380  2.104
## 323                    SDS_12 ~~                   SDS_16  44.329  0.117
## 113        Anxiety_Depression =~                    OCI_2  42.921  0.417
## 1136                    OCI_2 ~~                   OCI_16  42.794  0.204
## 859                    STAI_8 ~~                  STAI_15  42.428  0.080
## 1558                  LSAS_10 ~~                  LSAS_20  42.339 -0.085
## 1534                   LSAS_8 ~~                  LSAS_12  42.106 -0.078
## 1217                    OCI_4 ~~ SPQ_cognitive_perceptual  41.993  1.782
## 469                    SDS_17 ~~                   SDS_18  41.102  0.104
## 332                    SDS_12 ~~                   STAI_5  40.669 -0.093
## 1225                   OCI_11 ~~                   EAT_11  39.712 -0.164
## 1105                  STAI_20 ~~                   OCI_12  39.650  0.163
## 1533                   LSAS_8 ~~                  LSAS_11  39.643 -0.066
## 1347                    EAT_4 ~~                   EAT_14  39.564 -0.180
## 1165                    OCI_3 ~~                   OCI_16  39.055  0.178
## 1555                  LSAS_10 ~~                  LSAS_16  38.049 -0.082
## 431                    SDS_16 ~~                  STAI_10  38.023 -0.073
## 124        Anxiety_Depression =~                   EAT_12  37.907 -0.455
## 1391                   EAT_11 ~~                   EAT_23  37.673  0.186
## 1410                   EAT_12 ~~                   EAT_23  37.540  0.264
## 159       Compulsive_Behavior =~                  STAI_10  37.128 -0.311
## 1295                   OCI_16 ~~ SPQ_cognitive_perceptual  36.906  1.488
## 1530                   LSAS_7 ~~        SPQ_interpersonal  36.480  0.924
## 165       Compulsive_Behavior =~                  STAI_20  36.314  0.438
## 1141                    OCI_2 ~~                   EAT_11  36.006 -0.194
## 894                   STAI_10 ~~                  STAI_12  32.916 -0.071
## 373                    SDS_14 ~~                   SDS_17  32.724  0.081
## 244                     SDS_1 ~~                   OCI_12  32.455  0.131
## 1189                    OCI_3 ~~ SPQ_cognitive_perceptual  31.630  1.616
## 1326                    EAT_3 ~~                   EAT_18  31.613  0.138
## 1244                   OCI_11 ~~ SPQ_cognitive_perceptual  31.161  1.421
## 1554                  LSAS_10 ~~                  LSAS_15  29.758 -0.071
## 572                    SDS_20 ~~                  STAI_15  29.033 -0.069
## 523                    SDS_18 ~~                   STAI_8  28.594 -0.089
## 567                    SDS_20 ~~                   STAI_5  28.438 -0.068
## 892                    STAI_8 ~~ SPQ_cognitive_perceptual  28.130  0.961
## 736                    STAI_3 ~~                   STAI_4  28.077 -0.074
## 276                    SDS_11 ~~                   SDS_20  27.134  0.090
## 1146                    OCI_2 ~~                   EAT_23  27.074 -0.193
## 374                    SDS_14 ~~                   SDS_18  25.559  0.092
## 815                    STAI_4 ~~ SPQ_cognitive_perceptual  25.344  1.137
## 435                    SDS_16 ~~                  STAI_16  25.155 -0.060
## 516                    SDS_18 ~~                   SDS_20  25.112  0.087
## 1544                   LSAS_9 ~~                  LSAS_12  24.294 -0.061
## 1501                   LSAS_2 ~~                  LSAS_18  23.836 -0.063
## 1069                  STAI_19 ~~                  STAI_20  23.811  0.076
## 660                    AES_18 ~~                  STAI_16  23.735 -0.053
## 1303                    EAT_1 ~~                   EAT_18  23.551 -0.147
## 389                    SDS_14 ~~                  STAI_20  23.477 -0.079
## 1004                  STAI_15 ~~                  STAI_20  23.301  0.067
## 745                    STAI_3 ~~                  STAI_20  22.927 -0.061
## 570                    SDS_20 ~~                  STAI_12  22.599 -0.077
## 1304                    EAT_1 ~~                   EAT_21  22.548 -0.157
## 214         Social_Withdrawal =~                   EAT_12  22.433 -0.374
## 1426                   EAT_14 ~~                   EAT_18  22.248 -0.119
## 896                   STAI_10 ~~                  STAI_15  22.195 -0.046
## 1344                    EAT_4 ~~                   EAT_10  21.793  0.114
## 1389                   EAT_11 ~~                   EAT_18  21.774 -0.116
## 1580                  LSAS_15 ~~ SPQ_cognitive_perceptual  21.687 -0.870
## 702                    STAI_1 ~~                  STAI_16  21.647  0.041
## 1101                  STAI_20 ~~                    OCI_2  21.565  0.122
## 1596 SPQ_cognitive_perceptual ~~        SPQ_interpersonal  21.545  8.290
## 322                    SDS_12 ~~                   SDS_14  21.520  0.080
## 1553                  LSAS_10 ~~                  LSAS_12  21.199  0.049
## 530                    SDS_18 ~~                  STAI_20  21.050 -0.086
## 128        Anxiety_Depression =~                   EAT_23  20.921 -0.268
## 386                    SDS_14 ~~                  STAI_15  20.895 -0.061
## 204         Social_Withdrawal =~                    OCI_3  20.863  0.283
## 200         Social_Withdrawal =~                  STAI_16  20.662 -0.188
## 1198                    OCI_4 ~~                   EAT_11  20.543 -0.128
## 337                    SDS_12 ~~                  STAI_15  20.531 -0.066
## 1515                   LSAS_6 ~~                  LSAS_19  20.344 -0.073
## 282                    SDS_11 ~~                   STAI_5  19.860 -0.069
## 649                    AES_17 ~~ SPQ_cognitive_perceptual  19.817 -0.872
## 336                    SDS_12 ~~                  STAI_13  19.699 -0.062
## 196         Social_Withdrawal =~                  STAI_10  19.558 -0.179
## 232                     SDS_1 ~~                   STAI_8  19.083  0.059
## 206         Social_Withdrawal =~                   OCI_11  18.987  0.239
## 1551                   LSAS_9 ~~        SPQ_interpersonal  18.951 -0.632
## 1541                   LSAS_8 ~~        SPQ_interpersonal  18.949 -0.612
## 156       Compulsive_Behavior =~                   STAI_4  18.904  0.347
## 160       Compulsive_Behavior =~                  STAI_12  18.893  0.325
## 158       Compulsive_Behavior =~                   STAI_8  18.801  0.278
## 738                    STAI_3 ~~                   STAI_8  18.639 -0.049
## 696                    STAI_1 ~~                   STAI_5  18.599 -0.044
## 239                     SDS_1 ~~                  STAI_20  18.581  0.066
## 424                    SDS_16 ~~                   AES_17  18.500  0.069
## 962                   STAI_12 ~~                  LSAS_18  18.485  0.066
## 384                    SDS_14 ~~                  STAI_12  18.397 -0.072
## 739                    STAI_3 ~~                  STAI_10  18.199  0.039
## 1585                  LSAS_16 ~~ SPQ_cognitive_perceptual  18.090 -0.814
## 617                    AES_17 ~~                  STAI_16  17.987 -0.049
## 1408                   EAT_12 ~~                   EAT_18  17.935 -0.148
## 218         Social_Withdrawal =~                   EAT_23  17.806 -0.265
## 1251                   OCI_12 ~~                   EAT_11  17.773 -0.135
## 1104                  STAI_20 ~~                   OCI_11  17.663  0.089
## 421                    SDS_16 ~~                   SDS_17  17.578  0.061
## 1526                   LSAS_7 ~~                  LSAS_18  17.328 -0.065
## 1167                    OCI_3 ~~                    EAT_3  16.897 -0.121
## 692                    AES_18 ~~ SPQ_cognitive_perceptual  16.891 -0.757
## 780                    STAI_4 ~~                  STAI_12  16.880  0.079
## 527                    SDS_18 ~~                  STAI_15  16.820 -0.063
## 933                   STAI_12 ~~                  STAI_16  16.651 -0.051
## 1271                   OCI_12 ~~        SPQ_interpersonal  16.526  0.911
## 1565                  LSAS_11 ~~                  LSAS_19  16.495  0.039
## 1345                    EAT_4 ~~                   EAT_11  16.466 -0.114
## 291                    SDS_11 ~~                    OCI_2  16.386  0.117
## 205         Social_Withdrawal =~                    OCI_4  16.356  0.240
## 930                   STAI_10 ~~        SPQ_interpersonal  16.079  0.415
## 965                   STAI_12 ~~ SPQ_cognitive_perceptual  16.070 -0.846
## 162       Compulsive_Behavior =~                  STAI_15  16.049  0.237
## 704                    STAI_1 ~~                  STAI_20  15.663 -0.049
## 1324                    EAT_3 ~~                   EAT_12  15.646 -0.149
## 1539                   LSAS_8 ~~                  LSAS_20  15.582  0.059
## 471                    SDS_17 ~~                   AES_17  15.466  0.055
## 697                    STAI_1 ~~                   STAI_8  15.453 -0.043
## 613                    AES_17 ~~                  STAI_10  15.370 -0.045
## 1246                   OCI_12 ~~                   OCI_16  15.341  0.121
## 824                    STAI_5 ~~                  STAI_20  15.179  0.054
## 398                    SDS_14 ~~                    EAT_4  14.910 -0.083
## 1002                  STAI_15 ~~                  STAI_16  14.891 -0.039
## 388                    SDS_14 ~~                  STAI_19  14.874 -0.058
## 199         Social_Withdrawal =~                  STAI_15  14.818  0.181
## 1517                   LSAS_6 ~~ SPQ_cognitive_perceptual  14.648 -0.865
## 234                     SDS_1 ~~                  STAI_12  14.524 -0.060
## 1595                  LSAS_20 ~~        SPQ_interpersonal  14.515 -0.520
## 788                    STAI_4 ~~                    OCI_4  14.410  0.095
## 880                    STAI_8 ~~                   LSAS_6  14.384 -0.063
## 240                     SDS_1 ~~                    OCI_2  14.214  0.088
## 775                    STAI_3 ~~ SPQ_cognitive_perceptual  14.155 -0.577
## 427                    SDS_16 ~~                   STAI_3  14.135 -0.047
## 280                    SDS_11 ~~                   STAI_3  14.076 -0.053
## 147       Compulsive_Behavior =~                   SDS_14  13.998 -0.261
## 1202                    OCI_4 ~~                   EAT_21  13.940 -0.106
## 478                    SDS_17 ~~                  STAI_10  13.808 -0.039
## 1587                  LSAS_18 ~~                  LSAS_19  13.785  0.049
## 863                    STAI_8 ~~                    OCI_2  13.743  0.086
## 381                    SDS_14 ~~                   STAI_5  13.680 -0.050
## 382                    SDS_14 ~~                   STAI_8  13.624 -0.053
## 150       Compulsive_Behavior =~                   SDS_18  13.413 -0.294
## 1590                  LSAS_18 ~~        SPQ_interpersonal  13.306 -0.479
## 383                    SDS_14 ~~                  STAI_10  13.251  0.042
## 658                    AES_18 ~~                  STAI_13  13.238 -0.044
## 136        Anxiety_Depression =~                  LSAS_12  13.215 -0.142
## 181         Social_Withdrawal =~                    SDS_1  13.161 -0.186
## 961                   STAI_12 ~~                  LSAS_16  13.054  0.059
## 425                    SDS_16 ~~                   AES_18  13.013  0.054
## 1521                   LSAS_7 ~~                  LSAS_10  12.790 -0.052
## 1255                   OCI_12 ~~                   EAT_21  12.743 -0.115
## 338                    SDS_12 ~~                  STAI_16  12.684 -0.046
## 645                    AES_17 ~~                  LSAS_16  12.642  0.054
## 746                    STAI_3 ~~                    OCI_2  12.591 -0.069
## 525                    SDS_18 ~~                  STAI_12  12.523 -0.069
## 114        Anxiety_Depression =~                    OCI_3  12.447  0.204
## 1579                  LSAS_15 ~~                  LSAS_20  12.384  0.050
## 1578                  LSAS_15 ~~                  LSAS_19  12.351 -0.047
## 1222                   OCI_11 ~~                    EAT_3  12.340 -0.092
## 330                    SDS_12 ~~                   STAI_3  12.336 -0.047
## 741                    STAI_3 ~~                  STAI_13  12.312  0.035
## 320                    SDS_11 ~~ SPQ_cognitive_perceptual  12.276  0.797
## 269                     SDS_1 ~~ SPQ_cognitive_perceptual  12.218  0.640
## 1586                  LSAS_16 ~~        SPQ_interpersonal  12.117 -0.482
## 787                    STAI_4 ~~                    OCI_3  12.059  0.091
## 482                    SDS_17 ~~                  STAI_16  12.022 -0.037
## 328                    SDS_12 ~~                   AES_18  12.017  0.055
## 818                    STAI_5 ~~                  STAI_10  11.981 -0.034
## 565                    SDS_20 ~~                   STAI_3  11.931 -0.041
## 1138                    OCI_2 ~~                    EAT_3  11.909 -0.112
## 674                    AES_18 ~~                   EAT_12  11.820 -0.094
## 743                    STAI_3 ~~                  STAI_16  11.807  0.032
## 769                    STAI_3 ~~                  LSAS_12  11.773 -0.032
## 335                    SDS_12 ~~                  STAI_12  11.754 -0.063
## 1276                   OCI_16 ~~                   EAT_11  11.752 -0.086
## 548                    SDS_18 ~~                   LSAS_6  11.642  0.070
## 539                    SDS_18 ~~                    EAT_4  11.537 -0.084
## 1594                  LSAS_20 ~~ SPQ_cognitive_perceptual  11.428 -0.637
## 371                    SDS_12 ~~        SPQ_interpersonal  11.383 -0.521
## 969                   STAI_13 ~~                  STAI_19  11.378  0.041
## 518                    SDS_18 ~~                   AES_18  11.370  0.057
## 229                     SDS_1 ~~                   STAI_3  11.321 -0.038
## 287                    SDS_11 ~~                  STAI_15  11.191 -0.051
## 1230                   OCI_11 ~~                   EAT_23  11.125 -0.100
## 549                    SDS_18 ~~                   LSAS_7  11.109  0.065
## 472                    SDS_17 ~~                   AES_18  11.026  0.044
## 619                    AES_17 ~~                  STAI_20  11.007 -0.054
## 1588                  LSAS_18 ~~                  LSAS_20  10.976  0.046
## 789                    STAI_4 ~~                   OCI_11  10.828  0.076
## 1522                   LSAS_7 ~~                  LSAS_11  10.748 -0.038
## 1195                    OCI_4 ~~                    EAT_3  10.682 -0.092
## 429                    SDS_16 ~~                   STAI_5  10.621 -0.045
## 168       Compulsive_Behavior =~                   LSAS_7  10.614 -0.239
## 856                    STAI_8 ~~                  STAI_10  10.602 -0.035
## 868                    STAI_8 ~~                   OCI_16  10.479  0.058
## 135        Anxiety_Depression =~                  LSAS_11  10.376 -0.111
## 960                   STAI_12 ~~                  LSAS_15  10.348  0.051
## 1267                   OCI_12 ~~                  LSAS_18  10.266 -0.073
## 1273                   OCI_16 ~~                    EAT_3  10.213 -0.080
## 663                    AES_18 ~~                    OCI_2  10.212 -0.075
## 1427                   EAT_14 ~~                   EAT_21  10.161 -0.087
## 153       Compulsive_Behavior =~                   AES_18  10.158 -0.208
## 285                    SDS_11 ~~                  STAI_12  10.129 -0.062
## 857                    STAI_8 ~~                  STAI_12  10.127  0.049
## 1036                  STAI_16 ~~                  STAI_19  10.120  0.036
## 670                    AES_18 ~~                    EAT_3  10.098  0.060
## 1103                  STAI_20 ~~                    OCI_4  10.043  0.072
## 137        Anxiety_Depression =~                  LSAS_15  10.003 -0.152
## 524                    SDS_18 ~~                  STAI_10   9.999  0.042
## 1170                    OCI_3 ~~                   EAT_11   9.960 -0.093
## 217         Social_Withdrawal =~                   EAT_21   9.903 -0.173
## 1348                    EAT_4 ~~                   EAT_18   9.878  0.081
## 860                    STAI_8 ~~                  STAI_16   9.815 -0.034
## 122        Anxiety_Depression =~                   EAT_10   9.712  0.139
## 1122                  STAI_20 ~~                  LSAS_10   9.622  0.044
## 1298                    EAT_1 ~~                    EAT_4   9.532 -0.107
## 1084                  STAI_19 ~~                   EAT_21   9.510 -0.059
## 1350                    EAT_4 ~~                   EAT_23   9.505 -0.098
## 426                    SDS_16 ~~                   STAI_1   9.474 -0.037
## 1542                   LSAS_9 ~~                  LSAS_10   9.397  0.043
## 592                    SDS_20 ~~                   LSAS_2   9.235  0.041
## 202         Social_Withdrawal =~                  STAI_20   9.221  0.175
## 1538                   LSAS_8 ~~                  LSAS_19   9.196 -0.043
## 748                    STAI_3 ~~                    OCI_4   9.182 -0.052
## 1265                   OCI_12 ~~                  LSAS_15   9.076 -0.071
## 662                    AES_18 ~~                  STAI_20   9.065 -0.046
## 522                    SDS_18 ~~                   STAI_5   9.035 -0.046
## 1266                   OCI_12 ~~                  LSAS_16   9.014 -0.072
## 192         Social_Withdrawal =~                   STAI_3   9.005 -0.130
## 691                    AES_18 ~~                  LSAS_20   8.990  0.042
## 1099                  STAI_19 ~~ SPQ_cognitive_perceptual   8.814  0.559
## 665                    AES_18 ~~                    OCI_4   8.807 -0.061
## 473                    SDS_17 ~~                   STAI_1   8.750 -0.032
## 464                    SDS_16 ~~                  LSAS_18   8.742  0.044
## 235                     SDS_1 ~~                  STAI_13   8.725 -0.035
## 1346                    EAT_4 ~~                   EAT_12   8.628 -0.118
## 163       Compulsive_Behavior =~                  STAI_16   8.583 -0.153
## 484                    SDS_17 ~~                  STAI_20   8.581 -0.043
## 1496                   LSAS_2 ~~                  LSAS_10   8.566 -0.036
## 1525                   LSAS_7 ~~                  LSAS_16   8.534 -0.048
## 1499                   LSAS_2 ~~                  LSAS_15   8.509 -0.039
## 771                    STAI_3 ~~                  LSAS_16   8.381  0.034
## 208         Social_Withdrawal =~                   OCI_16   8.342  0.153
## 1581                  LSAS_15 ~~        SPQ_interpersonal   8.340  0.391
## 559                    SDS_18 ~~                  LSAS_20   8.305  0.050
## 768                    STAI_3 ~~                  LSAS_11   8.294 -0.024
## 116        Anxiety_Depression =~                   OCI_11   8.275  0.147
## 115        Anxiety_Depression =~                    OCI_4   8.273  0.159
## 816                    STAI_4 ~~        SPQ_interpersonal   8.195  0.464
## 853                    STAI_5 ~~                  LSAS_20   8.188 -0.036
## 884                    STAI_8 ~~                  LSAS_10   8.140  0.035
## 423                    SDS_16 ~~                   SDS_20   8.135  0.044
## 1527                   LSAS_7 ~~                  LSAS_19   8.128 -0.044
## 264                     SDS_1 ~~                  LSAS_15   8.034 -0.039
## 1359                    EAT_4 ~~                  LSAS_15   8.028 -0.057
## 747                    STAI_3 ~~                    OCI_3   8.020 -0.050
## 331                    SDS_12 ~~                   STAI_4   8.014 -0.056
## 557                    SDS_18 ~~                  LSAS_18   7.988 -0.047
## 1498                   LSAS_2 ~~                  LSAS_12   7.952  0.031
## 1442                   EAT_14 ~~ SPQ_cognitive_perceptual   7.922  0.726
## 1390                   EAT_11 ~~                   EAT_21   7.920 -0.076
## 785                    STAI_4 ~~                  STAI_20   7.905  0.053
## 1297                    EAT_1 ~~                    EAT_3   7.824 -0.092
## 945                   STAI_12 ~~                   EAT_10   7.754  0.052
## 935                   STAI_12 ~~                  STAI_20   7.711  0.049
## 1543                   LSAS_9 ~~                  LSAS_11   7.700 -0.030
## 390                    SDS_14 ~~                    OCI_2   7.696 -0.070
## 169       Compulsive_Behavior =~                   LSAS_8   7.677  0.187
## 145       Compulsive_Behavior =~                   SDS_11   7.622  0.222
## 1102                  STAI_20 ~~                    OCI_3   7.622  0.066
## 1262                   OCI_12 ~~                  LSAS_10   7.617  0.059
## 289                    SDS_11 ~~                  STAI_19   7.560  0.048
## 1387                   EAT_11 ~~                   EAT_12   7.476  0.103
## 1190                    OCI_3 ~~        SPQ_interpersonal   7.456  0.564
## 506                    SDS_17 ~~                  LSAS_10   7.428  0.033
## 725                    STAI_1 ~~                   LSAS_9   7.426 -0.033
## 883                    STAI_8 ~~                   LSAS_9   7.376  0.040
## 127        Anxiety_Depression =~                   EAT_21   7.359 -0.139
## 302                    SDS_11 ~~                   EAT_12   7.325  0.091
## 243                     SDS_1 ~~                   OCI_11   7.257  0.051
## 357                    SDS_12 ~~                   LSAS_2   7.234  0.041
## 1505                   LSAS_2 ~~        SPQ_interpersonal   7.156  0.342
## 653                    AES_18 ~~                   STAI_4   7.037 -0.045
## 170       Compulsive_Behavior =~                   LSAS_9   7.031  0.185
## 212         Social_Withdrawal =~                   EAT_10   6.944  0.125
## 377                    SDS_14 ~~                   AES_18   6.935  0.039
## 545                    SDS_18 ~~                   EAT_21   6.919  0.061
## 735                    STAI_1 ~~        SPQ_interpersonal   6.911  0.280
## 1316                    EAT_1 ~~                  LSAS_18   6.888  0.060
## 1257                   OCI_12 ~~                   LSAS_2   6.877  0.058
## 808                    STAI_4 ~~                  LSAS_11   6.851  0.031
## 174       Compulsive_Behavior =~                  LSAS_15   6.761 -0.168
## 375                    SDS_14 ~~                   SDS_20   6.751  0.039
## 624                    AES_17 ~~                   OCI_12   6.683 -0.064
## 1506                   LSAS_6 ~~                   LSAS_7   6.672  0.050
## 778                    STAI_4 ~~                   STAI_8   6.655  0.043
## 1404                   EAT_11 ~~                  LSAS_20   6.630  0.049
## 385                    SDS_14 ~~                  STAI_13   6.523 -0.033
## 1406                   EAT_11 ~~        SPQ_interpersonal   6.485 -0.461
## 477                    SDS_17 ~~                   STAI_8   6.481 -0.033
## 311                    SDS_11 ~~                   LSAS_9   6.475  0.047
## 1545                   LSAS_9 ~~                  LSAS_15   6.453 -0.039
## 279                    SDS_11 ~~                   STAI_1   6.430 -0.035
## 1236                   OCI_11 ~~                  LSAS_10   6.408  0.044
## 1051                  STAI_16 ~~                   EAT_18   6.393 -0.035
## 1540                   LSAS_8 ~~ SPQ_cognitive_perceptual   6.361  0.491
## 1269                   OCI_12 ~~                  LSAS_20   6.359 -0.060
## 615                    AES_17 ~~                  STAI_13   6.353 -0.032
## 1386                   EAT_10 ~~        SPQ_interpersonal   6.322  0.396
## 763                    STAI_3 ~~                   LSAS_6   6.187  0.035
## 1243                   OCI_11 ~~                  LSAS_20   6.155 -0.048
## 1371                   EAT_10 ~~                   EAT_23   6.135 -0.065
## 1100                  STAI_19 ~~        SPQ_interpersonal   6.129 -0.335
## 888                    STAI_8 ~~                  LSAS_16   6.126 -0.034
## 468                    SDS_16 ~~        SPQ_interpersonal   6.118 -0.359
## 1362                    EAT_4 ~~                  LSAS_19   6.061  0.048
## 1241                   OCI_11 ~~                  LSAS_18   6.037 -0.046
## 1059                  STAI_16 ~~                  LSAS_10   6.031 -0.025
## 1384                   EAT_10 ~~                  LSAS_20   6.013 -0.041
## 324                    SDS_12 ~~                   SDS_17   5.978  0.038
## 992                   STAI_13 ~~                  LSAS_10   5.973 -0.027
## 175       Compulsive_Behavior =~                  LSAS_16   5.964 -0.162
## 701                    STAI_1 ~~                  STAI_15   5.957 -0.025
## 176       Compulsive_Behavior =~                  LSAS_18   5.921  0.153
## 846                    STAI_5 ~~                  LSAS_10   5.914  0.028
## 1050                  STAI_16 ~~                   EAT_14   5.912  0.037
## 1089                  STAI_19 ~~                   LSAS_8   5.846  0.036
## 708                    STAI_1 ~~                   OCI_11   5.767 -0.037
## 294                    SDS_11 ~~                   OCI_11   5.755  0.056
## 1154                    OCI_2 ~~                  LSAS_12   5.743  0.046
## 1155                    OCI_2 ~~                  LSAS_15   5.703 -0.057
## 1535                   LSAS_8 ~~                  LSAS_15   5.698 -0.035
## 921                   STAI_10 ~~                  LSAS_10   5.695 -0.024
## 1403                   EAT_11 ~~                  LSAS_19   5.660 -0.043
## 1145                    OCI_2 ~~                   EAT_21   5.656 -0.077
## 782                    STAI_4 ~~                  STAI_15   5.628  0.036
## 1572                  LSAS_12 ~~                  LSAS_19   5.609  0.026
## 553                    SDS_18 ~~                  LSAS_11   5.605 -0.029
## 1360                    EAT_4 ~~                  LSAS_16   5.600 -0.049
## 411                    SDS_14 ~~                  LSAS_10   5.549 -0.032
## 1218                    OCI_4 ~~        SPQ_interpersonal   5.546  0.465
## 855                    STAI_5 ~~        SPQ_interpersonal   5.526  0.283
## 867                    STAI_8 ~~                   OCI_12   5.506  0.054
## 193         Social_Withdrawal =~                   STAI_4   5.504  0.148
## 184         Social_Withdrawal =~                   SDS_14   5.440 -0.129
## 786                    STAI_4 ~~                    OCI_2   5.398  0.067
## 1357                    EAT_4 ~~                  LSAS_11   5.397  0.033
## 1052                  STAI_16 ~~                   EAT_21   5.372 -0.035
## 152       Compulsive_Behavior =~                   AES_17   5.360 -0.160
## 321                    SDS_11 ~~        SPQ_interpersonal   5.337 -0.377
## 517                    SDS_18 ~~                   AES_17   5.336  0.041
## 731                    STAI_1 ~~                  LSAS_18   5.286 -0.025
## 552                    SDS_18 ~~                  LSAS_10   5.274 -0.036
## 284                    SDS_11 ~~                  STAI_10   5.235 -0.030
## 648                    AES_17 ~~                  LSAS_20   5.223  0.034
## 1323                    EAT_3 ~~                   EAT_11   5.185 -0.061
## 1020                  STAI_15 ~~                   EAT_23   5.180  0.045
## 261                     SDS_1 ~~                  LSAS_10   5.147  0.028
## 750                    STAI_3 ~~                   OCI_12   5.145 -0.044
## 864                    STAI_8 ~~                    OCI_3   5.083  0.047
## 656                    AES_18 ~~                  STAI_10   5.055 -0.024
## 751                    STAI_3 ~~                   OCI_16   4.995 -0.034
## 1252                   OCI_12 ~~                   EAT_12   4.981 -0.103
## 1027                  STAI_15 ~~                  LSAS_11   4.976  0.020
## 221                     SDS_1 ~~                   SDS_14   4.967  0.033
## 392                    SDS_14 ~~                    OCI_4   4.959 -0.049
## 705                    STAI_1 ~~                    OCI_2   4.927 -0.042
## 887                    STAI_8 ~~                  LSAS_15   4.919 -0.030
## 177       Compulsive_Behavior =~                  LSAS_19   4.913  0.137
## 1393                   EAT_11 ~~                   LSAS_6   4.912  0.051
## 895                   STAI_10 ~~                  STAI_13   4.864  0.021
## 189         Social_Withdrawal =~                   AES_17   4.803  0.120
## 408                    SDS_14 ~~                   LSAS_7   4.737  0.037
## 749                    STAI_3 ~~                   OCI_11   4.702 -0.034
## 560                    SDS_18 ~~ SPQ_cognitive_perceptual   4.700 -0.492
## 646                    AES_17 ~~                  LSAS_18   4.681  0.031
## 1550                   LSAS_9 ~~ SPQ_cognitive_perceptual   4.674  0.435
## 1188                    OCI_3 ~~                  LSAS_20   4.586 -0.047
## 953                   STAI_12 ~~                   LSAS_6   4.553  0.041
## 1524                   LSAS_7 ~~                  LSAS_15   4.551  0.034
## 1094                  STAI_19 ~~                  LSAS_15   4.538 -0.030
## 830                    STAI_5 ~~                   OCI_16   4.529  0.035
## 515                    SDS_17 ~~        SPQ_interpersonal   4.515  0.271
## 365                    SDS_12 ~~                  LSAS_15   4.506 -0.034
## 185         Social_Withdrawal =~                   SDS_16   4.504  0.120
## 590                    SDS_20 ~~                   EAT_21   4.486  0.041
## 842                    STAI_5 ~~                   LSAS_6   4.483 -0.032
## 612                    AES_17 ~~                   STAI_8   4.475 -0.030
## 964                   STAI_12 ~~                  LSAS_20   4.467  0.034
## 654                    AES_18 ~~                   STAI_5   4.453 -0.026
## 664                    AES_18 ~~                    OCI_3   4.438 -0.045
## 503                    SDS_17 ~~                   LSAS_7   4.437 -0.032
## 734                    STAI_1 ~~ SPQ_cognitive_perceptual   4.427 -0.312
## 806                    STAI_4 ~~                   LSAS_9   4.421 -0.038
## 777                    STAI_4 ~~                   STAI_5   4.414  0.032
## 315                    SDS_11 ~~                  LSAS_15   4.381 -0.036
## 380                    SDS_14 ~~                   STAI_4   4.340 -0.038
## 1500                   LSAS_2 ~~                  LSAS_16   4.334 -0.029
## 1152                    OCI_2 ~~                  LSAS_10   4.327  0.045
## 1074                  STAI_19 ~~                   OCI_12   4.309  0.049
## 1317                    EAT_1 ~~                  LSAS_19   4.299  0.047
## 1232                   OCI_11 ~~                   LSAS_6   4.298 -0.048
## 301                    SDS_11 ~~                   EAT_11   4.277 -0.048
## 666                    AES_18 ~~                   OCI_11   4.269 -0.039
## 979                   STAI_13 ~~                    EAT_4   4.219  0.036
## 800                    STAI_4 ~~                   EAT_21   4.217 -0.047
## 770                    STAI_3 ~~                  LSAS_15   4.216  0.024
## 1256                   OCI_12 ~~                   EAT_23   4.202 -0.075
## 1142                    OCI_2 ~~                   EAT_12   4.200 -0.096
## 1203                    OCI_4 ~~                   EAT_23   4.187 -0.066
## 767                    STAI_3 ~~                  LSAS_10   4.159 -0.021
## 1474                   EAT_21 ~~                  LSAS_20   4.145  0.039
## 1401                   EAT_11 ~~                  LSAS_16   4.142  0.039
## 479                    SDS_17 ~~                  STAI_12   4.138 -0.031
## 822                    STAI_5 ~~                  STAI_16   4.136 -0.020
## 1368                   EAT_10 ~~                   EAT_14   4.134 -0.048
## 1125                  STAI_20 ~~                  LSAS_15   4.114 -0.031
## 1120                  STAI_20 ~~                   LSAS_8   4.098  0.033
## 148       Compulsive_Behavior =~                   SDS_16   4.075  0.144
## 1214                    OCI_4 ~~                  LSAS_18   4.053 -0.040
## 123        Anxiety_Depression =~                   EAT_11   4.048 -0.103
## 1289                   OCI_16 ~~                  LSAS_12   4.042  0.030
## 1070                  STAI_19 ~~                    OCI_2   4.022  0.048
## 157       Compulsive_Behavior =~                   STAI_5   4.022  0.119
## 1294                   OCI_16 ~~                  LSAS_20   3.996 -0.037
## 809                    STAI_4 ~~                  LSAS_12   3.982  0.027
## 1248                   OCI_12 ~~                    EAT_3   3.979 -0.064
## 1287                   OCI_16 ~~                  LSAS_10   3.956  0.033
## 1045                  STAI_16 ~~                    EAT_3   3.955 -0.030
## 1523                   LSAS_7 ~~                  LSAS_12   3.949  0.026
## 480                    SDS_17 ~~                  STAI_13   3.944 -0.023
## 1320                    EAT_1 ~~        SPQ_interpersonal   3.902 -0.447
## 290                    SDS_11 ~~                  STAI_20   3.871  0.037
## 1003                  STAI_15 ~~                  STAI_19   3.868 -0.025
## 288                    SDS_11 ~~                  STAI_16   3.860 -0.027
## 1072                  STAI_19 ~~                    OCI_4   3.849  0.041
## 475                    SDS_17 ~~                   STAI_4   3.834 -0.032
## 699                    STAI_1 ~~                  STAI_12   3.827 -0.025
## 529                    SDS_18 ~~                  STAI_19   3.805 -0.034
## 1508                   LSAS_6 ~~                   LSAS_9   3.714 -0.035
## 1290                   OCI_16 ~~                  LSAS_15   3.653 -0.035
## 805                    STAI_4 ~~                   LSAS_8   3.635 -0.034
## 899                   STAI_10 ~~                  STAI_20   3.627 -0.023
## 334                    SDS_12 ~~                  STAI_10   3.602 -0.024
## 575                    SDS_20 ~~                  STAI_20   3.595 -0.030
## 655                    AES_18 ~~                   STAI_8   3.594 -0.026
## 991                   STAI_13 ~~                   LSAS_9   3.588 -0.025
## 154       Compulsive_Behavior =~                   STAI_1   3.573 -0.099
## 1239                   OCI_11 ~~                  LSAS_15   3.571 -0.036
## 191         Social_Withdrawal =~                   STAI_1   3.571 -0.079
## 726                    STAI_1 ~~                  LSAS_10   3.567 -0.019
## 1095                  STAI_19 ~~                  LSAS_16   3.546 -0.027
## 1528                   LSAS_7 ~~                  LSAS_20   3.535 -0.030
## 1131                  STAI_20 ~~        SPQ_interpersonal   3.523 -0.277
## 281                    SDS_11 ~~                   STAI_4   3.484 -0.039
## 866                    STAI_8 ~~                   OCI_11   3.479  0.035
## 351                    SDS_12 ~~                   EAT_11   3.472 -0.041
## 255                     SDS_1 ~~                   EAT_23   3.465 -0.040
## 1157                    OCI_2 ~~                  LSAS_18   3.454 -0.043
## 1589                  LSAS_18 ~~ SPQ_cognitive_perceptual   3.443 -0.337
## 404                    SDS_14 ~~                   EAT_21   3.443  0.037
## 372                    SDS_14 ~~                   SDS_16   3.437  0.030
## 459                    SDS_16 ~~                  LSAS_10   3.433  0.026
## 1113                  STAI_20 ~~                   EAT_14   3.433  0.040
## 1247                   OCI_12 ~~                    EAT_1   3.429 -0.074
## 1184                    OCI_3 ~~                  LSAS_15   3.428 -0.040
## 958                   STAI_12 ~~                  LSAS_11   3.427  0.021
## 1340                    EAT_3 ~~                  LSAS_19   3.425 -0.034
## 1571                  LSAS_12 ~~                  LSAS_18   3.364 -0.021
## 275                    SDS_11 ~~                   SDS_18   3.363 -0.038
## 685                    AES_18 ~~                  LSAS_11   3.361 -0.018
## 1395                   EAT_11 ~~                   LSAS_8   3.359  0.036
## 1229                   OCI_11 ~~                   EAT_21   3.342 -0.048
## 773                    STAI_3 ~~                  LSAS_19   3.334 -0.020
## 412                    SDS_14 ~~                  LSAS_11   3.328 -0.019
## 839                    STAI_5 ~~                   EAT_21   3.318 -0.031
## 233                     SDS_1 ~~                  STAI_10   3.317  0.020
## 146       Compulsive_Behavior =~                   SDS_12   3.314  0.139
## 531                    SDS_18 ~~                    OCI_2   3.307 -0.053
## 891                    STAI_8 ~~                  LSAS_20   3.304 -0.025
## 740                    STAI_3 ~~                  STAI_12   3.303  0.024
## 1277                   OCI_16 ~~                   EAT_12   3.272 -0.066
## 1054                  STAI_16 ~~                   LSAS_2   3.272 -0.019
## 829                    STAI_5 ~~                   OCI_12   3.263  0.038
## 1115                  STAI_20 ~~                   EAT_21   3.255 -0.038
## 438                    SDS_16 ~~                    OCI_2   3.231  0.046
## 903                   STAI_10 ~~                   OCI_11   3.208 -0.026
## 603                    SDS_20 ~~                  LSAS_19   3.203  0.024
## 1491                   EAT_23 ~~        SPQ_interpersonal   3.193 -0.373
## 954                   STAI_12 ~~                   LSAS_7   3.181 -0.032
## 956                   STAI_12 ~~                   LSAS_9   3.175 -0.030
## 172       Compulsive_Behavior =~                  LSAS_11   3.165 -0.082
## 1112                  STAI_20 ~~                   EAT_12   3.160  0.054
## 448                    SDS_16 ~~                   EAT_11   3.135 -0.036
## 526                    SDS_18 ~~                  STAI_13   3.127 -0.026
## 643                    AES_17 ~~                  LSAS_12   3.127 -0.021
## 1106                  STAI_20 ~~                   OCI_16   3.123  0.036
## 814                    STAI_4 ~~                  LSAS_20   3.112 -0.030
## 1194                    OCI_4 ~~                    EAT_1   3.100 -0.062
## 865                    STAI_8 ~~                    OCI_4   3.094  0.035
## 1238                   OCI_11 ~~                  LSAS_12   3.094  0.027
## 1119                  STAI_20 ~~                   LSAS_7   3.083 -0.031
## 470                    SDS_17 ~~                   SDS_20   3.056  0.024
## 1392                   EAT_11 ~~                   LSAS_2   3.033 -0.031
## 1183                    OCI_3 ~~                  LSAS_12   3.024  0.030
## 310                    SDS_11 ~~                   LSAS_8   3.005  0.031
## 252                     SDS_1 ~~                   EAT_14   2.992  0.033
## 1108                  STAI_20 ~~                    EAT_3   2.987 -0.036
## 434                    SDS_16 ~~                  STAI_15   2.957 -0.024
## 1283                   OCI_16 ~~                   LSAS_6   2.953 -0.038
## 309                    SDS_11 ~~                   LSAS_7   2.949 -0.033
## 1364                    EAT_4 ~~ SPQ_cognitive_perceptual   2.942  0.463
## 1196                    OCI_4 ~~                    EAT_4   2.936  0.051
## 1254                   OCI_12 ~~                   EAT_18   2.933 -0.051
## 1033                  STAI_15 ~~                  LSAS_20   2.931 -0.022
## 620                    AES_17 ~~                    OCI_2   2.931 -0.043
## 1562                  LSAS_11 ~~                  LSAS_15   2.931 -0.017
## 985                   STAI_13 ~~                   EAT_21   2.899 -0.028
## 934                   STAI_12 ~~                  STAI_19   2.896 -0.027
## 190         Social_Withdrawal =~                   AES_18   2.880  0.088
## 173       Compulsive_Behavior =~                  LSAS_12   2.872 -0.089
## 213         Social_Withdrawal =~                   EAT_11   2.866 -0.093
## 370                    SDS_12 ~~ SPQ_cognitive_perceptual   2.862  0.364
## 230                     SDS_1 ~~                   STAI_4   2.849  0.028
## 1159                    OCI_2 ~~                  LSAS_20   2.849 -0.040
## 628                    AES_17 ~~                    EAT_4   2.814  0.036
## 791                    STAI_4 ~~                   OCI_16   2.812  0.037
## 1037                  STAI_16 ~~                  STAI_20   2.810 -0.021
## 1425                   EAT_12 ~~        SPQ_interpersonal   2.809 -0.441
## 1296                   OCI_16 ~~        SPQ_interpersonal   2.808 -0.295
## 811                    STAI_4 ~~                  LSAS_16   2.802 -0.029
## 764                    STAI_3 ~~                   LSAS_7   2.793  0.022
## 1076                  STAI_19 ~~                    EAT_1   2.782  0.040
## 1518                   LSAS_6 ~~        SPQ_interpersonal   2.776 -0.272
## 1497                   LSAS_2 ~~                  LSAS_11   2.769 -0.016
## 1370                   EAT_10 ~~                   EAT_21   2.763 -0.039
## 132        Anxiety_Depression =~                   LSAS_8   2.754  0.083
## 781                    STAI_4 ~~                  STAI_13   2.719  0.024
## 1446                   EAT_18 ~~                   LSAS_2   2.713  0.027
## 835                    STAI_5 ~~                   EAT_11   2.709  0.028
## 368                    SDS_12 ~~                  LSAS_19   2.687  0.025
## 268                     SDS_1 ~~                  LSAS_20   2.680 -0.023
## 594                    SDS_20 ~~                   LSAS_7   2.668  0.026
## 1301                    EAT_1 ~~                   EAT_12   2.661  0.076
## 1216                    OCI_4 ~~                  LSAS_20   2.658 -0.034
## 1128                  STAI_20 ~~                  LSAS_19   2.633 -0.024
## 920                   STAI_10 ~~                   LSAS_9   2.628 -0.019
## 1179                    OCI_3 ~~                   LSAS_8   2.625  0.036
## 630                    AES_17 ~~                   EAT_11   2.625 -0.032
## 810                    STAI_4 ~~                  LSAS_15   2.624 -0.027
## 1405                   EAT_11 ~~ SPQ_cognitive_perceptual   2.618 -0.408
## 395                    SDS_14 ~~                   OCI_16   2.615 -0.032
## 1286                   OCI_16 ~~                   LSAS_9   2.610  0.032
## 1016                  STAI_15 ~~                   EAT_12   2.607 -0.040
## 1490                   EAT_23 ~~ SPQ_cognitive_perceptual   2.587 -0.467
## 360                    SDS_12 ~~                   LSAS_8   2.587  0.027
## 993                   STAI_13 ~~                  LSAS_11   2.564  0.014
## 1385                   EAT_10 ~~ SPQ_cognitive_perceptual   2.560 -0.351
## 1398                   EAT_11 ~~                  LSAS_11   2.559 -0.021
## 690                    AES_18 ~~                  LSAS_19   2.554  0.021
## 1097                  STAI_19 ~~                  LSAS_19   2.552  0.022
## 675                    AES_18 ~~                   EAT_14   2.552 -0.031
## 790                    STAI_4 ~~                   OCI_12   2.549  0.045
## 1182                    OCI_3 ~~                  LSAS_11   2.544  0.024
## 138        Anxiety_Depression =~                  LSAS_16   2.543 -0.078
## 225                     SDS_1 ~~                   SDS_20   2.532  0.022
## 1342                    EAT_3 ~~ SPQ_cognitive_perceptual   2.524 -0.403
## 871                    STAI_8 ~~                    EAT_4   2.519  0.031
## 882                    STAI_8 ~~                   LSAS_8   2.515  0.023
## 1504                   LSAS_2 ~~ SPQ_cognitive_perceptual   2.511  0.280
## 627                    AES_17 ~~                    EAT_3   2.489  0.032
## 1121                  STAI_20 ~~                   LSAS_9   2.485  0.026
## 488                    SDS_17 ~~                   OCI_11   2.480 -0.029
## 972                   STAI_13 ~~                    OCI_3   2.476 -0.029
## 1451                   EAT_18 ~~                  LSAS_10   2.471 -0.025
## 1353                    EAT_4 ~~                   LSAS_7   2.459 -0.036
## 558                    SDS_18 ~~                  LSAS_19   2.444 -0.025
## 639                    AES_17 ~~                   LSAS_8   2.436 -0.024
## 589                    SDS_20 ~~                   EAT_18   2.434  0.028
## 486                    SDS_17 ~~                    OCI_3   2.430 -0.032
## 1470                   EAT_21 ~~                  LSAS_15   2.430  0.030
## 1367                   EAT_10 ~~                   EAT_12   2.421 -0.051
## 1520                   LSAS_7 ~~                   LSAS_9   2.414 -0.027
## 1402                   EAT_11 ~~                  LSAS_18   2.412  0.029
## 1468                   EAT_21 ~~                  LSAS_11   2.402 -0.021
## 659                    AES_18 ~~                  STAI_15   2.400 -0.019
## 946                   STAI_12 ~~                   EAT_11   2.390  0.033
## 566                    SDS_20 ~~                   STAI_4   2.378 -0.027
## 329                    SDS_12 ~~                   STAI_1   2.375 -0.020
## 711                    STAI_1 ~~                    EAT_1   2.367 -0.029
## 952                   STAI_12 ~~                   LSAS_2   2.355 -0.023
## 1352                    EAT_4 ~~                   LSAS_6   2.339 -0.038
## 926                   STAI_10 ~~                  LSAS_18   2.336 -0.016
## 774                    STAI_3 ~~                  LSAS_20   2.336  0.018
## 249                     SDS_1 ~~                   EAT_10   2.329 -0.025
## 394                    SDS_14 ~~                   OCI_12   2.314  0.038
## 265                     SDS_1 ~~                  LSAS_16   2.308 -0.021
## 803                    STAI_4 ~~                   LSAS_6   2.304 -0.031
## 1307                    EAT_1 ~~                   LSAS_6   2.300 -0.043
## 1281                   OCI_16 ~~                   EAT_23   2.292 -0.044
## 632                    AES_17 ~~                   EAT_14   2.290 -0.031
## 1235                   OCI_11 ~~                   LSAS_9   2.280  0.031
## 568                    SDS_20 ~~                   STAI_8   2.272 -0.021
## 223                     SDS_1 ~~                   SDS_17   2.252 -0.020
## 242                     SDS_1 ~~                    OCI_4   2.250  0.030
## 327                    SDS_12 ~~                   AES_17   2.237  0.025
## 1429                   EAT_14 ~~                   LSAS_2   2.224 -0.027
## 1175                    OCI_3 ~~                   EAT_23   2.214 -0.050
## 355                    SDS_12 ~~                   EAT_21   2.205  0.033
## 155       Compulsive_Behavior =~                   STAI_3   2.203 -0.081
## 1431                   EAT_14 ~~                   LSAS_7   2.185 -0.033
## 210         Social_Withdrawal =~                    EAT_3   2.175 -0.081
## 976                   STAI_13 ~~                   OCI_16   2.168 -0.023
## 1026                  STAI_15 ~~                  LSAS_10   2.167  0.017
## 776                    STAI_3 ~~        SPQ_interpersonal   2.163  0.162
## 587                    SDS_20 ~~                   EAT_12   2.162 -0.041
## 194         Social_Withdrawal =~                   STAI_5   2.161  0.069
## 1109                  STAI_20 ~~                    EAT_4   2.155  0.033
## 1280                   OCI_16 ~~                   EAT_21   2.154 -0.037
## 1381                   EAT_10 ~~                  LSAS_16   2.154 -0.025
## 840                    STAI_5 ~~                   EAT_23   2.153  0.029
## 900                   STAI_10 ~~                    OCI_2   2.143 -0.027
## 419                    SDS_14 ~~ SPQ_cognitive_perceptual   2.123 -0.287
## 1139                    OCI_2 ~~                    EAT_4   2.111  0.050
## 499                    SDS_17 ~~                   EAT_21   2.106  0.026
## 556                    SDS_18 ~~                  LSAS_16   2.103  0.025
## 250                     SDS_1 ~~                   EAT_11   2.096 -0.027
## 1453                   EAT_18 ~~                  LSAS_12   2.089 -0.021
## 347                    SDS_12 ~~                    EAT_1   2.084  0.039
## 1049                  STAI_16 ~~                   EAT_12   2.068  0.031
## 998                   STAI_13 ~~                  LSAS_19   2.065  0.017
## 130        Anxiety_Depression =~                   LSAS_6   2.062 -0.083
## 1373                   EAT_10 ~~                   LSAS_6   2.028 -0.028
## 1546                   LSAS_9 ~~                  LSAS_16   2.016 -0.022
## 1583                  LSAS_16 ~~                  LSAS_19   2.009 -0.020
## 436                    SDS_16 ~~                  STAI_19   2.004  0.022
## 1332                    EAT_3 ~~                   LSAS_8   1.999  0.028
## 1186                    OCI_3 ~~                  LSAS_18   1.998 -0.030
## 651                    AES_18 ~~                   STAI_1   1.990 -0.016
## 794                    STAI_4 ~~                    EAT_4   1.988  0.035
## 476                    SDS_17 ~~                   STAI_5   1.984  0.017
## 922                   STAI_10 ~~                  LSAS_11   1.980 -0.011
## 1185                    OCI_3 ~~                  LSAS_16   1.966 -0.031
## 955                   STAI_12 ~~                   LSAS_8   1.944 -0.023
## 1231                   OCI_11 ~~                   LSAS_2   1.942  0.025
## 513                    SDS_17 ~~                  LSAS_20   1.928 -0.019
## 209         Social_Withdrawal =~                    EAT_1   1.927  0.094
## 1503                   LSAS_2 ~~                  LSAS_20   1.927 -0.019
## 914                   STAI_10 ~~                   EAT_21   1.918 -0.020
## 1378                   EAT_10 ~~                  LSAS_11   1.916  0.016
## 1032                  STAI_15 ~~                  LSAS_19   1.911 -0.017
## 1445                   EAT_18 ~~                   EAT_23   1.909 -0.038
## 460                    SDS_16 ~~                  LSAS_11   1.909 -0.015
## 1174                    OCI_3 ~~                   EAT_21   1.901 -0.041
## 1560                  LSAS_10 ~~        SPQ_interpersonal   1.893 -0.170
## 1487                   EAT_23 ~~                  LSAS_18   1.887  0.029
## 792                    STAI_4 ~~                    EAT_1   1.882  0.039
## 563                    SDS_20 ~~                   AES_18   1.878  0.019
## 1469                   EAT_21 ~~                  LSAS_12   1.866 -0.021
## 316                    SDS_11 ~~                  LSAS_16   1.864 -0.024
## 667                    AES_18 ~~                   OCI_12   1.858 -0.032
## 483                    SDS_17 ~~                  STAI_19   1.853 -0.018
## 1053                  STAI_16 ~~                   EAT_23   1.842  0.023
## 1153                    OCI_2 ~~                  LSAS_11   1.836  0.023
## 1085                  STAI_19 ~~                   EAT_23   1.833 -0.030
## 949                   STAI_12 ~~                   EAT_18   1.824 -0.027
## 1024                  STAI_15 ~~                   LSAS_8   1.814  0.018
## 422                    SDS_16 ~~                   SDS_18   1.813 -0.025
## 569                    SDS_20 ~~                  STAI_10   1.801  0.015
## 1098                  STAI_19 ~~                  LSAS_20   1.800  0.019
## 755                    STAI_3 ~~                   EAT_10   1.800  0.018
## 684                    AES_18 ~~                  LSAS_10   1.778  0.017
## 916                   STAI_10 ~~                   LSAS_2   1.778 -0.014
## 167       Compulsive_Behavior =~                   LSAS_6   1.766 -0.104
## 898                   STAI_10 ~~                  STAI_19   1.756 -0.015
## 606                    SDS_20 ~~        SPQ_interpersonal   1.748 -0.179
## 359                    SDS_12 ~~                   LSAS_7   1.744 -0.024
## 1335                    EAT_3 ~~                  LSAS_11   1.742 -0.018
## 378                    SDS_14 ~~                   STAI_1   1.735  0.016
## 1519                   LSAS_7 ~~                   LSAS_8   1.727  0.022
## 1242                   OCI_11 ~~                  LSAS_19   1.723  0.024
## 219                     SDS_1 ~~                   SDS_11   1.723  0.022
## 1494                   LSAS_2 ~~                   LSAS_8   1.715  0.018
## 695                    STAI_1 ~~                   STAI_4   1.711 -0.018
## 224                     SDS_1 ~~                   SDS_18   1.711 -0.022
## 571                    SDS_20 ~~                  STAI_13   1.701 -0.016
## 1479                   EAT_23 ~~                   LSAS_7   1.699 -0.032
## 1409                   EAT_12 ~~                   EAT_21   1.694 -0.049
## 504                    SDS_17 ~~                   LSAS_8   1.692 -0.018
## 406                    SDS_14 ~~                   LSAS_2   1.688  0.018
## 430                    SDS_16 ~~                   STAI_8   1.685  0.019
## 1088                  STAI_19 ~~                   LSAS_7   1.685 -0.021
## 440                    SDS_16 ~~                    OCI_4   1.683 -0.029
## 149       Compulsive_Behavior =~                   SDS_17   1.677 -0.081
## 836                    STAI_5 ~~                   EAT_12   1.665 -0.032
## 1149                    OCI_2 ~~                   LSAS_7   1.652 -0.035
## 710                    STAI_1 ~~                   OCI_16   1.641 -0.019
## 129        Anxiety_Depression =~                   LSAS_2   1.640  0.058
## 307                    SDS_11 ~~                   LSAS_2   1.639  0.021
## 1412                   EAT_12 ~~                   LSAS_6   1.620  0.042
## 318                    SDS_11 ~~                  LSAS_19   1.612  0.021
## 608                    AES_17 ~~                   STAI_1   1.603 -0.015
## 496                    SDS_17 ~~                   EAT_12   1.600 -0.033
## 1064                  STAI_16 ~~                  LSAS_18   1.600 -0.014
## 724                    STAI_1 ~~                   LSAS_8   1.600 -0.015
## 629                    AES_17 ~~                   EAT_10   1.592  0.022
## 729                    STAI_1 ~~                  LSAS_15   1.584  0.014
## 1358                    EAT_4 ~~                  LSAS_12   1.576  0.021
## 452                    SDS_16 ~~                   EAT_21   1.574  0.026
## 1237                   OCI_11 ~~                  LSAS_11   1.566  0.017
## 893                    STAI_8 ~~        SPQ_interpersonal   1.560 -0.163
## 257                     SDS_1 ~~                   LSAS_6   1.558 -0.021
## 353                    SDS_12 ~~                   EAT_14   1.558  0.028
## 1399                   EAT_11 ~~                  LSAS_12   1.554 -0.019
## 1048                  STAI_16 ~~                   EAT_11   1.552  0.019
## 1448                   EAT_18 ~~                   LSAS_7   1.532  0.025
## 520                    SDS_18 ~~                   STAI_3   1.515  0.017
## 728                    STAI_1 ~~                  LSAS_12   1.511  0.011
## 990                   STAI_13 ~~                   LSAS_8   1.510 -0.016
## 1035                  STAI_15 ~~        SPQ_interpersonal   1.508  0.147
## 647                    AES_17 ~~                  LSAS_19   1.502  0.017
## 1532                   LSAS_8 ~~                  LSAS_10   1.493  0.016
## 709                    STAI_1 ~~                   OCI_12   1.476 -0.023
## 418                    SDS_14 ~~                  LSAS_20   1.468  0.018
## 1356                    EAT_4 ~~                  LSAS_10   1.467  0.022
## 274                    SDS_11 ~~                   SDS_17   1.455  0.020
## 1529                   LSAS_7 ~~ SPQ_cognitive_perceptual   1.449 -0.255
## 970                   STAI_13 ~~                  STAI_20   1.448 -0.016
## 1341                    EAT_3 ~~                  LSAS_20   1.444  0.023
## 361                    SDS_12 ~~                   LSAS_9   1.440  0.021
## 580                    SDS_20 ~~                   OCI_12   1.433 -0.028
## 927                   STAI_10 ~~                  LSAS_19   1.430 -0.012
## 432                    SDS_16 ~~                  STAI_12   1.423  0.021
## 551                    SDS_18 ~~                   LSAS_9   1.420 -0.022
## 166       Compulsive_Behavior =~                   LSAS_2   1.414  0.073
## 982                   STAI_13 ~~                   EAT_12   1.413  0.028
## 416                    SDS_14 ~~                  LSAS_18   1.412 -0.017
## 1549                   LSAS_9 ~~                  LSAS_20   1.403  0.018
## 1435                   EAT_14 ~~                  LSAS_11   1.403  0.016
## 1559                  LSAS_10 ~~ SPQ_cognitive_perceptual   1.400  0.202
## 1057                  STAI_16 ~~                   LSAS_8   1.398  0.014
## 1507                   LSAS_6 ~~                   LSAS_8   1.395  0.021
## 1424                   EAT_12 ~~ SPQ_cognitive_perceptual   1.394 -0.432
## 718                    STAI_1 ~~                   EAT_18   1.393  0.016
## 1288                   OCI_16 ~~                  LSAS_11   1.382  0.015
## 638                    AES_17 ~~                   LSAS_7   1.378 -0.020
## 913                   STAI_10 ~~                   EAT_18   1.378 -0.016
## 758                    STAI_3 ~~                   EAT_14   1.329 -0.018
## 602                    SDS_20 ~~                  LSAS_18   1.329 -0.016
## 1375                   EAT_10 ~~                   LSAS_8   1.326 -0.020
## 845                    STAI_5 ~~                   LSAS_9   1.326  0.016
## 941                   STAI_12 ~~                   OCI_16   1.323  0.024
## 966                   STAI_12 ~~        SPQ_interpersonal   1.321  0.174
## 579                    SDS_20 ~~                   OCI_11   1.313 -0.022
## 614                    AES_17 ~~                  STAI_12   1.310  0.019
## 1223                   OCI_11 ~~                    EAT_4   1.309  0.032
## 178       Compulsive_Behavior =~                  LSAS_20   1.305 -0.075
## 640                    AES_17 ~~                   LSAS_9   1.296  0.018
## 164       Compulsive_Behavior =~                  STAI_19   1.295  0.076
## 1568                  LSAS_11 ~~        SPQ_interpersonal   1.295  0.111
## 1173                    OCI_3 ~~                   EAT_18   1.290 -0.031
## 841                    STAI_5 ~~                   LSAS_2   1.286  0.014
## 1090                  STAI_19 ~~                   LSAS_9   1.286  0.017
## 511                    SDS_17 ~~                  LSAS_18   1.282  0.015
## 1171                    OCI_3 ~~                   EAT_12   1.276 -0.048
## 1354                    EAT_4 ~~                   LSAS_8   1.275 -0.024
## 1383                   EAT_10 ~~                  LSAS_19   1.272  0.018
## 759                    STAI_3 ~~                   EAT_18   1.272  0.016
## 1343                    EAT_3 ~~        SPQ_interpersonal   1.271 -0.205
## 721                    STAI_1 ~~                   LSAS_2   1.257 -0.012
## 121        Anxiety_Depression =~                    EAT_4   1.255  0.061
## 1093                  STAI_19 ~~                  LSAS_12   1.247  0.013
## 929                   STAI_10 ~~ SPQ_cognitive_perceptual   1.246 -0.161
## 547                    SDS_18 ~~                   LSAS_2   1.236  0.018
## 783                    STAI_4 ~~                  STAI_16   1.233  0.015
## 652                    AES_18 ~~                   STAI_3   1.231  0.013
## 433                    SDS_16 ~~                  STAI_13   1.228 -0.015
## 1177                    OCI_3 ~~                   LSAS_6   1.213 -0.029
## 1091                  STAI_19 ~~                  LSAS_10   1.203  0.014
## 931                   STAI_12 ~~                  STAI_13   1.203  0.015
## 1068                  STAI_16 ~~        SPQ_interpersonal   1.195  0.115
## 561                    SDS_18 ~~        SPQ_interpersonal   1.183  0.177
## 719                    STAI_1 ~~                   EAT_21   1.176  0.016
## 723                    STAI_1 ~~                   LSAS_7   1.169  0.014
## 1030                  STAI_15 ~~                  LSAS_16   1.155 -0.014
## 319                    SDS_11 ~~                  LSAS_20   1.145 -0.018
## 367                    SDS_12 ~~                  LSAS_18   1.144  0.017
## 1293                   OCI_16 ~~                  LSAS_19   1.141  0.019
## 848                    STAI_5 ~~                  LSAS_12   1.141 -0.011
## 928                   STAI_10 ~~                  LSAS_20   1.135  0.012
## 1249                   OCI_12 ~~                    EAT_4   1.132  0.036
## 756                    STAI_3 ~~                   EAT_11   1.127  0.017
## 1379                   EAT_10 ~~                  LSAS_12   1.124  0.014
## 1339                    EAT_3 ~~                  LSAS_18   1.123  0.020
## 358                    SDS_12 ~~                   LSAS_6   1.122 -0.021
## 241                     SDS_1 ~~                    OCI_3   1.111  0.022
## 1382                   EAT_10 ~~                  LSAS_18   1.109  0.017
## 975                   STAI_13 ~~                   OCI_12   1.108 -0.021
## 918                   STAI_10 ~~                   LSAS_7   1.098  0.013
## 1086                  STAI_19 ~~                   LSAS_2   1.095  0.014
## 1087                  STAI_19 ~~                   LSAS_6   1.093 -0.018
## 314                    SDS_11 ~~                  LSAS_12   1.092  0.014
## 1564                  LSAS_11 ~~                  LSAS_18   1.090 -0.010
## 379                    SDS_14 ~~                   STAI_3   1.084  0.013
## 631                    AES_17 ~~                   EAT_12   1.084 -0.030
## 977                   STAI_13 ~~                    EAT_1   1.081  0.021
## 1452                   EAT_18 ~~                  LSAS_11   1.068 -0.013
## 501                    SDS_17 ~~                   LSAS_2   1.055 -0.013
## 293                    SDS_11 ~~                    OCI_4   1.054  0.026
## 707                    STAI_1 ~~                    OCI_4   1.053 -0.017
## 456                    SDS_16 ~~                   LSAS_7   1.052 -0.018
## 1126                  STAI_20 ~~                  LSAS_16   1.052 -0.016
## 661                    AES_18 ~~                  STAI_19   1.043 -0.014
## 688                    AES_18 ~~                  LSAS_16   1.041  0.014
## 834                    STAI_5 ~~                   EAT_10   1.037  0.015
## 1363                    EAT_4 ~~                  LSAS_20   1.037 -0.021
## 827                    STAI_5 ~~                    OCI_4   1.033  0.019
## 1158                    OCI_2 ~~                  LSAS_19   1.020  0.023
## 1514                   LSAS_6 ~~                  LSAS_18   1.015  0.017
## 342                    SDS_12 ~~                    OCI_3   1.011 -0.025
## 295                    SDS_11 ~~                   OCI_12   1.011  0.029
## 1096                  STAI_19 ~~                  LSAS_18   1.011 -0.014
## 904                   STAI_10 ~~                   OCI_12   1.001  0.018
## 854                    STAI_5 ~~ SPQ_cognitive_perceptual   0.996  0.167
## 901                   STAI_10 ~~                    OCI_3   0.986  0.017
## 139        Anxiety_Depression =~                  LSAS_18   0.965 -0.046
## 403                    SDS_14 ~~                   EAT_18   0.962  0.018
## 546                    SDS_18 ~~                   EAT_23   0.958 -0.026
## 1044                  STAI_16 ~~                    EAT_1   0.957 -0.018
## 1365                    EAT_4 ~~        SPQ_interpersonal   0.955  0.189
## 609                    AES_17 ~~                   STAI_3   0.947 -0.012
## 439                    SDS_16 ~~                    OCI_3   0.946  0.023
## 201         Social_Withdrawal =~                  STAI_19   0.943  0.051
## 502                    SDS_17 ~~                   LSAS_6   0.943 -0.016
## 1495                   LSAS_2 ~~                   LSAS_9   0.935 -0.014
## 1459                   EAT_18 ~~ SPQ_cognitive_perceptual   0.930  0.225
## 1430                   EAT_14 ~~                   LSAS_6   0.930  0.023
## 1025                  STAI_15 ~~                   LSAS_9   0.928  0.013
## 420                    SDS_14 ~~        SPQ_interpersonal   0.926  0.136
## 1073                  STAI_19 ~~                   OCI_11   0.925  0.019
## 1034                  STAI_15 ~~ SPQ_cognitive_perceptual   0.918  0.160
## 1460                   EAT_18 ~~        SPQ_interpersonal   0.916  0.160
## 947                   STAI_12 ~~                   EAT_12   0.916  0.030
## 1200                    OCI_4 ~~                   EAT_14   0.913  0.027
## 304                    SDS_11 ~~                   EAT_18   0.911  0.020
## 823                    STAI_5 ~~                  STAI_19   0.909 -0.012
## 542                    SDS_18 ~~                   EAT_12   0.909 -0.032
## 391                    SDS_14 ~~                    OCI_3   0.907 -0.022
## 465                    SDS_16 ~~                  LSAS_19   0.899  0.014
## 1197                    OCI_4 ~~                   EAT_10   0.890 -0.023
## 912                   STAI_10 ~~                   EAT_14   0.889 -0.014
## 1472                   EAT_21 ~~                  LSAS_18   0.889 -0.017
## 948                   STAI_12 ~~                   EAT_14   0.884 -0.021
## 610                    AES_17 ~~                   STAI_4   0.883 -0.017
## 677                    AES_18 ~~                   EAT_21   0.880  0.018
## 340                    SDS_12 ~~                  STAI_20   0.880 -0.017
## 497                    SDS_17 ~~                   EAT_14   0.879 -0.017
## 807                    STAI_4 ~~                  LSAS_10   0.876  0.015
## 760                    STAI_3 ~~                   EAT_21   0.876  0.015
## 1411                   EAT_12 ~~                   LSAS_2   0.869  0.024
## 195         Social_Withdrawal =~                   STAI_8   0.868  0.047
## 1592                  LSAS_19 ~~ SPQ_cognitive_perceptual   0.867  0.166
## 828                    STAI_5 ~~                   OCI_11   0.867  0.016
## 852                    STAI_5 ~~                  LSAS_19   0.859 -0.011
## 996                   STAI_13 ~~                  LSAS_16   0.856 -0.011
## 1417                   EAT_12 ~~                  LSAS_11   0.855 -0.018
## 1377                   EAT_10 ~~                  LSAS_10   0.849 -0.014
## 144       Compulsive_Behavior =~                    SDS_1   0.841 -0.059
## 536                    SDS_18 ~~                   OCI_16   0.836 -0.020
## 228                     SDS_1 ~~                   STAI_1   0.835  0.010
## 1355                    EAT_4 ~~                   LSAS_9   0.832 -0.020
## 1415                   EAT_12 ~~                   LSAS_9   0.825  0.027
## 1205                    OCI_4 ~~                   LSAS_6   0.824 -0.023
## 987                   STAI_13 ~~                   LSAS_2   0.822 -0.010
## 272                    SDS_11 ~~                   SDS_14   0.821 -0.016
## 1481                   EAT_23 ~~                   LSAS_9   0.820  0.021
## 1440                   EAT_14 ~~                  LSAS_19   0.817  0.017
## 601                    SDS_20 ~~                  LSAS_16   0.813 -0.013
## 399                    SDS_14 ~~                   EAT_10   0.806 -0.016
## 963                   STAI_12 ~~                  LSAS_19   0.805 -0.014
## 1591                  LSAS_19 ~~                  LSAS_20   0.803  0.012
## 1123                  STAI_20 ~~                  LSAS_11   0.790  0.010
## 1212                    OCI_4 ~~                  LSAS_15   0.787 -0.018
## 562                    SDS_20 ~~                   AES_17   0.779 -0.013
## 611                    AES_17 ~~                   STAI_5   0.778 -0.012
## 405                    SDS_14 ~~                   EAT_23   0.775 -0.020
## 487                    SDS_17 ~~                    OCI_4   0.771  0.017
## 605                    SDS_20 ~~ SPQ_cognitive_perceptual   0.771  0.165
## 905                   STAI_10 ~~                   OCI_16   0.771 -0.012
## 1461                   EAT_21 ~~                   EAT_23   0.768  0.026
## 889                    STAI_8 ~~                  LSAS_18   0.766  0.012
## 251                     SDS_1 ~~                   EAT_12   0.762  0.024
## 1166                    OCI_3 ~~                    EAT_1   0.760 -0.032
## 936                   STAI_12 ~~                    OCI_2   0.758 -0.023
## 254                     SDS_1 ~~                   EAT_21   0.758 -0.016
## 875                    STAI_8 ~~                   EAT_14   0.748  0.016
## 493                    SDS_17 ~~                    EAT_4   0.747 -0.017
## 678                    AES_18 ~~                   EAT_23   0.745 -0.019
## 911                   STAI_10 ~~                   EAT_12   0.743 -0.018
## 1148                    OCI_2 ~~                   LSAS_6   0.743 -0.025
## 1306                    EAT_1 ~~                   LSAS_2   0.740  0.019
## 995                   STAI_13 ~~                  LSAS_15   0.739  0.010
## 621                    AES_17 ~~                    OCI_3   0.736 -0.019
## 1056                  STAI_16 ~~                   LSAS_7   0.730  0.011
## 1450                   EAT_18 ~~                   LSAS_9   0.728  0.016
## 713                    STAI_1 ~~                    EAT_4   0.728  0.014
## 1329                    EAT_3 ~~                   LSAS_2   0.725 -0.015
## 317                    SDS_11 ~~                  LSAS_18   0.723 -0.014
## 1308                    EAT_1 ~~                   LSAS_7   0.721 -0.023
## 350                    SDS_12 ~~                   EAT_10   0.720 -0.016
## 407                    SDS_14 ~~                   LSAS_6   0.718  0.015
## 467                    SDS_16 ~~ SPQ_cognitive_perceptual   0.717  0.171
## 973                   STAI_13 ~~                    OCI_4   0.717 -0.015
## 519                    SDS_18 ~~                   STAI_1   0.713  0.012
## 1284                   OCI_16 ~~                   LSAS_7   0.712 -0.018
## 635                    AES_17 ~~                   EAT_23   0.711 -0.019
## 462                    SDS_16 ~~                  LSAS_15   0.710 -0.013
## 450                    SDS_16 ~~                   EAT_14   0.702  0.018
## 885                    STAI_8 ~~                  LSAS_11   0.700  0.008
## 1009                  STAI_15 ~~                   OCI_12   0.699  0.018
## 514                    SDS_17 ~~ SPQ_cognitive_perceptual   0.696 -0.148
## 401                    SDS_14 ~~                   EAT_12   0.691 -0.024
## 837                    STAI_5 ~~                   EAT_14   0.687 -0.014
## 454                    SDS_16 ~~                   LSAS_2   0.681  0.012
## 248                     SDS_1 ~~                    EAT_4   0.679 -0.016
## 428                    SDS_16 ~~                   STAI_4   0.678 -0.015
## 1416                   EAT_12 ~~                  LSAS_10   0.675 -0.021
## 363                    SDS_12 ~~                  LSAS_11   0.675 -0.009
## 356                    SDS_12 ~~                   EAT_23   0.673 -0.021
## 1480                   EAT_23 ~~                   LSAS_8   0.668  0.019
## 1322                    EAT_3 ~~                   EAT_10   0.667  0.019
## 341                    SDS_12 ~~                    OCI_2   0.667  0.022
## 1143                    OCI_2 ~~                   EAT_14   0.666  0.027
## 300                    SDS_11 ~~                   EAT_10   0.661 -0.016
## 119        Anxiety_Depression =~                    EAT_1   0.659 -0.052
## 1210                    OCI_4 ~~                  LSAS_11   0.657  0.012
## 1492                   LSAS_2 ~~                   LSAS_6   0.655  0.013
## 354                    SDS_12 ~~                   EAT_18   0.653  0.016
## 1315                    EAT_1 ~~                  LSAS_16   0.650 -0.020
## 1274                   OCI_16 ~~                    EAT_4   0.648  0.022
## 593                    SDS_20 ~~                   LSAS_6   0.647 -0.014
## 492                    SDS_17 ~~                    EAT_3   0.646  0.015
## 220                     SDS_1 ~~                   SDS_12   0.644  0.013
## 1473                   EAT_21 ~~                  LSAS_19   0.638 -0.015
## 849                    STAI_5 ~~                  LSAS_15   0.635  0.010
## 457                    SDS_16 ~~                   LSAS_8   0.633 -0.013
## 917                   STAI_10 ~~                   LSAS_6   0.628  0.010
## 801                    STAI_4 ~~                   EAT_23   0.619 -0.021
## 509                    SDS_17 ~~                  LSAS_15   0.613  0.010
## 131        Anxiety_Depression =~                   LSAS_7   0.613 -0.043
## 1178                    OCI_3 ~~                   LSAS_7   0.612  0.019
## 825                    STAI_5 ~~                    OCI_2   0.612  0.017
## 369                    SDS_12 ~~                  LSAS_20   0.611  0.013
## 554                    SDS_18 ~~                  LSAS_12   0.609 -0.011
## 989                   STAI_13 ~~                   LSAS_7   0.608 -0.011
## 1208                    OCI_4 ~~                   LSAS_9   0.607  0.017
## 908                   STAI_10 ~~                    EAT_4   0.605  0.012
## 997                   STAI_13 ~~                  LSAS_18   0.603  0.009
## 1369                   EAT_10 ~~                   EAT_18   0.601  0.017
## 555                    SDS_18 ~~                  LSAS_15   0.599  0.013
## 978                   STAI_13 ~~                    EAT_3   0.591  0.013
## 1292                   OCI_16 ~~                  LSAS_18   0.588 -0.014
## 1333                    EAT_3 ~~                   LSAS_9   0.588  0.016
## 1250                   OCI_12 ~~                   EAT_10   0.586  0.021
## 623                    AES_17 ~~                   OCI_11   0.586 -0.015
## 1465                   EAT_21 ~~                   LSAS_8   0.585 -0.015
## 1432                   EAT_14 ~~                   LSAS_8   0.583 -0.015
## 1314                    EAT_1 ~~                  LSAS_15   0.583  0.018
## 1124                  STAI_20 ~~                  LSAS_12   0.578  0.010
## 299                    SDS_11 ~~                    EAT_4   0.571  0.019
## 600                    SDS_20 ~~                  LSAS_15   0.567 -0.011
## 870                    STAI_8 ~~                    EAT_3   0.560 -0.014
## 396                    SDS_14 ~~                    EAT_1   0.559 -0.019
## 1361                    EAT_4 ~~                  LSAS_18   0.556 -0.015
## 442                    SDS_16 ~~                   OCI_12   0.554  0.019
## 1372                   EAT_10 ~~                   LSAS_2   0.553  0.012
## 1441                   EAT_14 ~~                  LSAS_20   0.551 -0.015
## 937                   STAI_12 ~~                    OCI_3   0.548  0.018
## 1577                  LSAS_15 ~~                  LSAS_18   0.547  0.010
## 187         Social_Withdrawal =~                   SDS_18   0.545 -0.047
## 1483                   EAT_23 ~~                  LSAS_11   0.543 -0.011
## 772                    STAI_3 ~~                  LSAS_18   0.541 -0.008
## 813                    STAI_4 ~~                  LSAS_19   0.534  0.012
## 980                   STAI_13 ~~                   EAT_10   0.529 -0.010
## 1482                   EAT_23 ~~                  LSAS_10   0.526 -0.014
## 1569                  LSAS_12 ~~                  LSAS_15   0.522 -0.008
## 1436                   EAT_14 ~~                  LSAS_12   0.515 -0.011
## 512                    SDS_17 ~~                  LSAS_19   0.508 -0.009
## 1079                  STAI_19 ~~                   EAT_10   0.508  0.012
## 1008                  STAI_15 ~~                   OCI_11   0.506  0.012
## 278                    SDS_11 ~~                   AES_18   0.506  0.012
## 1574                  LSAS_12 ~~ SPQ_cognitive_perceptual   0.504 -0.108
## 804                    STAI_4 ~~                   LSAS_7   0.504 -0.014
## 642                    AES_17 ~~                  LSAS_11   0.502 -0.007
## 644                    AES_17 ~~                  LSAS_15   0.501  0.010
## 826                    STAI_5 ~~                    OCI_3   0.500  0.014
## 1433                   EAT_14 ~~                   LSAS_9   0.496 -0.015
## 447                    SDS_16 ~~                   EAT_10   0.487  0.012
## 673                    AES_18 ~~                   EAT_11   0.487 -0.013
## 940                   STAI_12 ~~                   OCI_12   0.486 -0.019
## 574                    SDS_20 ~~                  STAI_19   0.480 -0.010
## 186         Social_Withdrawal =~                   SDS_17   0.479  0.034
## 297                    SDS_11 ~~                    EAT_1   0.478  0.020
## 597                    SDS_20 ~~                  LSAS_10   0.477 -0.009
## 1366                   EAT_10 ~~                   EAT_11   0.477  0.016
## 578                    SDS_20 ~~                    OCI_4   0.476 -0.014
## 393                    SDS_14 ~~                   OCI_11   0.474 -0.014
## 376                    SDS_14 ~~                   AES_17   0.474  0.011
## 974                   STAI_13 ~~                   OCI_11   0.473 -0.011
## 495                    SDS_17 ~~                   EAT_11   0.461 -0.012
## 466                    SDS_16 ~~                  LSAS_20   0.459  0.010
## 544                    SDS_18 ~~                   EAT_18   0.458  0.014
## 1118                  STAI_20 ~~                   LSAS_6   0.458 -0.013
## 481                    SDS_17 ~~                  STAI_15   0.457 -0.008
## 474                    SDS_17 ~~                   STAI_3   0.457  0.007
## 1007                  STAI_15 ~~                    OCI_4   0.455  0.013
## 596                    SDS_20 ~~                   LSAS_9   0.454 -0.010
## 1299                    EAT_1 ~~                   EAT_10   0.454 -0.019
## 881                    STAI_8 ~~                   LSAS_7   0.453 -0.010
## 533                    SDS_18 ~~                    OCI_4   0.452 -0.017
## 737                    STAI_3 ~~                   STAI_5   0.450  0.007
## 832                    STAI_5 ~~                    EAT_3   0.448 -0.011
## 262                     SDS_1 ~~                  LSAS_11   0.446 -0.007
## 443                    SDS_16 ~~                   OCI_16   0.445 -0.013
## 869                    STAI_8 ~~                    EAT_1   0.444 -0.015
## 1011                  STAI_15 ~~                    EAT_1   0.438 -0.014
## 1019                  STAI_15 ~~                   EAT_21   0.429  0.011
## 1017                  STAI_15 ~~                   EAT_14   0.427 -0.011
## 1168                    OCI_3 ~~                    EAT_4   0.427 -0.021
## 1418                   EAT_12 ~~                  LSAS_12   0.426 -0.015
## 622                    AES_17 ~~                    OCI_4   0.426 -0.014
## 682                    AES_18 ~~                   LSAS_8   0.425 -0.009
## 364                    SDS_12 ~~                  LSAS_12   0.421 -0.008
## 413                    SDS_14 ~~                  LSAS_12   0.419 -0.008
## 541                    SDS_18 ~~                   EAT_11   0.417 -0.015
## 909                   STAI_10 ~~                   EAT_10   0.417 -0.008
## 858                    STAI_8 ~~                  STAI_13   0.416 -0.008
## 1001                  STAI_13 ~~        SPQ_interpersonal   0.413  0.074
## 1278                   OCI_16 ~~                   EAT_14   0.410  0.016
## 198         Social_Withdrawal =~                  STAI_13   0.406 -0.029
## 226                     SDS_1 ~~                   AES_17   0.403 -0.009
## 1201                    OCI_4 ~~                   EAT_18   0.401 -0.016
## 1043                  STAI_16 ~~                   OCI_16   0.401 -0.009
## 1062                  STAI_16 ~~                  LSAS_15   0.400 -0.007
## 1180                    OCI_3 ~~                   LSAS_9   0.398  0.015
## 793                    STAI_4 ~~                    EAT_3   0.397 -0.015
## 717                    STAI_1 ~~                   EAT_14   0.397 -0.010
## 1396                   EAT_11 ~~                   LSAS_9   0.391  0.013
## 507                    SDS_17 ~~                  LSAS_11   0.390  0.006
## 1080                  STAI_19 ~~                   EAT_11   0.389  0.012
## 1000                  STAI_13 ~~ SPQ_cognitive_perceptual   0.389  0.100
## 988                   STAI_13 ~~                   LSAS_6   0.382  0.009
## 1263                   OCI_12 ~~                  LSAS_11   0.382 -0.010
## 591                    SDS_20 ~~                   EAT_23   0.375 -0.014
## 1156                    OCI_2 ~~                  LSAS_16   0.374  0.015
## 1311                    EAT_1 ~~                  LSAS_10   0.373  0.013
## 838                    STAI_5 ~~                   EAT_18   0.372 -0.010
## 1015                  STAI_15 ~~                   EAT_11   0.371  0.010
## 1376                   EAT_10 ~~                   LSAS_9   0.371 -0.011
## 1169                    OCI_3 ~~                   EAT_10   0.370 -0.016
## 141        Anxiety_Depression =~                  LSAS_20   0.368  0.029
## 1199                    OCI_4 ~~                   EAT_12   0.367  0.025
## 1227                   OCI_11 ~~                   EAT_14   0.363  0.016
## 1443                   EAT_14 ~~        SPQ_interpersonal   0.362 -0.112
## 636                    AES_17 ~~                   LSAS_2   0.361 -0.008
## 981                   STAI_13 ~~                   EAT_11   0.357  0.010
## 706                    STAI_1 ~~                    OCI_3   0.355 -0.010
## 298                    SDS_11 ~~                    EAT_3   0.354 -0.014
## 490                    SDS_17 ~~                   OCI_16   0.352 -0.010
## 1006                  STAI_15 ~~                    OCI_3   0.347  0.011
## 1438                   EAT_14 ~~                  LSAS_16   0.346  0.012
## 306                    SDS_11 ~~                   EAT_23   0.345 -0.016
## 1548                   LSAS_9 ~~                  LSAS_19   0.345 -0.009
## 1575                  LSAS_12 ~~        SPQ_interpersonal   0.343  0.065
## 1206                    OCI_4 ~~                   LSAS_7   0.342  0.014
## 1176                    OCI_3 ~~                   LSAS_2   0.340 -0.012
## 485                    SDS_17 ~~                    OCI_2   0.337  0.013
## 1567                  LSAS_11 ~~ SPQ_cognitive_perceptual   0.335  0.077
## 216         Social_Withdrawal =~                   EAT_18   0.335 -0.029
## 1331                    EAT_3 ~~                   LSAS_7   0.335 -0.013
## 1537                   LSAS_8 ~~                  LSAS_18   0.334  0.008
## 1228                   OCI_11 ~~                   EAT_18   0.331 -0.014
## 890                    STAI_8 ~~                  LSAS_19   0.330  0.007
## 1042                  STAI_16 ~~                   OCI_12   0.329  0.011
## 1437                   EAT_14 ~~                  LSAS_15   0.327  0.011
## 1060                  STAI_16 ~~                  LSAS_11   0.325 -0.004
## 397                    SDS_14 ~~                    EAT_3   0.324  0.011
## 445                    SDS_16 ~~                    EAT_3   0.322  0.012
## 714                    STAI_1 ~~                   EAT_10   0.321  0.007
## 415                    SDS_14 ~~                  LSAS_16   0.321 -0.009
## 582                    SDS_20 ~~                    EAT_1   0.320 -0.014
## 292                    SDS_11 ~~                    OCI_3   0.319  0.015
## 437                    SDS_16 ~~                  STAI_20   0.318  0.009
## 1489                   EAT_23 ~~                  LSAS_20   0.314  0.012
## 540                    SDS_18 ~~                   EAT_10   0.314 -0.011
## 618                    AES_17 ~~                  STAI_19   0.309 -0.008
## 1181                    OCI_3 ~~                  LSAS_10   0.305 -0.011
## 1264                   OCI_12 ~~                  LSAS_12   0.304  0.010
## 873                    STAI_8 ~~                   EAT_11   0.302 -0.010
## 757                    STAI_3 ~~                   EAT_12   0.301 -0.012
## 765                    STAI_3 ~~                   LSAS_8   0.301  0.007
## 878                    STAI_8 ~~                   EAT_23   0.299 -0.012
## 325                    SDS_12 ~~                   SDS_18   0.299  0.011
## 339                    SDS_12 ~~                  STAI_19   0.298 -0.009
## 672                    AES_18 ~~                   EAT_10   0.298  0.009
## 1330                    EAT_3 ~~                   LSAS_6   0.292  0.012
## 343                    SDS_12 ~~                    OCI_4   0.289  0.013
## 188         Social_Withdrawal =~                   SDS_20   0.289 -0.028
## 505                    SDS_17 ~~                   LSAS_9   0.289  0.008
## 1309                    EAT_1 ~~                   LSAS_8   0.285  0.013
## 455                    SDS_16 ~~                   LSAS_6   0.283  0.010
## 1151                    OCI_2 ~~                   LSAS_9   0.277  0.013
## 716                    STAI_1 ~~                   EAT_12   0.275 -0.011
## 215         Social_Withdrawal =~                   EAT_14   0.273 -0.029
## 444                    SDS_16 ~~                    EAT_1   0.272 -0.013
## 886                    STAI_8 ~~                  LSAS_12   0.271  0.006
## 1209                    OCI_4 ~~                  LSAS_10   0.270  0.010
## 802                    STAI_4 ~~                   LSAS_2   0.268 -0.008
## 1137                    OCI_2 ~~                    EAT_1   0.268 -0.021
## 451                    SDS_16 ~~                   EAT_18   0.267  0.010
## 586                    SDS_20 ~~                   EAT_11   0.266 -0.010
## 1081                  STAI_19 ~~                   EAT_12   0.265  0.014
## 939                   STAI_12 ~~                   OCI_11   0.263  0.011
## 461                    SDS_16 ~~                  LSAS_12   0.263  0.006
## 1449                   EAT_18 ~~                   LSAS_8   0.263  0.009
## 752                    STAI_3 ~~                    EAT_1   0.262 -0.010
## 1380                   EAT_10 ~~                  LSAS_15   0.258  0.008
## 951                   STAI_12 ~~                   EAT_23   0.257 -0.013
## 1028                  STAI_15 ~~                  LSAS_12   0.249 -0.005
## 625                    AES_17 ~~                   OCI_16   0.249 -0.010
## 180       Compulsive_Behavior =~        SPQ_interpersonal   0.248  0.308
## 1285                   OCI_16 ~~                   LSAS_8   0.248  0.010
## 1014                  STAI_15 ~~                   EAT_10   0.247  0.007
## 183         Social_Withdrawal =~                   SDS_12   0.243 -0.030
## 296                    SDS_11 ~~                   OCI_16   0.243  0.011
## 1116                  STAI_20 ~~                   EAT_23   0.241 -0.012
## 1047                  STAI_16 ~~                   EAT_10   0.239 -0.006
## 1253                   OCI_12 ~~                   EAT_14   0.239  0.016
## 1593                  LSAS_19 ~~        SPQ_interpersonal   0.235 -0.063
## 1485                   EAT_23 ~~                  LSAS_15   0.233 -0.011
## 1221                   OCI_11 ~~                    EAT_1   0.233 -0.016
## 715                    STAI_1 ~~                   EAT_11   0.231 -0.007
## 1010                  STAI_15 ~~                   OCI_16   0.230  0.008
## 410                    SDS_14 ~~                   LSAS_9   0.230  0.008
## 1029                  STAI_15 ~~                  LSAS_15   0.228  0.006
## 1066                  STAI_16 ~~                  LSAS_20   0.228 -0.005
## 686                    AES_18 ~~                  LSAS_12   0.227 -0.005
## 984                   STAI_13 ~~                   EAT_18   0.226 -0.007
## 140        Anxiety_Depression =~                  LSAS_19   0.223  0.022
## 595                    SDS_20 ~~                   LSAS_8   0.222 -0.007
## 1022                  STAI_15 ~~                   LSAS_6   0.221 -0.007
## 400                    SDS_14 ~~                   EAT_11   0.219  0.009
## 669                    AES_18 ~~                    EAT_1   0.218  0.011
## 727                    STAI_1 ~~                  LSAS_11   0.216  0.004
## 1111                  STAI_20 ~~                   EAT_11   0.211 -0.010
## 151       Compulsive_Behavior =~                   SDS_20   0.209  0.031
## 1279                   OCI_16 ~~                   EAT_18   0.209 -0.011
## 270                     SDS_1 ~~        SPQ_interpersonal   0.209  0.060
## 125        Anxiety_Depression =~                   EAT_14   0.203 -0.024
## 957                   STAI_12 ~~                  LSAS_10   0.202  0.007
## 1129                  STAI_20 ~~                  LSAS_20   0.202 -0.007
## 680                    AES_18 ~~                   LSAS_6   0.201  0.008
## 1272                   OCI_16 ~~                    EAT_1   0.199  0.014
## 1282                   OCI_16 ~~                   LSAS_2   0.199  0.008
## 286                    SDS_11 ~~                  STAI_13   0.198 -0.007
## 535                    SDS_18 ~~                   OCI_12   0.197  0.013
## 1464                   EAT_21 ~~                   LSAS_7   0.195  0.010
## 1039                  STAI_16 ~~                    OCI_3   0.195  0.008
## 253                     SDS_1 ~~                   EAT_18   0.191 -0.008
## 1422                   EAT_12 ~~                  LSAS_19   0.190  0.011
## 1291                   OCI_16 ~~                  LSAS_16   0.189  0.008
## 847                    STAI_5 ~~                  LSAS_11   0.188  0.004
## 1486                   EAT_23 ~~                  LSAS_16   0.188  0.010
## 861                    STAI_8 ~~                  STAI_19   0.188  0.006
## 1414                   EAT_12 ~~                   LSAS_8   0.185  0.012
## 722                    STAI_1 ~~                   LSAS_6   0.181  0.006
## 1428                   EAT_14 ~~                   EAT_23   0.180  0.013
## 1557                  LSAS_10 ~~                  LSAS_19   0.180  0.005
## 1110                  STAI_20 ~~                   EAT_10   0.180 -0.008
## 753                    STAI_3 ~~                    EAT_3   0.178  0.007
## 671                    AES_18 ~~                    EAT_4   0.176  0.008
## 1463                   EAT_21 ~~                   LSAS_6   0.176  0.010
## 1467                   EAT_21 ~~                  LSAS_10   0.174 -0.007
## 1471                   EAT_21 ~~                  LSAS_16   0.171  0.008
## 1420                   EAT_12 ~~                  LSAS_16   0.171  0.012
## 1078                  STAI_19 ~~                    EAT_4   0.170  0.008
## 489                    SDS_17 ~~                   OCI_12   0.167 -0.009
## 1454                   EAT_18 ~~                  LSAS_15   0.166  0.007
## 923                   STAI_10 ~~                  LSAS_12   0.165 -0.004
## 303                    SDS_11 ~~                   EAT_14   0.164  0.010
## 1107                  STAI_20 ~~                    EAT_1   0.164 -0.011
## 491                    SDS_17 ~~                    EAT_1   0.163 -0.009
## 500                    SDS_17 ~~                   EAT_23   0.157  0.008
## 1268                   OCI_12 ~~                  LSAS_19   0.156  0.009
## 588                    SDS_20 ~~                   EAT_14   0.156 -0.008
## 182         Social_Withdrawal =~                   SDS_11   0.154  0.025
## 1334                    EAT_3 ~~                  LSAS_10   0.154  0.007
## 1475                   EAT_21 ~~ SPQ_cognitive_perceptual   0.153 -0.099
## 915                   STAI_10 ~~                   EAT_23   0.152 -0.007
## 1328                    EAT_3 ~~                   EAT_23   0.150  0.012
## 732                    STAI_1 ~~                  LSAS_19   0.148 -0.004
## 263                     SDS_1 ~~                  LSAS_12   0.145  0.004
## 521                    SDS_18 ~~                   STAI_4   0.145  0.008
## 1204                    OCI_4 ~~                   LSAS_2   0.140  0.007
## 387                    SDS_14 ~~                  STAI_16   0.139  0.004
## 1213                    OCI_4 ~~                  LSAS_16   0.137  0.008
## 1447                   EAT_18 ~~                   LSAS_6   0.137 -0.008
## 453                    SDS_16 ~~                   EAT_23   0.136 -0.009
## 1012                  STAI_15 ~~                    EAT_3   0.136  0.006
## 999                   STAI_13 ~~                  LSAS_20   0.136 -0.005
## 245                     SDS_1 ~~                   OCI_16   0.135 -0.007
## 657                    AES_18 ~~                  STAI_12   0.134 -0.006
## 683                    AES_18 ~~                   LSAS_9   0.134  0.005
## 1083                  STAI_19 ~~                   EAT_18   0.131 -0.006
## 796                    STAI_4 ~~                   EAT_11   0.130  0.008
## 1040                  STAI_16 ~~                    OCI_4   0.130  0.006
## 126        Anxiety_Depression =~                   EAT_18   0.129 -0.017
## 1259                   OCI_12 ~~                   LSAS_7   0.129  0.010
## 446                    SDS_16 ~~                    EAT_4   0.127 -0.008
## 784                    STAI_4 ~~                  STAI_19   0.126 -0.006
## 959                   STAI_12 ~~                  LSAS_12   0.125 -0.005
## 879                    STAI_8 ~~                   LSAS_2   0.122  0.005
## 333                    SDS_12 ~~                   STAI_8   0.121 -0.005
## 1275                   OCI_16 ~~                   EAT_10   0.121 -0.008
## 700                    STAI_1 ~~                  STAI_13   0.120 -0.003
## 1397                   EAT_11 ~~                  LSAS_10   0.120 -0.006
## 919                   STAI_10 ~~                   LSAS_8   0.120 -0.004
## 1502                   LSAS_2 ~~                  LSAS_19   0.117 -0.004
## 1421                   EAT_12 ~~                  LSAS_18   0.112  0.009
## 1207                    OCI_4 ~~                   LSAS_8   0.111 -0.007
## 874                    STAI_8 ~~                   EAT_12   0.111 -0.009
## 222                     SDS_1 ~~                   SDS_16   0.109 -0.005
## 1114                  STAI_20 ~~                   EAT_18   0.106 -0.006
## 134        Anxiety_Depression =~                  LSAS_10   0.106  0.014
## 1338                    EAT_3 ~~                  LSAS_16   0.105 -0.006
## 634                    AES_17 ~~                   EAT_21   0.105  0.006
## 1211                    OCI_4 ~~                  LSAS_12   0.104  0.005
## 1374                   EAT_10 ~~                   LSAS_7   0.101  0.006
## 1226                   OCI_11 ~~                   EAT_12   0.100 -0.012
## 508                    SDS_17 ~~                  LSAS_12   0.099 -0.003
## 906                   STAI_10 ~~                    EAT_1   0.099 -0.006
## 528                    SDS_18 ~~                  STAI_16   0.096 -0.004
## 463                    SDS_16 ~~                  LSAS_16   0.095  0.005
## 247                     SDS_1 ~~                    EAT_3   0.095 -0.006
## 971                   STAI_13 ~~                    OCI_2   0.094  0.006
## 744                    STAI_3 ~~                  STAI_19   0.093 -0.004
## 876                    STAI_8 ~~                   EAT_18   0.092  0.005
## 1147                    OCI_2 ~~                   LSAS_2   0.091  0.007
## 1065                  STAI_16 ~~                  LSAS_19   0.086  0.003
## 550                    SDS_18 ~~                   LSAS_8   0.085 -0.005
## 604                    SDS_20 ~~                  LSAS_20   0.085 -0.004
## 986                   STAI_13 ~~                   EAT_23   0.085  0.006
## 1172                    OCI_3 ~~                   EAT_14   0.084  0.009
## 564                    SDS_20 ~~                   STAI_1   0.082  0.003
## 227                     SDS_1 ~~                   AES_18   0.082  0.004
## 312                    SDS_11 ~~                  LSAS_10   0.082  0.004
## 534                    SDS_18 ~~                   OCI_11   0.082 -0.007
## 161       Compulsive_Behavior =~                  STAI_13   0.081  0.016
## 1556                  LSAS_10 ~~                  LSAS_18   0.077 -0.003
## 1400                   EAT_11 ~~                  LSAS_15   0.077  0.005
## 313                    SDS_11 ~~                  LSAS_11   0.076  0.003
## 133        Anxiety_Depression =~                   LSAS_9   0.076  0.014
## 812                    STAI_4 ~~                  LSAS_18   0.075 -0.005
## 754                    STAI_3 ~~                    EAT_4   0.074 -0.005
## 348                    SDS_12 ~~                    EAT_3   0.072  0.006
## 1394                   EAT_11 ~~                   LSAS_7   0.071  0.006
## 1423                   EAT_12 ~~                  LSAS_20   0.071 -0.007
## 538                    SDS_18 ~~                    EAT_3   0.070 -0.006
## 1144                    OCI_2 ~~                   EAT_18   0.070 -0.008
## 1005                  STAI_15 ~~                    OCI_2   0.070 -0.006
## 902                   STAI_10 ~~                    OCI_4   0.069 -0.004
## 494                    SDS_17 ~~                   EAT_10   0.068  0.004
## 693                    AES_18 ~~        SPQ_interpersonal   0.068  0.034
## 283                    SDS_11 ~~                   STAI_8   0.067 -0.004
## 938                   STAI_12 ~~                    OCI_4   0.065  0.006
## 872                    STAI_8 ~~                   EAT_10   0.064 -0.004
## 1018                  STAI_15 ~~                   EAT_18   0.064  0.004
## 1240                   OCI_11 ~~                  LSAS_16   0.063 -0.005
## 1046                  STAI_16 ~~                    EAT_4   0.062  0.004
## 537                    SDS_18 ~~                    EAT_1   0.062 -0.007
## 1261                   OCI_12 ~~                   LSAS_9   0.060 -0.006
## 1063                  STAI_16 ~~                  LSAS_16   0.060 -0.003
## 1476                   EAT_21 ~~        SPQ_interpersonal   0.059  0.044
## 1351                    EAT_4 ~~                   LSAS_2   0.059  0.005
## 1224                   OCI_11 ~~                   EAT_10   0.059  0.005
## 799                    STAI_4 ~~                   EAT_18   0.058 -0.005
## 907                   STAI_10 ~~                    EAT_3   0.058  0.004
## 1071                  STAI_19 ~~                    OCI_3   0.056 -0.005
## 238                     SDS_1 ~~                  STAI_19   0.053 -0.003
## 402                    SDS_14 ~~                   EAT_14   0.052  0.005
## 277                    SDS_11 ~~                   AES_17   0.052 -0.004
## 409                    SDS_14 ~~                   LSAS_8   0.051  0.003
## 1439                   EAT_14 ~~                  LSAS_18   0.051 -0.004
## 344                    SDS_12 ~~                   OCI_11   0.051  0.005
## 1161                    OCI_2 ~~        SPQ_interpersonal   0.049 -0.050
## 761                    STAI_3 ~~                   EAT_23   0.049  0.004
## 1140                    OCI_2 ~~                   EAT_10   0.049  0.006
## 668                    AES_18 ~~                   OCI_16   0.048 -0.004
## 1313                    EAT_1 ~~                  LSAS_12   0.047  0.004
## 581                    SDS_20 ~~                   OCI_16   0.047  0.004
## 362                    SDS_12 ~~                  LSAS_10   0.046  0.003
## 1013                  STAI_15 ~~                    EAT_4   0.044  0.004
## 1310                    EAT_1 ~~                   LSAS_9   0.043 -0.005
## 633                    AES_17 ~~                   EAT_18   0.041  0.004
## 924                   STAI_10 ~~                  LSAS_15   0.041  0.002
## 910                   STAI_10 ~~                   EAT_11   0.041  0.003
## 1419                   EAT_12 ~~                  LSAS_15   0.041  0.006
## 308                    SDS_11 ~~                   LSAS_6   0.041 -0.004
## 626                    AES_17 ~~                    EAT_1   0.041 -0.005
## 1038                  STAI_16 ~~                    OCI_2   0.038  0.004
## 1462                   EAT_21 ~~                   LSAS_2   0.038 -0.004
## 1305                    EAT_1 ~~                   EAT_23   0.038  0.007
## 1092                  STAI_19 ~~                  LSAS_11   0.038 -0.002
## 1187                    OCI_3 ~~                  LSAS_19   0.038  0.004
## 762                    STAI_3 ~~                   LSAS_2   0.037 -0.002
## 366                    SDS_12 ~~                  LSAS_16   0.036 -0.003
## 944                   STAI_12 ~~                    EAT_4   0.036 -0.004
## 118        Anxiety_Depression =~                   OCI_16   0.036  0.009
## 831                    STAI_5 ~~                    EAT_1   0.036  0.004
## 1455                   EAT_18 ~~                  LSAS_16   0.035 -0.003
## 458                    SDS_16 ~~                   LSAS_9   0.035  0.003
## 237                     SDS_1 ~~                  STAI_16   0.034 -0.002
## 211         Social_Withdrawal =~                    EAT_4   0.033  0.011
## 256                     SDS_1 ~~                   LSAS_2   0.033 -0.002
## 1031                  STAI_15 ~~                  LSAS_18   0.032  0.002
## 267                     SDS_1 ~~                  LSAS_19   0.032 -0.002
## 1058                  STAI_16 ~~                   LSAS_9   0.031 -0.002
## 1075                  STAI_19 ~~                   OCI_16   0.030 -0.003
## 994                   STAI_13 ~~                  LSAS_12   0.030  0.002
## 943                   STAI_12 ~~                    EAT_3   0.029  0.004
## 820                    STAI_5 ~~                  STAI_13   0.029 -0.002
## 843                    STAI_5 ~~                   LSAS_7   0.028 -0.002
## 950                   STAI_12 ~~                   EAT_21   0.028 -0.004
## 510                    SDS_17 ~~                  LSAS_16   0.024  0.002
## 441                    SDS_16 ~~                   OCI_11   0.024  0.003
## 967                   STAI_13 ~~                  STAI_15   0.024 -0.002
## 266                     SDS_1 ~~                  LSAS_18   0.024 -0.002
## 532                    SDS_18 ~~                    OCI_3   0.023  0.004
## 599                    SDS_20 ~~                  LSAS_12   0.022  0.002
## 1413                   EAT_12 ~~                   LSAS_7   0.022 -0.005
## 1041                  STAI_16 ~~                   OCI_11   0.019  0.002
## 681                    AES_18 ~~                   LSAS_7   0.019 -0.002
## 1215                    OCI_4 ~~                  LSAS_19   0.018 -0.003
## 585                    SDS_20 ~~                   EAT_10   0.018  0.002
## 766                    STAI_3 ~~                   LSAS_9   0.018 -0.002
## 650                    AES_17 ~~        SPQ_interpersonal   0.017 -0.019
## 1067                  STAI_16 ~~ SPQ_cognitive_perceptual   0.017  0.019
## 417                    SDS_14 ~~                  LSAS_19   0.017 -0.002
## 498                    SDS_17 ~~                   EAT_18   0.016  0.002
## 573                    SDS_20 ~~                  STAI_16   0.015  0.001
## 1536                   LSAS_8 ~~                  LSAS_16   0.015 -0.002
## 1336                    EAT_3 ~~                  LSAS_12   0.015  0.002
## 1318                    EAT_1 ~~                  LSAS_20   0.015  0.003
## 577                    SDS_20 ~~                    OCI_3   0.014  0.003
## 1458                   EAT_18 ~~                  LSAS_20   0.014 -0.002
## 345                    SDS_12 ~~                   OCI_12   0.014 -0.003
## 1337                    EAT_3 ~~                  LSAS_15   0.014 -0.002
## 246                     SDS_1 ~~                    EAT_1   0.013  0.003
## 1478                   EAT_23 ~~                   LSAS_6   0.013 -0.003
## 1233                   OCI_11 ~~                   LSAS_7   0.013 -0.003
## 689                    AES_18 ~~                  LSAS_18   0.013  0.002
## 733                    STAI_1 ~~                  LSAS_20   0.013  0.001
## 120        Anxiety_Depression =~                    EAT_3   0.012 -0.006
## 877                    STAI_8 ~~                   EAT_21   0.012 -0.002
## 925                   STAI_10 ~~                  LSAS_16   0.011 -0.001
## 1456                   EAT_18 ~~                  LSAS_18   0.011 -0.002
## 779                    STAI_4 ~~                  STAI_10   0.011  0.001
## 1021                  STAI_15 ~~                   LSAS_2   0.011  0.001
## 798                    STAI_4 ~~                   EAT_14   0.011  0.002
## 1061                  STAI_16 ~~                  LSAS_12   0.011 -0.001
## 1319                    EAT_1 ~~ SPQ_cognitive_perceptual   0.011  0.033
## 797                    STAI_4 ~~                   EAT_12   0.011 -0.003
## 1547                   LSAS_9 ~~                  LSAS_18   0.009 -0.001
## 1349                    EAT_4 ~~                   EAT_21   0.009  0.003
## 1312                    EAT_1 ~~                  LSAS_11   0.008  0.002
## 851                    STAI_5 ~~                  LSAS_18   0.008  0.001
## 1466                   EAT_21 ~~                   LSAS_9   0.008 -0.002
## 584                    SDS_20 ~~                    EAT_4   0.008 -0.002
## 844                    STAI_5 ~~                   LSAS_8   0.008 -0.001
## 679                    AES_18 ~~                   LSAS_2   0.008 -0.001
## 1023                  STAI_15 ~~                   LSAS_7   0.007  0.001
## 1457                   EAT_18 ~~                  LSAS_19   0.007  0.001
## 795                    STAI_4 ~~                   EAT_10   0.006  0.002
## 1258                   OCI_12 ~~                   LSAS_6   0.006  0.002
## 1260                   OCI_12 ~~                   LSAS_8   0.005  0.002
## 576                    SDS_20 ~~                    OCI_2   0.005 -0.002
## 742                    STAI_3 ~~                  STAI_15   0.005  0.001
## 349                    SDS_12 ~~                    EAT_4   0.005  0.002
## 346                    SDS_12 ~~                   OCI_16   0.005  0.001
## 730                    STAI_1 ~~                  LSAS_16   0.005  0.001
## 171       Compulsive_Behavior =~                  LSAS_10   0.005 -0.004
## 583                    SDS_20 ~~                    EAT_3   0.004  0.001
## 712                    STAI_1 ~~                    EAT_3   0.004  0.001
## 703                    STAI_1 ~~                  STAI_19   0.004 -0.001
## 543                    SDS_18 ~~                   EAT_14   0.004 -0.002
## 1484                   EAT_23 ~~                  LSAS_12   0.004  0.001
## 850                    STAI_5 ~~                  LSAS_16   0.004  0.001
## 305                    SDS_11 ~~                   EAT_21   0.003  0.001
## 260                     SDS_1 ~~                   LSAS_9   0.003  0.001
## 833                    STAI_5 ~~                    EAT_4   0.003 -0.001
## 231                     SDS_1 ~~                   STAI_5   0.003 -0.001
## 1245                   OCI_11 ~~        SPQ_interpersonal   0.002 -0.009
## 1488                   EAT_23 ~~                  LSAS_19   0.002  0.001
## 449                    SDS_16 ~~                   EAT_12   0.002  0.001
## 637                    AES_17 ~~                   LSAS_6   0.002 -0.001
## 676                    AES_18 ~~                   EAT_18   0.002 -0.001
## 1150                    OCI_2 ~~                   LSAS_8   0.002  0.001
## 1082                  STAI_19 ~~                   EAT_14   0.002 -0.001
## 236                     SDS_1 ~~                  STAI_15   0.002  0.000
## 1055                  STAI_16 ~~                   LSAS_6   0.001  0.000
## 983                   STAI_13 ~~                   EAT_14   0.001  0.001
## 1434                   EAT_14 ~~                  LSAS_10   0.001 -0.001
## 414                    SDS_14 ~~                  LSAS_15   0.001  0.000
## 1234                   OCI_11 ~~                   LSAS_8   0.001 -0.001
## 352                    SDS_12 ~~                   EAT_12   0.001 -0.001
## 616                    AES_17 ~~                  STAI_15   0.001  0.000
## 258                     SDS_1 ~~                   LSAS_7   0.001  0.000
## 687                    AES_18 ~~                  LSAS_15   0.000  0.000
## 720                    STAI_1 ~~                   EAT_23   0.000  0.000
## 598                    SDS_20 ~~                  LSAS_11   0.000  0.000
## 1477                   EAT_23 ~~                   LSAS_2   0.000  0.000
## 1077                  STAI_19 ~~                    EAT_3   0.000  0.000
## 641                    AES_17 ~~                  LSAS_10   0.000  0.000
## 942                   STAI_12 ~~                    EAT_1   0.000  0.000
## 1117                  STAI_20 ~~                   LSAS_2   0.000  0.000
## 259                     SDS_1 ~~                   LSAS_8   0.000  0.000
## 1127                  STAI_20 ~~                  LSAS_18   0.000  0.000
##      sepc.lv sepc.all sepc.nox
## 1531   0.322    0.721    0.721
## 1561   0.160    0.775    0.775
## 1584   0.269    0.675    0.675
## 1552   0.136    0.565    0.565
## 607    0.204    0.482    0.482
## 117    0.560    0.476    0.476
## 821    0.154    0.486    0.486
## 1516   0.227    0.475    0.475
## 271    0.246    0.431    0.431
## 1132   0.447    0.414    0.414
## 897    0.100    0.432    0.432
## 1193   0.314    0.391    0.391
## 1513   0.199    0.410    0.410
## 1134   0.360    0.376    0.376
## 1162   0.352    0.374    0.374
## 179    3.515    0.371    0.371
## 1566  -0.113   -0.429   -0.429
## 1135   0.421    0.361    0.361
## 1444   0.262    0.416    0.416
## 1219   0.338    0.358    0.358
## 197    0.368    0.363    0.363
## 1133   0.364    0.352    0.352
## 1493   0.155    0.361    0.361
## 143    2.944    0.321    0.321
## 326    0.153    0.327    0.327
## 1573  -0.108   -0.352   -0.352
## 932    0.130    0.321    0.321
## 817    0.111    0.322    0.322
## 207    0.359    0.305    0.305
## 1563  -0.092   -0.344   -0.344
## 1510  -0.107   -0.334   -0.334
## 1191   0.245    0.294    0.294
## 1512   0.146    0.307    0.307
## 1407   0.323    0.307    0.307
## 1163   0.247    0.284    0.284
## 694    0.078    0.305    0.305
## 1388   0.229    0.337    0.337
## 862    0.121    0.281    0.281
## 273    0.149    0.279    0.279
## 1302   0.266    0.300    0.300
## 1321   0.221    0.291    0.291
## 1220   0.198    0.267    0.267
## 1570  -0.092   -0.294   -0.294
## 142    3.109    0.328    0.328
## 1325  -0.205   -0.290   -0.290
## 698    0.066    0.278    0.278
## 1130   1.523    0.254    0.254
## 1192   0.257    0.252    0.252
## 968    0.070    0.267    0.267
## 1270   2.261    0.247    0.247
## 1164   0.262    0.246    0.246
## 203    0.290    0.253    0.253
## 1509  -0.111   -0.256   -0.256
## 819    0.102    0.252    0.252
## 1576   0.103    0.260    0.260
## 1327   0.188    0.270    0.270
## 1300   0.229    0.272    0.272
## 1582   0.096    0.248    0.248
## 1511  -0.093   -0.250   -0.250
## 1160   2.104    0.227    0.227
## 323    0.117    0.232    0.232
## 113    0.268    0.233    0.233
## 1136   0.204    0.222    0.222
## 859    0.080    0.232    0.232
## 1558  -0.085   -0.238   -0.238
## 1534  -0.078   -0.242   -0.242
## 1217   1.782    0.220    0.220
## 469    0.104    0.226    0.226
## 332   -0.093   -0.225   -0.225
## 1225  -0.164   -0.232   -0.232
## 1105   0.163    0.216    0.216
## 1533  -0.066   -0.240   -0.240
## 1347  -0.180   -0.235   -0.235
## 1165   0.178    0.212    0.212
## 1555  -0.082   -0.226   -0.226
## 431   -0.073   -0.222   -0.222
## 124   -0.292   -0.193   -0.193
## 1391   0.186    0.235    0.235
## 1410   0.264    0.216    0.216
## 159   -0.115   -0.130   -0.130
## 1295   1.488    0.206    0.206
## 1530   0.924    0.215    0.215
## 165    0.163    0.180    0.180
## 1141  -0.194   -0.222   -0.222
## 894   -0.071   -0.207   -0.207
## 373    0.081    0.205    0.205
## 244    0.131    0.197    0.197
## 1189   1.616    0.191    0.191
## 1326   0.138    0.217    0.217
## 1244   1.421    0.190    0.190
## 1554  -0.071   -0.199   -0.199
## 572   -0.069   -0.192   -0.192
## 523   -0.089   -0.187   -0.187
## 567   -0.068   -0.190   -0.190
## 892    0.961    0.184    0.184
## 736   -0.074   -0.188   -0.188
## 276    0.090    0.182    0.182
## 1146  -0.193   -0.181   -0.181
## 374    0.092    0.177    0.177
## 815    1.137    0.172    0.172
## 435   -0.060   -0.181   -0.181
## 516    0.087    0.175    0.175
## 1544  -0.061   -0.183   -0.183
## 1501  -0.063   -0.174   -0.174
## 1069   0.076    0.169    0.169
## 660   -0.053   -0.175   -0.175
## 1303  -0.147   -0.185   -0.185
## 389   -0.079   -0.170   -0.170
## 1004   0.067    0.169    0.169
## 745   -0.061   -0.170   -0.170
## 570   -0.077   -0.167   -0.167
## 1304  -0.157   -0.180   -0.180
## 214   -0.221   -0.146   -0.146
## 1426  -0.119   -0.185   -0.185
## 896   -0.046   -0.172   -0.172
## 1344   0.114    0.177    0.177
## 1389  -0.116   -0.190   -0.190
## 1580  -0.870   -0.164   -0.164
## 702    0.041    0.171    0.171
## 1101   0.122    0.159    0.159
## 1596   8.290    0.163    0.163
## 322    0.080    0.163    0.163
## 1553   0.049    0.175    0.175
## 530   -0.086   -0.159   -0.159
## 128   -0.172   -0.130   -0.130
## 386   -0.061   -0.163   -0.163
## 204    0.167    0.161    0.161
## 200   -0.111   -0.124   -0.124
## 1198  -0.128   -0.167   -0.167
## 337   -0.066   -0.159   -0.159
## 1515  -0.073   -0.161   -0.161
## 282   -0.069   -0.157   -0.157
## 649   -0.872   -0.152   -0.152
## 336   -0.062   -0.157   -0.157
## 196   -0.106   -0.119   -0.119
## 232    0.059    0.154    0.154
## 206    0.141    0.156    0.156
## 1551  -0.632   -0.155   -0.155
## 1541  -0.612   -0.156   -0.156
## 156    0.129    0.132    0.132
## 160    0.121    0.119    0.119
## 158    0.103    0.112    0.112
## 738   -0.049   -0.156   -0.156
## 696   -0.044   -0.155   -0.155
## 239    0.066    0.150    0.150
## 424    0.069    0.149    0.149
## 962    0.066    0.152    0.152
## 384   -0.072   -0.151   -0.151
## 739    0.039    0.159    0.159
## 1585  -0.814   -0.150   -0.150
## 617   -0.049   -0.151   -0.151
## 1408  -0.148   -0.155   -0.155
## 218   -0.157   -0.118   -0.118
## 1251  -0.135   -0.156   -0.156
## 1104   0.089    0.144    0.144
## 421    0.061    0.149    0.149
## 1526  -0.065   -0.148   -0.148
## 1167  -0.121   -0.146   -0.146
## 692   -0.757   -0.141   -0.141
## 780    0.079    0.143    0.143
## 527   -0.063   -0.144   -0.144
## 933   -0.051   -0.147   -0.147
## 1271   0.911    0.142    0.142
## 1565   0.039    0.156    0.156
## 1345  -0.114   -0.157   -0.157
## 291    0.117    0.139    0.139
## 205    0.142    0.143    0.143
## 930    0.415    0.146    0.146
## 965   -0.846   -0.138   -0.138
## 162    0.088    0.099    0.099
## 704   -0.049   -0.140   -0.140
## 1324  -0.149   -0.143   -0.143
## 1539   0.059    0.142    0.142
## 471    0.055    0.138    0.138
## 697   -0.043   -0.141   -0.141
## 613   -0.045   -0.139   -0.139
## 1246   0.121    0.133    0.133
## 824    0.054    0.137    0.137
## 398   -0.083   -0.137   -0.137
## 1002  -0.039   -0.141   -0.141
## 388   -0.058   -0.135   -0.135
## 199    0.107    0.120    0.120
## 1517  -0.865   -0.133   -0.133
## 234   -0.060   -0.134   -0.134
## 1595  -0.520   -0.139   -0.139
## 788    0.095    0.130    0.130
## 880   -0.063   -0.134   -0.134
## 240    0.088    0.130    0.130
## 775   -0.577   -0.132   -0.132
## 427   -0.047   -0.135   -0.135
## 280   -0.053   -0.134   -0.134
## 147   -0.097   -0.095   -0.095
## 1202  -0.106   -0.134   -0.134
## 478   -0.039   -0.136   -0.136
## 1587   0.049    0.134    0.134
## 863    0.086    0.128    0.128
## 381   -0.050   -0.132   -0.132
## 382   -0.053   -0.131   -0.131
## 150   -0.109   -0.107   -0.107
## 1590  -0.479   -0.132   -0.132
## 383    0.042    0.133    0.133
## 658   -0.044   -0.129   -0.129
## 136   -0.091   -0.097   -0.097
## 181   -0.110   -0.123   -0.123
## 961    0.059    0.128    0.128
## 425    0.054    0.126    0.126
## 1521  -0.052   -0.128   -0.128
## 1255  -0.115   -0.129   -0.129
## 338   -0.046   -0.128   -0.128
## 645    0.054    0.125    0.125
## 746   -0.069   -0.125   -0.125
## 525   -0.069   -0.123   -0.123
## 114    0.131    0.126    0.126
## 1579   0.050    0.129    0.129
## 1578  -0.047   -0.128   -0.128
## 1222  -0.092   -0.125   -0.125
## 330   -0.047   -0.125   -0.125
## 741    0.035    0.128    0.128
## 320    0.797    0.120    0.120
## 269    0.640    0.121    0.121
## 1586  -0.482   -0.127   -0.127
## 787    0.091    0.119    0.119
## 482   -0.037   -0.127   -0.127
## 328    0.055    0.120    0.120
## 818   -0.034   -0.127   -0.127
## 565   -0.041   -0.125   -0.125
## 1138  -0.112   -0.123   -0.123
## 674   -0.094   -0.119   -0.119
## 743    0.032    0.127    0.127
## 769   -0.032   -0.128   -0.128
## 335   -0.063   -0.119   -0.119
## 1276  -0.086   -0.126   -0.126
## 548    0.070    0.119    0.119
## 539   -0.084   -0.119   -0.119
## 1594  -0.637   -0.119   -0.119
## 371   -0.521   -0.119   -0.119
## 969    0.041    0.119    0.119
## 518    0.057    0.117    0.117
## 229   -0.038   -0.121   -0.121
## 287   -0.051   -0.118   -0.118
## 1230  -0.100   -0.116   -0.116
## 549    0.065    0.116    0.116
## 472    0.044    0.117    0.117
## 619   -0.054   -0.114   -0.114
## 1588   0.046    0.120    0.120
## 789    0.076    0.112    0.112
## 1522  -0.038   -0.124   -0.124
## 1195  -0.092   -0.116   -0.116
## 429   -0.045   -0.115   -0.115
## 168   -0.089   -0.093   -0.093
## 856   -0.035   -0.118   -0.118
## 868    0.058    0.112    0.112
## 135   -0.071   -0.081   -0.081
## 960    0.051    0.114    0.114
## 1267  -0.073   -0.112   -0.112
## 1273  -0.080   -0.113   -0.113
## 663   -0.075   -0.110   -0.110
## 1427  -0.087   -0.125   -0.125
## 153   -0.077   -0.092   -0.092
## 285   -0.062   -0.111   -0.111
## 857    0.049    0.112    0.112
## 1036   0.036    0.114    0.114
## 670    0.060    0.114    0.114
## 1103   0.072    0.108    0.108
## 137   -0.098   -0.099   -0.099
## 524    0.042    0.113    0.113
## 1170  -0.093   -0.116   -0.116
## 217   -0.102   -0.073   -0.073
## 1348   0.081    0.118    0.118
## 860   -0.034   -0.114   -0.114
## 122    0.089    0.071    0.071
## 1122   0.044    0.109    0.109
## 1298  -0.107   -0.113   -0.113
## 1084  -0.059   -0.111   -0.111
## 1350  -0.098   -0.111   -0.111
## 426   -0.037   -0.109   -0.109
## 1542   0.043    0.110    0.110
## 592    0.041    0.107    0.107
## 202    0.103    0.114    0.114
## 1538  -0.043   -0.108   -0.108
## 748   -0.052   -0.106   -0.106
## 1265  -0.071   -0.106   -0.106
## 662   -0.046   -0.104   -0.104
## 522   -0.046   -0.106   -0.106
## 1266  -0.072   -0.106   -0.106
## 192   -0.077   -0.084   -0.084
## 691    0.042    0.106    0.106
## 1099   0.559    0.102    0.102
## 665   -0.061   -0.102   -0.102
## 473   -0.032   -0.107   -0.107
## 464    0.044    0.104    0.104
## 235   -0.035   -0.105   -0.105
## 1346  -0.118   -0.104   -0.104
## 163   -0.057   -0.063   -0.063
## 484   -0.043   -0.103   -0.103
## 1496  -0.036   -0.105   -0.105
## 1525  -0.048   -0.105   -0.105
## 1499  -0.039   -0.105   -0.105
## 771    0.034    0.105    0.105
## 208    0.090    0.102    0.102
## 1581   0.391    0.105    0.105
## 559    0.050    0.102    0.102
## 768   -0.024   -0.109   -0.109
## 116    0.095    0.104    0.104
## 115    0.102    0.103    0.103
## 816    0.464    0.101    0.101
## 853   -0.036   -0.103   -0.103
## 884    0.035    0.102    0.102
## 423    0.044    0.100    0.100
## 1527  -0.044   -0.101   -0.101
## 264   -0.039   -0.101   -0.101
## 1359  -0.057   -0.102   -0.102
## 747   -0.050   -0.100   -0.100
## 331   -0.056   -0.098   -0.098
## 557   -0.047   -0.099   -0.099
## 1498   0.031    0.105    0.105
## 1442   0.726    0.101    0.101
## 1390  -0.076   -0.114   -0.114
## 785    0.053    0.097    0.097
## 1297  -0.092   -0.104   -0.104
## 945    0.052    0.102    0.102
## 935    0.049    0.097    0.097
## 1543  -0.030   -0.105   -0.105
## 390   -0.070   -0.096   -0.096
## 169    0.069    0.074    0.074
## 145    0.082    0.079    0.079
## 1102   0.066    0.094    0.094
## 1262   0.059    0.097    0.097
## 289    0.048    0.095    0.095
## 1387   0.103    0.103    0.103
## 1190   0.564    0.095    0.095
## 506    0.033    0.098    0.098
## 725   -0.033   -0.097   -0.097
## 883    0.040    0.095    0.095
## 127   -0.089   -0.064   -0.064
## 302    0.091    0.094    0.094
## 243    0.051    0.093    0.093
## 357    0.041    0.094    0.094
## 1505   0.342    0.096    0.096
## 653   -0.045   -0.092   -0.092
## 170    0.068    0.074    0.074
## 212    0.074    0.059    0.059
## 377    0.039    0.092    0.092
## 545    0.061    0.095    0.095
## 735    0.280    0.094    0.094
## 1316   0.060    0.094    0.094
## 1257   0.058    0.091    0.091
## 808    0.031    0.097    0.097
## 174   -0.062   -0.063   -0.063
## 375    0.039    0.092    0.092
## 624   -0.064   -0.088   -0.088
## 1506   0.050    0.091    0.091
## 778    0.043    0.090    0.090
## 1404   0.049    0.097    0.097
## 385   -0.033   -0.092   -0.092
## 1406  -0.461   -0.096   -0.096
## 477   -0.033   -0.091   -0.091
## 311    0.047    0.089    0.089
## 1545  -0.039   -0.091   -0.091
## 279   -0.035   -0.090   -0.090
## 1236   0.044    0.088    0.088
## 1051  -0.035   -0.094   -0.094
## 1540   0.491    0.088    0.088
## 1269  -0.060   -0.089   -0.089
## 615   -0.032   -0.089   -0.089
## 1386   0.396    0.094    0.094
## 763    0.035    0.089    0.089
## 1243  -0.048   -0.087   -0.087
## 1371  -0.065   -0.093   -0.093
## 1100  -0.335   -0.087   -0.087
## 888   -0.034   -0.088   -0.088
## 468   -0.359   -0.087   -0.087
## 1362   0.048    0.088    0.088
## 1241  -0.046   -0.085   -0.085
## 1059  -0.025   -0.089   -0.089
## 1384  -0.041   -0.092   -0.092
## 324    0.038    0.086    0.086
## 992   -0.027   -0.088   -0.088
## 175   -0.060   -0.059   -0.059
## 701   -0.025   -0.088   -0.088
## 176    0.057    0.063    0.063
## 846    0.028    0.087    0.087
## 1050   0.037    0.090    0.090
## 1089   0.036    0.084    0.084
## 708   -0.037   -0.084   -0.084
## 294    0.056    0.082    0.082
## 1154   0.046    0.086    0.086
## 1155  -0.057   -0.084   -0.084
## 1535  -0.035   -0.086   -0.086
## 921   -0.024   -0.087   -0.087
## 1403  -0.043   -0.089   -0.089
## 1145  -0.077   -0.086   -0.086
## 782    0.036    0.083    0.083
## 1572   0.026    0.089    0.089
## 553   -0.029   -0.088   -0.088
## 1360  -0.049   -0.085   -0.085
## 411   -0.032   -0.084   -0.084
## 1218   0.465    0.082    0.082
## 855    0.283    0.084    0.084
## 867    0.054    0.081    0.081
## 193    0.088    0.090    0.090
## 184   -0.076   -0.075   -0.075
## 786    0.067    0.079    0.079
## 1357   0.033    0.087    0.087
## 1052  -0.035   -0.086   -0.086
## 152   -0.060   -0.076   -0.076
## 321   -0.377   -0.081   -0.081
## 517    0.041    0.079    0.079
## 731   -0.025   -0.082   -0.082
## 552   -0.036   -0.081   -0.081
## 284   -0.030   -0.082   -0.082
## 648    0.034    0.080    0.080
## 1323  -0.061   -0.090   -0.090
## 1020   0.045    0.081    0.081
## 261    0.028    0.081    0.081
## 750   -0.044   -0.080   -0.080
## 864    0.047    0.078    0.078
## 656   -0.024   -0.081   -0.081
## 751   -0.034   -0.079   -0.079
## 1252  -0.103   -0.077   -0.077
## 1027   0.020    0.084    0.084
## 221    0.033    0.079    0.079
## 392   -0.049   -0.077   -0.077
## 705   -0.042   -0.077   -0.077
## 887   -0.030   -0.079   -0.079
## 177    0.051    0.056    0.056
## 1393   0.051    0.083    0.083
## 895    0.021    0.081    0.081
## 189    0.071    0.090    0.090
## 408    0.037    0.076    0.076
## 749   -0.034   -0.076   -0.076
## 560   -0.492   -0.074   -0.074
## 646    0.031    0.075    0.075
## 1550   0.435    0.075    0.075
## 1188  -0.047   -0.075   -0.075
## 953    0.041    0.075    0.075
## 1524   0.034    0.076    0.076
## 1094  -0.030   -0.075   -0.075
## 830    0.035    0.074    0.074
## 515    0.271    0.076    0.076
## 365   -0.034   -0.075   -0.075
## 185    0.071    0.074    0.074
## 590    0.041    0.077    0.077
## 842   -0.032   -0.075   -0.075
## 612   -0.030   -0.073   -0.073
## 964    0.034    0.075    0.075
## 654   -0.026   -0.074   -0.074
## 664   -0.045   -0.072   -0.072
## 503   -0.032   -0.074   -0.074
## 734   -0.312   -0.074   -0.074
## 806   -0.038   -0.073   -0.073
## 777    0.032    0.074    0.074
## 315   -0.036   -0.074   -0.074
## 380   -0.038   -0.073   -0.073
## 1500  -0.029   -0.075   -0.075
## 1152   0.045    0.073    0.073
## 1074   0.049    0.071    0.071
## 1317   0.047    0.075    0.075
## 1232  -0.048   -0.072   -0.072
## 301   -0.048   -0.077   -0.077
## 666   -0.039   -0.071   -0.071
## 979    0.036    0.074    0.074
## 800   -0.047   -0.074   -0.074
## 770    0.024    0.074    0.074
## 1256  -0.075   -0.071   -0.071
## 1142  -0.096   -0.070   -0.070
## 1203  -0.066   -0.071   -0.071
## 767   -0.021   -0.074   -0.074
## 1474   0.039    0.075    0.075
## 1401   0.039    0.077    0.077
## 479   -0.031   -0.072   -0.072
## 822   -0.020   -0.074   -0.074
## 1368  -0.048   -0.081   -0.081
## 1125  -0.031   -0.072   -0.072
## 1120   0.033    0.071    0.071
## 148    0.054    0.056    0.056
## 1214  -0.040   -0.070   -0.070
## 123   -0.066   -0.044   -0.044
## 1289   0.030    0.072    0.072
## 1070   0.048    0.069    0.069
## 157    0.044    0.048    0.048
## 1294  -0.037   -0.070   -0.070
## 809    0.027    0.072    0.072
## 1248  -0.064   -0.071   -0.071
## 1287   0.033    0.070    0.070
## 1045  -0.030   -0.073   -0.073
## 1523   0.026    0.074    0.074
## 480   -0.023   -0.072   -0.072
## 1320  -0.447   -0.071   -0.071
## 290    0.037    0.068    0.068
## 1003  -0.025   -0.069   -0.069
## 288   -0.027   -0.070   -0.070
## 1072   0.041    0.067    0.067
## 475   -0.032   -0.069   -0.069
## 699   -0.025   -0.070   -0.070
## 529   -0.034   -0.068   -0.068
## 1508  -0.035   -0.068   -0.068
## 1290  -0.035   -0.067   -0.067
## 805   -0.034   -0.066   -0.066
## 899   -0.023   -0.068   -0.068
## 334   -0.024   -0.068   -0.068
## 575   -0.030   -0.066   -0.066
## 655   -0.026   -0.066   -0.066
## 991   -0.025   -0.067   -0.067
## 154   -0.037   -0.045   -0.045
## 1239  -0.036   -0.066   -0.066
## 191   -0.047   -0.056   -0.056
## 726   -0.019   -0.068   -0.068
## 1095  -0.027   -0.067   -0.067
## 1528  -0.030   -0.067   -0.067
## 1131  -0.277   -0.066   -0.066
## 281   -0.039   -0.065   -0.065
## 866    0.035    0.064    0.064
## 351   -0.041   -0.069   -0.069
## 255   -0.040   -0.066   -0.066
## 1157  -0.043   -0.065   -0.065
## 1589  -0.337   -0.065   -0.065
## 404    0.037    0.068    0.068
## 372    0.030    0.065    0.065
## 459    0.026    0.066    0.066
## 1113   0.040    0.067    0.067
## 1247  -0.074   -0.066   -0.066
## 1184  -0.040   -0.065   -0.065
## 958    0.021    0.069    0.069
## 1340  -0.034   -0.067   -0.067
## 1571  -0.021   -0.069   -0.069
## 275   -0.038   -0.064   -0.064
## 685   -0.018   -0.068   -0.068
## 1395   0.036    0.068    0.068
## 1229  -0.048   -0.066   -0.066
## 773   -0.020   -0.066   -0.066
## 412   -0.019   -0.068   -0.068
## 839   -0.031   -0.067   -0.067
## 233    0.020    0.066    0.066
## 146    0.051    0.053    0.053
## 531   -0.053   -0.062   -0.062
## 891   -0.025   -0.065   -0.065
## 740    0.024    0.065    0.065
## 1277  -0.066   -0.062   -0.062
## 1054  -0.019   -0.065   -0.065
## 829    0.038    0.063    0.063
## 1115  -0.038   -0.065   -0.065
## 438    0.046    0.062    0.062
## 903   -0.026   -0.063   -0.063
## 603    0.024    0.063    0.063
## 1491  -0.373   -0.064   -0.064
## 954   -0.032   -0.062   -0.062
## 956   -0.030   -0.062   -0.062
## 172   -0.030   -0.035   -0.035
## 1112   0.054    0.061    0.061
## 448   -0.036   -0.066   -0.066
## 526   -0.026   -0.063   -0.063
## 643   -0.021   -0.064   -0.064
## 1106   0.036    0.060    0.060
## 814   -0.030   -0.062   -0.062
## 1194  -0.062   -0.062   -0.062
## 865    0.035    0.061    0.061
## 1238   0.027    0.063    0.063
## 1119  -0.031   -0.061   -0.061
## 470    0.024    0.062    0.062
## 1392  -0.031   -0.065   -0.065
## 1183   0.030    0.063    0.063
## 310    0.031    0.061    0.061
## 252    0.033    0.063    0.063
## 1108  -0.036   -0.062   -0.062
## 434   -0.024   -0.061   -0.061
## 1283  -0.038   -0.059   -0.059
## 309   -0.033   -0.060   -0.060
## 1364   0.463    0.060    0.060
## 1196   0.051    0.060    0.060
## 1254  -0.051   -0.062   -0.062
## 1033  -0.022   -0.061   -0.061
## 620   -0.043   -0.058   -0.058
## 1562  -0.017   -0.067   -0.067
## 985   -0.028   -0.063   -0.063
## 934   -0.027   -0.059   -0.059
## 190    0.052    0.062    0.062
## 173   -0.033   -0.035   -0.035
## 213   -0.055   -0.036   -0.036
## 370    0.364    0.058    0.058
## 230    0.028    0.059    0.059
## 1159  -0.040   -0.059   -0.059
## 628    0.036    0.059    0.059
## 791    0.037    0.057    0.057
## 1037  -0.021   -0.060   -0.060
## 1425  -0.441   -0.059   -0.059
## 1296  -0.295   -0.058   -0.058
## 811   -0.029   -0.059   -0.059
## 764    0.022    0.060    0.060
## 1076   0.040    0.059    0.059
## 1518  -0.272   -0.060   -0.060
## 1497  -0.016   -0.063   -0.063
## 1370  -0.039   -0.066   -0.066
## 132    0.053    0.057    0.057
## 781    0.024    0.058    0.058
## 1446   0.027    0.060    0.060
## 835    0.028    0.062    0.062
## 368    0.025    0.058    0.058
## 268   -0.023   -0.058   -0.058
## 594    0.026    0.057    0.057
## 1301   0.076    0.058    0.058
## 1216  -0.034   -0.057   -0.057
## 1128  -0.024   -0.057   -0.057
## 920   -0.019   -0.058   -0.058
## 1179   0.036    0.056    0.056
## 630   -0.032   -0.060   -0.060
## 810   -0.027   -0.057   -0.057
## 1405  -0.408   -0.059   -0.059
## 395   -0.032   -0.056   -0.056
## 1286   0.032    0.056    0.056
## 1016  -0.040   -0.057   -0.057
## 1490  -0.467   -0.056   -0.056
## 360    0.027    0.056    0.056
## 993    0.014    0.060    0.060
## 1385  -0.351   -0.058   -0.058
## 1398  -0.021   -0.063   -0.063
## 690    0.021    0.056    0.056
## 1097   0.022    0.056    0.056
## 675   -0.031   -0.058   -0.058
## 790    0.045    0.055    0.055
## 1182   0.024    0.058    0.058
## 138   -0.050   -0.049   -0.049
## 225    0.022    0.056    0.056
## 1342  -0.403   -0.056   -0.056
## 871    0.031    0.056    0.056
## 882    0.023    0.056    0.056
## 1504   0.280    0.055    0.055
## 627    0.032    0.056    0.056
## 1121   0.026    0.055    0.055
## 488   -0.029   -0.055   -0.055
## 972   -0.029   -0.055   -0.055
## 1451  -0.025   -0.058   -0.058
## 1353  -0.036   -0.055   -0.055
## 558   -0.025   -0.055   -0.055
## 639   -0.024   -0.054   -0.054
## 589    0.028    0.057    0.057
## 486   -0.032   -0.054   -0.054
## 1470   0.030    0.058    0.058
## 1367  -0.051   -0.058   -0.058
## 1520  -0.027   -0.055   -0.055
## 1402   0.029    0.058    0.058
## 1468  -0.021   -0.060   -0.060
## 659   -0.019   -0.055   -0.055
## 946    0.033    0.057    0.057
## 566   -0.027   -0.054   -0.054
## 329   -0.020   -0.054   -0.054
## 711   -0.029   -0.056   -0.056
## 952   -0.023   -0.054   -0.054
## 1352  -0.038   -0.054   -0.054
## 926   -0.016   -0.055   -0.055
## 774    0.018    0.055    0.055
## 249   -0.025   -0.056   -0.056
## 394    0.038    0.053    0.053
## 265   -0.021   -0.054   -0.054
## 803   -0.031   -0.053   -0.053
## 1307  -0.043   -0.054   -0.054
## 1281  -0.044   -0.053   -0.053
## 632   -0.031   -0.054   -0.054
## 1235   0.031    0.052    0.052
## 568   -0.021   -0.053   -0.053
## 223   -0.020   -0.053   -0.053
## 242    0.030    0.052    0.052
## 327    0.025    0.051    0.051
## 1429  -0.027   -0.054   -0.054
## 1175  -0.050   -0.052   -0.052
## 355    0.033    0.054    0.054
## 155   -0.030   -0.033   -0.033
## 1431  -0.033   -0.054   -0.054
## 210   -0.048   -0.036   -0.036
## 976   -0.023   -0.051   -0.051
## 1026   0.017    0.053    0.053
## 776    0.162    0.053    0.053
## 587   -0.041   -0.051   -0.051
## 194    0.041    0.045    0.045
## 1109   0.033    0.052    0.052
## 1280  -0.037   -0.053   -0.053
## 1381  -0.025   -0.055   -0.055
## 840    0.029    0.052    0.052
## 900   -0.027   -0.052   -0.052
## 419   -0.287   -0.051   -0.051
## 1139   0.050    0.051    0.051
## 499    0.026    0.053    0.053
## 556    0.025    0.051    0.051
## 250   -0.027   -0.054   -0.054
## 1453  -0.021   -0.055   -0.055
## 347    0.039    0.051    0.051
## 1049   0.031    0.051    0.051
## 998    0.017    0.051    0.051
## 130   -0.053   -0.050   -0.050
## 1373  -0.028   -0.052   -0.052
## 1546  -0.022   -0.051   -0.051
## 1583  -0.020   -0.052   -0.052
## 436    0.022    0.049    0.049
## 1332   0.028    0.051    0.051
## 1186  -0.030   -0.049   -0.049
## 651   -0.016   -0.050   -0.050
## 794    0.035    0.049    0.049
## 476    0.017    0.051    0.051
## 922   -0.011   -0.054   -0.054
## 1185  -0.031   -0.049   -0.049
## 955   -0.023   -0.049   -0.049
## 1231   0.025    0.048    0.048
## 513   -0.019   -0.050   -0.050
## 209    0.056    0.036    0.036
## 1503  -0.019   -0.050   -0.050
## 914   -0.020   -0.052   -0.052
## 1378   0.016    0.054    0.054
## 1032  -0.017   -0.049   -0.049
## 1445  -0.038   -0.052   -0.052
## 460   -0.015   -0.051   -0.051
## 1174  -0.041   -0.050   -0.050
## 1560  -0.170   -0.050   -0.050
## 1487   0.029    0.049    0.049
## 792    0.039    0.049    0.049
## 563    0.019    0.048    0.048
## 1469  -0.021   -0.052   -0.052
## 316   -0.024   -0.048   -0.048
## 667   -0.032   -0.047   -0.047
## 483   -0.018   -0.048   -0.048
## 1053   0.023    0.049    0.049
## 1153   0.023    0.050    0.050
## 1085  -0.030   -0.047   -0.047
## 949   -0.027   -0.049   -0.049
## 1024   0.018    0.048    0.048
## 422   -0.025   -0.047   -0.047
## 569    0.015    0.049    0.049
## 1098   0.019    0.048    0.048
## 755    0.018    0.050    0.050
## 684    0.017    0.047    0.047
## 916   -0.014   -0.048   -0.048
## 167   -0.039   -0.036   -0.036
## 898   -0.015   -0.048   -0.048
## 606   -0.179   -0.047   -0.047
## 359   -0.024   -0.046   -0.046
## 1335  -0.018   -0.050   -0.050
## 378    0.016    0.047    0.047
## 1519   0.022    0.046    0.046
## 1242   0.024    0.046    0.046
## 219    0.022    0.046    0.046
## 1494   0.018    0.046    0.046
## 695   -0.018   -0.046   -0.046
## 224   -0.022   -0.046   -0.046
## 571   -0.016   -0.047   -0.047
## 1479  -0.032   -0.046   -0.046
## 1409  -0.049   -0.048   -0.048
## 504   -0.018   -0.046   -0.046
## 406    0.018    0.046    0.046
## 430    0.019    0.046    0.046
## 1088  -0.021   -0.045   -0.045
## 440   -0.029   -0.045   -0.045
## 149   -0.030   -0.031   -0.031
## 836   -0.032   -0.045   -0.045
## 1149  -0.035   -0.044   -0.044
## 710   -0.019   -0.045   -0.045
## 129    0.037    0.044    0.044
## 307    0.021    0.045    0.045
## 1412   0.042    0.044    0.044
## 318    0.021    0.045    0.045
## 608   -0.015   -0.044   -0.044
## 496   -0.033   -0.045   -0.045
## 1064  -0.014   -0.046   -0.046
## 724   -0.015   -0.045   -0.045
## 629    0.022    0.046    0.046
## 729    0.014    0.045    0.045
## 1358   0.021    0.046    0.046
## 452    0.026    0.046    0.046
## 1237   0.017    0.046    0.046
## 893   -0.163   -0.044   -0.044
## 257   -0.021   -0.044   -0.044
## 353    0.028    0.045    0.045
## 1399  -0.019   -0.049   -0.049
## 1048   0.019    0.047    0.047
## 1448   0.025    0.045    0.045
## 520    0.017    0.044    0.044
## 728    0.011    0.046    0.046
## 990   -0.016   -0.044   -0.044
## 1035   0.147    0.044    0.044
## 647    0.017    0.043    0.043
## 1532   0.016    0.044    0.044
## 709   -0.023   -0.042   -0.042
## 418    0.018    0.043    0.043
## 1356   0.022    0.043    0.043
## 274    0.020    0.043    0.043
## 1529  -0.255   -0.042   -0.042
## 970   -0.016   -0.043   -0.043
## 1341   0.023    0.044    0.044
## 361    0.021    0.042    0.042
## 580   -0.028   -0.041   -0.041
## 927   -0.012   -0.043   -0.043
## 432    0.021    0.042    0.042
## 551   -0.022   -0.041   -0.041
## 166    0.027    0.032    0.032
## 982    0.028    0.042    0.042
## 416   -0.017   -0.042   -0.042
## 1549   0.018    0.043    0.043
## 1435   0.016    0.046    0.046
## 1559   0.202    0.042    0.042
## 1057   0.014    0.043    0.043
## 1507   0.021    0.042    0.042
## 1424  -0.432   -0.041   -0.041
## 718    0.016    0.044    0.044
## 1288   0.015    0.043    0.043
## 638   -0.020   -0.041   -0.041
## 913   -0.016   -0.044   -0.044
## 758   -0.018   -0.043   -0.043
## 602   -0.016   -0.041   -0.041
## 1375  -0.020   -0.043   -0.043
## 845    0.016    0.041    0.041
## 941    0.024    0.040    0.040
## 966    0.174    0.041    0.041
## 579   -0.022   -0.040   -0.040
## 614    0.019    0.040    0.040
## 1223   0.032    0.040    0.040
## 178   -0.028   -0.028   -0.028
## 640    0.018    0.039    0.039
## 164    0.028    0.033    0.033
## 1568   0.111    0.044    0.044
## 1173  -0.031   -0.041   -0.041
## 841    0.014    0.040    0.040
## 1090   0.017    0.039    0.039
## 511    0.015    0.040    0.040
## 1171  -0.048   -0.039   -0.039
## 1354  -0.024   -0.040   -0.040
## 1383   0.018    0.042    0.042
## 759    0.016    0.042    0.042
## 1343  -0.205   -0.041   -0.041
## 721   -0.012   -0.040   -0.040
## 121    0.039    0.031    0.031
## 1093   0.013    0.041    0.041
## 929   -0.161   -0.040   -0.040
## 547    0.018    0.039    0.039
## 783    0.015    0.040    0.040
## 652    0.013    0.040    0.040
## 433   -0.015   -0.039   -0.039
## 1177  -0.029   -0.038   -0.038
## 1091   0.014    0.039    0.039
## 931    0.015    0.039    0.039
## 1068   0.115    0.040    0.040
## 561    0.177    0.038    0.038
## 719    0.016    0.040    0.040
## 723    0.014    0.038    0.038
## 1030  -0.014   -0.039   -0.039
## 319   -0.018   -0.038   -0.038
## 367    0.017    0.038    0.038
## 1293   0.019    0.037    0.037
## 848   -0.011   -0.039   -0.039
## 928    0.012    0.039    0.039
## 1249   0.036    0.037    0.037
## 756    0.017    0.040    0.040
## 1379   0.014    0.041    0.041
## 1339   0.020    0.038    0.038
## 358   -0.021   -0.037   -0.037
## 241    0.022    0.036    0.036
## 1382   0.017    0.039    0.039
## 975   -0.021   -0.037   -0.037
## 918    0.013    0.038    0.038
## 1086   0.014    0.037    0.037
## 1087  -0.018   -0.036   -0.036
## 314    0.014    0.038    0.038
## 1564  -0.010   -0.040   -0.040
## 379    0.013    0.038    0.038
## 631   -0.030   -0.036   -0.036
## 977    0.021    0.038    0.038
## 1452  -0.013   -0.040   -0.040
## 501   -0.013   -0.036   -0.036
## 293    0.026    0.035    0.035
## 707   -0.017   -0.036   -0.036
## 456   -0.018   -0.036   -0.036
## 1126  -0.016   -0.036   -0.036
## 661   -0.014   -0.035   -0.035
## 688    0.014    0.036    0.036
## 834    0.015    0.038    0.038
## 1363  -0.021   -0.037   -0.037
## 827    0.019    0.035    0.035
## 1158   0.023    0.035    0.035
## 1514   0.017    0.036    0.036
## 342   -0.025   -0.034   -0.034
## 295    0.029    0.035    0.035
## 1096  -0.014   -0.035   -0.035
## 904    0.018    0.035    0.035
## 854    0.167    0.035    0.035
## 901    0.017    0.035    0.035
## 139   -0.029   -0.033   -0.033
## 403    0.018    0.036    0.036
## 546   -0.026   -0.034   -0.034
## 1044  -0.018   -0.036   -0.036
## 1365   0.189    0.035    0.035
## 609   -0.012   -0.034   -0.034
## 439    0.023    0.033    0.033
## 201    0.030    0.036    0.036
## 502   -0.016   -0.034   -0.034
## 1495  -0.014   -0.034   -0.034
## 1459   0.225    0.035    0.035
## 1430   0.023    0.035    0.035
## 1025   0.013    0.034    0.034
## 420    0.136    0.034    0.034
## 1073   0.019    0.033    0.033
## 1034   0.160    0.033    0.033
## 1460   0.160    0.035    0.035
## 947    0.030    0.033    0.033
## 1200   0.027    0.034    0.034
## 304    0.020    0.035    0.035
## 823   -0.012   -0.034   -0.034
## 542   -0.032   -0.033   -0.033
## 391   -0.022   -0.033   -0.033
## 465    0.014    0.033    0.033
## 1197  -0.023   -0.034   -0.034
## 912   -0.014   -0.035   -0.035
## 1472  -0.017   -0.035   -0.035
## 948   -0.021   -0.034   -0.034
## 610   -0.017   -0.032   -0.032
## 677    0.018    0.034    0.034
## 340   -0.017   -0.032   -0.032
## 497   -0.017   -0.034   -0.034
## 807    0.015    0.033    0.033
## 760    0.015    0.035    0.035
## 1411   0.024    0.033    0.033
## 195    0.028    0.030    0.030
## 1592   0.166    0.033    0.033
## 828    0.016    0.032    0.032
## 852   -0.011   -0.033   -0.033
## 996   -0.011   -0.033   -0.033
## 1417  -0.018   -0.034   -0.034
## 1377  -0.014   -0.034   -0.034
## 144   -0.022   -0.025   -0.025
## 536   -0.020   -0.031   -0.031
## 228    0.010    0.033    0.033
## 1355  -0.020   -0.032   -0.032
## 1415   0.027    0.032    0.032
## 1205  -0.023   -0.031   -0.031
## 987   -0.010   -0.032   -0.032
## 272   -0.016   -0.032   -0.032
## 1481   0.021    0.032    0.032
## 1440   0.017    0.033    0.033
## 601   -0.013   -0.032   -0.032
## 399   -0.016   -0.033   -0.033
## 963   -0.014   -0.032   -0.032
## 1591   0.012    0.033    0.033
## 1123   0.010    0.033    0.033
## 1212  -0.018   -0.031   -0.031
## 562   -0.013   -0.031   -0.031
## 611   -0.012   -0.031   -0.031
## 405   -0.020   -0.031   -0.031
## 487    0.017    0.031    0.031
## 605    0.165    0.030    0.030
## 905   -0.012   -0.031   -0.031
## 1461   0.026    0.033    0.033
## 889    0.012    0.031    0.031
## 251    0.024    0.030    0.030
## 1166  -0.032   -0.031   -0.031
## 936   -0.023   -0.030   -0.030
## 254   -0.016   -0.032   -0.032
## 875    0.016    0.032    0.032
## 493   -0.017   -0.031   -0.031
## 678   -0.019   -0.030   -0.030
## 911   -0.018   -0.031   -0.031
## 1148  -0.025   -0.030   -0.030
## 1306   0.019    0.031    0.031
## 995    0.010    0.031    0.031
## 621   -0.019   -0.029   -0.029
## 1056   0.011    0.031    0.031
## 1450   0.016    0.031    0.031
## 713    0.014    0.031    0.031
## 1329  -0.015   -0.031   -0.031
## 317   -0.014   -0.030   -0.030
## 1308  -0.023   -0.030   -0.030
## 350   -0.016   -0.031   -0.031
## 407    0.015    0.030    0.030
## 467    0.171    0.029    0.029
## 973   -0.015   -0.030   -0.030
## 519    0.012    0.030    0.030
## 1284  -0.018   -0.029   -0.029
## 635   -0.019   -0.029   -0.029
## 462   -0.013   -0.030   -0.030
## 450    0.018    0.030    0.030
## 885    0.008    0.031    0.031
## 1009   0.018    0.029    0.029
## 514   -0.148   -0.029   -0.029
## 401   -0.024   -0.029   -0.029
## 837   -0.014   -0.030   -0.030
## 454    0.012    0.029    0.029
## 248   -0.016   -0.029   -0.029
## 428   -0.015   -0.029   -0.029
## 1416  -0.021   -0.029   -0.029
## 363   -0.009   -0.030   -0.030
## 356   -0.021   -0.029   -0.029
## 1480   0.019    0.029    0.029
## 1322   0.019    0.032    0.032
## 341    0.022    0.028    0.028
## 1143   0.027    0.029    0.029
## 300   -0.016   -0.030   -0.030
## 119   -0.033   -0.021   -0.021
## 1210   0.012    0.030    0.030
## 1492   0.013    0.029    0.029
## 354    0.016    0.029    0.029
## 1315  -0.020   -0.029   -0.029
## 1274   0.022    0.028    0.028
## 593   -0.014   -0.028   -0.028
## 492    0.015    0.029    0.029
## 220    0.013    0.028    0.028
## 1473  -0.015   -0.029   -0.029
## 849    0.010    0.029    0.029
## 457   -0.013   -0.028   -0.028
## 917    0.010    0.029    0.029
## 801   -0.021   -0.027   -0.027
## 509    0.010    0.028    0.028
## 131   -0.027   -0.029   -0.029
## 1178   0.019    0.027    0.027
## 825    0.017    0.027    0.027
## 369    0.013    0.028    0.028
## 554   -0.011   -0.028   -0.028
## 989   -0.011   -0.028   -0.028
## 1208   0.017    0.027    0.027
## 908    0.012    0.028    0.028
## 997    0.009    0.028    0.028
## 1369   0.017    0.031    0.031
## 555    0.013    0.027    0.027
## 978    0.013    0.028    0.028
## 1292  -0.014   -0.027   -0.027
## 1333   0.016    0.028    0.028
## 1250   0.021    0.028    0.028
## 623   -0.015   -0.026   -0.026
## 1465  -0.015   -0.028   -0.028
## 1432  -0.015   -0.028   -0.028
## 1314   0.018    0.028    0.028
## 1124   0.010    0.028    0.028
## 299    0.019    0.027    0.027
## 600   -0.011   -0.027   -0.027
## 870   -0.014   -0.027   -0.027
## 396   -0.019   -0.027   -0.027
## 1361  -0.015   -0.027   -0.027
## 442    0.019    0.026    0.026
## 1372   0.012    0.027    0.027
## 1441  -0.015   -0.027   -0.027
## 937    0.018    0.025    0.025
## 1577   0.010    0.027    0.027
## 187   -0.028   -0.027   -0.027
## 1483  -0.011   -0.028   -0.028
## 772   -0.008   -0.026   -0.026
## 813    0.012    0.026    0.026
## 980   -0.010   -0.027   -0.027
## 1482  -0.014   -0.026   -0.026
## 1569  -0.008   -0.027   -0.027
## 1436  -0.011   -0.027   -0.027
## 512   -0.009   -0.025   -0.025
## 1079   0.012    0.026    0.026
## 1008   0.012    0.025    0.025
## 278    0.012    0.025    0.025
## 1574  -0.108   -0.026   -0.026
## 804   -0.014   -0.025   -0.025
## 642   -0.007   -0.026   -0.026
## 644    0.010    0.025    0.025
## 826    0.014    0.025    0.025
## 1433  -0.015   -0.026   -0.026
## 447    0.012    0.026    0.026
## 673   -0.013   -0.026   -0.026
## 940   -0.019   -0.024   -0.024
## 574   -0.010   -0.024   -0.024
## 186    0.020    0.021    0.021
## 297    0.020    0.025    0.025
## 597   -0.009   -0.025   -0.025
## 1366   0.016    0.029    0.029
## 578   -0.014   -0.024   -0.024
## 393   -0.014   -0.024   -0.024
## 376    0.011    0.024    0.024
## 974   -0.011   -0.024   -0.024
## 495   -0.012   -0.026   -0.026
## 466    0.010    0.024    0.024
## 544    0.014    0.025    0.025
## 1118  -0.013   -0.024   -0.024
## 481   -0.008   -0.024   -0.024
## 474    0.007    0.025    0.025
## 1007   0.013    0.023    0.023
## 596   -0.010   -0.024   -0.024
## 1299  -0.019   -0.026   -0.026
## 881   -0.010   -0.024   -0.024
## 533   -0.017   -0.023   -0.023
## 737    0.007    0.024    0.024
## 832   -0.011   -0.024   -0.024
## 262   -0.007   -0.025   -0.025
## 443   -0.013   -0.023   -0.023
## 869   -0.015   -0.024   -0.024
## 1011  -0.014   -0.024   -0.024
## 1019   0.011    0.024    0.024
## 1017  -0.011   -0.024   -0.024
## 1168  -0.021   -0.023   -0.023
## 1418  -0.015   -0.024   -0.024
## 622   -0.014   -0.022   -0.022
## 682   -0.009   -0.023   -0.023
## 364   -0.008   -0.024   -0.024
## 413   -0.008   -0.024   -0.024
## 541   -0.015   -0.024   -0.024
## 909   -0.008   -0.024   -0.024
## 858   -0.008   -0.023   -0.023
## 1001   0.074    0.023    0.023
## 1278   0.016    0.023    0.023
## 198   -0.017   -0.019   -0.019
## 226   -0.009   -0.022   -0.022
## 1201  -0.016   -0.023   -0.023
## 1043  -0.009   -0.022   -0.022
## 1062  -0.007   -0.023   -0.023
## 1180   0.015    0.022    0.022
## 793   -0.015   -0.022   -0.022
## 717   -0.010   -0.023   -0.023
## 1396   0.013    0.023    0.023
## 507    0.006    0.023    0.023
## 1080   0.012    0.023    0.023
## 1000   0.100    0.022    0.022
## 988    0.009    0.022    0.022
## 1263  -0.010   -0.023   -0.023
## 591   -0.014   -0.022   -0.022
## 1156   0.015    0.021    0.021
## 1311   0.013    0.022    0.022
## 838   -0.010   -0.022   -0.022
## 1015   0.010    0.023    0.023
## 1376  -0.011   -0.022   -0.022
## 1169  -0.016   -0.022   -0.022
## 141    0.019    0.019    0.019
## 1199   0.025    0.021    0.021
## 1227   0.016    0.022    0.022
## 1443  -0.112   -0.022   -0.022
## 636   -0.008   -0.021   -0.021
## 981    0.010    0.023    0.023
## 706   -0.010   -0.021   -0.021
## 298   -0.014   -0.021   -0.021
## 490   -0.010   -0.021   -0.021
## 1006   0.011    0.020    0.020
## 1438   0.012    0.022    0.022
## 306   -0.016   -0.021   -0.021
## 1548  -0.009   -0.021   -0.021
## 1575   0.065    0.022    0.022
## 1206   0.014    0.020    0.020
## 1176  -0.012   -0.020   -0.020
## 485    0.013    0.020    0.020
## 1567   0.077    0.021    0.021
## 216   -0.017   -0.013   -0.013
## 1331  -0.013   -0.021   -0.021
## 1537   0.008    0.021    0.021
## 1228  -0.014   -0.021   -0.021
## 890    0.007    0.020    0.020
## 1042   0.011    0.020    0.020
## 1437   0.011    0.021    0.021
## 1060  -0.004   -0.022   -0.022
## 397    0.011    0.021    0.021
## 445    0.012    0.020    0.020
## 714    0.007    0.021    0.021
## 415   -0.009   -0.020   -0.020
## 582   -0.014   -0.020   -0.020
## 292    0.015    0.019    0.019
## 437    0.009    0.020    0.020
## 1489   0.012    0.020    0.020
## 540   -0.011   -0.020   -0.020
## 618   -0.008   -0.019   -0.019
## 1181  -0.011   -0.019   -0.019
## 1264   0.010    0.020    0.020
## 873   -0.010   -0.020   -0.020
## 757   -0.012   -0.019   -0.019
## 765    0.007    0.020    0.020
## 878   -0.012   -0.019   -0.019
## 325    0.011    0.019    0.019
## 339   -0.009   -0.019   -0.019
## 672    0.009    0.020    0.020
## 1330   0.012    0.019    0.019
## 343    0.013    0.018    0.018
## 188   -0.017   -0.018   -0.018
## 505    0.008    0.019    0.019
## 1309   0.013    0.019    0.019
## 455    0.010    0.019    0.019
## 1151   0.013    0.018    0.018
## 716   -0.011   -0.018   -0.018
## 215   -0.017   -0.012   -0.012
## 444   -0.013   -0.019   -0.019
## 886    0.006    0.019    0.019
## 1209   0.010    0.018    0.018
## 802   -0.008   -0.018   -0.018
## 1137  -0.021   -0.018   -0.018
## 451    0.010    0.019    0.019
## 586   -0.010   -0.019   -0.019
## 1081   0.014    0.018    0.018
## 939    0.011    0.018    0.018
## 461    0.006    0.019    0.019
## 1449   0.009    0.019    0.019
## 752   -0.010   -0.019   -0.019
## 1380   0.008    0.019    0.019
## 951   -0.013   -0.018   -0.018
## 1028  -0.005   -0.018   -0.018
## 625   -0.010   -0.017   -0.017
## 180    0.114    0.012    0.012
## 1285   0.010    0.017    0.017
## 1014   0.007    0.018    0.018
## 183   -0.018   -0.018   -0.018
## 296    0.011    0.017    0.017
## 1116  -0.012   -0.017   -0.017
## 1047  -0.006   -0.018   -0.018
## 1253   0.016    0.018    0.018
## 1593  -0.063   -0.018   -0.018
## 1485  -0.011   -0.017   -0.017
## 1221  -0.016   -0.017   -0.017
## 715   -0.007   -0.018   -0.018
## 1010   0.008    0.017    0.017
## 410    0.008    0.017    0.017
## 1029   0.006    0.017    0.017
## 1066  -0.005   -0.017   -0.017
## 686   -0.005   -0.017   -0.017
## 984   -0.007   -0.018   -0.018
## 140    0.014    0.015    0.015
## 595   -0.007   -0.017   -0.017
## 1022  -0.007   -0.017   -0.017
## 400    0.009    0.017    0.017
## 669    0.011    0.017    0.017
## 727    0.004    0.017    0.017
## 1111  -0.010   -0.017   -0.017
## 151    0.011    0.012    0.012
## 1279  -0.011   -0.016   -0.016
## 270    0.060    0.016    0.016
## 125   -0.015   -0.011   -0.011
## 957    0.007    0.016    0.016
## 1129  -0.007   -0.016   -0.016
## 680    0.008    0.016    0.016
## 1272   0.014    0.016    0.016
## 1282   0.008    0.015    0.015
## 286   -0.007   -0.016   -0.016
## 535    0.013    0.015    0.015
## 1464   0.010    0.016    0.016
## 1039   0.008    0.016    0.016
## 253   -0.008   -0.016   -0.016
## 1422   0.011    0.015    0.015
## 1291   0.008    0.015    0.015
## 847    0.004    0.016    0.016
## 1486   0.010    0.016    0.016
## 861    0.006    0.015    0.015
## 1414   0.012    0.015    0.015
## 722    0.006    0.015    0.015
## 1428   0.013    0.016    0.016
## 1557   0.005    0.015    0.015
## 1110  -0.008   -0.015   -0.015
## 753    0.007    0.015    0.015
## 671    0.008    0.015    0.015
## 1463   0.010    0.015    0.015
## 1467  -0.007   -0.015   -0.015
## 1471   0.008    0.015    0.015
## 1420   0.012    0.015    0.015
## 1078   0.008    0.014    0.014
## 489   -0.009   -0.014   -0.014
## 1454   0.007    0.015    0.015
## 923   -0.004   -0.015   -0.015
## 303    0.010    0.015    0.015
## 1107  -0.011   -0.014   -0.014
## 491   -0.009   -0.015   -0.015
## 500    0.008    0.014    0.014
## 1268   0.009    0.014    0.014
## 588   -0.008   -0.014   -0.014
## 182    0.015    0.014    0.014
## 1334   0.007    0.014    0.014
## 1475  -0.099   -0.014   -0.014
## 915   -0.007   -0.014   -0.014
## 1328   0.012    0.014    0.014
## 732   -0.004   -0.014   -0.014
## 263    0.004    0.014    0.014
## 521    0.008    0.013    0.013
## 1204   0.007    0.013    0.013
## 387    0.004    0.014    0.014
## 1213   0.008    0.013    0.013
## 1447  -0.008   -0.014   -0.014
## 453   -0.009   -0.013   -0.013
## 1012   0.006    0.013    0.013
## 999   -0.005   -0.013   -0.013
## 245   -0.007   -0.013   -0.013
## 657   -0.006   -0.013   -0.013
## 683    0.005    0.013    0.013
## 1083  -0.006   -0.013   -0.013
## 796    0.008    0.013    0.013
## 1040   0.006    0.013    0.013
## 126   -0.011   -0.008   -0.008
## 1259   0.010    0.012    0.012
## 446   -0.008   -0.013   -0.013
## 784   -0.006   -0.012   -0.012
## 959   -0.005   -0.013   -0.013
## 879    0.005    0.012    0.012
## 333   -0.005   -0.012   -0.012
## 1275  -0.008   -0.013   -0.013
## 700   -0.003   -0.013   -0.013
## 1397  -0.006   -0.013   -0.013
## 919   -0.004   -0.012   -0.012
## 1502  -0.004   -0.012   -0.012
## 1421   0.009    0.012    0.012
## 1207  -0.007   -0.012   -0.012
## 874   -0.009   -0.012   -0.012
## 222   -0.005   -0.012   -0.012
## 1114  -0.006   -0.012   -0.012
## 134    0.009    0.010    0.010
## 1338  -0.006   -0.012   -0.012
## 634    0.006    0.012    0.012
## 1211   0.005    0.012    0.012
## 1374   0.006    0.012    0.012
## 1226  -0.012   -0.011   -0.011
## 508   -0.003   -0.012   -0.012
## 906   -0.006   -0.011   -0.011
## 528   -0.004   -0.011   -0.011
## 463    0.005    0.011    0.011
## 247   -0.006   -0.011   -0.011
## 971    0.006    0.011    0.011
## 744   -0.004   -0.011   -0.011
## 876    0.005    0.011    0.011
## 1147   0.007    0.010    0.010
## 1065   0.003    0.011    0.011
## 550   -0.005   -0.010   -0.010
## 604   -0.004   -0.010   -0.010
## 986    0.006    0.010    0.010
## 1172   0.009    0.010    0.010
## 564    0.003    0.010    0.010
## 227    0.004    0.010    0.010
## 312    0.004    0.010    0.010
## 534   -0.007   -0.010   -0.010
## 161    0.006    0.007    0.007
## 1556  -0.003   -0.010   -0.010
## 1400   0.005    0.010    0.010
## 313    0.003    0.010    0.010
## 133    0.009    0.010    0.010
## 812   -0.005   -0.010   -0.010
## 754   -0.005   -0.010   -0.010
## 348    0.006    0.010    0.010
## 1394   0.006    0.010    0.010
## 1423  -0.007   -0.009   -0.009
## 538   -0.006   -0.009   -0.009
## 1144  -0.008   -0.010   -0.010
## 1005  -0.006   -0.009   -0.009
## 902   -0.004   -0.009   -0.009
## 494    0.004    0.010    0.010
## 693    0.034    0.009    0.009
## 283   -0.004   -0.009   -0.009
## 938    0.006    0.009    0.009
## 872   -0.004   -0.009   -0.009
## 1018   0.004    0.009    0.009
## 1240  -0.005   -0.009   -0.009
## 1046   0.004    0.009    0.009
## 537   -0.007   -0.009   -0.009
## 1261  -0.006   -0.008   -0.008
## 1063  -0.003   -0.009   -0.009
## 1476   0.044    0.009    0.009
## 1351   0.005    0.009    0.009
## 1224   0.005    0.009    0.009
## 799   -0.005   -0.009   -0.009
## 907    0.004    0.009    0.009
## 1071  -0.005   -0.008   -0.008
## 238   -0.003   -0.008   -0.008
## 402    0.005    0.008    0.008
## 277   -0.004   -0.008   -0.008
## 409    0.003    0.008    0.008
## 1439  -0.004   -0.008   -0.008
## 344    0.005    0.008    0.008
## 1161  -0.050   -0.008   -0.008
## 761    0.004    0.008    0.008
## 1140   0.006    0.008    0.008
## 668   -0.004   -0.007   -0.007
## 1313   0.004    0.008    0.008
## 581    0.004    0.007    0.007
## 362    0.003    0.008    0.008
## 1013   0.004    0.007    0.007
## 1310  -0.005   -0.007   -0.007
## 633    0.004    0.007    0.007
## 924    0.002    0.007    0.007
## 910    0.003    0.008    0.008
## 1419   0.006    0.007    0.007
## 308   -0.004   -0.007   -0.007
## 626   -0.005   -0.007   -0.007
## 1038   0.004    0.007    0.007
## 1462  -0.004   -0.007   -0.007
## 1305   0.007    0.007    0.007
## 1092  -0.002   -0.007   -0.007
## 1187   0.004    0.007    0.007
## 762   -0.002   -0.007   -0.007
## 366   -0.003   -0.007   -0.007
## 944   -0.004   -0.007   -0.007
## 118    0.006    0.007    0.007
## 831    0.004    0.007    0.007
## 1455  -0.003   -0.007   -0.007
## 458    0.003    0.006    0.006
## 237   -0.002   -0.007   -0.007
## 211    0.006    0.005    0.005
## 256   -0.002   -0.006   -0.006
## 1031   0.002    0.006    0.006
## 267   -0.002   -0.006   -0.006
## 1058  -0.002   -0.006   -0.006
## 1075  -0.003   -0.006   -0.006
## 994    0.002    0.006    0.006
## 943    0.004    0.006    0.006
## 820   -0.002   -0.006   -0.006
## 843   -0.002   -0.006   -0.006
## 950   -0.004   -0.006   -0.006
## 510    0.002    0.006    0.006
## 441    0.003    0.005    0.005
## 967   -0.002   -0.006   -0.006
## 266   -0.002   -0.005   -0.005
## 532    0.004    0.005    0.005
## 599    0.002    0.005    0.005
## 1413  -0.005   -0.005   -0.005
## 1041   0.002    0.005    0.005
## 681   -0.002   -0.005   -0.005
## 1215  -0.003   -0.005   -0.005
## 585    0.002    0.005    0.005
## 766   -0.002   -0.005   -0.005
## 650   -0.019   -0.005   -0.005
## 1067   0.019    0.005    0.005
## 417   -0.002   -0.005   -0.005
## 498    0.002    0.005    0.005
## 573    0.001    0.004    0.004
## 1536  -0.002   -0.004   -0.004
## 1336   0.002    0.005    0.005
## 1318   0.003    0.004    0.004
## 577    0.003    0.004    0.004
## 1458  -0.002   -0.004   -0.004
## 345   -0.003   -0.004   -0.004
## 1337  -0.002   -0.004   -0.004
## 246    0.003    0.004    0.004
## 1478  -0.003   -0.004   -0.004
## 1233  -0.003   -0.004   -0.004
## 689    0.002    0.004    0.004
## 733    0.001    0.004    0.004
## 120   -0.004   -0.003   -0.003
## 877   -0.002   -0.004   -0.004
## 925   -0.001   -0.004   -0.004
## 1456  -0.002   -0.004   -0.004
## 779    0.001    0.004    0.004
## 1021   0.001    0.004    0.004
## 798    0.002    0.004    0.004
## 1061  -0.001   -0.004   -0.004
## 1319   0.033    0.004    0.004
## 797   -0.003   -0.004   -0.004
## 1547  -0.001   -0.003   -0.003
## 1349   0.003    0.004    0.004
## 1312   0.002    0.003    0.003
## 851    0.001    0.003    0.003
## 1466  -0.002   -0.003   -0.003
## 584   -0.002   -0.003   -0.003
## 844   -0.001   -0.003   -0.003
## 679   -0.001   -0.003   -0.003
## 1023   0.001    0.003    0.003
## 1457   0.001    0.003    0.003
## 795    0.002    0.003    0.003
## 1258   0.002    0.003    0.003
## 1260   0.002    0.003    0.003
## 576   -0.002   -0.003   -0.003
## 742    0.001    0.003    0.003
## 349    0.002    0.003    0.003
## 346    0.001    0.002    0.002
## 730    0.001    0.002    0.002
## 171   -0.001   -0.002   -0.002
## 583    0.001    0.002    0.002
## 712    0.001    0.002    0.002
## 703   -0.001   -0.002   -0.002
## 543   -0.002   -0.002   -0.002
## 1484   0.001    0.002    0.002
## 850    0.001    0.002    0.002
## 305    0.001    0.002    0.002
## 260    0.001    0.002    0.002
## 833   -0.001   -0.002   -0.002
## 231   -0.001   -0.002   -0.002
## 1245  -0.009   -0.002   -0.002
## 1488   0.001    0.002    0.002
## 449    0.001    0.002    0.002
## 637   -0.001   -0.002   -0.002
## 676   -0.001   -0.002   -0.002
## 1150   0.001    0.001    0.001
## 1082  -0.001   -0.002   -0.002
## 236    0.000    0.001    0.001
## 1055   0.000   -0.001   -0.001
## 983    0.001    0.001    0.001
## 1434  -0.001   -0.001   -0.001
## 414    0.000    0.001    0.001
## 1234  -0.001   -0.001   -0.001
## 352   -0.001   -0.001   -0.001
## 616    0.000   -0.001   -0.001
## 258    0.000    0.001    0.001
## 687    0.000   -0.001   -0.001
## 720    0.000   -0.001   -0.001
## 598    0.000   -0.001   -0.001
## 1477   0.000    0.000    0.000
## 1077   0.000    0.000    0.000
## 641    0.000    0.000    0.000
## 942    0.000    0.000    0.000
## 1117   0.000    0.000    0.000
## 259    0.000    0.000    0.000
## 1127   0.000    0.000    0.000

0.6.4 SEM Analysis of Hypothesis 4

library(semPlot)