1 Data Preparation

The analyses below exclude participants whose PGSI total score equals zero (and participants with missing PGSI totals). The resulting sample is used for all GRCS analyses.

# Place the CSV beside this .Rmd file, or use the Desktop location.
candidates <- c(
  "PsychometricsIR_PG.csv",
  "PsychometricsIR_PG(1).csv",
  "~/Desktop/PsychometricsIR_PG.csv"
)
existing <- candidates[file.exists(path.expand(candidates))]
if (length(existing) == 0) {
  stop("CSV not found. Put PsychometricsIR_PG.csv in the same folder as this Rmd file.")
}

raw_dat <- read.csv(path.expand(existing[1]))
stopifnot("pgsitotal" %in% names(raw_dat))
gr_cs_names <- paste0("grcs_", 1:23)
stopifnot(all(gr_cs_names %in% names(raw_dat)))

# Make sure the PGSI filter is applied BEFORE all analyses.
dat <- subset(raw_dat, !is.na(pgsitotal) & pgsitotal > 0)
gr_cs <- dat[, gr_cs_names, drop = FALSE]

# Use one consistent complete-case set for correlations, reliability and EFA.
complete_rows <- complete.cases(gr_cs)
gr_cs <- gr_cs[complete_rows, , drop = FALSE]
dat <- dat[complete_rows, , drop = FALSE]

# Conventional object name used in the original script.
gr_cs <- as.data.frame(gr_cs)
gr_cs[] <- lapply(gr_cs, as.numeric)
gr_cs_n <- nrow(gr_cs)
cat("Original participants:", nrow(raw_dat), "\n")
## Original participants: 200
cat("Excluded PGSI = 0 or missing:", nrow(raw_dat) - sum(!is.na(raw_dat$pgsitotal) & raw_dat$pgsitotal > 0), "\n")
## Excluded PGSI = 0 or missing: 15
cat("Excluded for missing GRCS data after PGSI filtering:", sum(!complete_rows), "\n")
## Excluded for missing GRCS data after PGSI filtering: 0
cat("Final analysis sample:", gr_cs_n, "\n")
## Final analysis sample: 185

2 Descriptive Statistics

descriptives <- psych::describe(gr_cs)
knitr::kable(
  descriptives[, c("n", "mean", "sd", "median", "min", "max", "skew", "kurtosis")],
  digits = 3,
  caption = "GRCS item-level descriptive statistics"
)
GRCS item-level descriptive statistics
n mean sd median min max skew kurtosis
grcs_1 185 3.081 1.088 3 1 5 -0.638 -0.655
grcs_2 185 1.789 1.018 1 1 5 1.103 0.225
grcs_3 185 1.589 0.991 1 1 5 1.519 1.062
grcs_4 185 2.670 1.262 3 1 5 0.117 -1.087
grcs_5 185 2.854 1.292 3 1 5 -0.045 -1.305
grcs_6 185 2.800 1.192 3 1 5 -0.148 -1.201
grcs_7 185 2.124 1.147 2 1 5 0.574 -1.056
grcs_8 185 2.303 1.288 2 1 5 0.400 -1.329
grcs_9 185 2.405 1.217 2 1 5 0.381 -1.012
grcs_10 185 2.676 1.307 3 1 5 0.073 -1.371
grcs_11 185 2.335 1.219 2 1 5 0.276 -1.334
grcs_12 185 2.286 1.220 2 1 5 0.462 -1.099
grcs_13 185 1.795 1.089 1 1 5 1.214 0.416
grcs_14 185 2.838 1.275 3 1 5 -0.166 -1.283
grcs_15 185 2.973 1.240 3 1 5 -0.238 -1.141
grcs_16 185 2.962 1.244 4 1 5 -0.401 -1.327
grcs_17 185 2.351 1.104 2 1 5 0.365 -0.863
grcs_18 185 2.173 1.269 2 1 5 0.643 -1.009
grcs_19 185 2.697 1.191 3 1 5 -0.038 -1.167
grcs_20 185 3.286 1.242 4 1 5 -0.636 -0.828
grcs_21 185 2.205 1.043 2 1 4 0.357 -1.085
grcs_22 185 2.519 1.238 2 1 5 0.111 -1.405
grcs_23 185 2.670 1.308 3 1 5 0.056 -1.313

3 Item Distributions

Histograms are ordered by the five theoretical GRCS subgroups.

dat_long <- tidyr::pivot_longer(
  gr_cs,
  cols = everything(),
  names_to = "Variable",
  values_to = "Value"
)
dat_long$Variable <- factor(dat_long$Variable, levels = item_order)

ggplot(dat_long, aes(x = Value)) +
  geom_histogram(
    binwidth = 1,
    boundary = 0.5,
    fill = "darkblue",
    color = "black",
    alpha = 0.7
  ) +
  facet_wrap(~ Variable, ncol = 6) +
  scale_x_continuous(breaks = sort(unique(as.numeric(unlist(gr_cs))))) +
  theme_minimal(base_size = 12) +
  labs(
    title = "Distributions of the 23 GRCS Items",
    x = "Response value",
    y = "Frequency"
  )

4 Item Correlations

4.1 All GRCS Items, Grouped by Domain

R_grouped <- cor(gr_cs[, item_order, drop = FALSE], use = "complete.obs")
corrplot(
  R_grouped,
  method = "color", type = "lower",
  title = "GRCS Item Correlations by Subgroup",
  addCoef.col = "black", tl.cex = 0.6,
  cl.cex = 0.7, number.cex = 0.5,
  col = palette_grcs, is.corr = TRUE,
  order = "original", addgrid.col = "grey85",
  mar = c(0, 0, 2, 0)
)

4.2 Gambling Expectancies

corrplot(
  cor(gr_cs[, paste0("grcs_", subgroups[[1]]), drop = FALSE]),
  method = "color", type = "lower", title = "Gambling Expectancies",
  addCoef.col = "black", tl.cex = 1, number.cex = 1,
  col = palette_grcs, is.corr = TRUE, mar = c(0, 0, 2, 0)
)

4.3 Illusion of Control

corrplot(
  cor(gr_cs[, paste0("grcs_", subgroups[[2]]), drop = FALSE]),
  method = "color", type = "lower", title = "Illusion of Control",
  addCoef.col = "black", tl.cex = 1, number.cex = 1,
  col = palette_grcs, is.corr = TRUE, mar = c(0, 0, 2, 0)
)

4.4 Predictive Control

corrplot(
  cor(gr_cs[, paste0("grcs_", subgroups[[3]]), drop = FALSE]),
  method = "color", type = "lower", title = "Predictive Control",
  addCoef.col = "black", tl.cex = 1, number.cex = 1,
  col = palette_grcs, is.corr = TRUE, mar = c(0, 0, 2, 0)
)

4.5 Inability to Stop

corrplot(
  cor(gr_cs[, paste0("grcs_", subgroups[[4]]), drop = FALSE]),
  method = "color", type = "lower", title = "Inability to Stop",
  addCoef.col = "black", tl.cex = 1, number.cex = 1,
  col = palette_grcs, is.corr = TRUE, mar = c(0, 0, 2, 0)
)

4.6 Interpretive Bias

corrplot(
  cor(gr_cs[, paste0("grcs_", subgroups[[5]]), drop = FALSE]),
  method = "color", type = "lower", title = "Interpretive Bias",
  addCoef.col = "black", tl.cex = 1, number.cex = 1,
  col = palette_grcs, is.corr = TRUE, mar = c(0, 0, 2, 0)
)

5 Reliability Analysis

5.1 Overall Cronbach’s Alpha

alpharesults <- psych::alpha(gr_cs)
knitr::kable(
  alpharesults$total[, c("raw_alpha", "std.alpha", "average_r")],
  digits = 3,
  caption = "Overall GRCS reliability"
)
Overall GRCS reliability
raw_alpha std.alpha average_r
0.924 0.924 0.345

5.2 Item-Level Reliability

knitr::kable(
  alpharesults$item.stats[, c("n", "raw.r", "r.drop", "mean", "sd")],
  digits = 3,
  caption = "Item statistics and corrected item-total correlations"
)
Item statistics and corrected item-total correlations
n raw.r r.drop mean sd
grcs_1 185 0.536 0.488 3.081 1.088
grcs_2 185 0.657 0.621 1.789 1.018
grcs_3 185 0.499 0.453 1.589 0.991
grcs_4 185 0.739 0.702 2.670 1.262
grcs_5 185 0.603 0.550 2.854 1.292
grcs_6 185 0.649 0.605 2.800 1.192
grcs_7 185 0.664 0.624 2.124 1.147
grcs_8 185 0.684 0.640 2.303 1.288
grcs_9 185 0.710 0.671 2.405 1.217
grcs_10 185 0.665 0.619 2.676 1.307
grcs_11 185 0.677 0.635 2.335 1.219
grcs_12 185 0.627 0.580 2.286 1.220
grcs_13 185 0.569 0.523 1.795 1.089
grcs_14 185 0.692 0.649 2.838 1.275
grcs_15 185 0.660 0.616 2.973 1.240
grcs_16 185 0.560 0.507 2.962 1.244
grcs_17 185 0.528 0.478 2.351 1.104
grcs_18 185 0.680 0.637 2.173 1.269
grcs_19 185 0.480 0.423 2.697 1.191
grcs_20 185 0.648 0.603 3.286 1.242
grcs_21 185 0.481 0.431 2.205 1.043
grcs_22 185 0.479 0.419 2.519 1.238
grcs_23 185 0.569 0.514 2.670 1.308

5.3 Alpha if Each Item Is Removed

knitr::kable(
  alpharesults$alpha.drop[, c("raw_alpha", "std.alpha")],
  digits = 3,
  caption = "Cronbach's alpha if item deleted"
)
Cronbach’s alpha if item deleted
raw_alpha std.alpha
grcs_1 0.922 0.922
grcs_2 0.920 0.920
grcs_3 0.923 0.923
grcs_4 0.918 0.918
grcs_5 0.921 0.921
grcs_6 0.920 0.920
grcs_7 0.920 0.919
grcs_8 0.920 0.919
grcs_9 0.919 0.919
grcs_10 0.920 0.920
grcs_11 0.920 0.919
grcs_12 0.921 0.920
grcs_13 0.922 0.921
grcs_14 0.919 0.919
grcs_15 0.920 0.920
grcs_16 0.922 0.922
grcs_17 0.922 0.922
grcs_18 0.920 0.919
grcs_19 0.924 0.923
grcs_20 0.920 0.920
grcs_21 0.923 0.923
grcs_22 0.924 0.923
grcs_23 0.922 0.922

6 Factor Retention

6.1 KMO and Bartlett’s Test

R <- cor(gr_cs, use = "complete.obs")
n_complete <- nrow(gr_cs)
kmo_result <- psych::KMO(R)
bartlett_result <- psych::cortest.bartlett(R, n = n_complete)

knitr::kable(
  data.frame(
    Statistic = c("Overall KMO (MSA)", "Bartlett chi-square", "Bartlett df", "Bartlett p"),
    Value = c(kmo_result$MSA, bartlett_result$chisq,
              bartlett_result$df, bartlett_result$p.value)
  ),
  digits = 4,
  caption = "Factorability checks"
)
Factorability checks
Statistic Value
Overall KMO (MSA) 0.9113
Bartlett chi-square 2056.3363
Bartlett df 253.0000
Bartlett p 0.0000

6.2 Conventional Kaiser Criterion

eigenvalues <- eigen(R, symmetric = TRUE)$values
knitr::kable(
  data.frame(
    Component = seq_along(eigenvalues),
    Eigenvalue = round(eigenvalues, 3),
    Greater_than_1 = eigenvalues > 1
  ),
  caption = "Eigenvalues of the item correlation matrix"
)
Eigenvalues of the item correlation matrix
Component Eigenvalue Greater_than_1
1 8.745 TRUE
2 2.238 TRUE
3 1.552 TRUE
4 1.127 TRUE
5 0.994 FALSE
6 0.770 FALSE
7 0.751 FALSE
8 0.725 FALSE
9 0.631 FALSE
10 0.613 FALSE
11 0.556 FALSE
12 0.529 FALSE
13 0.504 FALSE
14 0.471 FALSE
15 0.406 FALSE
16 0.399 FALSE
17 0.358 FALSE
18 0.347 FALSE
19 0.297 FALSE
20 0.278 FALSE
21 0.269 FALSE
22 0.247 FALSE
23 0.191 FALSE
cat("Number of eigenvalues > 1:", sum(eigenvalues > 1), "\n")
## Number of eigenvalues > 1: 4

6.3 Parallel Analysis

set.seed(2026)
pararesults <- psych::fa.parallel(gr_cs, fa = "fa", fm = "pa", n.iter = 100)

## Parallel analysis suggests that the number of factors =  3  and the number of components =  NA
eigen_table <- data.frame(
  Factor = seq_along(pararesults$fa.values),
  Observed = round(pararesults$fa.values, 3),
  Simulated = round(pararesults$fa.sim, 3),
  Resampled = round(pararesults$fa.simr, 3)
)
knitr::kable(eigen_table, caption = "Factor-analysis parallel-analysis eigenvalues")
Factor-analysis parallel-analysis eigenvalues
Factor Observed Simulated Resampled
1 8.126 0.813 0.799
2 1.565 0.601 0.608
3 0.880 0.515 0.520
4 0.476 0.441 0.436
5 0.344 0.371 0.369
6 0.174 0.307 0.303
7 0.084 0.251 0.248
8 -0.004 0.194 0.192
9 -0.039 0.142 0.138
10 -0.083 0.093 0.090
11 -0.093 0.042 0.042
12 -0.118 -0.002 -0.001
13 -0.149 -0.046 -0.049
14 -0.178 -0.093 -0.095
15 -0.200 -0.141 -0.136
16 -0.214 -0.184 -0.180
17 -0.246 -0.223 -0.224
18 -0.286 -0.268 -0.265
19 -0.315 -0.310 -0.307
20 -0.368 -0.351 -0.349
21 -0.373 -0.396 -0.391
22 -0.409 -0.442 -0.444
23 -0.447 -0.502 -0.506

6.4 Empirical Kaiser Criterion

ekc_result <- EFAtools::EKC(R, N = n_complete)
print(ekc_result)
## ── Empirical Kaiser Criterion ──────────────────────────────────────────────────
## 
## • Braeken & van Assen (2017): 4

7 Exploratory Factor Analysis

Principal-axis factoring (fm = "pa") is used for all six models. Promax allows factors to correlate. Loadings with absolute magnitude below 0.32 are hidden in the printed tables, but remain estimated in the models. No items are reverse-coded in this report; verify the GRCS scoring key before interpreting the direction of loadings.

7.1 One-Factor Solution

EFA1 <- psych::fa(gr_cs, nfactors = 1, fm = "pa", rotate = "none")
print(EFA1$loadings, cutoff = 0.32)
## 
## Loadings:
##         PA1  
## grcs_1  0.502
## grcs_2  0.651
## grcs_3  0.468
## grcs_4  0.728
## grcs_5  0.567
## grcs_6  0.629
## grcs_7  0.656
## grcs_8  0.662
## grcs_9  0.696
## grcs_10 0.642
## grcs_11 0.661
## grcs_12 0.615
## grcs_13 0.546
## grcs_14 0.679
## grcs_15 0.638
## grcs_16 0.528
## grcs_17 0.508
## grcs_18 0.661
## grcs_19 0.439
## grcs_20 0.622
## grcs_21 0.457
## grcs_22 0.433
## grcs_23 0.535
## 
##                  PA1
## SS loadings    8.126
## Proportion Var 0.353

7.2 Two-Factor Solution

EFA2 <- psych::fa(gr_cs, nfactors = 2, fm = "pa", rotate = "promax")
print(EFA2$loadings, cutoff = 0.32)
## 
## Loadings:
##         PA1    PA2   
## grcs_1               
## grcs_2          0.772
## grcs_3   0.621       
## grcs_4   0.733       
## grcs_5   0.570       
## grcs_6          0.410
## grcs_7          0.857
## grcs_8   0.800       
## grcs_9   0.703       
## grcs_10  0.383  0.327
## grcs_11  0.418       
## grcs_12         0.827
## grcs_13  0.597       
## grcs_14  0.528       
## grcs_15  0.399       
## grcs_16         0.438
## grcs_17         0.839
## grcs_18  0.702       
## grcs_19  0.649       
## grcs_20  0.502       
## grcs_21         0.744
## grcs_22  0.565       
## grcs_23  0.576       
## 
##                  PA1   PA2
## SS loadings    5.596 4.156
## Proportion Var 0.243 0.181
## Cumulative Var 0.243 0.424

7.3 Three-Factor Solution

EFA3 <- psych::fa(gr_cs, nfactors = 3, fm = "pa", rotate = "promax")
print(EFA3$loadings, cutoff = 0.32)
## 
## Loadings:
##         PA1    PA3    PA2   
## grcs_1   0.689              
## grcs_2                 0.724
## grcs_3          0.752       
## grcs_4          0.498       
## grcs_5   0.622              
## grcs_6   0.718              
## grcs_7                 0.747
## grcs_8          0.668       
## grcs_9          0.497       
## grcs_10  0.413              
## grcs_11  0.460              
## grcs_12                0.777
## grcs_13         0.739       
## grcs_14         0.328       
## grcs_15  0.707              
## grcs_16  0.509              
## grcs_17                0.802
## grcs_18         0.840       
## grcs_19         0.525       
## grcs_20  0.653              
## grcs_21                0.639
## grcs_22  0.511              
## grcs_23         0.364       
## 
##                  PA1   PA3   PA2
## SS loadings    3.721 3.468 3.041
## Proportion Var 0.162 0.151 0.132
## Cumulative Var 0.162 0.313 0.445

7.4 Four-Factor Solution

EFA4 <- psych::fa(gr_cs, nfactors = 4, fm = "pa", rotate = "promax")
print(EFA4$loadings, cutoff = 0.32)
## 
## Loadings:
##         PA1    PA2    PA3    PA4   
## grcs_1                        0.683
## grcs_2          0.680              
## grcs_3   0.750                     
## grcs_4   0.462                     
## grcs_5                 1.005       
## grcs_6                        0.782
## grcs_7          0.791              
## grcs_8   0.699                     
## grcs_9   0.391         0.474       
## grcs_10                0.539       
## grcs_11                       0.533
## grcs_12         0.797              
## grcs_13  0.775                     
## grcs_14                            
## grcs_15                0.508       
## grcs_16                       0.767
## grcs_17         0.853              
## grcs_18  0.901                     
## grcs_19  0.537                     
## grcs_20                0.440       
## grcs_21         0.618              
## grcs_22                0.526       
## grcs_23  0.389                     
## 
##                  PA1   PA2   PA3   PA4
## SS loadings    3.505 3.063 2.574 2.290
## Proportion Var 0.152 0.133 0.112 0.100
## Cumulative Var 0.152 0.286 0.398 0.497

7.5 Five-Factor Solution

EFA5 <- psych::fa(gr_cs, nfactors = 5, fm = "pa", rotate = "promax")
print(EFA5$loadings, cutoff = 0.32)
## 
## Loadings:
##         PA2    PA1    PA5    PA3    PA4   
## grcs_1                        0.629       
## grcs_2   0.704                            
## grcs_3          0.703                     
## grcs_4          0.353  0.552              
## grcs_5                               0.944
## grcs_6                        0.749       
## grcs_7   0.777                            
## grcs_8          0.584  0.397              
## grcs_9          0.414                0.479
## grcs_10                0.334              
## grcs_11                       0.507       
## grcs_12  0.785                            
## grcs_13         0.733                     
## grcs_14                0.402              
## grcs_15                0.549              
## grcs_16                       0.673       
## grcs_17  0.848                            
## grcs_18         0.820                     
## grcs_19         0.482                     
## grcs_20                0.635              
## grcs_21  0.616                            
## grcs_22                              0.510
## grcs_23                0.507              
## 
##                  PA2   PA1   PA5   PA3   PA4
## SS loadings    3.035 2.881 1.865 1.874 1.595
## Proportion Var 0.132 0.125 0.081 0.081 0.069
## Cumulative Var 0.132 0.257 0.338 0.420 0.489

7.6 Six-Factor Solution

EFA6 <- psych::fa(gr_cs, nfactors = 6, fm = "pa", rotate = "promax")
print(EFA6$loadings, cutoff = 0.32)
## 
## Loadings:
##         PA2    PA1    PA6    PA4    PA5    PA3   
## grcs_1                        0.645              
## grcs_2   0.717                                   
## grcs_3          0.584                            
## grcs_4                 0.752                     
## grcs_5                               1.024       
## grcs_6                        0.737              
## grcs_7   0.781                                   
## grcs_8          0.543  0.389                     
## grcs_9          0.326                0.517       
## grcs_10                                          
## grcs_11                       0.500              
## grcs_12  0.788                                   
## grcs_13         0.795                            
## grcs_14                0.608                     
## grcs_15                                     0.432
## grcs_16                       0.740              
## grcs_17  0.849                                   
## grcs_18         0.886                            
## grcs_19         0.399                            
## grcs_20                0.473                     
## grcs_21  0.617                                   
## grcs_22                              0.550       
## grcs_23                0.635                     
## 
##                  PA2   PA1   PA6   PA4   PA5   PA3
## SS loadings    3.066 2.460 2.008 1.997 1.885 0.532
## Proportion Var 0.133 0.107 0.087 0.087 0.082 0.023
## Cumulative Var 0.133 0.240 0.328 0.414 0.496 0.520

8 Comparison of EFA Solutions

8.1 Model Fit Indices

efa_models <- list(EFA1, EFA2, EFA3, EFA4, EFA5, EFA6)
efa_fit <- data.frame(
  Factors = 1:6,
  RMSEA = vapply(efa_models, function(x) unname(x$RMSEA[1]), numeric(1)),
  TLI = vapply(efa_models, function(x) x$TLI, numeric(1)),
  RMSR = vapply(efa_models, function(x) x$rms, numeric(1)),
  BIC = vapply(efa_models, function(x) x$BIC, numeric(1))
)
knitr::kable(efa_fit, digits = 3, caption = "Fit statistics across EFA solutions")
Fit statistics across EFA solutions
Factors RMSEA TLI RMSR BIC
1 0.107 0.703 0.096 -485.889
2 0.077 0.844 0.062 -647.881
3 0.058 0.911 0.044 -672.269
4 0.045 0.947 0.035 -642.414
5 0.026 0.981 0.028 -605.097
6 0.010 0.996 0.024 -545.342

8.2 Correlations Between Factors

These correlations are only available for obliquely rotated solutions with more than one factor.

for (k in 2:6) {
  cat("### ", k, "-factor solution\n\n", sep = "")
  print(knitr::kable(efa_models[[k]]$Phi, digits = 3))
  cat("\n\n")
}

8.2.1 2-factor solution

PA1 PA2
PA1 1.000 0.626
PA2 0.626 1.000

8.2.2 3-factor solution

PA1 PA3 PA2
PA1 1.000 0.662 0.553
PA3 0.662 1.000 0.408
PA2 0.553 0.408 1.000

8.2.3 4-factor solution

PA1 PA2 PA3 PA4
PA1 1.000 0.467 0.687 0.586
PA2 0.467 1.000 0.474 0.587
PA3 0.687 0.474 1.000 0.687
PA4 0.586 0.587 0.687 1.000

8.2.4 5-factor solution

PA2 PA1 PA5 PA3 PA4
PA2 1.000 0.422 0.505 0.555 0.380
PA1 0.422 1.000 0.603 0.494 0.545
PA5 0.505 0.603 1.000 0.608 0.613
PA3 0.555 0.494 0.608 1.000 0.543
PA4 0.380 0.545 0.613 0.543 1.000

8.2.5 6-factor solution

PA2 PA1 PA6 PA4 PA5 PA3
PA2 1.000 0.414 0.506 0.562 0.408 0.141
PA1 0.414 1.000 0.681 0.479 0.590 0.023
PA6 0.506 0.681 1.000 0.631 0.684 0.107
PA4 0.562 0.479 0.631 1.000 0.583 0.151
PA5 0.408 0.590 0.684 0.583 1.000 0.108
PA3 0.141 0.023 0.107 0.151 0.108 1.000