InteroceptionScale (study 2) - Data Analysis

Data Preparation

Code
library(tidyverse)
library(easystats)
library(patchwork)
library(ggside)
library(EGAnet)
library(tidygraph)
library(ggraph)
library(ggdist)
library(gt)

set.seed(42)

Sys.setenv(CHROMOTE_CHROME = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe")
Code
df <- read.csv("../data/data_participants.csv") |> 
  rename(MINT_Urin_1 = MINT_Deficit_Urin_1,
         MINT_Urin_2 = MINT_Deficit_Urin_2,
         MINT_Urin_3 = MINT_Deficit_Urin_3,
         MINT_CaCo_1 = MINT_Deficit_CaCo_4,
         MINT_CaCo_2 = MINT_Deficit_CaCo_5,
         MINT_CaCo_3 = MINT_Deficit_CaCo_6,
         MINT_CaNo_1 = MINT_Deficit_CaNo_7,
         MINT_CaNo_2 = MINT_Deficit_CaNo_8,
         MINT_CaNo_3 = MINT_Deficit_CaNo_9,
         MINT_Olfa_1 = MINT_Deficit_Olfa_10,
         MINT_Olfa_2 = MINT_Deficit_Olfa_11,
         MINT_Olfa_3 = MINT_Deficit_Olfa_12,
         MINT_Sati_1 = MINT_Deficit_Sati_13,
         MINT_Sati_2 = MINT_Deficit_Sati_14,
         MINT_Sati_3 = MINT_Deficit_Sati_15,
         MINT_SexS_1 = MINT_Awareness_SexS_19,
         MINT_SexS_2 = MINT_Awareness_SexS_20,
         MINT_SexS_3 = MINT_Awareness_SexS_21,
         MINT_SexO_1 = MINT_Awareness_SexO_22,
         MINT_SexO_2 = MINT_Awareness_SexO_23,
         MINT_SexO_3 = MINT_Awareness_SexO_24,
         MINT_UrSe_1 = MINT_Awareness_UrSe_25,
         MINT_UrSe_2 = MINT_Awareness_UrSe_26,
         MINT_UrSe_3 = MINT_Awareness_UrSe_27,
         MINT_RelA_1 = MINT_Awareness_RelA_28,
         MINT_RelA_2 = MINT_Awareness_RelA_29,
         MINT_RelA_3 = MINT_Awareness_RelA_30,
         MINT_StaS_1 = MINT_Awareness_StaS_31,
         MINT_StaS_2 = MINT_Awareness_StaS_32,
         MINT_StaS_3 = MINT_Awareness_StaS_33,
         MINT_ExAc_1 = MINT_Awareness_ExAc_34,
         MINT_ExAc_2 = MINT_Awareness_ExAc_35,
         MINT_ExAc_3 = MINT_Awareness_ExAc_36,
         MINT_Card_1 = MINT_Sensitivity_Card_37,
         MINT_Card_2 = MINT_Sensitivity_Card_38,
         MINT_Card_3 = MINT_Sensitivity_Card_39,
         MINT_Resp_1 = MINT_Sensitivity_Resp_40,
         MINT_Resp_2 = MINT_Sensitivity_Resp_41,
         MINT_Resp_3 = MINT_Sensitivity_Resp_42,
         MINT_Gast_1 = MINT_Sensitivity_Gast_46,
         MINT_Gast_2 = MINT_Sensitivity_Gast_47,
         MINT_Gast_3 = MINT_Sensitivity_Gast_48,
         MINT_Derm_1 = MINT_Sensitivity_Derm_49,
         MINT_Derm_2 = MINT_Sensitivity_Derm_50,
         MINT_Derm_3 = MINT_Sensitivity_Derm_51)

colors <- c(Mint="#00BCD4", IAS="#F44336", MAIA="#FFAD04",  iMAIA="#FF7811", BPQ="#795548")

Structure Validation

Code
items <- select(df, starts_with("MINT_"))
names(items) <- str_remove(names(items), "MINT_")

See the list of item labels in the code below.

Code
labels <- list(
  MINT_Urin_1 = "I sometimes feel like I need to urinate or defecate but when I go to the bathroom I produce less than I expected",
  MINT_Urin_2 = "I often feel the need to urinate even when my bladder is not full",
  MINT_Urin_3 = "Sometimes I am not sure whether I need to go to the toilet or not (to urinate or defecate)",
  MINT_CaCo_1 = "Sometimes my breathing becomes erratic or shallow and I often don't know why",
  MINT_CaCo_2 = "I often feel like I can't get enough oxygen by breathing normally",
  MINT_CaCo_3 = "Sometimes my heart starts racing and I often don't know why",
  MINT_CaNo_1 = "I often only notice how I am breathing when it becomes loud",
  MINT_CaNo_2 = "I only notice my heart when it is thumping in my chest",
  MINT_CaNo_3 = "I often only notice how I am breathing when my breathing becomes shallow or irregular",
  MINT_Olfa_1 = "I often check the smell of my armpits",
  MINT_Olfa_2 = "I often check the smell of my own breath",
  MINT_Olfa_3 = "I often check the smell of my farts",
  MINT_Sati_1 = "I don't always feel the need to eat until I am really hungry",
  MINT_Sati_2 = "Sometimes I don't realise I was hungry until I ate something",
  MINT_Sati_3 = "I don't always feel the need to drink until I am really thirsty",
  # MINT_SexA_16 = "I always feel in my body if I am sexually aroused",
  # MINT_SexA_17 = "I can always tell that I am sexually aroused from the way I feel inside",
  # MINT_SexA_18 = "I always know when I am sexually aroused",
  MINT_SexS_1 = "During sex or masturbation, I often feel very strong sensations coming from my genital areas",
  MINT_SexS_2 = "When I am sexually aroused, I often notice specific sensations in my genital area (e.g., tingling, warmth, wetness, stiffness, pulsations)",
  MINT_SexS_3 = "My genital organs are very sensitive to pleasant stimulations",
  MINT_SexO_1 = "In general, I am very sensitive to changes in my genital organs",
  MINT_SexO_2 = "I can notice even very subtle changes in the state of my genital organs",
  MINT_SexO_3 = "I am always very aware of the state of my genital organs, even when I am calm",
  MINT_UrSe_1 = "In general, I am very aware of the sensations that are happening when I am urinating",
  MINT_UrSe_2 = "In general, I am very aware of the sensations that are happening when I am defecating",
  MINT_UrSe_3 = "I often experience a pleasant sensation when relieving myself when urinating or defecating)",
  MINT_RelA_1 = "I always know when I am relaxed",
  MINT_RelA_2 = "I always feel in my body if I am relaxed",
  MINT_RelA_3 = "My body is always in the same specific state when I am relaxed",
  MINT_StaS_1 = "Being relaxed is a very different bodily feeling compared to other states (e.g., feeling anxious, sexually aroused or after exercise)",
  MINT_StaS_2 = "Being sexually aroused is a very different bodily feeling compared to other states (e.g., feeling anxious, relaxed, or after physical exercise)",
  MINT_StaS_3 = "Being anxious is a very different bodily feeling compared to other states (e.g., feeling sexually aroused, relaxed or after exercise)",
  MINT_ExAc_1 = "I can always accurately feel when I am about to burp",
  MINT_ExAc_2 = "I can always accurately feel when I am about to fart",
  MINT_ExAc_3 = "I can always accurately feel when I am about to sneeze",
  MINT_Card_1 = "In general, I am very sensitive to changes in my heart rate",
  MINT_Card_2 = "I can notice even very subtle changes in the way my heart beats",
  MINT_Card_3 = "I often notice changes in my heart rate",
  MINT_Resp_1 = "I can notice even very subtle changes in my breathing",
  MINT_Resp_2 = "I am always very aware of how I am breathing, even when I am calm",
  MINT_Resp_3 = "In general, I am very sensitive to changes in my breathing",
  # MINT_Sign_43 = "When something important is happening in my life, I can feel immediately feel changes in my heart rate",
  # MINT_Sign_44 = "When something important is happening in my life, I can immediately feel changes in my breathing",
  # MINT_Sign_45 = "When something important is happening in my life, I can feel it in my body",
  MINT_Gast_1 = "I can notice even very subtle changes in what my stomach is doing",
  MINT_Gast_2 = "In general, I am very sensitive to what my stomach is doing",
  MINT_Gast_3 = "I am always very aware of what my stomach is doing, even when I am calm",
  MINT_Derm_1 = "In general, my skin is very sensitive",
  MINT_Derm_2 = "My skin is susceptible to itchy fabrics and materials",
  MINT_Derm_3 = "I can notice even very subtle stimulations to my skin (e.g., very light touches)"
  # MINT_SexC_52 = "When I am sexually aroused, I often feel changes in the way my heart beats (e.g., faster or stronger)",
  # MINT_SexC_53 = "When I am sexually aroused, I often feel changes in my breathing (e.g., faster, shallower, or less regular)",
  # MINT_SexC_54 = "When I am sexually aroused, I often feel changes in my temperature (e.g., feeling warm or cold)"
)
Code
cleanlabels <- function(x, qname=FALSE) {
  is_factor <- FALSE
  if(is.factor(x)) {
    is_factor <- TRUE
    vec <- x
    x <- levels(x)
  }
  
  x <- x |> 
    str_replace("MINT_", ifelse(qname, "MINT - ", "")) |> 
    str_replace("MAIA_", ifelse(qname, "MAIA - ", "")) |> 
    str_replace("_", " - ") 
  
  if(is_factor) {
    levels(vec) <- x
    return(vec)
  }
  x
}

Full

Additionally to EGA, we explored Hierarchical Clustering to see if the results are consistent.

EGA

Code
ega1 <- bootEGA(
  items,
  EGA.type = "hierEGA",
  model = "glasso",  # BGGM
  algorithm = "leiden",
  allow.singleton = TRUE,
  type="resampling",
  plot.itemStability=FALSE,
  typicalStructure=TRUE,
  plot.typicalGraph=FALSE,
  iter=500,
  seed=3, ncores = 4)

save(ega1, file="models/ega1.RData")
Code
load("models/ega1.RData")

itemstability <- EGAnet::itemStability(ega1, IS.plot=FALSE)
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Code
plot(itemstability)

Code
#EGAnet::genTEFI(ega1$EGA)
# cfa <- EGAnet::CFA(ega3$EGA, 
#             items[colnames(ega3$lower_order$boot.wc)],
#             estimator = "WLSMV")

#dimensionStability(ega1)

Hierarchical Clustering

Code
hclust <- pvclust::pvclust(items,
                 method.hclust = "ward.D2",
                 method.dist = "correlation",
                 nboot = 1000, quiet=TRUE, parallel=TRUE)
plot(hclust, hang = -1, cex = 0.5)
pvclust::pvrect(hclust, alpha=0.95, max.only=TRUE)

Item Reduction

To help us in confirming which clusters to keep or to remove, we empirically tested the “importance” (normalized R2) of each cluster in predicting various outcomes present in our dataset, and aggregating the average importance of each cluster different categories of outcomes. This approach yielded patterns which highlighted some clusters as providing a unique contribution (e.g., Olfa and Sati).

Code
rbind(rez, grandave) |> 
  select(-Group, -Rank) |> 
  pivot_wider(names_from = "Outcome", values_from = "R2") |> 
  mutate(Group = case_when(
    Dimension %in% c("Card", "Resp", "Gast", "CardRespGast", "CardResp", "CardGast") ~ "Visceral", 
    Dimension %in% c("RelA", "SexS", "ExaC", "StaS", "SexO", "UrSe") ~ "sensitivity", 
    Dimension %in% c("CaCo", "Urin", "Derm", "Olfa", "Sati", "CaNo") ~ "Deficit", 
    .default = "Other")) |> 
  select(Group, Dimension, Average, Interoception, Biofeedback, ER, 
         Primals, Alexithymia, Dissociative, Mood, 
         Physical, Mental, Lifestyle) |>
  arrange(Group, desc(Average)) |> 
  # select(-Group) |> 
  gt::gt() |> 
  gt::data_color(
    columns = -c(Dimension, Group),
    palette = c("white", "green"),
    domain = c(0, 1)
  ) |>
  gt::fmt_number() |>
  gt::tab_header(
    title = "Variable Importance",
    subtitle = "Normalized Predictive Power (R2)"
  ) |> 
  gt::tab_row_group(
    label = "Sensitivity",
    rows = Group == "sensitivity"
  )  |> 
  gt::tab_row_group(
    label = "Interoception",
    rows = Group == "Visceral"
  ) |> 
  gt::tab_row_group(
    label = "Deficit",
    rows = Group == "Deficit"
  ) |> 
  gt::cols_hide(Group)
Variable Importance
Normalized Predictive Power (R2)
Dimension Average Interoception Biofeedback ER Primals Alexithymia Dissociative Mood Physical Mental Lifestyle
Deficit
CaCo 0.62 0.10 0.05 0.32 0.77 1.00 1.00 1.00 0.64 0.72 0.76
Urin 0.43 0.09 0.20 0.07 0.54 0.64 0.52 0.61 0.74 0.45 0.22
Derm 0.32 0.06 0.01 0.15 0.35 0.29 0.20 0.34 0.87 0.59 0.08
Olfa 0.25 0.09 0.42 0.22 0.46 0.29 0.16 0.22 0.03 0.20 0.00
Sati 0.24 0.01 0.01 0.10 0.31 0.56 0.36 0.20 0.06 0.23 0.53
CaNo 0.05 0.01 0.01 0.05 0.00 0.10 0.01 0.06 0.02 0.03 0.20
Interoception
CardRespGast 0.32 0.78 0.81 0.26 0.11 0.04 0.08 0.19 0.28 0.22 0.01
CardResp 0.31 0.70 0.80 0.19 0.08 0.05 0.09 0.21 0.20 0.13 0.01
CardGast 0.28 0.62 0.73 0.19 0.10 0.03 0.07 0.19 0.36 0.23 0.01
Card 0.28 0.48 0.67 0.06 0.07 0.05 0.09 0.23 0.22 0.13 0.00
Resp 0.25 0.70 0.62 0.26 0.07 0.04 0.06 0.13 0.10 0.15 0.03
Gast 0.17 0.43 0.26 0.17 0.08 0.00 0.02 0.06 0.12 0.07 0.03
Sensitivity
RelA 0.54 0.77 0.49 0.92 0.79 0.57 0.47 0.29 0.21 0.22 0.51
SexS 0.23 0.28 0.54 0.07 0.22 0.15 0.15 0.03 0.02 0.08 0.41
UrSe 0.21 0.36 0.66 0.40 0.14 0.01 0.00 0.00 0.03 0.02 0.07
ExaC 0.20 0.16 0.12 0.11 0.33 0.10 0.09 0.03 0.04 0.17 0.08
SexO 0.18 0.43 0.48 0.23 0.03 0.00 0.00 0.01 0.00 0.02 0.19
StaS 0.16 0.21 0.13 0.04 0.10 0.16 0.28 0.02 0.02 0.08 0.18
Code
rbind(rez, grandave) |> 
  select(-Group, -R2) |> 
  pivot_wider(names_from = "Outcome", values_from = "Rank") |> 
  mutate(Group = case_when(
    Dimension %in% c("Card", "Resp", "Gast", "CardRespGast", "CardResp", "CardGast") ~ "Visceral", 
    Dimension %in% c("RelA", "SexS", "ExaC", "StaS", "SexO", "UrSe") ~ "sensitivity", 
    Dimension %in% c("CaCo", "Urin", "Derm", "Olfa", "Sati", "CaNo") ~ "Deficit", 
    .default = "Other")) |> 
  datawizard::data_relocate(select=c("Group", "Dimension", "Average", "Interoception")) |>
  arrange(Group, Average) |> 
  gt::gt() |> 
  # gt::fmt_number(columns = "Average") |>
  gt::data_color(
    columns = -c(Dimension, Group),
    palette = c("green", "white"),
    domain = c(1, 18)
  ) |> 
  gt::opt_interactive(page_size_default=20)
Code
hclust2 <- rez |>
  filter(Group != Outcome) |>
  select(-Group, -Rank) |>
  pivot_wider(names_from = "Dimension", values_from = "R2") |>
  select(-Outcome) |>
  pvclust::pvclust(
     method.hclust = "average",
     method.dist = "correlation",
     nboot = 1000, quiet=TRUE, parallel=TRUE)

plot(hclust2, hang = -1, cex = 0.5)
pvclust::pvrect(hclust2, alpha=0.95, max.only=TRUE)

Final

Initially, we fought about also removing Olfa and Sati to provide a more parsimonious and balanced final set, but they seem to withhold interesting value.

items <- items |> # 33
  select(
    -contains("UrSe"), # Unstable item
    -contains("StaS"), # Too vague and overlapping
    -contains("SexO"), # Overalapping with SexS
    
    -contains("CaNo") # Overlap with CaCo
    # -contains("Olfa"), # Unstable metacluster
    # -contains("Sati")
  )
Code
ega2 <- bootEGA(
  items,
  EGA.type = "hierEGA",
  model = "glasso",  # BGGM
  algorithm = "leiden",
  # consensus.method = "lowest_tefi",
  allow.singleton = TRUE,
  type="resampling",
  plot.itemStability=FALSE,
  typicalStructure=TRUE,
  plot.typicalGraph=FALSE,
  iter=500,
  seed=3, ncores = 4)

save(ega2, file="models/ega2.RData")
Code
load("models/ega2.RData")

EGAnet::dimensionStability(ega2)
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"

EGA Type: hierEGA 
Bootstrap Samples: 500 (Resampling)

Proportion Replicated in Dimensions:

       SexS_3 Derm_2 Card_3 SexS_2 Sati_1 Sati_2 Card_1 Derm_3 Gast_1 Olfa_2
Lower   1.000  1.000      1  1.000  1.000  1.000      1  0.996  1.000   1.00
Higher  0.978  0.904      1  0.978  0.944  0.944      1  0.900  0.996   0.51
       Gast_2 SexS_1 Resp_3 Resp_1 RelA_3 Urin_1 Olfa_1 RelA_2 Olfa_3 RelA_1
Lower   1.000  1.000      1      1  0.998  1.000   1.00  1.000   1.00  1.000
Higher  0.996  0.978      1      1  0.978  0.982   0.51  0.978   0.51  0.978
       ExAc_3 Urin_3 Derm_1 CaCo_3 CaCo_2 ExAc_2 Card_2 Gast_3 Sati_3 Urin_2
Lower   1.000  0.992  1.000  0.994  1.000  1.000      1  1.000  0.996  1.000
Higher  0.976  0.980  0.904  0.968  0.972  0.976      1  0.996  0.944  0.982
       ExAc_1 CaCo_1 Resp_2
Lower   1.000  1.000      1
Higher  0.976  0.972      1

----

Structural Consistency:

Lower Order

    1     2     3     4     5     6     7     8     9    10    11 
1.000 0.996 1.000 0.996 1.000 1.000 1.000 0.998 0.992 1.000 0.994 


Higher Order

    1     2     3 
0.972 0.424 0.996 
Code
itemstability <- EGAnet::itemStability(ega2, IS.plot=FALSE)
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Code
p_stab <- plot(itemstability)
p_stab

EGAnet::genTEFI(ega2$EGA)
  VN.Entropy.Fit Level_1_VN Level_2_VN
1      -77.23184  -28.81809  -48.41374
Code
ega2$EGA
Lower Order

Model: GLASSO (EBIC with gamma = 0.5)
Correlations: auto
Lambda: 0.07576903751863 (n = 100, ratio = 0.1)

Number of nodes: 33
Number of edges: 183
Edge density: 0.347

Non-zero edge weights: 
     M    SD    Min   Max
 0.072 0.116 -0.116 0.469

----

Consensus Method: Most Common (1000 iterations)
Algorithm: Louvain
Order: Lower

Number of communities:  11

SexS_3 Derm_2 Card_3 SexS_2 Sati_1 Sati_2 Card_1 Derm_3 Gast_1 Olfa_2 Gast_2 
     1      2      3      1      4      4      3      2      5      6      5 
SexS_1 Resp_3 Resp_1 RelA_3 Urin_1 Olfa_1 RelA_2 Olfa_3 RelA_1 ExAc_3 Urin_3 
     1      7      7      8      9      6      8      6      8     10      9 
Derm_1 CaCo_3 CaCo_2 ExAc_2 Card_2 Gast_3 Sati_3 Urin_2 ExAc_1 CaCo_1 Resp_2 
     2     11     11     10      3      5      4      9     10     11      7 

----

Unidimensional Method: Louvain
Unidimensional: No

----

TEFI: -28.818

------------

Higher Order

Model: GLASSO (EBIC with gamma = 0.5)
Correlations: auto
Lambda: 0.0686498536738075 (n = 100, ratio = 0.1)

Number of nodes: 11
Number of edges: 40
Edge density: 0.727

Non-zero edge weights: 
     M    SD    Min   Max
 0.075 0.107 -0.176 0.478

----

Algorithm:  Leiden with Modularity

Number of communities:  3

01 02 03 04 05 06 07 08 09 10 11 
 1  2  3  2  3  2  3  1  2  1  2 

----

Unidimensional Method: Louvain
Unidimensional: No

----

TEFI: -48.414

----

Generalized TEFI: -77.232

----

Interpretation: Based on lower (-28.818) and higher (-48.414) TEFI, there is better fit for a bifactor structure than correlated lower order factor structure
Code
df_clusters <- df |>
  select(Participant, Age, Gender, starts_with("MINT")) |>
  filter(Gender!="Other") |>
  mutate(
    SexS = rowMeans(pick(contains("SexS")), na.rm = TRUE),
    Derm = rowMeans(pick(contains("Derm")), na.rm = TRUE),
    Card = rowMeans(pick(contains("Card")), na.rm = TRUE),
    Sati = rowMeans(pick(contains("Sati")), na.rm = TRUE),
    Gast = rowMeans(pick(contains("Gast")), na.rm = TRUE),
    Olfa = rowMeans(pick(contains("Olfa")), na.rm = TRUE),
    Resp = rowMeans(pick(contains("Resp")), na.rm = TRUE),
    RelA = rowMeans(pick(contains("RelA")), na.rm = TRUE),
    Urin = rowMeans(pick(contains("Urin")), na.rm = TRUE),
    ExAc = rowMeans(pick(contains("ExAc")), na.rm = TRUE),
    CaCo = rowMeans(pick(contains("CaCo")), na.rm = TRUE)
  ) |>
  select(!starts_with("MINT"))
Code
df_long <- df_clusters |>
  pivot_longer(
    cols = -c(Participant, Age, Gender),
    names_to = "Cluster",
    values_to = "Score") |>
   mutate(
    Gender  = factor(Gender, levels = c("Male", "Female")),
    Cluster = factor(Cluster))




ggplot(df_long, aes(x = Cluster, y = Score)) +
  stat_halfeye(
    data = filter(df_long, Gender == "Male"),
    side = "left",
    adjust = 1,
    fill = "#8DBAF0",
    colour = "#050252",
    point_colour = "#345273",
    point_interval = "median_qi",
    point_size = 3) +
  stat_halfeye(
    data = filter(df_long, Gender == "Female"),
    side = "right",
    adjust = 1,
    fill = "#FAA946",
    colour = "#D66200",
    point_colour = "#D66200",
    point_interval = "median_qi",
    point_alpha = 0.5) +
  theme_minimal(base_size = 13) +
  labs(x = "Cluster",y = "Score"  )

Code
ggplot(df_long, aes(x = Age,  y = Score))+
      geom_point() +
  facet_wrap(~Cluster)

EGA FAKEART
Code
df_art <- read.csv("https://raw.githubusercontent.com/RealityBending/FakeArt/refs/heads/main/data/rawdata_participants.csv") |>
  rename(MINT_Urin_1 = MINT_Urin_13,
         MINT_Urin_2 = MINT_Urin_14,
         MINT_Urin_3 = MINT_Urin_15,
         MINT_CaCo_1 = MINT_CaCo_10,
         MINT_CaCo_2 = MINT_CaCo_11,
         MINT_CaCo_3 = MINT_CaCo_12,
         # MINT_CaNo_1 = MINT_Deficit_CaNo_7,
         # MINT_CaNo_2 = MINT_Deficit_CaNo_8,
         # MINT_CaNo_3 = MINT_Deficit_CaNo_9,
         MINT_Olfa_1 = MINT_Olfa_22,
         MINT_Olfa_2 = MINT_Olfa_23,
         MINT_Olfa_3 = MINT_Olfa_24,
         MINT_Sati_1 = MINT_Sati_19,
         MINT_Sati_2 = MINT_Sati_20,
         MINT_Sati_3 = MINT_Sati_21,
         MINT_SexS_1 = MINT_SexS_7,
         MINT_SexS_2 = MINT_SexS_8,
         MINT_SexS_3 = MINT_SexS_9,
         # MINT_SexO_1 = MINT_Awareness_SexO_22,
         # MINT_SexO_2 = MINT_Awareness_SexO_23,
         # MINT_SexO_3 = MINT_Awareness_SexO_24,
         # MINT_UrSe_1 = MINT_Awareness_UrSe_25,
         # MINT_UrSe_2 = MINT_Awareness_UrSe_26,
         # MINT_UrSe_3 = MINT_Awareness_UrSe_27,
         MINT_RelA_1 = MINT_RelA_4,
         MINT_RelA_2 = MINT_RelA_5,
         MINT_RelA_3 = MINT_RelA_6,
         # MINT_StaS_1 = MINT_Awareness_StaS_31,
         # MINT_StaS_2 = MINT_Awareness_StaS_32,
         # MINT_StaS_3 = MINT_Awareness_StaS_33,
         MINT_ExAc_1 = MINT_ExAc_1,
         MINT_ExAc_2 = MINT_ExAc_2,
         MINT_ExAc_3 = MINT_ExAc_3,
         MINT_Card_1 = MINT_Card_28,
         MINT_Card_2 = MINT_Card_29,
         MINT_Card_3 = MINT_Card_30,
         MINT_Resp_1 = MINT_Resp_25,
         MINT_Resp_2 = MINT_Resp_26,
         MINT_Resp_3 = MINT_Resp_27,
         MINT_Gast_1 = MINT_Gast_31,
         MINT_Gast_2 = MINT_Gast_32,
         MINT_Gast_3 = MINT_Gast_33,
         MINT_Derm_1 = MINT_Derm_16,
         MINT_Derm_2 = MINT_Derm_17,
         MINT_Derm_3 = MINT_Derm_18) |>
  select(-"MINT_AttentionCheck", 
    -contains("UrSe"), 
    -contains("StaS"),
    -contains("SexO"), 
    -contains("CaNo") 
  )

items_art <- select(df_art, starts_with("MINT_"))
names(items_art) <- str_remove(names(items_art), "MINT_")
Code
features_art <- data.frame(
  SexS = rowMeans(select(df_art, starts_with("MINT_SexS_")), na.rm = TRUE),
  StaS = rowMeans(select(df_art, starts_with("MINT_StaS_")), na.rm = TRUE),
  SexO = rowMeans(select(df_art, starts_with("MINT_SexO_")), na.rm = TRUE),
  ExaC = rowMeans(select(df_art, starts_with("MINT_ExAc_")), na.rm = TRUE),
  RelA = rowMeans(select(df_art, starts_with("MINT_RelA_")), na.rm = TRUE),
  UrSe = rowMeans(select(df_art, starts_with("MINT_UrSe_")), na.rm = TRUE),
  CaCo = rowMeans(select(df_art, starts_with("MINT_CaCo_")), na.rm = TRUE),
  Urin = rowMeans(select(df_art, starts_with("MINT_Urin_")), na.rm = TRUE),
  Sati = rowMeans(select(df_art, starts_with("MINT_Sati_")), na.rm = TRUE),
  Derm = rowMeans(select(df_art, starts_with("MINT_Derm_")), na.rm = TRUE),
  CaNo = rowMeans(select(df_art, starts_with("MINT_CaNo_")), na.rm = TRUE),
  Olfa = rowMeans(select(df_art, starts_with("MINT_Olfa_")), na.rm = TRUE),
  Resp = rowMeans(select(df_art, starts_with("MINT_Resp_")), na.rm = TRUE),
  Card = rowMeans(select(df_art, starts_with("MINT_Card_")), na.rm = TRUE),
  Gast = rowMeans(select(df_art, starts_with("MINT_Gast_")), na.rm = TRUE)
)

features_art$CardGast = rowMeans(select(features_art, Card, Gast), na.rm = TRUE)
features_art$CardResp = rowMeans(select(features_art, Card, Resp), na.rm = TRUE)
features_art$CardRespGast = rowMeans(select(features_art, Card, Resp, Gast), na.rm = TRUE)
Code
ega_art <- bootEGA(
  items_art,
  EGA.type = "hierEGA",
  model = "glasso",  # BGGM
  algorithm = "leiden",
  # consensus.method = "lowest_tefi",
  allow.singleton = TRUE,
  type="resampling",
  plot.itemStability=FALSE,
  typicalStructure=TRUE,
  plot.typicalGraph=FALSE,
  iter=500,
  seed=3, ncores = 4)

save(ega_art, file="models/ega_art.RData")
Code
load("models/ega_art.RData")

# EGAnet::dimensionStability(ega)
itemstability_art <- EGAnet::itemStability(ega_art, IS.plot=FALSE)
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Ignoring unknown labels:
• fill : "Communities"
• linetype : "Communities"
• shape : "Communities"
Code
p_stab_art <- plot(itemstability_art)

Code
p_stab_art 

ega_art$EGA
Lower Order

Model: GLASSO (EBIC with gamma = 0.5)
Correlations: auto
Lambda: 0.116829313524342 (n = 100, ratio = 0.1)

Number of nodes: 33
Number of edges: 167
Edge density: 0.316

Non-zero edge weights: 
     M    SD    Min   Max
 0.083 0.101 -0.073 0.474

----

Consensus Method: Most Common (1000 iterations)
Algorithm: Louvain
Order: Lower

Number of communities:  11

Derm_1 Resp_2 ExAc_1 Gast_3 Olfa_2 Derm_3 Sati_2 Resp_1 RelA_3 RelA_1 ExAc_2 
     1      2      3      4      5      1      6      2      7      7      3 
SexS_3 SexS_1 Gast_2 Derm_2 Urin_3 CaCo_2 Urin_1 Sati_3 Card_2 CaCo_1 Resp_3 
     8      8      4      1      9     10      9      6     11     10      2 
Sati_1 CaCo_3 Olfa_3 Gast_1 Urin_2 RelA_2 Card_1 Card_3 SexS_2 ExAc_3 Olfa_1 
     6     10      5      4      9      7     11     11      8      3      5 

----

Unidimensional Method: Louvain
Unidimensional: No

----

TEFI: -12.665

------------

Higher Order

Model: GLASSO (EBIC with gamma = 0.5)
Correlations: auto
Lambda: 0.0808079519979436 (n = 100, ratio = 0.1)

Number of nodes: 11
Number of edges: 39
Edge density: 0.709

Non-zero edge weights: 
     M    SD    Min   Max
 0.095 0.109 -0.104 0.516

----

Algorithm:  Leiden with Modularity

Number of communities:  3

01 02 03 04 05 06 07 08 09 10 11 
 1  2  1  2  3  3  1  1  3  3  2 

----

Unidimensional Method: Louvain
Unidimensional: No

----

TEFI: -43.228

----

Generalized TEFI: -55.893

----

Interpretation: Based on lower (-12.665) and higher (-43.228) TEFI, there is better fit for a bifactor structure than correlated lower order factor structure
Code
make_loadingtable <- function(x) {
  t <- as.data.frame(x) |>
    datawizard::data_addprefix("C")
  t$Cluster <- colnames(t)[max.col(t, ties.method='first')]

  t |>
    rownames_to_column(var="Item") |>
    rowwise() |>
    mutate(Max = max(c_across(-c(Item, Cluster)))) |>
    arrange(Cluster, desc(Max)) |>
    as.data.frame()
}

dimensions <- list(
  C01 = "SexS",       # Sexual Arousal Sensitivity
  C02 = "Derm",       # Dermal Hypersensitivity
  C03 = "Card",       # Cardioception
  C04 = "Sati",       # Satiety Awareness
  C05 = "Gast",       # Gastroception
  C06 = "Olfa",       # Olfactory Contribution
  C07 = "Resp",       # Respiroception
  C08 = "RelA",       # Relaxation Awareness
  C09 = "Urin",       # Urointestinal Inaccuracy
  C10 = "ExAc",       # Expulsion Accuracy
  C11 = "CaCo"       # Cardiorespiratory Confusion
  # C01 = "C01",
  # C02 = "C02",
  # C03 = "C03",
  # C04 = "C04",
  # C05 = "C05",
  # C06 = "C06",
  # C07 = "C07",
  # C08 = "C08",
  # C09 = "C09",
  # C10 = "C10",
  # C11 = "C11",
  # C12 = "C12"
)


higher <- make_loadingtable(t(net.loads(ega2$EGA$higher_order, loading.method="revised")$std)) |> 
  arrange(Item)
cluster_order <- names(higher)[!names(higher) %in% c("Item", "Cluster", "Max")]


lower <- make_loadingtable(net.loads(ega2$EGA$lower_order, loading.method="revised")$std) |>
  select(names(higher)) |>
  mutate(Cluster = fct_relevel(Cluster, cluster_order)) |>
  arrange(Cluster, desc(Max))
dimensions <- dimensions[names(dimensions) %in% names(lower)]

higher$Item <- paste0("M", higher$Item)
# higher$Label <- c("Interoceptive Deficit", "Interoceptive Awareness", "Interoceptive Sensitivity")
higher$Label <- c("Interoceptive Awareness", "Interoceptive Deficit", "Visceroception")
higher$ID  <- ""

lower <- mutate(lower, Label = labels[paste0("MINT_", Item)], ID=Item, Item = 1:n())

tab1 <- rbind(higher, lower) |>
  select(-ID) |>
  datawizard::data_relocate("Label", after = "Item") |>
  datawizard::data_rename(names(dimensions), dimensions[names(dimensions)]) |>
  select(-Cluster, -Max) |> 
  mutate(`|` = "") |> 
  gt::gt() |>
  gt::tab_row_group(
    label = "Items",
    rows = 1:(nrow(lower) + nrow(higher))
  ) |>
  gt::tab_row_group(
    label = "Metaclusters",
    rows = 1:nrow(higher)
  ) |>
  gt::data_color(columns=-Item,
                 method = "numeric",
                 palette = c("red", "white", "green"),
                 domain = c(-1, 1)) |>
  gt::tab_style(
    style = gt::cell_text(size="small", style="italic"),
    locations = gt::cells_body(columns="Label", rows=c(4:36))
  ) |>
  gt::tab_style(
    style = list(gt::cell_text(weight="bold"),
                 gt::cell_fill(color = "#F5F5F5")),
    locations = list(
      gt::cells_row_groups(groups = "Items"),
      gt::cells_row_groups(groups = "Metaclusters")
    )
  ) |>
  gt::fmt_number(columns=-Item, decimals=2) |>
  gt::tab_header(
    title = gt::md("**Item Loadings**"),
    subtitle = "Node centrality"
  ) |> 
  # Metacluster 1
  gt::tab_style(
    style = gt::cell_fill(color = "#81C784"),
    locations = list(
      gt::cells_body(columns="Item", rows=c(1))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#81C784"),
    locations = list(
      gt::cells_column_labels(columns = 3),
      gt::cells_body(columns="Item", rows=c(4:6))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#AED581"),
    locations = list(
      gt::cells_column_labels(columns = 4),
      gt::cells_body(columns="Item", rows=c(7:9))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#DCE775"),
    locations = list(
      gt::cells_column_labels(columns = 5),
      gt::cells_body(columns="Item", rows=c(10:12))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#BA68C8"),
    locations = list(
      gt::cells_body(columns="Item", rows=c(2))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#BA68C8"),
    locations = list(
      gt::cells_column_labels(columns = 6),
      gt::cells_body(columns="Item", rows=c(13:15))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#9575CD"),
    locations = list(
      gt::cells_column_labels(columns = 7),
      gt::cells_body(columns="Item", rows=c(16:18))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#7986CB"),
    locations = list(
      gt::cells_column_labels(columns = 8),
      gt::cells_body(columns="Item", rows=c(19:21))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#64B5F6"),
    locations = list(
      gt::cells_column_labels(columns = 9),
      gt::cells_body(columns="Item", rows=c(22:24))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#4DD0E1"),
    locations = list(
      gt::cells_column_labels(columns = 10),
      gt::cells_body(columns="Item", rows=c(25:27))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#FF7811"),
    locations = list(
      gt::cells_body(columns="Item", rows=c(3))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#FFB74D"),
    locations = list(
      gt::cells_column_labels(columns = 11),
      gt::cells_body(columns="Item", rows=c(28:30))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#E57373"),
    locations = list(
      gt::cells_column_labels(columns = 12),
      gt::cells_body(columns="Item", rows=c(31:33))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#A1887F"),
    locations = list(
      gt::cells_column_labels(columns = 13),
      gt::cells_body(columns="Item", rows=c(34:36))
    )
  ) 
tab1
Item Loadings
Node centrality
Item Label ExAc RelA SexS CaCo Urin Derm Sati Olfa Resp Card Gast |
Metaclusters
M1 Interoceptive Awareness 0.42 0.41 0.30 −0.20 −0.06 0.06 −0.07 0.08 0.13 0.02 0.12
M2 Interoceptive Deficit 0.00 −0.17 0.01 0.49 0.44 0.24 0.23 0.18 0.21 0.20 0.12
M3 Visceroception 0.02 0.15 0.02 0.20 0.01 0.11 0.00 0.13 0.60 0.58 0.33
Items
1 I can always accurately feel when I am about to fart 0.48 0.02 0.05 0.00 0.00 0.04 −0.01 0.10 0.00 0.00 0.00
2 I can always accurately feel when I am about to sneeze 0.48 0.09 0.01 0.00 0.00 0.04 0.00 0.00 0.00 0.00 0.00
3 I can always accurately feel when I am about to burp 0.46 0.06 0.01 −0.02 −0.04 0.05 −0.06 0.00 0.03 0.00 0.00
4 I always feel in my body if I am relaxed 0.02 0.59 0.02 −0.04 0.00 0.00 −0.01 0.00 0.04 0.00 0.03
5 I always know when I am relaxed 0.10 0.58 0.03 −0.10 −0.07 0.00 −0.03 −0.01 0.03 0.03 0.02
6 My body is always in the same specific state when I am relaxed 0.04 0.28 0.00 −0.01 0.00 0.00 0.00 0.00 0.00 0.03 0.00
7 During sex or masturbation, I often feel very strong sensations coming from my genital areas 0.01 0.03 0.65 −0.05 −0.04 0.00 0.00 0.00 0.00 0.00 0.00
8 My genital organs are very sensitive to pleasant stimulations 0.00 0.02 0.53 0.00 0.00 0.02 0.00 0.01 0.00 0.00 0.00
9 When I am sexually aroused, I often notice specific sensations in my genital area (e.g., tingling, warmth, wetness, stiffness, pulsations) 0.08 0.02 0.53 0.00 0.01 0.03 0.00 0.02 0.00 0.01 0.02
10 Sometimes my breathing becomes erratic or shallow and I often don't know why −0.02 −0.01 0.00 0.68 0.11 0.00 0.09 0.02 0.07 0.00 0.00
11 I often feel like I can't get enough oxygen by breathing normally 0.00 −0.07 −0.04 0.39 0.04 0.04 0.02 0.02 0.06 0.04 0.00
12 Sometimes my heart starts racing and I often don't know why 0.00 −0.07 0.00 0.37 0.06 0.05 0.03 0.00 0.00 0.16 0.00
13 I sometimes feel like I need to urinate or defecate but when I go to the bathroom I produce less than I expected 0.00 0.00 0.01 0.08 0.63 0.03 0.01 0.07 0.00 0.00 0.00
14 I often feel the need to urinate even when my bladder is not full 0.00 −0.01 0.00 0.04 0.44 0.09 0.00 0.02 0.00 0.00 0.01
15 Sometimes I am not sure whether I need to go to the toilet or not (to urinate or defecate) −0.04 −0.06 −0.03 0.09 0.32 0.00 0.12 0.00 0.00 0.00 0.00
16 In general, my skin is very sensitive 0.00 0.00 0.00 0.01 0.00 0.70 0.02 0.00 0.04 0.00 0.01
17 My skin is susceptible to itchy fabrics and materials 0.00 0.00 0.00 0.07 0.07 0.46 0.01 0.01 0.00 0.00 0.01
18 I can notice even very subtle stimulations to my skin (e.g., very light touches) 0.13 0.00 0.04 0.00 0.05 0.30 0.00 0.00 0.02 0.03 0.04
19 I don't always feel the need to eat until I am really hungry −0.01 0.00 0.00 0.00 0.00 0.01 0.60 0.00 0.00 0.00 0.00
20 Sometimes I don't realise I was hungry until I ate something −0.05 −0.02 0.00 0.09 0.10 0.01 0.49 0.02 0.01 0.00 0.00
21 I don't always feel the need to drink until I am really thirsty 0.00 −0.03 0.00 0.04 0.03 0.00 0.23 0.03 0.00 −0.01 0.00
22 I often check the smell of my armpits 0.00 −0.01 0.00 0.02 0.03 0.00 0.04 0.59 0.04 0.03 0.00
23 I often check the smell of my own breath 0.00 0.00 0.01 0.02 0.00 0.00 0.02 0.55 0.04 0.00 0.04
24 I often check the smell of my farts 0.10 0.00 0.01 0.00 0.06 0.01 0.00 0.28 0.00 0.00 0.01
25 In general, I am very sensitive to changes in my breathing 0.00 0.04 0.00 0.06 0.00 0.07 0.00 0.02 0.54 0.15 0.02
26 I can notice even very subtle changes in my breathing 0.03 0.03 0.00 0.03 0.00 0.00 0.00 0.01 0.54 0.14 0.02
27 I am always very aware of how I am breathing, even when I am calm 0.00 0.02 0.00 0.04 0.00 0.00 0.01 0.04 0.43 0.05 0.06
28 In general, I am very sensitive to changes in my heart rate 0.00 0.00 0.00 0.07 0.00 0.03 −0.01 0.00 0.11 0.55 0.03
29 I often notice changes in my heart rate 0.00 0.00 0.01 0.14 0.00 0.00 0.00 0.03 0.08 0.53 0.01
30 I can notice even very subtle changes in the way my heart beats 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 0.17 0.45 0.05
31 I can notice even very subtle changes in what my stomach is doing 0.00 0.02 0.00 0.00 0.01 0.04 0.00 0.03 0.05 0.04 0.59
32 In general, I am very sensitive to what my stomach is doing 0.00 0.00 0.01 0.00 0.00 0.02 0.00 0.02 0.00 0.02 0.58
33 I am always very aware of what my stomach is doing, even when I am calm 0.00 0.04 0.01 0.00 0.00 0.00 0.00 0.00 0.07 0.04 0.53
Code
gt::gtsave(tab1, "figures/table1.png", vwidth=1660, expand=0, quiet=TRUE)
Code
rez <- pvclust::pvclust(items,
                 method.hclust = "ward.D2",
                 method.dist = "correlation",
                 nboot = 1000, quiet=TRUE, parallel=TRUE)
plot(rez, hang = -1, cex = 0.5)
pvclust::pvrect(rez, alpha=0.95, max.only=FALSE)

Code
dendrogram <- as.dist(1 - cor(items, use = "pairwise.complete.obs")) |> 
  hclust(method = "ward.D2") |> 
  tidygraph::as_tbl_graph() 


# Process Nodes
nodes <- as.list(dendrogram)$nodes |> 
  mutate(Group = case_when(str_detect(label, "Card") ~ "Card", 
                           str_detect(label, "Resp") ~ "Resp",
                           str_detect(label, "Gast") ~ "Gast",
                           str_detect(label, "SexS") ~ "SexS",
                           str_detect(label, "RelA") ~ "RelA",
                           str_detect(label, "ExAc") ~ "ExAc",
                           str_detect(label, "Urin") ~ "Urin",
                           str_detect(label, "CaCo") ~ "CaCo",
                           str_detect(label, "Derm") ~ "Derm",
                           str_detect(label, "Olfa") ~ "Olfa",
                           str_detect(label, "Sati") ~ "Sati",
                           label == "" ~ "NA",
                           .default = "Other"),
         Size = setNames(lower$Max, lower$ID)[label],
         item = label)
nodes$idx <- 1:nrow(nodes)

# Rename accoring to table
items_newnames <- lower |>
  separate(ID, into = c("Group", "Item"), sep = "_", remove = FALSE) |>
  mutate(Name = paste0(Group, "-", 1:nrow(lower)))
items_newnames <- setNames(items_newnames$Name, items_newnames$ID)
  
nodes$label <- items_newnames[nodes$label]
nodes$label <- ifelse(is.na(nodes$label), "", nodes$label)

# Central node 
max_size  <- max(nodes$Size, na.rm = TRUE)
nodes[nodes$height == max(nodes$height), c("Group", "Size")] <- data.frame(Group="Central", Size=2 * max_size)
# Metaclusters
nodes[17, c("Group", "Size")] <- data.frame(Group="Awareness", Size=1.5 * max_size)
nodes[34, c("Group", "Size")] <- data.frame(Group="Visceroception", Size=1.5 * max_size)
nodes[63, c("Group", "Size")] <- data.frame(Group="Deficit", Size=1.5 * max_size)


# Process Edges
edges <- as.list(dendrogram)$edges
edges$linewidth = datawizard::rescale(nodes[edges$from, ]$height, to = c(0.1, 1))

p_hclust <- tbl_graph(nodes = nodes, edges = edges) |> 
  ggraph(layout = "dendrogram", circular = TRUE) +
  # geom_edge_diagonal(strength = 0.7, linewidth = 1) +
  geom_edge_elbow2(aes(edge_width=linewidth), color="darkgrey") +
  geom_node_point(aes(filter=Group %in% c("Central"), size = Size), color="darkgrey") +
  geom_node_point(aes(filter=Group %in% c("Visceroception", "Awareness", "Deficit"), color=Group, size = Size)) +
  geom_node_text(aes(
    label = ifelse(label != "NA", label, NA),
    x = x * 1.07,
    y = y * 1.07,
    filter = label != "",
    angle = ifelse(
      x >= 0,
      asin(y) * 360 / 2 / pi,
      360 - asin(y) * 360 / 2 / pi
    ),
    hjust = ifelse(
      x >= 0, 0, 1
    ))) +
  geom_node_point(aes(filter = label != "", color=Group, size=Size), alpha = 1) +
  # geom_node_text(aes(label=idx)) +  # Debug
  scale_edge_width_continuous(range=c(1, 3), guide = "none") +
  scale_size_continuous(range=c(3, 11), guide = "none") +
  scale_color_manual(values = c(
    "Visceroception" = "#FF7811", "Card" = "#F44336", "Resp"="#FF9800", "Gast"="#795548",
    "Awareness" = "#4CAF50", "ExAc"="#4CAF50", "RelA"="#8BC34A", "SexS" = "#CDDC39",
    "Deficit" = "#9C27B0", "CaCo"="#9C27B0", "Urin" = "#673AB7", "Derm"="#3F51B5",
    "Sati" = "#2196F3", "Olfa" = "#00BCD4"),
                     breaks = c(
                       "Awareness", "ExAc", "RelA", "SexS",
                       "Deficit", "CaCo", "Urin", "Derm", "Sati", "Olfa",
                       "Visceroception", "Resp", "Card", "Gast"
                       ),
                     labels=c(
                       "***Awareness***", "ExAc", "RelA", "SexS",
                       "***Deficit***", "CaCo", "Urin", "Derm", "Sati", "Olfa",
                       "***Visceroception***", "Resp", "Card", "Gast"
                       )) +
  ggtitle("Hierarchical Clustering", subtitle = "Method = Correlation") +
  coord_equal(clip = "off", xlim = c(-1.25, 1.25), ylim = c(-1.25, 1.25)) +
  theme_void() + 
  guides(color = guide_legend(override.aes = list(size = c(7.5, 5, 5, 3.5, 7.5, 5, 5, 3.5, 3.5, 3.5, 7.5, 5, 5, 3.5)))) +
  theme(legend.text = ggtext::element_markdown(),
        legend.title = element_blank(),
        plot.title = element_blank(),  #element_text(face="bold")
        plot.subtitle = element_blank())
p_hclust

Code
ggsave("figures/fig1a.png", p_stab, width=10, height=10*0.8, dpi=300)
ggsave("figures/fig1b.png", p_hclust, width=8, height=8*0.8, dpi=300)
  • 33 items
Code
n <- parameters::n_factors(items, type = "FA", rotation = "oblimin")
Loading required namespace: GPArotation
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Warning in GPFoblq(A, Tmat = Tmat, normalize = normalize, eps = eps, maxit =
maxit, : convergence not obtained in GPFoblq. 1000 iterations used.
Code
plot(n)

Code
fa <- parameters::factor_analysis(items, n = 2, rotation = "oblimin", scores = "tenBerge", sort = TRUE, cor = "poly")
plot(fa)

Code
model_performance(fa) |> display()
Chi2(463) p (Chi2) RMSA RMSA_corrected TLI RMSEA RMSEA 90% CI BIC
5247.37 < .001 0.09 0.10 0.50 0.12 [0.12, 0.12] 2190.4
Code
fa |> display(threshold= 0.2, sort = TRUE)
Rotated loadings from Factor Analysis (oblimin-rotation)
Variable MR1 MR2 Complexity Uniqueness
Resp_3 0.77 1.00 0.41
Card_1 0.74 1.00 0.45
Resp_1 0.73 1.01 0.46
Card_3 0.73 1.02 0.46
Card_2 0.73 1.02 0.46
Resp_2 0.66 1.00 0.57
Gast_1 0.64 1.10 0.57
Gast_3 0.60 1.21 0.61
Gast_2 0.59 1.12 0.64
CaCo_3 0.48 -0.45 1.99 0.56
Derm_3 0.42 1.40 0.79
Olfa_2 0.42 1.01 0.82
Derm_1 0.42 1.05 0.82
Olfa_1 0.40 1.16 0.83
Derm_2 0.35 1.34 0.85
Urin_2 0.26 -0.24 1.98 0.87
Olfa_3 0.24 1.04 0.94
RelA_1 0.21 0.64 1.22 0.56
CaCo_1 0.48 -0.56 1.95 0.45
RelA_2 0.25 0.54 1.42 0.66
SexS_1 0.52 1.18 0.71
CaCo_2 0.42 -0.51 1.92 0.55
Urin_3 -0.50 1.21 0.72
SexS_2 0.24 0.49 1.47 0.71
SexS_3 0.20 0.47 1.35 0.74
ExAc_1 0.46 1.34 0.76
Sati_2 0.21 -0.42 1.48 0.77
ExAc_2 0.40 1.46 0.81
ExAc_3 0.22 0.39 1.58 0.80
RelA_3 0.31 1.54 0.88
Urin_1 0.30 -0.31 2.00 0.81
Sati_3 -0.28 1.06 0.92
Sati_1 1.94 0.94

The 2 latent factors (oblimin rotation) accounted for 30.63% of the total variance of the original data (MR1 = 19.47%, MR2 = 11.16%).

Code
# fa |>
#   select(Variable, Uniqueness) |>
#   mutate(Group = str_extract(Variable, "^[A-Z][a-z]+")) |>
#   mutate(Average = mean(Uniqueness), .by = "Group") |> 
#   arrange(desc(Average), desc(Uniqueness)) |> 
#   select(-Average, -Group) |> 
#   gt::gt() |> 
#   gt::data_color(
#     columns = "Uniqueness",
#     palette = c("red", "white", "green"),
#     domain = c(0, 1) 
#   ) 
  • 9 factors
Code
fa2 <- parameters::factor_analysis(items, n = 9, rotation = "oblimin", scores = "tenBerge", sort = TRUE, cor = "poly")
plot(fa2)

Code
model_performance(fa2) |> display()
Chi2(267) p (Chi2) RMSA RMSA_corrected TLI RMSEA RMSEA 90% CI BIC
1053.59 < .001 0.02 0.03 0.86 0.06 [0.06, 0.07] -709.3
Code
fa2 |> display(threshold= 0.2, sort = TRUE)
Rotated loadings from Factor Analysis (oblimin-rotation)
Variable MR1 MR4 MR3 MR2 MR8 MR5 MR9 MR6 MR7 Complexity Uniqueness
Card_3 0.81 1.06 0.31
Card_1 0.78 1.06 0.33
Card_2 0.74 1.14 0.34
Resp_3 0.69 1.32 0.31
Resp_1 0.67 1.24 0.37
Resp_2 0.56 1.65 0.47
CaCo_3 0.54 -0.24 0.27 2.18 0.46
CaCo_1 0.47 0.30 0.24 2.84 0.42
CaCo_2 0.45 -0.23 2.61 0.53
Gast_2 0.88 1.02 0.25
Gast_1 0.85 1.02 0.22
Gast_3 0.81 1.05 0.29
SexS_1 0.91 1.01 0.19
SexS_2 0.79 1.05 0.31
SexS_3 0.79 1.02 0.36
RelA_2 0.77 1.03 0.41
RelA_1 0.76 1.08 0.32
RelA_3 0.50 1.23 0.75
Urin_1 0.78 1.05 0.39
Urin_2 0.65 1.21 0.54
Urin_3 0.49 1.84 0.58
Derm_1 0.90 1.01 0.21
Derm_2 0.64 1.13 0.51
Derm_3 0.48 0.23 1.65 0.59
ExAc_2 0.69 1.09 0.49
ExAc_3 0.66 1.09 0.54
ExAc_1 0.64 1.09 0.52
Olfa_1 0.78 1.03 0.38
Olfa_2 0.70 1.04 0.45
Olfa_3 0.45 2.10 0.70
Sati_1 0.80 1.08 0.40
Sati_2 0.62 1.13 0.51
Sati_3 0.38 1.52 0.80

The 9 latent factors (oblimin rotation) accounted for 56.88% of the total variance of the original data (MR1 = 12.58%, MR4 = 7.44%, MR3 = 6.88%, MR2 = 5.67%, MR8 = 5.25%, MR5 = 5.02%, MR9 = 4.85%, MR6 = 4.77%, MR7 = 4.43%).

Code
# fa |>
#   select(Variable, Uniqueness) |>
#   mutate(Group = str_extract(Variable, "^[A-Z][a-z]+")) |>
#   mutate(Average = mean(Uniqueness), .by = "Group") |> 
#   arrange(desc(Average), desc(Uniqueness)) |> 
#   select(-Average, -Group) |> 
#   gt::gt() |> 
#   gt::data_color(
#     columns = "Uniqueness",
#     palette = c("red", "white", "green"),
#     domain = c(0, 1) 
#   ) 

Score Extraction

Code
# Awareness
df$MINT_SexS <- rowMeans(select(df, starts_with("MINT_SexS_")), na.rm = TRUE)
df$MINT_ExaC <- rowMeans(select(df, starts_with("MINT_ExaC_")), na.rm = TRUE)
df$MINT_RelA <- rowMeans(select(df, starts_with("MINT_RelA_")), na.rm = TRUE)
# df$MINT_StaS <- rowMeans(select(df, starts_with("MINT_StaS_")), na.rm = TRUE)
# df$MINT_SexO <- rowMeans(select(df, starts_with("MINT_SexO_")), na.rm = TRUE)
# df$MINT_UrSe <- rowMeans(select(df, starts_with("MINT_UrSe_")), na.rm = TRUE)

# Deficit
df$MINT_Urin <- rowMeans(select(df, starts_with("MINT_Urin_")), na.rm = TRUE)
df$MINT_CaCo <- rowMeans(select(df, starts_with("MINT_CaCo_")), na.rm = TRUE)
df$MINT_Derm <- rowMeans(select(df, starts_with("MINT_Derm_")), na.rm = TRUE)
# df$MINT_CaNo <- rowMeans(select(df, starts_with("MINT_CaNo_")), na.rm = TRUE)

df$MINT_Sati <- rowMeans(select(df, starts_with("MINT_Sati_")), na.rm = TRUE)
df$MINT_Olfa <- rowMeans(select(df, starts_with("MINT_Olfa_")), na.rm = TRUE)

# Visceral
df$MINT_Resp <- rowMeans(select(df, starts_with("MINT_Resp_")), na.rm = TRUE)
df$MINT_Card <- rowMeans(select(df, starts_with("MINT_Card_")), na.rm = TRUE)
df$MINT_Gast <- rowMeans(select(df, starts_with("MINT_Gast_")), na.rm = TRUE)

df <- df[names(df)[!grepl("MINT_.*[0-9]$", names(df))]]
Code
df$MINT_Meta_Awareness<- rowMeans(df[, c("MINT_SexS", "MINT_ExaC", "MINT_RelA")], na.rm = TRUE)
df$MINT_Meta_Visceroception <- rowMeans(df[, c("MINT_Resp", "MINT_Card", "MINT_Gast")], na.rm = TRUE)
df$MINT_Meta_Deficit<- rowMeans(df[, c("MINT_Urin", "MINT_CaCo", "MINT_Derm", "MINT_Sati", "MINT_Olfa")], na.rm = TRUE)
Code
clusters <- names(df)[grepl("^MINT_", names(df))]
meta_clusters <- names(df)[grepl("^MINT_Meta_", names(df))]
all_clusters <- unique(c(clusters, meta_clusters))

desc_clusters <- map_dfr(all_clusters, function(var) {
  
  # Compute t-test
  t <- t.test(as.formula(paste(var, "~ Gender")), data = filter(df, Gender != "Other")) |>
    broom::tidy() |>
    mutate(Cluster = var)
  
  # Compute Cohen's d
  d <- effectsize::cohens_d(as.formula(paste(var, "~ Gender")), data = filter(df, Gender != "Other")) |>
    as.data.frame() |>
    round(digits = 2) |>

    mutate(Cluster = var)
  
  df_cluster <- left_join(t, d, by = "Cluster") |>
    select(Cohens_d, p.value, Cluster) 
})

scores_desc <- df |>
  select(Gender, starts_with("MINT_"), starts_with(("MINT_Meta_"))) |>
  filter(Gender != "Other") |>
  pivot_longer( cols = -Gender, names_to = "Cluster", values_to = "Score") |>
  group_by(Gender, Cluster) |>
  summarise(
    Mean = mean(Score, na.rm = TRUE),
    SD   = sd(Score, na.rm = TRUE),
    N    = sum(!is.na(Score)),
    .groups = "drop"
  ) 

final_table <- scores_desc |>
  mutate(M_SD = sprintf("%.2f (%.2f)", Mean, SD)) |>
  select(Gender, Cluster, M_SD) |>
  pivot_wider(names_from = Gender, values_from = M_SD) |>
  left_join(desc_clusters,
            by = "Cluster") |>
  arrange(desc(Cohens_d)) |>
  mutate(
    Cohens_d = case_when(
      p.value < .001 ~ sprintf("d = %.2f***", Cohens_d),
      p.value < .01  ~ sprintf("d = %.2f**", Cohens_d ),
      p.value < .05  ~ sprintf("d = %.2f*", Cohens_d),
      TRUE           ~ sprintf("d = %.2f", Cohens_d))) |>
  mutate(
    # Meta_clusters  = case_when(
    #   Cluster == "MINT_Meta_Awareness" ~ "MINT - Awareness",
    #   Cluster == "MINT_Meta_Visceroception"  ~ "MINT - Visceroception",
    #   Cluster == "MINT_Meta_Deficit" ~  "MINT - Deficit"),
    Cluster = recode(
      Cluster,
      "MINT_SexS" = "MINT - Sexual Sensibility",
      "MINT_ExaC" = "MINT - Expulsion Accuracy",
      "MINT_RelA" = "MINT - Relaxation Awareness",
      "MINT_Urin" = "MINT - Urointestinal Inaccuracy",
      "MINT_CaCo" = "MINT - Cardiorespiratory Confusion",
      "MINT_Derm" = "MINT - Dermal Hypersensitivity",
      "MINT_Sati" = "MINT - Satiety Noticing",
      "MINT_Olfa" = "MINT - Olfactory Contribution",
      "MINT_Resp" = "MINT - Respiroception",
      "MINT_Card" = "MINT - Cardioception",
      "MINT_Gast" = "MINT - Gastroception" ,
      "MINT_Meta_Awareness" = "MINT - Awareness",
      "MINT_Meta_Visceroception"  = "MINT - Visceroception",
      "MINT_Meta_Deficit" =  "MINT - Deficit"),
    Cluster = factor(Cluster, levels = c(
      "MINT - Visceroception",
      "MINT - Cardioception",
      "MINT - Respiroception",
      "MINT - Gastroception",
      "MINT - Deficit",
      "MINT - Cardiorespiratory Confusion",
      "MINT - Dermal Hypersensitivity",
      "MINT - Urointestinal Inaccuracy",
      "MINT - Satiety Noticing",
      "MINT - Olfactory Contribution",
      "MINT - Awareness",
      "MINT - Sexual Sensibility",
      "MINT - Expulsion Accuracy",
      "MINT - Relaxation Awareness"
    ))
    ) |>
  select(!p.value) |>
  arrange(Cluster)
  


final_table |>
  gt() |>
   tab_style(
    style = cell_text(weight = "bold"),
    locations = cells_body(
      columns = Cluster,
      rows = Cluster %in% c("MINT - Visceroception", "MINT - Deficit", "MINT - Awareness")
    )) |>
  cols_align( align= c("left")) |>
  cols_label(Cohens_d = "Cohen's d",
             Cluster = "") |>
  tab_footnote(footnote = "Cohen's d. Significance: *** p < .001, ** p < .01, * p < .05.") |>
  gt::gtsave("figures/cluster_desc.png", vwidth=1700, expand=0, quiet=TRUE)

Correlations

Note: the comparison against the metaMint, miniMint and microMint short-form variants (and the corresponding iMAIA-inclusive model comparisons) has been moved to 3_mint_variants.qmd, so that the figures produced here only contrast the full Mint against the MAIA, BPQ and IAS.

Code
mint <- select(df, starts_with("MINT_"))
Code
make_cor <- function(df1, df2=NULL, qname_x=TRUE, qname_y=TRUE, textsize = 3, xcol = "#424242", ycol="#424242") {
  
  r <- df1 |> 
    correlation::correlation(data2=df2, p_adjust="none", ci = 0.95, redundant=ifelse(is.null(df2), TRUE, FALSE)) 
    print(r)
    
  r <- correlation::cor_sort(r) |>
    mutate(label = ifelse(p < .001, paste0(insight::format_value(r, lead_zero = FALSE, zap_small = TRUE)), ""),
           Parameter1 = cleanlabels(Parameter1, qname=qname_x),
           Parameter2 = cleanlabels(Parameter2, qname=qname_y))
  r[as.character(r$Parameter1) == as.character(r$Parameter2), "label"] <- ""
  
  xnames <- levels(r$Parameter1)
  ynames <- levels(r$Parameter2)
  
  xcol <- case_when(
    str_detect(xnames, "MINT") ~ "#00838F",
    str_detect(xnames, "MAIA") ~ "#EF6C00",
    str_detect(xnames, "IAS") ~ "#C62828",
    str_detect(xnames, "BPQ") ~ "#795548",
    .default = xcol
  )
  ycol <- case_when(
    str_detect(ynames, "MINT") ~ "#00838F",
    str_detect(ynames, "MAIA") ~ "#EF6C00",
    str_detect(ynames, "IAS") ~ "#C62828",
    str_detect(ynames, "BPQ") ~ "#795548",
    .default = ycol
  )
  xbold <- case_when(
    xnames %in% c("Awareness", "MINT - Awareness") ~ "bold",
    str_detect(xnames, "Visceroception") ~ "bold",
    str_detect(xnames, "Deficit") ~ "bold",
    .default = "plain"
  )
  ybold <- case_when(
    ynames %in% c("Awareness", "MINT - Awareness") ~ "bold",
    str_detect(ynames, "Visceroception") ~ "bold",
    str_detect(ynames, "Deficit") ~ "bold",
    .default = "plain"
  )
  
  r |> 
    ggplot(aes(x=Parameter1, y=Parameter2, fill=r)) +
    geom_tile() +
    geom_text(aes(label=label), size=textsize) +
    scale_fill_gradient2(low="blue", high="red", mid="white", midpoint=0) +
    theme_minimal() +
    theme(axis.text.x = element_text(angle = 45, hjust=1, color = xcol, face = xbold),
          axis.text.y = element_text(color = ycol, face = ybold),
          legend.position = "none",
          axis.title = element_blank())
}


p_cormint <- make_cor(mint, qname_x = FALSE, qname_y = FALSE, textsize = 2.8,
                      xcol = "#00838F", ycol = "#00838F") +
  labs(title="Correlations between MINT dimensions") +
  theme(axis.title = element_blank())
# Correlation Matrix (pearson-method)

Parameter1               |               Parameter2 |         r
---------------------------------------------------------------
MINT_SexS                |                MINT_SexS |      1.00
MINT_SexS                |                MINT_ExaC |      0.23
MINT_SexS                |                MINT_RelA |      0.22
MINT_SexS                |                MINT_Urin |     -0.07
MINT_SexS                |                MINT_CaCo |     -0.13
MINT_SexS                |                MINT_Derm |      0.13
MINT_SexS                |                MINT_Sati |     -0.08
MINT_SexS                |                MINT_Olfa |      0.13
MINT_SexS                |                MINT_Resp |      0.07
MINT_SexS                |                MINT_Card |      0.11
MINT_SexS                |                MINT_Gast |      0.13
MINT_SexS                |      MINT_Meta_Awareness |      0.69
MINT_SexS                | MINT_Meta_Visceroception |      0.12
MINT_SexS                |        MINT_Meta_Deficit |     -0.01
MINT_ExaC                |                MINT_SexS |      0.23
MINT_ExaC                |                MINT_ExaC |      1.00
MINT_ExaC                |                MINT_RelA |      0.31
MINT_ExaC                |                MINT_Urin |     -0.06
MINT_ExaC                |                MINT_CaCo |     -0.09
MINT_ExaC                |                MINT_Derm |      0.13
MINT_ExaC                |                MINT_Sati |     -0.16
MINT_ExaC                |                MINT_Olfa |      0.17
MINT_ExaC                |                MINT_Resp |      0.15
MINT_ExaC                |                MINT_Card |      0.11
MINT_ExaC                |                MINT_Gast |      0.15
MINT_ExaC                |      MINT_Meta_Awareness |      0.70
MINT_ExaC                | MINT_Meta_Visceroception |      0.16
MINT_ExaC                |        MINT_Meta_Deficit | -6.73e-03
MINT_RelA                |                MINT_SexS |      0.22
MINT_RelA                |                MINT_ExaC |      0.31
MINT_RelA                |                MINT_RelA |      1.00
MINT_RelA                |                MINT_Urin |     -0.17
MINT_RelA                |                MINT_CaCo |     -0.22
MINT_RelA                |                MINT_Derm |      0.03
MINT_RelA                |                MINT_Sati |     -0.13
MINT_RelA                |                MINT_Olfa |      0.02
MINT_RelA                |                MINT_Resp |      0.22
MINT_RelA                |                MINT_Card |      0.17
MINT_RelA                |                MINT_Gast |      0.23
MINT_RelA                |      MINT_Meta_Awareness |      0.74
MINT_RelA                | MINT_Meta_Visceroception |      0.25
MINT_RelA                |        MINT_Meta_Deficit |     -0.15
MINT_Urin                |                MINT_SexS |     -0.07
MINT_Urin                |                MINT_ExaC |     -0.06
MINT_Urin                |                MINT_RelA |     -0.17
MINT_Urin                |                MINT_Urin |      1.00
MINT_Urin                |                MINT_CaCo |      0.41
MINT_Urin                |                MINT_Derm |      0.27
MINT_Urin                |                MINT_Sati |      0.20
MINT_Urin                |                MINT_Olfa |      0.23
MINT_Urin                |                MINT_Resp |      0.12
MINT_Urin                |                MINT_Card |      0.15
MINT_Urin                |                MINT_Gast |      0.15
MINT_Urin                |      MINT_Meta_Awareness |     -0.15
MINT_Urin                | MINT_Meta_Visceroception |      0.17
MINT_Urin                |        MINT_Meta_Deficit |      0.68
MINT_CaCo                |                MINT_SexS |     -0.13
MINT_CaCo                |                MINT_ExaC |     -0.09
MINT_CaCo                |                MINT_RelA |     -0.22
MINT_CaCo                |                MINT_Urin |      0.41
MINT_CaCo                |                MINT_CaCo |      1.00
MINT_CaCo                |                MINT_Derm |      0.28
MINT_CaCo                |                MINT_Sati |      0.30
MINT_CaCo                |                MINT_Olfa |      0.21
MINT_CaCo                |                MINT_Resp |      0.39
MINT_CaCo                |                MINT_Card |      0.47
MINT_CaCo                |                MINT_Gast |      0.17
MINT_CaCo                |      MINT_Meta_Awareness |     -0.21
MINT_CaCo                | MINT_Meta_Visceroception |      0.41
MINT_CaCo                |        MINT_Meta_Deficit |      0.72
MINT_Derm                |                MINT_SexS |      0.13
MINT_Derm                |                MINT_ExaC |      0.13
MINT_Derm                |                MINT_RelA |      0.03
MINT_Derm                |                MINT_Urin |      0.27
MINT_Derm                |                MINT_CaCo |      0.28
MINT_Derm                |                MINT_Derm |      1.00
MINT_Derm                |                MINT_Sati |      0.13
MINT_Derm                |                MINT_Olfa |      0.20
MINT_Derm                |                MINT_Resp |      0.28
MINT_Derm                |                MINT_Card |      0.29
MINT_Derm                |                MINT_Gast |      0.25
MINT_Derm                |      MINT_Meta_Awareness |      0.13
MINT_Derm                | MINT_Meta_Visceroception |      0.33
MINT_Derm                |        MINT_Meta_Deficit |      0.59
MINT_Sati                |                MINT_SexS |     -0.08
MINT_Sati                |                MINT_ExaC |     -0.16
MINT_Sati                |                MINT_RelA |     -0.13
MINT_Sati                |                MINT_Urin |      0.20
MINT_Sati                |                MINT_CaCo |      0.30
MINT_Sati                |                MINT_Derm |      0.13
MINT_Sati                |                MINT_Sati |      1.00
MINT_Sati                |                MINT_Olfa |      0.12
MINT_Sati                |                MINT_Resp |      0.11
MINT_Sati                |                MINT_Card |      0.07
MINT_Sati                |                MINT_Gast |      0.06
MINT_Sati                |      MINT_Meta_Awareness |     -0.18
MINT_Sati                | MINT_Meta_Visceroception |      0.09
MINT_Sati                |        MINT_Meta_Deficit |      0.56
MINT_Olfa                |                MINT_SexS |      0.13
MINT_Olfa                |                MINT_ExaC |      0.17
MINT_Olfa                |                MINT_RelA |      0.02
MINT_Olfa                |                MINT_Urin |      0.23
MINT_Olfa                |                MINT_CaCo |      0.21
MINT_Olfa                |                MINT_Derm |      0.20
MINT_Olfa                |                MINT_Sati |      0.12
MINT_Olfa                |                MINT_Olfa |      1.00
MINT_Olfa                |                MINT_Resp |      0.28
MINT_Olfa                |                MINT_Card |      0.24
MINT_Olfa                |                MINT_Gast |      0.25
MINT_Olfa                |      MINT_Meta_Awareness |      0.15
MINT_Olfa                | MINT_Meta_Visceroception |      0.31
MINT_Olfa                |        MINT_Meta_Deficit |      0.57
MINT_Resp                |                MINT_SexS |      0.07
MINT_Resp                |                MINT_ExaC |      0.15
MINT_Resp                |                MINT_RelA |      0.22
MINT_Resp                |                MINT_Urin |      0.12
MINT_Resp                |                MINT_CaCo |      0.39
MINT_Resp                |                MINT_Derm |      0.28
MINT_Resp                |                MINT_Sati |      0.11
MINT_Resp                |                MINT_Olfa |      0.28
MINT_Resp                |                MINT_Resp |      1.00
MINT_Resp                |                MINT_Card |      0.68
MINT_Resp                |                MINT_Gast |      0.48
MINT_Resp                |      MINT_Meta_Awareness |      0.21
MINT_Resp                | MINT_Meta_Visceroception |      0.87
MINT_Resp                |        MINT_Meta_Deficit |      0.38
MINT_Card                |                MINT_SexS |      0.11
MINT_Card                |                MINT_ExaC |      0.11
MINT_Card                |                MINT_RelA |      0.17
MINT_Card                |                MINT_Urin |      0.15
MINT_Card                |                MINT_CaCo |      0.47
MINT_Card                |                MINT_Derm |      0.29
MINT_Card                |                MINT_Sati |      0.07
MINT_Card                |                MINT_Olfa |      0.24
MINT_Card                |                MINT_Resp |      0.68
MINT_Card                |                MINT_Card |      1.00
MINT_Card                |                MINT_Gast |      0.45
MINT_Card                |      MINT_Meta_Awareness |      0.18
MINT_Card                | MINT_Meta_Visceroception |      0.86
MINT_Card                |        MINT_Meta_Deficit |      0.39
MINT_Gast                |                MINT_SexS |      0.13
MINT_Gast                |                MINT_ExaC |      0.15
MINT_Gast                |                MINT_RelA |      0.23
MINT_Gast                |                MINT_Urin |      0.15
MINT_Gast                |                MINT_CaCo |      0.17
MINT_Gast                |                MINT_Derm |      0.25
MINT_Gast                |                MINT_Sati |      0.06
MINT_Gast                |                MINT_Olfa |      0.25
MINT_Gast                |                MINT_Resp |      0.48
MINT_Gast                |                MINT_Card |      0.45
MINT_Gast                |                MINT_Gast |      1.00
MINT_Gast                |      MINT_Meta_Awareness |      0.24
MINT_Gast                | MINT_Meta_Visceroception |      0.77
MINT_Gast                |        MINT_Meta_Deficit |      0.28
MINT_Meta_Awareness      |                MINT_SexS |      0.69
MINT_Meta_Awareness      |                MINT_ExaC |      0.70
MINT_Meta_Awareness      |                MINT_RelA |      0.74
MINT_Meta_Awareness      |                MINT_Urin |     -0.15
MINT_Meta_Awareness      |                MINT_CaCo |     -0.21
MINT_Meta_Awareness      |                MINT_Derm |      0.13
MINT_Meta_Awareness      |                MINT_Sati |     -0.18
MINT_Meta_Awareness      |                MINT_Olfa |      0.15
MINT_Meta_Awareness      |                MINT_Resp |      0.21
MINT_Meta_Awareness      |                MINT_Card |      0.18
MINT_Meta_Awareness      |                MINT_Gast |      0.24
MINT_Meta_Awareness      |      MINT_Meta_Awareness |      1.00
MINT_Meta_Awareness      | MINT_Meta_Visceroception |      0.25
MINT_Meta_Awareness      |        MINT_Meta_Deficit |     -0.09
MINT_Meta_Visceroception |                MINT_SexS |      0.12
MINT_Meta_Visceroception |                MINT_ExaC |      0.16
MINT_Meta_Visceroception |                MINT_RelA |      0.25
MINT_Meta_Visceroception |                MINT_Urin |      0.17
MINT_Meta_Visceroception |                MINT_CaCo |      0.41
MINT_Meta_Visceroception |                MINT_Derm |      0.33
MINT_Meta_Visceroception |                MINT_Sati |      0.09
MINT_Meta_Visceroception |                MINT_Olfa |      0.31
MINT_Meta_Visceroception |                MINT_Resp |      0.87
MINT_Meta_Visceroception |                MINT_Card |      0.86
MINT_Meta_Visceroception |                MINT_Gast |      0.77
MINT_Meta_Visceroception |      MINT_Meta_Awareness |      0.25
MINT_Meta_Visceroception | MINT_Meta_Visceroception |      1.00
MINT_Meta_Visceroception |        MINT_Meta_Deficit |      0.42
MINT_Meta_Deficit        |                MINT_SexS |     -0.01
MINT_Meta_Deficit        |                MINT_ExaC | -6.73e-03
MINT_Meta_Deficit        |                MINT_RelA |     -0.15
MINT_Meta_Deficit        |                MINT_Urin |      0.68
MINT_Meta_Deficit        |                MINT_CaCo |      0.72
MINT_Meta_Deficit        |                MINT_Derm |      0.59
MINT_Meta_Deficit        |                MINT_Sati |      0.56
MINT_Meta_Deficit        |                MINT_Olfa |      0.57
MINT_Meta_Deficit        |                MINT_Resp |      0.38
MINT_Meta_Deficit        |                MINT_Card |      0.39
MINT_Meta_Deficit        |                MINT_Gast |      0.28
MINT_Meta_Deficit        |      MINT_Meta_Awareness |     -0.09
MINT_Meta_Deficit        | MINT_Meta_Visceroception |      0.42
MINT_Meta_Deficit        |        MINT_Meta_Deficit |      1.00

Parameter1               |         95% CI | t(735) |         p
--------------------------------------------------------------
MINT_SexS                | [ 1.00,  1.00] |    Inf | < .001***
MINT_SexS                | [ 0.16,  0.30] |   6.45 | < .001***
MINT_SexS                | [ 0.15,  0.29] |   6.06 | < .001***
MINT_SexS                | [-0.14,  0.00] |  -1.86 | 0.064    
MINT_SexS                | [-0.20, -0.06] |  -3.66 | < .001***
MINT_SexS                | [ 0.05,  0.20] |   3.46 | < .001***
MINT_SexS                | [-0.15, -0.01] |  -2.28 | 0.023*   
MINT_SexS                | [ 0.06,  0.20] |   3.49 | < .001***
MINT_SexS                | [ 0.00,  0.14] |   1.91 | 0.057    
MINT_SexS                | [ 0.04,  0.18] |   2.95 | 0.003**  
MINT_SexS                | [ 0.06,  0.20] |   3.54 | < .001***
MINT_SexS                | [ 0.65,  0.73] |  25.80 | < .001***
MINT_SexS                | [ 0.05,  0.19] |   3.36 | < .001***
MINT_SexS                | [-0.09,  0.06] |  -0.38 | 0.703    
MINT_ExaC                | [ 0.16,  0.30] |   6.45 | < .001***
MINT_ExaC                | [ 1.00,  1.00] |    Inf | < .001***
MINT_ExaC                | [ 0.24,  0.37] |   8.87 | < .001***
MINT_ExaC                | [-0.13,  0.01] |  -1.72 | 0.086    
MINT_ExaC                | [-0.16, -0.02] |  -2.38 | 0.018*   
MINT_ExaC                | [ 0.06,  0.20] |   3.48 | < .001***
MINT_ExaC                | [-0.23, -0.09] |  -4.53 | < .001***
MINT_ExaC                | [ 0.10,  0.24] |   4.78 | < .001***
MINT_ExaC                | [ 0.08,  0.22] |   4.14 | < .001***
MINT_ExaC                | [ 0.04,  0.18] |   3.01 | 0.003**  
MINT_ExaC                | [ 0.08,  0.22] |   4.04 | < .001***
MINT_ExaC                | [ 0.66,  0.73] |  26.43 | < .001***
MINT_ExaC                | [ 0.09,  0.23] |   4.49 | < .001***
MINT_ExaC                | [-0.08,  0.07] |  -0.18 | 0.855    
MINT_RelA                | [ 0.15,  0.29] |   6.06 | < .001***
MINT_RelA                | [ 0.24,  0.37] |   8.87 | < .001***
MINT_RelA                | [ 1.00,  1.00] |    Inf | < .001***
MINT_RelA                | [-0.24, -0.10] |  -4.81 | < .001***
MINT_RelA                | [-0.29, -0.15] |  -6.11 | < .001***
MINT_RelA                | [-0.04,  0.10] |   0.85 | 0.397    
MINT_RelA                | [-0.20, -0.06] |  -3.51 | < .001***
MINT_RelA                | [-0.05,  0.10] |   0.64 | 0.519    
MINT_RelA                | [ 0.15,  0.29] |   6.21 | < .001***
MINT_RelA                | [ 0.09,  0.24] |   4.56 | < .001***
MINT_RelA                | [ 0.17,  0.30] |   6.55 | < .001***
MINT_RelA                | [ 0.70,  0.77] |  29.56 | < .001***
MINT_RelA                | [ 0.18,  0.32] |   6.98 | < .001***
MINT_RelA                | [-0.22, -0.08] |  -4.23 | < .001***
MINT_Urin                | [-0.14,  0.00] |  -1.86 | 0.064    
MINT_Urin                | [-0.13,  0.01] |  -1.72 | 0.086    
MINT_Urin                | [-0.24, -0.10] |  -4.81 | < .001***
MINT_Urin                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Urin                | [ 0.35,  0.47] |  12.31 | < .001***
MINT_Urin                | [ 0.20,  0.33] |   7.50 | < .001***
MINT_Urin                | [ 0.13,  0.26] |   5.43 | < .001***
MINT_Urin                | [ 0.16,  0.30] |   6.35 | < .001***
MINT_Urin                | [ 0.05,  0.19] |   3.29 | 0.001**  
MINT_Urin                | [ 0.08,  0.22] |   4.24 | < .001***
MINT_Urin                | [ 0.08,  0.22] |   4.16 | < .001***
MINT_Urin                | [-0.22, -0.08] |  -4.03 | < .001***
MINT_Urin                | [ 0.10,  0.24] |   4.70 | < .001***
MINT_Urin                | [ 0.64,  0.71] |  24.99 | < .001***
MINT_CaCo                | [-0.20, -0.06] |  -3.66 | < .001***
MINT_CaCo                | [-0.16, -0.02] |  -2.38 | 0.018*   
MINT_CaCo                | [-0.29, -0.15] |  -6.11 | < .001***
MINT_CaCo                | [ 0.35,  0.47] |  12.31 | < .001***
MINT_CaCo                | [ 1.00,  1.00] |    Inf | < .001***
MINT_CaCo                | [ 0.22,  0.35] |   8.03 | < .001***
MINT_CaCo                | [ 0.23,  0.37] |   8.55 | < .001***
MINT_CaCo                | [ 0.14,  0.27] |   5.72 | < .001***
MINT_CaCo                | [ 0.33,  0.45] |  11.61 | < .001***
MINT_CaCo                | [ 0.41,  0.52] |  14.33 | < .001***
MINT_CaCo                | [ 0.10,  0.24] |   4.68 | < .001***
MINT_CaCo                | [-0.28, -0.14] |  -5.87 | < .001***
MINT_CaCo                | [ 0.35,  0.47] |  12.32 | < .001***
MINT_CaCo                | [ 0.68,  0.75] |  28.14 | < .001***
MINT_Derm                | [ 0.05,  0.20] |   3.46 | < .001***
MINT_Derm                | [ 0.06,  0.20] |   3.48 | < .001***
MINT_Derm                | [-0.04,  0.10] |   0.85 | 0.397    
MINT_Derm                | [ 0.20,  0.33] |   7.50 | < .001***
MINT_Derm                | [ 0.22,  0.35] |   8.03 | < .001***
MINT_Derm                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Derm                | [ 0.06,  0.20] |   3.53 | < .001***
MINT_Derm                | [ 0.13,  0.27] |   5.57 | < .001***
MINT_Derm                | [ 0.21,  0.34] |   7.90 | < .001***
MINT_Derm                | [ 0.22,  0.35] |   8.18 | < .001***
MINT_Derm                | [ 0.18,  0.32] |   7.02 | < .001***
MINT_Derm                | [ 0.06,  0.20] |   3.59 | < .001***
MINT_Derm                | [ 0.26,  0.39] |   9.41 | < .001***
MINT_Derm                | [ 0.54,  0.63] |  19.57 | < .001***
MINT_Sati                | [-0.15, -0.01] |  -2.28 | 0.023*   
MINT_Sati                | [-0.23, -0.09] |  -4.53 | < .001***
MINT_Sati                | [-0.20, -0.06] |  -3.51 | < .001***
MINT_Sati                | [ 0.13,  0.26] |   5.43 | < .001***
MINT_Sati                | [ 0.23,  0.37] |   8.55 | < .001***
MINT_Sati                | [ 0.06,  0.20] |   3.53 | < .001***
MINT_Sati                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Sati                | [ 0.05,  0.20] |   3.40 | < .001***
MINT_Sati                | [ 0.04,  0.18] |   2.93 | 0.004**  
MINT_Sati                | [-0.01,  0.14] |   1.79 | 0.074    
MINT_Sati                | [-0.01,  0.13] |   1.71 | 0.088    
MINT_Sati                | [-0.24, -0.10] |  -4.83 | < .001***
MINT_Sati                | [ 0.02,  0.17] |   2.57 | 0.010*   
MINT_Sati                | [ 0.51,  0.61] |  18.23 | < .001***
MINT_Olfa                | [ 0.06,  0.20] |   3.49 | < .001***
MINT_Olfa                | [ 0.10,  0.24] |   4.78 | < .001***
MINT_Olfa                | [-0.05,  0.10] |   0.64 | 0.519    
MINT_Olfa                | [ 0.16,  0.30] |   6.35 | < .001***
MINT_Olfa                | [ 0.14,  0.27] |   5.72 | < .001***
MINT_Olfa                | [ 0.13,  0.27] |   5.57 | < .001***
MINT_Olfa                | [ 0.05,  0.20] |   3.40 | < .001***
MINT_Olfa                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Olfa                | [ 0.21,  0.34] |   7.83 | < .001***
MINT_Olfa                | [ 0.17,  0.30] |   6.62 | < .001***
MINT_Olfa                | [ 0.18,  0.32] |   7.02 | < .001***
MINT_Olfa                | [ 0.08,  0.22] |   4.07 | < .001***
MINT_Olfa                | [ 0.24,  0.37] |   8.72 | < .001***
MINT_Olfa                | [ 0.52,  0.62] |  18.92 | < .001***
MINT_Resp                | [ 0.00,  0.14] |   1.91 | 0.057    
MINT_Resp                | [ 0.08,  0.22] |   4.14 | < .001***
MINT_Resp                | [ 0.15,  0.29] |   6.21 | < .001***
MINT_Resp                | [ 0.05,  0.19] |   3.29 | 0.001**  
MINT_Resp                | [ 0.33,  0.45] |  11.61 | < .001***
MINT_Resp                | [ 0.21,  0.34] |   7.90 | < .001***
MINT_Resp                | [ 0.04,  0.18] |   2.93 | 0.004**  
MINT_Resp                | [ 0.21,  0.34] |   7.83 | < .001***
MINT_Resp                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Resp                | [ 0.64,  0.72] |  25.47 | < .001***
MINT_Resp                | [ 0.42,  0.53] |  14.83 | < .001***
MINT_Resp                | [ 0.14,  0.28] |   5.83 | < .001***
MINT_Resp                | [ 0.85,  0.88] |  47.13 | < .001***
MINT_Resp                | [ 0.32,  0.44] |  11.17 | < .001***
MINT_Card                | [ 0.04,  0.18] |   2.95 | 0.003**  
MINT_Card                | [ 0.04,  0.18] |   3.01 | 0.003**  
MINT_Card                | [ 0.09,  0.24] |   4.56 | < .001***
MINT_Card                | [ 0.08,  0.22] |   4.24 | < .001***
MINT_Card                | [ 0.41,  0.52] |  14.33 | < .001***
MINT_Card                | [ 0.22,  0.35] |   8.18 | < .001***
MINT_Card                | [-0.01,  0.14] |   1.79 | 0.074    
MINT_Card                | [ 0.17,  0.30] |   6.62 | < .001***
MINT_Card                | [ 0.64,  0.72] |  25.47 | < .001***
MINT_Card                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Card                | [ 0.40,  0.51] |  13.85 | < .001***
MINT_Card                | [ 0.11,  0.25] |   5.03 | < .001***
MINT_Card                | [ 0.84,  0.88] |  45.43 | < .001***
MINT_Card                | [ 0.33,  0.45] |  11.60 | < .001***
MINT_Gast                | [ 0.06,  0.20] |   3.54 | < .001***
MINT_Gast                | [ 0.08,  0.22] |   4.04 | < .001***
MINT_Gast                | [ 0.17,  0.30] |   6.55 | < .001***
MINT_Gast                | [ 0.08,  0.22] |   4.16 | < .001***
MINT_Gast                | [ 0.10,  0.24] |   4.68 | < .001***
MINT_Gast                | [ 0.18,  0.32] |   7.02 | < .001***
MINT_Gast                | [-0.01,  0.13] |   1.71 | 0.088    
MINT_Gast                | [ 0.18,  0.32] |   7.02 | < .001***
MINT_Gast                | [ 0.42,  0.53] |  14.83 | < .001***
MINT_Gast                | [ 0.40,  0.51] |  13.85 | < .001***
MINT_Gast                | [ 1.00,  1.00] |    Inf | < .001***
MINT_Gast                | [ 0.17,  0.31] |   6.79 | < .001***
MINT_Gast                | [ 0.74,  0.80] |  32.96 | < .001***
MINT_Gast                | [ 0.22,  0.35] |   8.01 | < .001***
MINT_Meta_Awareness      | [ 0.65,  0.73] |  25.80 | < .001***
MINT_Meta_Awareness      | [ 0.66,  0.73] |  26.43 | < .001***
MINT_Meta_Awareness      | [ 0.70,  0.77] |  29.56 | < .001***
MINT_Meta_Awareness      | [-0.22, -0.08] |  -4.03 | < .001***
MINT_Meta_Awareness      | [-0.28, -0.14] |  -5.87 | < .001***
MINT_Meta_Awareness      | [ 0.06,  0.20] |   3.59 | < .001***
MINT_Meta_Awareness      | [-0.24, -0.10] |  -4.83 | < .001***
MINT_Meta_Awareness      | [ 0.08,  0.22] |   4.07 | < .001***
MINT_Meta_Awareness      | [ 0.14,  0.28] |   5.83 | < .001***
MINT_Meta_Awareness      | [ 0.11,  0.25] |   5.03 | < .001***
MINT_Meta_Awareness      | [ 0.17,  0.31] |   6.79 | < .001***
MINT_Meta_Awareness      | [ 1.00,  1.00] |    Inf | < .001***
MINT_Meta_Awareness      | [ 0.19,  0.32] |   7.12 | < .001***
MINT_Meta_Awareness      | [-0.16, -0.01] |  -2.35 | 0.019*   
MINT_Meta_Visceroception | [ 0.05,  0.19] |   3.36 | < .001***
MINT_Meta_Visceroception | [ 0.09,  0.23] |   4.49 | < .001***
MINT_Meta_Visceroception | [ 0.18,  0.32] |   6.98 | < .001***
MINT_Meta_Visceroception | [ 0.10,  0.24] |   4.70 | < .001***
MINT_Meta_Visceroception | [ 0.35,  0.47] |  12.32 | < .001***
MINT_Meta_Visceroception | [ 0.26,  0.39] |   9.41 | < .001***
MINT_Meta_Visceroception | [ 0.02,  0.17] |   2.57 | 0.010*   
MINT_Meta_Visceroception | [ 0.24,  0.37] |   8.72 | < .001***
MINT_Meta_Visceroception | [ 0.85,  0.88] |  47.13 | < .001***
MINT_Meta_Visceroception | [ 0.84,  0.88] |  45.43 | < .001***
MINT_Meta_Visceroception | [ 0.74,  0.80] |  32.96 | < .001***
MINT_Meta_Visceroception | [ 0.19,  0.32] |   7.12 | < .001***
MINT_Meta_Visceroception | [ 1.00,  1.00] |    Inf | < .001***
MINT_Meta_Visceroception | [ 0.36,  0.48] |  12.68 | < .001***
MINT_Meta_Deficit        | [-0.09,  0.06] |  -0.38 | 0.703    
MINT_Meta_Deficit        | [-0.08,  0.07] |  -0.18 | 0.855    
MINT_Meta_Deficit        | [-0.22, -0.08] |  -4.23 | < .001***
MINT_Meta_Deficit        | [ 0.64,  0.71] |  24.99 | < .001***
MINT_Meta_Deficit        | [ 0.68,  0.75] |  28.14 | < .001***
MINT_Meta_Deficit        | [ 0.54,  0.63] |  19.57 | < .001***
MINT_Meta_Deficit        | [ 0.51,  0.61] |  18.23 | < .001***
MINT_Meta_Deficit        | [ 0.52,  0.62] |  18.92 | < .001***
MINT_Meta_Deficit        | [ 0.32,  0.44] |  11.17 | < .001***
MINT_Meta_Deficit        | [ 0.33,  0.45] |  11.60 | < .001***
MINT_Meta_Deficit        | [ 0.22,  0.35] |   8.01 | < .001***
MINT_Meta_Deficit        | [-0.16, -0.01] |  -2.35 | 0.019*   
MINT_Meta_Deficit        | [ 0.36,  0.48] |  12.68 | < .001***
MINT_Meta_Deficit        | [ 1.00,  1.00] |    Inf | < .001***

p-value adjustment method: none
Observations: 737
Code
p_cormint

Code
clusters <- names(df)[grepl("^MINT_", names(df))]
meta_clusters <- names(df)[grepl("^MINT_Meta_", names(df))]
all_clusters <- unique(c(clusters, meta_clusters))

desc_clusters <- map_dfr(all_clusters, function(var) {
  
  # Compute t-test
  t <- t.test(as.formula(paste(var, "~ Gender")), data = filter(df, Gender != "Other")) |>
    broom::tidy() |>
    mutate(Cluster = var)
  
  # Compute Cohen's d
  d <- effectsize::cohens_d(as.formula(paste(var, "~ Gender")), data = filter(df, Gender != "Other")) |>
    as.data.frame() |>
    round(digits = 2) |>

    mutate(Cluster = var)
  
  df_cluster <- left_join(t, d, by = "Cluster") |>
    select(statistic, parameter, p.value, Cluster, Cohens_d)
})

scores_desc <- df |>
  select(Gender, starts_with("MINT_"), starts_with(("MINT_Meta_"))) |>
  filter(Gender != "Other") |>
  pivot_longer( cols = -Gender, names_to = "Cluster", values_to = "Score") |>
  group_by(Gender, Cluster) |>
  summarise(
    Mean = mean(Score, na.rm = TRUE),
    SD   = sd(Score, na.rm = TRUE),
    N    = sum(!is.na(Score)),
    .groups = "drop"
  ) 

final_table <- scores_desc |>
  mutate(M_SD = sprintf("%.2f (%.2f)", Mean, SD)) |>
  select(Gender, Cluster, M_SD) |>
  pivot_wider(names_from = Gender, values_from = M_SD) |>
  left_join(desc_clusters, by = "Cluster") |>
  arrange(desc(Cohens_d)) |>
  mutate(
    d_numeric = Cohens_d,
    t_df = sprintf("t(%.0f) = %.2f", parameter, statistic),
    p_fmt = ifelse(
      p.value < .001,
      "< .001",
      sub("^0", "", sprintf("%.3f", p.value))
    ),
    Cohens_d = sprintf("%.2f", Cohens_d),
    Cluster = recode(
      Cluster,
      "MINT_SexS" = "MINT - Sexual Sensibility",
      "MINT_ExaC" = "MINT - Expulsion Accuracy",
      "MINT_RelA" = "MINT - Relaxation Awareness",
      "MINT_Urin" = "MINT - Urointestinal Inaccuracy",
      "MINT_CaCo" = "MINT - Cardiorespiratory Confusion",
      "MINT_Derm" = "MINT - Dermal Hypersensitivity",
      "MINT_Sati" = "MINT - Satiety Noticing",
      "MINT_Olfa" = "MINT - Olfactory Contribution",
      "MINT_Resp" = "MINT - Respiroception",
      "MINT_Card" = "MINT - Cardioception",
      "MINT_Gast" = "MINT - Gastroception",
      "MINT_Meta_Awareness" = "MINT - Awareness",
      "MINT_Meta_Visceroception" = "MINT - Visceroception",
      "MINT_Meta_Deficit" = "MINT - Deficit"),
    Cluster = factor(Cluster, levels = c(
      "MINT - Visceroception",
      "MINT - Cardioception",
      "MINT - Respiroception",
      "MINT - Gastroception",
      "MINT - Deficit",
      "MINT - Cardiorespiratory Confusion",
      "MINT - Dermal Hypersensitivity",
      "MINT - Urointestinal Inaccuracy",
      "MINT - Satiety Noticing",
      "MINT - Olfactory Contribution",
      "MINT - Awareness",
      "MINT - Sexual Sensibility",
      "MINT - Expulsion Accuracy",
      "MINT - Relaxation Awareness"
    ))
  ) |>
  select(!c("statistic", "parameter")) |>
  arrange(Cluster)


final_table |>
  select(Cluster, Female, Male, t_df, p_fmt, Cohens_d, p.value, d_numeric) |>
  gt() |>
  tab_style(
    style = cell_text(weight = "bold"),
    locations = cells_body(
      columns = Cluster,
      rows = Cluster %in% c("MINT - Visceroception", "MINT - Deficit", "MINT - Awareness")
    )) |>
  tab_style(
    style = cell_fill(color = "#e07e93"),
    locations = cells_body(
      columns = Cohens_d,
      rows = p.value < .001 & d_numeric > 0
    )) |>
  tab_style(
    style = cell_fill(color = "#dea2af"),
    locations = cells_body(
      columns = Cohens_d,
      rows = p.value >= .001 & p.value < .05 & d_numeric > 0
    )) |>
  tab_style(
    style = cell_fill(color = "#7ca1d9"),
    locations = cells_body(
      columns = Cohens_d,
      rows = p.value < .001 & d_numeric < 0
    )) |>
  tab_style(
    style = cell_fill(color = "#a5bad9"),
    locations = cells_body(
      columns = Cohens_d,
      rows = p.value >= .001 & p.value < .05 & d_numeric < 0
    )) |>
  cols_hide(columns = c(p.value, d_numeric)) |>
  cols_align(align = "left") |>
  cols_label(
    Cluster  = "",
    t_df     = gt::md("*t*(df)"),
    p_fmt    = gt::md("*p*"),
    Cohens_d = gt::md("*d*")
  ) |>
    tab_options(
    table.font.size = px(16),
    data_row.padding = px(8),
    column_labels.padding = px(8)
  ) |>
  tab_footnote(footnote = gt::md("*t* = Independent samples Welch's *t*-tests.Pink cells indicate higher scores in women; blue cells indicate higher scores in men. Colour intensity reflects significance, with darker shades corresponding to smaller p-values. df = degrees of freedom.")) |>
  gt::gtsave("figures/table3.png", vwidth = 800, expand = 40, quiet = TRUE)

Convegent Validity

Code
p_corintero <- make_cor(select(df, starts_with("MAIA"), IAS, BPQ),
                        mint, qname_y = FALSE, textsize = 2.8,
                        ycol = "#00838F") +
  labs(title="MINT vs. Other Interoception Questionnaires") +
  theme(axis.title = element_blank())
# Correlation Matrix (pearson-method)

Parameter1               |               Parameter2 |         r
---------------------------------------------------------------
MAIA_AttentionRegulation |                MINT_SexS |      0.24
MAIA_AttentionRegulation |                MINT_ExaC |      0.23
MAIA_AttentionRegulation |                MINT_RelA |      0.43
MAIA_AttentionRegulation |                MINT_Urin |     -0.13
MAIA_AttentionRegulation |                MINT_CaCo |     -0.09
MAIA_AttentionRegulation |                MINT_Derm |     -0.02
MAIA_AttentionRegulation |                MINT_Sati |     -0.06
MAIA_AttentionRegulation |                MINT_Olfa |      0.13
MAIA_AttentionRegulation |                MINT_Resp |      0.36
MAIA_AttentionRegulation |                MINT_Card |      0.29
MAIA_AttentionRegulation |                MINT_Gast |      0.28
MAIA_AttentionRegulation |      MINT_Meta_Awareness |      0.43
MAIA_AttentionRegulation | MINT_Meta_Visceroception |      0.37
MAIA_AttentionRegulation |        MINT_Meta_Deficit |     -0.06
MAIA_BodyListening       |                MINT_SexS |      0.20
MAIA_BodyListening       |                MINT_ExaC |      0.15
MAIA_BodyListening       |                MINT_RelA |      0.37
MAIA_BodyListening       |                MINT_Urin | -4.08e-04
MAIA_BodyListening       |                MINT_CaCo |      0.02
MAIA_BodyListening       |                MINT_Derm |      0.10
MAIA_BodyListening       |                MINT_Sati |     -0.02
MAIA_BodyListening       |                MINT_Olfa |      0.19
MAIA_BodyListening       |                MINT_Resp |      0.35
MAIA_BodyListening       |                MINT_Card |      0.34
MAIA_BodyListening       |                MINT_Gast |      0.36
MAIA_BodyListening       |      MINT_Meta_Awareness |      0.34
MAIA_BodyListening       | MINT_Meta_Visceroception |      0.42
MAIA_BodyListening       |        MINT_Meta_Deficit |      0.10
MAIA_EmotionalAwareness  |                MINT_SexS |      0.25
MAIA_EmotionalAwareness  |                MINT_ExaC |      0.19
MAIA_EmotionalAwareness  |                MINT_RelA |      0.37
MAIA_EmotionalAwareness  |                MINT_Urin |      0.02
MAIA_EmotionalAwareness  |                MINT_CaCo |      0.06
MAIA_EmotionalAwareness  |                MINT_Derm |      0.20
MAIA_EmotionalAwareness  |                MINT_Sati |      0.02
MAIA_EmotionalAwareness  |                MINT_Olfa |      0.20
MAIA_EmotionalAwareness  |                MINT_Resp |      0.43
MAIA_EmotionalAwareness  |                MINT_Card |      0.36
MAIA_EmotionalAwareness  |                MINT_Gast |      0.39
MAIA_EmotionalAwareness  |      MINT_Meta_Awareness |      0.38
MAIA_EmotionalAwareness  | MINT_Meta_Visceroception |      0.47
MAIA_EmotionalAwareness  |        MINT_Meta_Deficit |      0.16
MAIA_NotDistracting      |                MINT_SexS |     -0.02
MAIA_NotDistracting      |                MINT_ExaC |     -0.03
MAIA_NotDistracting      |                MINT_RelA |     -0.01
MAIA_NotDistracting      |                MINT_Urin |     -0.07
MAIA_NotDistracting      |                MINT_CaCo |     -0.12
MAIA_NotDistracting      |                MINT_Derm |     -0.08
MAIA_NotDistracting      |                MINT_Sati |     -0.15
MAIA_NotDistracting      |                MINT_Olfa |     -0.13
MAIA_NotDistracting      |                MINT_Resp |     -0.09
MAIA_NotDistracting      |                MINT_Card |     -0.06
MAIA_NotDistracting      |                MINT_Gast |      0.01
MAIA_NotDistracting      |      MINT_Meta_Awareness |     -0.03
MAIA_NotDistracting      | MINT_Meta_Visceroception |     -0.05
MAIA_NotDistracting      |        MINT_Meta_Deficit |     -0.18
MAIA_Noticing            |                MINT_SexS |      0.26
MAIA_Noticing            |                MINT_ExaC |      0.22
MAIA_Noticing            |                MINT_RelA |      0.36
MAIA_Noticing            |                MINT_Urin |      0.02
MAIA_Noticing            |                MINT_CaCo |      0.11
MAIA_Noticing            |                MINT_Derm |      0.25
MAIA_Noticing            |                MINT_Sati |     -0.03
MAIA_Noticing            |                MINT_Olfa |      0.20
MAIA_Noticing            |                MINT_Resp |      0.51
MAIA_Noticing            |                MINT_Card |      0.46
MAIA_Noticing            |                MINT_Gast |      0.40
MAIA_Noticing            |      MINT_Meta_Awareness |      0.40
MAIA_Noticing            | MINT_Meta_Visceroception |      0.55
MAIA_Noticing            |        MINT_Meta_Deficit |      0.17
MAIA_NotWorrying         |                MINT_SexS |      0.04
MAIA_NotWorrying         |                MINT_ExaC |      0.08
MAIA_NotWorrying         |                MINT_RelA |      0.12
MAIA_NotWorrying         |                MINT_Urin |     -0.24
MAIA_NotWorrying         |                MINT_CaCo |     -0.31
MAIA_NotWorrying         |                MINT_Derm |     -0.25
MAIA_NotWorrying         |                MINT_Sati |     -0.07
MAIA_NotWorrying         |                MINT_Olfa |     -0.09
MAIA_NotWorrying         |                MINT_Resp |     -0.09
MAIA_NotWorrying         |                MINT_Card |     -0.19
MAIA_NotWorrying         |                MINT_Gast |     -0.14
MAIA_NotWorrying         |      MINT_Meta_Awareness |      0.12
MAIA_NotWorrying         | MINT_Meta_Visceroception |     -0.17
MAIA_NotWorrying         |        MINT_Meta_Deficit |     -0.31
MAIA_SelfRegulation      |                MINT_SexS |      0.18
MAIA_SelfRegulation      |                MINT_ExaC |      0.16
MAIA_SelfRegulation      |                MINT_RelA |      0.42
MAIA_SelfRegulation      |                MINT_Urin |     -0.15
MAIA_SelfRegulation      |                MINT_CaCo |     -0.15
MAIA_SelfRegulation      |                MINT_Derm |     -0.03
MAIA_SelfRegulation      |                MINT_Sati |     -0.06
MAIA_SelfRegulation      |                MINT_Olfa |      0.09
MAIA_SelfRegulation      |                MINT_Resp |      0.26
MAIA_SelfRegulation      |                MINT_Card |      0.20
MAIA_SelfRegulation      |                MINT_Gast |      0.21
MAIA_SelfRegulation      |      MINT_Meta_Awareness |      0.36
MAIA_SelfRegulation      | MINT_Meta_Visceroception |      0.27
MAIA_SelfRegulation      |        MINT_Meta_Deficit |     -0.10
MAIA_Trusting            |                MINT_SexS |      0.27
MAIA_Trusting            |                MINT_ExaC |      0.25
MAIA_Trusting            |                MINT_RelA |      0.47
MAIA_Trusting            |                MINT_Urin |     -0.26
MAIA_Trusting            |                MINT_CaCo |     -0.37
MAIA_Trusting            |                MINT_Derm |     -0.11
MAIA_Trusting            |                MINT_Sati |     -0.16
MAIA_Trusting            |                MINT_Olfa |     -0.02
MAIA_Trusting            |                MINT_Resp |      0.07
MAIA_Trusting            |                MINT_Card |  9.18e-03
MAIA_Trusting            |                MINT_Gast |      0.09
MAIA_Trusting            |      MINT_Meta_Awareness |      0.47
MAIA_Trusting            | MINT_Meta_Visceroception |      0.07
MAIA_Trusting            |        MINT_Meta_Deficit |     -0.30
IAS                      |                MINT_SexS |      0.34
IAS                      |                MINT_ExaC |      0.56
IAS                      |                MINT_RelA |      0.45
IAS                      |                MINT_Urin |     -0.20
IAS                      |                MINT_CaCo |     -0.18
IAS                      |                MINT_Derm |      0.15
IAS                      |                MINT_Sati |     -0.28
IAS                      |                MINT_Olfa |      0.10
IAS                      |                MINT_Resp |      0.26
IAS                      |                MINT_Card |      0.23
IAS                      |                MINT_Gast |      0.20
IAS                      |      MINT_Meta_Awareness |      0.63
IAS                      | MINT_Meta_Visceroception |      0.27
IAS                      |        MINT_Meta_Deficit |     -0.13
BPQ                      |                MINT_SexS |      0.14
BPQ                      |                MINT_ExaC |      0.12
BPQ                      |                MINT_RelA |      0.08
BPQ                      |                MINT_Urin |      0.14
BPQ                      |                MINT_CaCo |      0.26
BPQ                      |                MINT_Derm |      0.29
BPQ                      |                MINT_Sati |      0.06
BPQ                      |                MINT_Olfa |      0.22
BPQ                      |                MINT_Resp |      0.39
BPQ                      |                MINT_Card |      0.43
BPQ                      |                MINT_Gast |      0.31
BPQ                      |      MINT_Meta_Awareness |      0.16
BPQ                      | MINT_Meta_Visceroception |      0.46
BPQ                      |        MINT_Meta_Deficit |      0.31

Parameter1               |         95% CI | t(735) |         p
--------------------------------------------------------------
MAIA_AttentionRegulation | [ 0.17,  0.30] |   6.56 | < .001***
MAIA_AttentionRegulation | [ 0.16,  0.30] |   6.53 | < .001***
MAIA_AttentionRegulation | [ 0.36,  0.48] |  12.74 | < .001***
MAIA_AttentionRegulation | [-0.20, -0.06] |  -3.61 | < .001***
MAIA_AttentionRegulation | [-0.17, -0.02] |  -2.56 | 0.011*   
MAIA_AttentionRegulation | [-0.09,  0.05] |  -0.55 | 0.579    
MAIA_AttentionRegulation | [-0.13,  0.02] |  -1.51 | 0.131    
MAIA_AttentionRegulation | [ 0.06,  0.20] |   3.47 | < .001***
MAIA_AttentionRegulation | [ 0.30,  0.42] |  10.54 | < .001***
MAIA_AttentionRegulation | [ 0.23,  0.36] |   8.33 | < .001***
MAIA_AttentionRegulation | [ 0.21,  0.35] |   7.91 | < .001***
MAIA_AttentionRegulation | [ 0.37,  0.48] |  12.77 | < .001***
MAIA_AttentionRegulation | [ 0.31,  0.44] |  10.95 | < .001***
MAIA_AttentionRegulation | [-0.13,  0.02] |  -1.52 | 0.128    
MAIA_BodyListening       | [ 0.13,  0.27] |   5.51 | < .001***
MAIA_BodyListening       | [ 0.08,  0.22] |   4.16 | < .001***
MAIA_BodyListening       | [ 0.30,  0.43] |  10.74 | < .001***
MAIA_BodyListening       | [-0.07,  0.07] |  -0.01 | 0.991    
MAIA_BodyListening       | [-0.05,  0.10] |   0.63 | 0.526    
MAIA_BodyListening       | [ 0.03,  0.17] |   2.78 | 0.006**  
MAIA_BodyListening       | [-0.09,  0.06] |  -0.41 | 0.681    
MAIA_BodyListening       | [ 0.12,  0.26] |   5.27 | < .001***
MAIA_BodyListening       | [ 0.29,  0.41] |  10.22 | < .001***
MAIA_BodyListening       | [ 0.27,  0.40] |   9.77 | < .001***
MAIA_BodyListening       | [ 0.29,  0.42] |  10.42 | < .001***
MAIA_BodyListening       | [ 0.28,  0.41] |   9.95 | < .001***
MAIA_BodyListening       | [ 0.36,  0.48] |  12.56 | < .001***
MAIA_BodyListening       | [ 0.02,  0.17] |   2.62 | 0.009**  
MAIA_EmotionalAwareness  | [ 0.18,  0.32] |   7.00 | < .001***
MAIA_EmotionalAwareness  | [ 0.12,  0.26] |   5.14 | < .001***
MAIA_EmotionalAwareness  | [ 0.30,  0.43] |  10.71 | < .001***
MAIA_EmotionalAwareness  | [-0.05,  0.10] |   0.65 | 0.518    
MAIA_EmotionalAwareness  | [-0.01,  0.13] |   1.69 | 0.092    
MAIA_EmotionalAwareness  | [ 0.13,  0.27] |   5.67 | < .001***
MAIA_EmotionalAwareness  | [-0.06,  0.09] |   0.41 | 0.682    
MAIA_EmotionalAwareness  | [ 0.13,  0.27] |   5.50 | < .001***
MAIA_EmotionalAwareness  | [ 0.37,  0.48] |  12.81 | < .001***
MAIA_EmotionalAwareness  | [ 0.30,  0.42] |  10.52 | < .001***
MAIA_EmotionalAwareness  | [ 0.33,  0.45] |  11.51 | < .001***
MAIA_EmotionalAwareness  | [ 0.32,  0.44] |  11.26 | < .001***
MAIA_EmotionalAwareness  | [ 0.41,  0.53] |  14.51 | < .001***
MAIA_EmotionalAwareness  | [ 0.09,  0.23] |   4.39 | < .001***
MAIA_NotDistracting      | [-0.10,  0.05] |  -0.64 | 0.520    
MAIA_NotDistracting      | [-0.10,  0.05] |  -0.73 | 0.469    
MAIA_NotDistracting      | [-0.08,  0.06] |  -0.32 | 0.747    
MAIA_NotDistracting      | [-0.14,  0.00] |  -1.89 | 0.059    
MAIA_NotDistracting      | [-0.19, -0.05] |  -3.20 | 0.001**  
MAIA_NotDistracting      | [-0.15,  0.00] |  -2.07 | 0.039*   
MAIA_NotDistracting      | [-0.22, -0.08] |  -4.17 | < .001***
MAIA_NotDistracting      | [-0.20, -0.06] |  -3.53 | < .001***
MAIA_NotDistracting      | [-0.16, -0.02] |  -2.55 | 0.011*   
MAIA_NotDistracting      | [-0.13,  0.02] |  -1.54 | 0.124    
MAIA_NotDistracting      | [-0.06,  0.09] |   0.40 | 0.693    
MAIA_NotDistracting      | [-0.10,  0.04] |  -0.78 | 0.434    
MAIA_NotDistracting      | [-0.13,  0.02] |  -1.48 | 0.139    
MAIA_NotDistracting      | [-0.24, -0.10] |  -4.82 | < .001***
MAIA_Noticing            | [ 0.19,  0.33] |   7.29 | < .001***
MAIA_Noticing            | [ 0.15,  0.29] |   6.21 | < .001***
MAIA_Noticing            | [ 0.30,  0.42] |  10.56 | < .001***
MAIA_Noticing            | [-0.05,  0.09] |   0.47 | 0.639    
MAIA_Noticing            | [ 0.04,  0.18] |   2.93 | 0.003**  
MAIA_Noticing            | [ 0.18,  0.31] |   6.86 | < .001***
MAIA_Noticing            | [-0.10,  0.04] |  -0.88 | 0.379    
MAIA_Noticing            | [ 0.13,  0.27] |   5.68 | < .001***
MAIA_Noticing            | [ 0.46,  0.56] |  16.20 | < .001***
MAIA_Noticing            | [ 0.40,  0.52] |  14.16 | < .001***
MAIA_Noticing            | [ 0.34,  0.46] |  11.81 | < .001***
MAIA_Noticing            | [ 0.34,  0.46] |  11.90 | < .001***
MAIA_Noticing            | [ 0.50,  0.60] |  17.88 | < .001***
MAIA_Noticing            | [ 0.10,  0.24] |   4.74 | < .001***
MAIA_NotWorrying         | [-0.03,  0.11] |   1.11 | 0.269    
MAIA_NotWorrying         | [ 0.01,  0.15] |   2.17 | 0.030*   
MAIA_NotWorrying         | [ 0.05,  0.19] |   3.38 | < .001***
MAIA_NotWorrying         | [-0.31, -0.17] |  -6.80 | < .001***
MAIA_NotWorrying         | [-0.37, -0.24] |  -8.70 | < .001***
MAIA_NotWorrying         | [-0.31, -0.18] |  -6.88 | < .001***
MAIA_NotWorrying         | [-0.14,  0.00] |  -1.89 | 0.060    
MAIA_NotWorrying         | [-0.16, -0.02] |  -2.42 | 0.016*   
MAIA_NotWorrying         | [-0.17, -0.02] |  -2.56 | 0.011*   
MAIA_NotWorrying         | [-0.26, -0.12] |  -5.15 | < .001***
MAIA_NotWorrying         | [-0.21, -0.07] |  -3.95 | < .001***
MAIA_NotWorrying         | [ 0.04,  0.19] |   3.16 | 0.002**  
MAIA_NotWorrying         | [-0.24, -0.10] |  -4.69 | < .001***
MAIA_NotWorrying         | [-0.37, -0.24] |  -8.72 | < .001***
MAIA_SelfRegulation      | [ 0.11,  0.25] |   4.92 | < .001***
MAIA_SelfRegulation      | [ 0.09,  0.23] |   4.35 | < .001***
MAIA_SelfRegulation      | [ 0.36,  0.48] |  12.60 | < .001***
MAIA_SelfRegulation      | [-0.22, -0.07] |  -3.99 | < .001***
MAIA_SelfRegulation      | [-0.22, -0.08] |  -4.25 | < .001***
MAIA_SelfRegulation      | [-0.10,  0.04] |  -0.85 | 0.393    
MAIA_SelfRegulation      | [-0.13,  0.02] |  -1.52 | 0.129    
MAIA_SelfRegulation      | [ 0.02,  0.16] |   2.48 | 0.013*   
MAIA_SelfRegulation      | [ 0.19,  0.32] |   7.24 | < .001***
MAIA_SelfRegulation      | [ 0.13,  0.26] |   5.42 | < .001***
MAIA_SelfRegulation      | [ 0.14,  0.28] |   5.96 | < .001***
MAIA_SelfRegulation      | [ 0.30,  0.43] |  10.60 | < .001***
MAIA_SelfRegulation      | [ 0.20,  0.33] |   7.52 | < .001***
MAIA_SelfRegulation      | [-0.17, -0.02] |  -2.62 | 0.009**  
MAIA_Trusting            | [ 0.20,  0.34] |   7.63 | < .001***
MAIA_Trusting            | [ 0.18,  0.31] |   6.90 | < .001***
MAIA_Trusting            | [ 0.41,  0.53] |  14.53 | < .001***
MAIA_Trusting            | [-0.33, -0.19] |  -7.30 | < .001***
MAIA_Trusting            | [-0.44, -0.31] | -10.95 | < .001***
MAIA_Trusting            | [-0.18, -0.04] |  -3.09 | 0.002**  
MAIA_Trusting            | [-0.23, -0.09] |  -4.49 | < .001***
MAIA_Trusting            | [-0.09,  0.06] |  -0.45 | 0.654    
MAIA_Trusting            | [ 0.00,  0.14] |   1.92 | 0.055    
MAIA_Trusting            | [-0.06,  0.08] |   0.25 | 0.804    
MAIA_Trusting            | [ 0.01,  0.16] |   2.34 | 0.019*   
MAIA_Trusting            | [ 0.41,  0.53] |  14.51 | < .001***
MAIA_Trusting            | [-0.01,  0.14] |   1.80 | 0.073    
MAIA_Trusting            | [-0.37, -0.23] |  -8.57 | < .001***
IAS                      | [ 0.28,  0.41] |   9.92 | < .001***
IAS                      | [ 0.51,  0.60] |  18.19 | < .001***
IAS                      | [ 0.39,  0.51] |  13.66 | < .001***
IAS                      | [-0.26, -0.13] |  -5.43 | < .001***
IAS                      | [-0.25, -0.11] |  -4.89 | < .001***
IAS                      | [ 0.08,  0.22] |   4.25 | < .001***
IAS                      | [-0.35, -0.21] |  -7.93 | < .001***
IAS                      | [ 0.02,  0.17] |   2.61 | 0.009**  
IAS                      | [ 0.19,  0.32] |   7.19 | < .001***
IAS                      | [ 0.16,  0.30] |   6.37 | < .001***
IAS                      | [ 0.13,  0.26] |   5.42 | < .001***
IAS                      | [ 0.58,  0.67] |  21.99 | < .001***
IAS                      | [ 0.20,  0.34] |   7.68 | < .001***
IAS                      | [-0.20, -0.06] |  -3.66 | < .001***
BPQ                      | [ 0.06,  0.21] |   3.70 | < .001***
BPQ                      | [ 0.05,  0.19] |   3.25 | 0.001**  
BPQ                      | [ 0.01,  0.16] |   2.29 | 0.022*   
BPQ                      | [ 0.07,  0.21] |   3.97 | < .001***
BPQ                      | [ 0.19,  0.33] |   7.36 | < .001***
BPQ                      | [ 0.22,  0.35] |   8.18 | < .001***
BPQ                      | [-0.02,  0.13] |   1.51 | 0.132    
BPQ                      | [ 0.15,  0.29] |   6.12 | < .001***
BPQ                      | [ 0.33,  0.45] |  11.65 | < .001***
BPQ                      | [ 0.37,  0.49] |  12.93 | < .001***
BPQ                      | [ 0.25,  0.38] |   8.97 | < .001***
BPQ                      | [ 0.09,  0.23] |   4.35 | < .001***
BPQ                      | [ 0.40,  0.51] |  13.91 | < .001***
BPQ                      | [ 0.24,  0.38] |   8.89 | < .001***

p-value adjustment method: none
Observations: 737
Code
p_corintero

Most correlated dimensions: - IAS: ExAc - Trusting: RelA - Noticing: Resp - Emotional Awareness: Resp - Body Listening: Gast - SelfRegulation: RelA - AttentionRegulation: RelA - BPQ: Card

Code
table_models <- function(models, conf.level = 0.95) {
  test <- test_performance(models)
  table <- compare_performance(models, metrics=c("R2", "BIC"))
  test$Model <- NULL
  test$Omega2 <- NULL
  test$p_Omega2 <- NULL
  test$LR <- NULL
  test$p_LR <- NULL
  test$R2 <- table$R2
  test$BIC <- table$BIC
  
  preds <- c()
  coefs <- c()
  ci_low <- c()
  ci_high <- c()
  
  for(m in models){
    x <- names(sort(abs(coef(m)[-1]), decreasing=TRUE))
    preds <- c(preds, paste0(cleanlabels(x), collapse = ", "))
    if(length(coef(m)) == 2) {
      coefs <- c(coefs, coef(m)[2])
      ci <- confint(m, level = conf.level)[2, ]
      ci_low <- c(ci_low, ci[1])
      ci_high <- c(ci_high, ci[2])
    }
  }
  
  test <- datawizard::data_select(test, c("Name", "R2", "BIC", "BF"))
  
  if(length(coefs) == length(models)) {
  test$Coefficient <- coefs
  test$CI_low <- round(ci_low,2)
  test$CI_high <- round(ci_high,2)
  }
  test
}


display_models <- function(table, title = "", subtitle = "") {
   numcols <- c("R2", "BIC", "Coefficient", "CI_low", "CI_high")[c("R2", "BIC", "Coefficient", "CI_low", "CI_high") %in% names(table)]
  table |> 
    mutate(BF = format_bf(BF, name = NULL, stars = TRUE)) |> 
    gt::gt() |> 
    gt::fmt_number(columns = numcols, decimals = 3) |>
    gt::tab_header(title = title, subtitle = subtitle) |>
    gt::data_color(
      columns = c("R2"),
      palette = c("white", "green")
    ) |> 
    gt::data_color(
      columns = c("BIC"),
      palette = c("green", "white")
    ) |> 
    gt::opt_interactive(use_compact_mode=TRUE)
  
}
# Individual predictors ------------------------------------------------------

compare_predictors <- function(outcome="TAS_DIF", family = "linear") {
  
  preds <- c("BPQ", "IAS",
             names(select(df, starts_with("MINT"), -matches("[[:digit:]]"))),
             names(select(df, starts_with("MAIA"))))

  models <- list()
  for(p in preds) {
    if(length(unique(df[[outcome]])) > 2) {
      if (family == "linear") {
        models[[p]] <- lm(as.formula(paste0(outcome, " ~ ", p)), data=df)
      } else {
        models[[p]] <- glm(as.formula(paste0(outcome, " ~ ", p)), data=df, family=family)
      }
    } else {
      models[[p]] <- glm(as.formula(paste0(outcome, " ~ ", p)), data=standardize(df, exclude=outcome), family="binomial")
    }
  }
  perf <- compare_performance(models) |> 
    arrange(AIC)
  
  best_mint <- perf$Name[str_detect(perf$Name, "MINT_")][1]
  best_maia <- perf$Name[str_detect(perf$Name, "MAIA")][1]
  
  table <- table_models(models[c(best_mint, best_maia, "BPQ", "IAS")])
  
  # Make plots --------------------------------------------------
  df_pred <- data.frame()
  for(p in c(best_mint, best_maia, "BPQ", "IAS")) {
    pred <- modelbased::estimate_relation(models[[p]], by=p, length=30) 
    names(pred)[1] <- "Value"
    pred$Predictor <- p
    df_pred <- rbind(df_pred, pred)
  }
  
  cols <- colors
  cols[[best_mint]] <- cols["Mint"]
  cols[[best_maia]] <- cols["MAIA"]
  
  p <- df_pred |>
    mutate(Predictor = fct_rev(Predictor)) |> 
    ggplot(aes(x=Value, y=Predicted)) +
    geom_ribbon(aes(ymin=CI_low, ymax=CI_high, fill=Predictor), alpha=0.3) +
    geom_line(aes(color=Predictor)) +
    scale_fill_manual(values=cols) +
    scale_color_manual(values=cols) +
    facet_wrap(~Predictor, scales="free_x") +
    labs(y=outcome, x="Interoception Index")
  
  list(table=table, p=p, outcome=outcome)
}




# Full Models ------------------------------------------------------

compare_models_lm <- function(outcome="TAS_DIF") {
  
  # Full Questionnaires
  m_mint <- lm(as.formula(paste0(outcome, " ~ .")),
              data = cbind(mint, df[outcome]))
  m_ias <- lm(as.formula(paste0(outcome, " ~ IAS")),
              data = df)
  m_maia <- lm(as.formula(paste0(outcome, " ~ .")),
                data = select(df, all_of(outcome), starts_with("MAIA"))) 
  m_imaia <- lm(as.formula(paste0(outcome, " ~ .")),
                data = select(df, all_of(outcome), 
                              starts_with("MAIA"), 
                              -contains("NotWorrying"),
                              -contains("NotDistracting"))) 
  m_imaia <- lm(as.formula(paste0(outcome, " ~ .")),
                data = select(df, all_of(outcome),
                              # MAIA_AttentionRegulation, # remove?
                              # MAIA_SelfRegulation, # remove?
                              # MAIA_Trusting, # remove?
                              MAIA_BodyListening, 
                              MAIA_EmotionalAwareness,
                              MAIA_Noticing))
  m_bpq <- lm(as.formula(paste0(outcome, " ~ BPQ")),
                data = df)
  
  models_full <- list(m_mint=m_mint,
                      m_maia=m_maia, m_imaia=m_imaia,
                      m_ias=m_ias, m_bpq=m_bpq)
  table_models(models_full)
}
Code
preds_dif <- compare_predictors("TAS_DIF")
display_models(preds_dif$table, title="Best Predictor", subtitle = "TAS - DIF")
Best Predictor
TAS - DIF
Code
preds_dif$p

Code
mods_dif <- compare_models_lm("TAS_DIF")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_dif, title="Best Model", subtitle = "DIF")
Best Model
DIF
Code
preds_ddf <- compare_predictors("TAS_DDF")
display_models(preds_ddf$table, title="Best Predictor", subtitle = "DDF")
Best Predictor
DDF
Code
preds_ddf$p

Code
mods_ddf <- compare_models_lm("TAS_DDF")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_ddf, title="Best Model", subtitle = "DDF")
Best Model
DDF
Code
preds_eot <- compare_predictors("TAS_EOT")
display_models(preds_eot$table, title="Best Predictor", subtitle = "EOT")
Best Predictor
EOT
Code
preds_eot$p

Code
mods_eot <- compare_models_lm("TAS_EOT")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_eot, title="Best Model", subtitle = "EOT")
Best Model
EOT
Code
make_cor(select(df, starts_with("TAS_")),
         cbind(mint, select(df, starts_with("MAIA"), IAS, BPQ)))
# Correlation Matrix (pearson-method)

Parameter1 |               Parameter2 |        r |         95% CI | t(735) |         p
--------------------------------------------------------------------------------------
TAS_EOT    |                MINT_SexS |    -0.08 | [-0.15, -0.01] |  -2.24 | 0.026*   
TAS_EOT    |                MINT_ExaC |    -0.14 | [-0.21, -0.06] |  -3.73 | < .001***
TAS_EOT    |                MINT_RelA |    -0.22 | [-0.29, -0.15] |  -6.13 | < .001***
TAS_EOT    |                MINT_Urin |     0.32 | [ 0.26,  0.38] |   9.20 | < .001***
TAS_EOT    |                MINT_CaCo |     0.32 | [ 0.26,  0.39] |   9.31 | < .001***
TAS_EOT    |                MINT_Derm |     0.19 | [ 0.12,  0.26] |   5.19 | < .001***
TAS_EOT    |                MINT_Sati |     0.31 | [ 0.24,  0.37] |   8.80 | < .001***
TAS_EOT    |                MINT_Olfa |     0.23 | [ 0.16,  0.30] |   6.39 | < .001***
TAS_EOT    |                MINT_Resp |     0.08 | [ 0.00,  0.15] |   2.05 | 0.041*   
TAS_EOT    |                MINT_Card |     0.10 | [ 0.03,  0.17] |   2.74 | 0.006**  
TAS_EOT    |                MINT_Gast |     0.03 | [-0.04,  0.10] |   0.75 | 0.454    
TAS_EOT    |      MINT_Meta_Awareness |    -0.21 | [-0.28, -0.14] |  -5.77 | < .001***
TAS_EOT    | MINT_Meta_Visceroception |     0.08 | [ 0.01,  0.15] |   2.23 | 0.026*   
TAS_EOT    |        MINT_Meta_Deficit |     0.44 | [ 0.38,  0.50] |  13.36 | < .001***
TAS_EOT    | MAIA_AttentionRegulation |    -0.13 | [-0.20, -0.06] |  -3.52 | < .001***
TAS_EOT    |       MAIA_BodyListening | 7.76e-03 | [-0.06,  0.08] |   0.21 | 0.833    
TAS_EOT    |  MAIA_EmotionalAwareness |     0.08 | [ 0.01,  0.15] |   2.10 | 0.036*   
TAS_EOT    |      MAIA_NotDistracting |    -0.16 | [-0.23, -0.08] |  -4.28 | < .001***
TAS_EOT    |            MAIA_Noticing |     0.03 | [-0.05,  0.10] |   0.68 | 0.494    
TAS_EOT    |         MAIA_NotWorrying |    -0.21 | [-0.27, -0.14] |  -5.73 | < .001***
TAS_EOT    |      MAIA_SelfRegulation |    -0.09 | [-0.16, -0.02] |  -2.55 | 0.011*   
TAS_EOT    |            MAIA_Trusting |    -0.27 | [-0.34, -0.20] |  -7.67 | < .001***
TAS_EOT    |                      IAS |    -0.20 | [-0.27, -0.13] |  -5.54 | < .001***
TAS_EOT    |                      BPQ |     0.12 | [ 0.05,  0.19] |   3.26 | 0.001**  
TAS_DDF    |                MINT_SexS |    -0.20 | [-0.27, -0.13] |  -5.47 | < .001***
TAS_DDF    |                MINT_ExaC |    -0.12 | [-0.20, -0.05] |  -3.41 | < .001***
TAS_DDF    |                MINT_RelA |    -0.28 | [-0.35, -0.21] |  -7.97 | < .001***
TAS_DDF    |                MINT_Urin |     0.30 | [ 0.23,  0.36] |   8.46 | < .001***
TAS_DDF    |                MINT_CaCo |     0.37 | [ 0.31,  0.43] |  10.89 | < .001***
TAS_DDF    |                MINT_Derm |     0.20 | [ 0.13,  0.27] |   5.58 | < .001***
TAS_DDF    |                MINT_Sati |     0.27 | [ 0.20,  0.33] |   7.46 | < .001***
TAS_DDF    |                MINT_Olfa |     0.18 | [ 0.11,  0.25] |   4.91 | < .001***
TAS_DDF    |                MINT_Resp |     0.08 | [ 0.01,  0.15] |   2.22 | 0.027*   
TAS_DDF    |                MINT_Card |     0.09 | [ 0.02,  0.16] |   2.38 | 0.018*   
TAS_DDF    |                MINT_Gast |     0.04 | [-0.03,  0.11] |   1.06 | 0.288    
TAS_DDF    |      MINT_Meta_Awareness |    -0.29 | [-0.35, -0.22] |  -8.20 | < .001***
TAS_DDF    | MINT_Meta_Visceroception |     0.08 | [ 0.01,  0.15] |   2.27 | 0.023*   
TAS_DDF    |        MINT_Meta_Deficit |     0.42 | [ 0.36,  0.48] |  12.70 | < .001***
TAS_DDF    | MAIA_AttentionRegulation |    -0.22 | [-0.29, -0.15] |  -6.23 | < .001***
TAS_DDF    |       MAIA_BodyListening |    -0.10 | [-0.17, -0.03] |  -2.69 | 0.007**  
TAS_DDF    |  MAIA_EmotionalAwareness |    -0.07 | [-0.15,  0.00] |  -2.03 | 0.043*   
TAS_DDF    |      MAIA_NotDistracting |    -0.15 | [-0.22, -0.08] |  -4.24 | < .001***
TAS_DDF    |            MAIA_Noticing |    -0.09 | [-0.16, -0.02] |  -2.52 | 0.012*   
TAS_DDF    |         MAIA_NotWorrying |    -0.23 | [-0.29, -0.16] |  -6.31 | < .001***
TAS_DDF    |      MAIA_SelfRegulation |    -0.22 | [-0.28, -0.15] |  -6.03 | < .001***
TAS_DDF    |            MAIA_Trusting |    -0.41 | [-0.47, -0.35] | -12.14 | < .001***
TAS_DDF    |                      IAS |    -0.29 | [-0.35, -0.22] |  -8.14 | < .001***
TAS_DDF    |                      BPQ |     0.09 | [ 0.01,  0.16] |   2.35 | 0.019*   
TAS_DIF    |                MINT_SexS |    -0.16 | [-0.23, -0.09] |  -4.47 | < .001***
TAS_DIF    |                MINT_ExaC |    -0.13 | [-0.20, -0.05] |  -3.46 | < .001***
TAS_DIF    |                MINT_RelA |    -0.32 | [-0.38, -0.25] |  -9.19 | < .001***
TAS_DIF    |                MINT_Urin |     0.33 | [ 0.26,  0.39] |   9.38 | < .001***
TAS_DIF    |                MINT_CaCo |     0.42 | [ 0.36,  0.47] |  12.43 | < .001***
TAS_DIF    |                MINT_Derm |     0.17 | [ 0.10,  0.24] |   4.59 | < .001***
TAS_DIF    |                MINT_Sati |     0.31 | [ 0.25,  0.38] |   8.90 | < .001***
TAS_DIF    |                MINT_Olfa |     0.23 | [ 0.16,  0.29] |   6.32 | < .001***
TAS_DIF    |                MINT_Resp |     0.07 | [ 0.00,  0.14] |   1.97 | 0.049*   
TAS_DIF    |                MINT_Card |     0.06 | [-0.02,  0.13] |   1.55 | 0.121    
TAS_DIF    |                MINT_Gast |     0.02 | [-0.05,  0.10] |   0.63 | 0.529    
TAS_DIF    |      MINT_Meta_Awareness |    -0.29 | [-0.36, -0.23] |  -8.30 | < .001***
TAS_DIF    | MINT_Meta_Visceroception |     0.06 | [-0.01,  0.13] |   1.67 | 0.096    
TAS_DIF    |        MINT_Meta_Deficit |     0.47 | [ 0.41,  0.52] |  14.40 | < .001***
TAS_DIF    | MAIA_AttentionRegulation |    -0.24 | [-0.31, -0.17] |  -6.68 | < .001***
TAS_DIF    |       MAIA_BodyListening |    -0.11 | [-0.18, -0.04] |  -2.98 | 0.003**  
TAS_DIF    |  MAIA_EmotionalAwareness |    -0.04 | [-0.12,  0.03] |  -1.21 | 0.225    
TAS_DIF    |      MAIA_NotDistracting |    -0.15 | [-0.22, -0.08] |  -4.02 | < .001***
TAS_DIF    |            MAIA_Noticing |    -0.08 | [-0.15, -0.01] |  -2.26 | 0.024*   
TAS_DIF    |         MAIA_NotWorrying |    -0.25 | [-0.31, -0.18] |  -6.93 | < .001***
TAS_DIF    |      MAIA_SelfRegulation |    -0.22 | [-0.29, -0.15] |  -6.11 | < .001***
TAS_DIF    |            MAIA_Trusting |    -0.42 | [-0.47, -0.36] | -12.43 | < .001***
TAS_DIF    |                      IAS |    -0.29 | [-0.35, -0.22] |  -8.22 | < .001***
TAS_DIF    |                      BPQ |     0.08 | [ 0.01,  0.15] |   2.28 | 0.023*   

p-value adjustment method: none
Observations: 737
Warning: Vectorized input to `element_text()` is not officially supported.
ℹ Results may be unexpected or may change in future versions of ggplot2.
Vectorized input to `element_text()` is not officially supported.
ℹ Results may be unexpected or may change in future versions of ggplot2.

Code
preds_ls <- compare_predictors("LifeSatisfaction")
display_models(preds_ls$table, title="Best Predictor", subtitle = "Life Satisfaction")
Best Predictor
Life Satisfaction
Code
preds_ls$p

Code
mods_ls <- compare_models_lm("LifeSatisfaction")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_ls, title="Best Model", subtitle = "Life Satisfaction")
Best Model
Life Satisfaction
Code
preds_anx <- compare_predictors("PHQ4_Anxiety")
display_models(preds_anx$table, title="Best Predictor", subtitle = "PHQ4 Anxiety")
Best Predictor
PHQ4 Anxiety
Code
preds_anx$p

Code
mods_anx <- compare_models_lm("PHQ4_Anxiety")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_anx, title="Best Model", subtitle = "PHQ4 Anxiety")
Best Model
PHQ4 Anxiety
Code
preds_dep <- compare_predictors("PHQ4_Depression")
display_models(preds_dep$table, title="Best Predictor", subtitle = "PHQ4 Depression")
Best Predictor
PHQ4 Depression
Code
preds_dep$p

Code
mods_dep <- compare_models_lm("PHQ4_Depression")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_dep, title="Best Model", subtitle = "PHQ4 Depression")
Best Model
PHQ4 Depression
Code
make_cor(select(df, LifeSatisfaction, starts_with("PHQ4_")),
         cbind(mint, select(df, starts_with("MAIA"), IAS, BPQ)))
# Correlation Matrix (pearson-method)

Parameter1       |               Parameter2 |         r |         95% CI
------------------------------------------------------------------------
LifeSatisfaction |                MINT_SexS |      0.13 | [ 0.06,  0.20]
LifeSatisfaction |                MINT_ExaC |      0.10 | [ 0.03,  0.17]
LifeSatisfaction |                MINT_RelA |      0.22 | [ 0.15,  0.28]
LifeSatisfaction |                MINT_Urin |     -0.21 | [-0.28, -0.14]
LifeSatisfaction |                MINT_CaCo |     -0.22 | [-0.29, -0.15]
LifeSatisfaction |                MINT_Derm |     -0.11 | [-0.18, -0.04]
LifeSatisfaction |                MINT_Sati |     -0.09 | [-0.17, -0.02]
LifeSatisfaction |                MINT_Olfa |     -0.05 | [-0.12,  0.02]
LifeSatisfaction |                MINT_Resp | -3.64e-03 | [-0.08,  0.07]
LifeSatisfaction |                MINT_Card |     -0.08 | [-0.15, -0.01]
LifeSatisfaction |                MINT_Gast |     -0.02 | [-0.09,  0.05]
LifeSatisfaction |      MINT_Meta_Awareness |      0.22 | [ 0.15,  0.28]
LifeSatisfaction | MINT_Meta_Visceroception |     -0.04 | [-0.11,  0.03]
LifeSatisfaction |        MINT_Meta_Deficit |     -0.22 | [-0.29, -0.15]
LifeSatisfaction | MAIA_AttentionRegulation |      0.30 | [ 0.23,  0.36]
LifeSatisfaction |       MAIA_BodyListening |      0.19 | [ 0.12,  0.26]
LifeSatisfaction |  MAIA_EmotionalAwareness |      0.15 | [ 0.08,  0.22]
LifeSatisfaction |      MAIA_NotDistracting |     -0.01 | [-0.09,  0.06]
LifeSatisfaction |            MAIA_Noticing |      0.13 | [ 0.06,  0.20]
LifeSatisfaction |         MAIA_NotWorrying |      0.22 | [ 0.15,  0.29]
LifeSatisfaction |      MAIA_SelfRegulation |      0.36 | [ 0.30,  0.42]
LifeSatisfaction |            MAIA_Trusting |      0.53 | [ 0.48,  0.58]
LifeSatisfaction |                      IAS |      0.22 | [ 0.15,  0.29]
LifeSatisfaction |                      BPQ |     -0.03 | [-0.10,  0.04]
PHQ4_Anxiety     |                MINT_SexS |     -0.08 | [-0.16, -0.01]
PHQ4_Anxiety     |                MINT_ExaC |     -0.11 | [-0.18, -0.03]
PHQ4_Anxiety     |                MINT_RelA |     -0.25 | [-0.32, -0.19]
PHQ4_Anxiety     |                MINT_Urin |      0.28 | [ 0.21,  0.34]
PHQ4_Anxiety     |                MINT_CaCo |      0.45 | [ 0.39,  0.50]
PHQ4_Anxiety     |                MINT_Derm |      0.27 | [ 0.20,  0.33]
PHQ4_Anxiety     |                MINT_Sati |      0.20 | [ 0.13,  0.27]
PHQ4_Anxiety     |                MINT_Olfa |      0.19 | [ 0.11,  0.25]
PHQ4_Anxiety     |                MINT_Resp |      0.20 | [ 0.13,  0.27]
PHQ4_Anxiety     |                MINT_Card |      0.24 | [ 0.17,  0.31]
PHQ4_Anxiety     |                MINT_Gast |      0.14 | [ 0.07,  0.21]
PHQ4_Anxiety     |      MINT_Meta_Awareness |     -0.21 | [-0.28, -0.14]
PHQ4_Anxiety     | MINT_Meta_Visceroception |      0.24 | [ 0.17,  0.30]
PHQ4_Anxiety     |        MINT_Meta_Deficit |      0.44 | [ 0.38,  0.50]
PHQ4_Anxiety     | MAIA_AttentionRegulation |     -0.22 | [-0.28, -0.15]
PHQ4_Anxiety     |       MAIA_BodyListening | -6.38e-03 | [-0.08,  0.07]
PHQ4_Anxiety     |  MAIA_EmotionalAwareness |      0.03 | [-0.04,  0.11]
PHQ4_Anxiety     |      MAIA_NotDistracting |     -0.03 | [-0.10,  0.05]
PHQ4_Anxiety     |            MAIA_Noticing |      0.04 | [-0.03,  0.11]
PHQ4_Anxiety     |         MAIA_NotWorrying |     -0.44 | [-0.50, -0.38]
PHQ4_Anxiety     |      MAIA_SelfRegulation |     -0.27 | [-0.33, -0.20]
PHQ4_Anxiety     |            MAIA_Trusting |     -0.46 | [-0.51, -0.40]
PHQ4_Anxiety     |                      IAS |     -0.15 | [-0.22, -0.08]
PHQ4_Anxiety     |                      BPQ |      0.17 | [ 0.10,  0.24]
PHQ4_Depression  |                MINT_SexS |     -0.11 | [-0.18, -0.03]
PHQ4_Depression  |                MINT_ExaC |     -0.06 | [-0.13,  0.01]
PHQ4_Depression  |                MINT_RelA |     -0.25 | [-0.31, -0.18]
PHQ4_Depression  |                MINT_Urin |      0.25 | [ 0.18,  0.32]
PHQ4_Depression  |                MINT_CaCo |      0.37 | [ 0.30,  0.43]
PHQ4_Depression  |                MINT_Derm |      0.21 | [ 0.14,  0.27]
PHQ4_Depression  |                MINT_Sati |      0.18 | [ 0.11,  0.25]
PHQ4_Depression  |                MINT_Olfa |      0.16 | [ 0.09,  0.23]
PHQ4_Depression  |                MINT_Resp |      0.13 | [ 0.05,  0.20]
PHQ4_Depression  |                MINT_Card |      0.16 | [ 0.09,  0.23]
PHQ4_Depression  |                MINT_Gast |      0.08 | [ 0.01,  0.15]
PHQ4_Depression  |      MINT_Meta_Awareness |     -0.20 | [-0.27, -0.13]
PHQ4_Depression  | MINT_Meta_Visceroception |      0.15 | [ 0.07,  0.22]
PHQ4_Depression  |        MINT_Meta_Deficit |      0.37 | [ 0.31,  0.43]
PHQ4_Depression  | MAIA_AttentionRegulation |     -0.22 | [-0.28, -0.15]
PHQ4_Depression  |       MAIA_BodyListening |     -0.07 | [-0.14,  0.00]
PHQ4_Depression  |  MAIA_EmotionalAwareness |     -0.02 | [-0.09,  0.05]
PHQ4_Depression  |      MAIA_NotDistracting |     -0.11 | [-0.18, -0.03]
PHQ4_Depression  |            MAIA_Noticing |     -0.01 | [-0.08,  0.06]
PHQ4_Depression  |         MAIA_NotWorrying |     -0.28 | [-0.34, -0.21]
PHQ4_Depression  |      MAIA_SelfRegulation |     -0.26 | [-0.32, -0.19]
PHQ4_Depression  |            MAIA_Trusting |     -0.49 | [-0.54, -0.43]
PHQ4_Depression  |                      IAS |     -0.17 | [-0.24, -0.10]
PHQ4_Depression  |                      BPQ |      0.14 | [ 0.07,  0.21]

Parameter1       | t(735) |         p
-------------------------------------
LifeSatisfaction |   3.63 | < .001***
LifeSatisfaction |   2.79 | 0.005**  
LifeSatisfaction |   6.03 | < .001***
LifeSatisfaction |  -5.85 | < .001***
LifeSatisfaction |  -6.16 | < .001***
LifeSatisfaction |  -3.06 | 0.002**  
LifeSatisfaction |  -2.57 | 0.010*   
LifeSatisfaction |  -1.37 | 0.170    
LifeSatisfaction |  -0.10 | 0.922    
LifeSatisfaction |  -2.19 | 0.029*   
LifeSatisfaction |  -0.48 | 0.635    
LifeSatisfaction |   6.00 | < .001***
LifeSatisfaction |  -1.11 | 0.266    
LifeSatisfaction |  -6.19 | < .001***
LifeSatisfaction |   8.39 | < .001***
LifeSatisfaction |   5.25 | < .001***
LifeSatisfaction |   4.02 | < .001***
LifeSatisfaction |  -0.37 | 0.711    
LifeSatisfaction |   3.48 | < .001***
LifeSatisfaction |   6.09 | < .001***
LifeSatisfaction |  10.46 | < .001***
LifeSatisfaction |  17.05 | < .001***
LifeSatisfaction |   6.19 | < .001***
LifeSatisfaction |  -0.75 | 0.451    
PHQ4_Anxiety     |  -2.29 | 0.022*   
PHQ4_Anxiety     |  -2.87 | 0.004**  
PHQ4_Anxiety     |  -7.13 | < .001***
PHQ4_Anxiety     |   7.77 | < .001***
PHQ4_Anxiety     |  13.50 | < .001***
PHQ4_Anxiety     |   7.53 | < .001***
PHQ4_Anxiety     |   5.49 | < .001***
PHQ4_Anxiety     |   5.12 | < .001***
PHQ4_Anxiety     |   5.54 | < .001***
PHQ4_Anxiety     |   6.82 | < .001***
PHQ4_Anxiety     |   3.96 | < .001***
PHQ4_Anxiety     |  -5.90 | < .001***
PHQ4_Anxiety     |   6.58 | < .001***
PHQ4_Anxiety     |  13.40 | < .001***
PHQ4_Anxiety     |  -5.97 | < .001***
PHQ4_Anxiety     |  -0.17 | 0.863    
PHQ4_Anxiety     |   0.91 | 0.364    
PHQ4_Anxiety     |  -0.68 | 0.495    
PHQ4_Anxiety     |   1.11 | 0.269    
PHQ4_Anxiety     | -13.46 | < .001***
PHQ4_Anxiety     |  -7.57 | < .001***
PHQ4_Anxiety     | -13.89 | < .001***
PHQ4_Anxiety     |  -4.18 | < .001***
PHQ4_Anxiety     |   4.69 | < .001***
PHQ4_Depression  |  -2.90 | 0.004**  
PHQ4_Depression  |  -1.63 | 0.104    
PHQ4_Depression  |  -6.88 | < .001***
PHQ4_Depression  |   6.99 | < .001***
PHQ4_Depression  |  10.67 | < .001***
PHQ4_Depression  |   5.69 | < .001***
PHQ4_Depression  |   4.85 | < .001***
PHQ4_Depression  |   4.44 | < .001***
PHQ4_Depression  |   3.43 | < .001***
PHQ4_Depression  |   4.37 | < .001***
PHQ4_Depression  |   2.18 | 0.030*   
PHQ4_Depression  |  -5.52 | < .001***
PHQ4_Depression  |   4.01 | < .001***
PHQ4_Depression  |  10.94 | < .001***
PHQ4_Depression  |  -5.98 | < .001***
PHQ4_Depression  |  -1.87 | 0.062    
PHQ4_Depression  |  -0.53 | 0.593    
PHQ4_Depression  |  -2.88 | 0.004**  
PHQ4_Depression  |  -0.27 | 0.785    
PHQ4_Depression  |  -7.85 | < .001***
PHQ4_Depression  |  -7.26 | < .001***
PHQ4_Depression  | -15.07 | < .001***
PHQ4_Depression  |  -4.67 | < .001***
PHQ4_Depression  |   3.85 | < .001***

p-value adjustment method: none
Observations: 737
Warning: Vectorized input to `element_text()` is not officially supported.
ℹ Results may be unexpected or may change in future versions of ggplot2.
Vectorized input to `element_text()` is not officially supported.
ℹ Results may be unexpected or may change in future versions of ggplot2.

  • CaCo and RelA
Code
preds_arou <- compare_predictors("ERS_Arousal")
display_models(preds_arou$table, title="Best Predictor", subtitle = "ERS Arousal")
Best Predictor
ERS Arousal
Code
preds_arou$p

Code
mods_arou <- compare_models_lm("ERS_Arousal")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_arou, title="Best Model", subtitle = "ERS Arousal")
Best Model
ERS Arousal
Code
preds_sens <- compare_predictors("ERS_Sensitivity")
display_models(preds_sens$table, title="Best Predictor", subtitle = "ERS Sensitivity")
Best Predictor
ERS Sensitivity
Code
preds_sens$p

Code
mods_sens <- compare_models_lm("ERS_Sensitivity")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_sens, title="Best Model", subtitle = "ERS Sensitivity")
Best Model
ERS Sensitivity
Code
preds_pers <- compare_predictors("ERS_Persistence")
display_models(preds_pers$table, title="Best Predictor", subtitle = "ERS Persistence")
Best Predictor
ERS Persistence
Code
preds_pers$p

Code
mods_pers <- compare_models_lm("ERS_Persistence")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_pers, title="Best Model", subtitle = "ERS Persistence")
Best Model
ERS Persistence
Code
make_cor(select(df, starts_with("ERS_")),
         cbind(mint, select(df, starts_with("MAIA"), IAS, BPQ)))
# Correlation Matrix (pearson-method)

Parameter1      |               Parameter2 |        r |         95% CI | t(735) |         p
-------------------------------------------------------------------------------------------
ERS_Arousal     |                MINT_SexS |    -0.01 | [-0.09,  0.06] |  -0.36 | 0.717    
ERS_Arousal     |                MINT_ExaC |    -0.06 | [-0.13,  0.01] |  -1.63 | 0.104    
ERS_Arousal     |                MINT_RelA |    -0.18 | [-0.25, -0.11] |  -4.97 | < .001***
ERS_Arousal     |                MINT_Urin |     0.29 | [ 0.23,  0.36] |   8.29 | < .001***
ERS_Arousal     |                MINT_CaCo |     0.37 | [ 0.31,  0.43] |  10.86 | < .001***
ERS_Arousal     |                MINT_Derm |     0.28 | [ 0.21,  0.35] |   7.95 | < .001***
ERS_Arousal     |                MINT_Sati |     0.16 | [ 0.09,  0.23] |   4.50 | < .001***
ERS_Arousal     |                MINT_Olfa |     0.27 | [ 0.20,  0.33] |   7.45 | < .001***
ERS_Arousal     |                MINT_Resp |     0.19 | [ 0.12,  0.26] |   5.16 | < .001***
ERS_Arousal     |                MINT_Card |     0.20 | [ 0.13,  0.26] |   5.42 | < .001***
ERS_Arousal     |                MINT_Gast |     0.15 | [ 0.08,  0.22] |   4.14 | < .001***
ERS_Arousal     |      MINT_Meta_Awareness |    -0.12 | [-0.19, -0.05] |  -3.33 | < .001***
ERS_Arousal     | MINT_Meta_Visceroception |     0.21 | [ 0.14,  0.28] |   5.94 | < .001***
ERS_Arousal     |        MINT_Meta_Deficit |     0.44 | [ 0.38,  0.50] |  13.39 | < .001***
ERS_Arousal     | MAIA_AttentionRegulation |    -0.15 | [-0.22, -0.08] |  -4.03 | < .001***
ERS_Arousal     |       MAIA_BodyListening |     0.07 | [ 0.00,  0.14] |   1.86 | 0.063    
ERS_Arousal     |  MAIA_EmotionalAwareness |     0.18 | [ 0.11,  0.25] |   5.04 | < .001***
ERS_Arousal     |      MAIA_NotDistracting | 2.53e-03 | [-0.07,  0.07] |   0.07 | 0.945    
ERS_Arousal     |            MAIA_Noticing |     0.12 | [ 0.05,  0.19] |   3.30 | 0.001**  
ERS_Arousal     |         MAIA_NotWorrying |    -0.43 | [-0.49, -0.37] | -13.02 | < .001***
ERS_Arousal     |      MAIA_SelfRegulation |    -0.21 | [-0.28, -0.14] |  -5.81 | < .001***
ERS_Arousal     |            MAIA_Trusting |    -0.34 | [-0.40, -0.27] |  -9.81 | < .001***
ERS_Arousal     |                      IAS |    -0.06 | [-0.13,  0.01] |  -1.62 | 0.105    
ERS_Arousal     |                      BPQ |     0.19 | [ 0.12,  0.26] |   5.20 | < .001***
ERS_Sensitivity |                MINT_SexS |    -0.02 | [-0.10,  0.05] |  -0.65 | 0.516    
ERS_Sensitivity |                MINT_ExaC |    -0.07 | [-0.14,  0.00] |  -1.90 | 0.058    
ERS_Sensitivity |                MINT_RelA |    -0.16 | [-0.23, -0.09] |  -4.45 | < .001***
ERS_Sensitivity |                MINT_Urin |     0.31 | [ 0.24,  0.37] |   8.72 | < .001***
ERS_Sensitivity |                MINT_CaCo |     0.38 | [ 0.31,  0.44] |  11.03 | < .001***
ERS_Sensitivity |                MINT_Derm |     0.29 | [ 0.22,  0.35] |   8.15 | < .001***
ERS_Sensitivity |                MINT_Sati |     0.15 | [ 0.08,  0.22] |   4.05 | < .001***
ERS_Sensitivity |                MINT_Olfa |     0.19 | [ 0.11,  0.25] |   5.10 | < .001***
ERS_Sensitivity |                MINT_Resp |     0.14 | [ 0.07,  0.21] |   3.90 | < .001***
ERS_Sensitivity |                MINT_Card |     0.20 | [ 0.13,  0.27] |   5.63 | < .001***
ERS_Sensitivity |                MINT_Gast |     0.10 | [ 0.03,  0.17] |   2.81 | 0.005**  
ERS_Sensitivity |      MINT_Meta_Awareness |    -0.12 | [-0.19, -0.05] |  -3.34 | < .001***
ERS_Sensitivity | MINT_Meta_Visceroception |     0.18 | [ 0.11,  0.25] |   4.96 | < .001***
ERS_Sensitivity |        MINT_Meta_Deficit |     0.42 | [ 0.36,  0.48] |  12.52 | < .001***
ERS_Sensitivity | MAIA_AttentionRegulation |    -0.18 | [-0.25, -0.11] |  -5.10 | < .001***
ERS_Sensitivity |       MAIA_BodyListening |     0.04 | [-0.04,  0.11] |   1.01 | 0.312    
ERS_Sensitivity |  MAIA_EmotionalAwareness |     0.13 | [ 0.06,  0.20] |   3.50 | < .001***
ERS_Sensitivity |      MAIA_NotDistracting |     0.03 | [-0.04,  0.10] |   0.75 | 0.454    
ERS_Sensitivity |            MAIA_Noticing |     0.09 | [ 0.01,  0.16] |   2.34 | 0.020*   
ERS_Sensitivity |         MAIA_NotWorrying |    -0.47 | [-0.52, -0.41] | -14.28 | < .001***
ERS_Sensitivity |      MAIA_SelfRegulation |    -0.22 | [-0.28, -0.15] |  -6.01 | < .001***
ERS_Sensitivity |            MAIA_Trusting |    -0.34 | [-0.40, -0.28] |  -9.84 | < .001***
ERS_Sensitivity |                      IAS |    -0.05 | [-0.12,  0.02] |  -1.38 | 0.167    
ERS_Sensitivity |                      BPQ |     0.17 | [ 0.10,  0.24] |   4.69 | < .001***
ERS_Persistence |                MINT_SexS |    -0.05 | [-0.12,  0.02] |  -1.29 | 0.197    
ERS_Persistence |                MINT_ExaC |    -0.04 | [-0.11,  0.03] |  -1.13 | 0.259    
ERS_Persistence |                MINT_RelA |    -0.19 | [-0.26, -0.12] |  -5.30 | < .001***
ERS_Persistence |                MINT_Urin |     0.29 | [ 0.23,  0.36] |   8.36 | < .001***
ERS_Persistence |                MINT_CaCo |     0.38 | [ 0.31,  0.44] |  11.05 | < .001***
ERS_Persistence |                MINT_Derm |     0.21 | [ 0.14,  0.28] |   5.96 | < .001***
ERS_Persistence |                MINT_Sati |     0.21 | [ 0.14,  0.28] |   5.77 | < .001***
ERS_Persistence |                MINT_Olfa |     0.22 | [ 0.15,  0.29] |   6.13 | < .001***
ERS_Persistence |                MINT_Resp |     0.09 | [ 0.01,  0.16] |   2.36 | 0.019*   
ERS_Persistence |                MINT_Card |     0.15 | [ 0.08,  0.22] |   4.05 | < .001***
ERS_Persistence |                MINT_Gast |     0.09 | [ 0.01,  0.16] |   2.32 | 0.021*   
ERS_Persistence |      MINT_Meta_Awareness |    -0.14 | [-0.21, -0.06] |  -3.73 | < .001***
ERS_Persistence | MINT_Meta_Visceroception |     0.13 | [ 0.06,  0.20] |   3.50 | < .001***
ERS_Persistence |        MINT_Meta_Deficit |     0.42 | [ 0.36,  0.48] |  12.72 | < .001***
ERS_Persistence | MAIA_AttentionRegulation |    -0.24 | [-0.30, -0.17] |  -6.59 | < .001***
ERS_Persistence |       MAIA_BodyListening |    -0.02 | [-0.09,  0.06] |  -0.44 | 0.659    
ERS_Persistence |  MAIA_EmotionalAwareness |     0.09 | [ 0.02,  0.16] |   2.43 | 0.015*   
ERS_Persistence |      MAIA_NotDistracting |     0.03 | [-0.05,  0.10] |   0.68 | 0.497    
ERS_Persistence |            MAIA_Noticing |     0.02 | [-0.06,  0.09] |   0.45 | 0.651    
ERS_Persistence |         MAIA_NotWorrying |    -0.44 | [-0.50, -0.38] | -13.46 | < .001***
ERS_Persistence |      MAIA_SelfRegulation |    -0.27 | [-0.33, -0.20] |  -7.49 | < .001***
ERS_Persistence |            MAIA_Trusting |    -0.37 | [-0.43, -0.31] | -10.89 | < .001***
ERS_Persistence |                      IAS |    -0.15 | [-0.22, -0.08] |  -4.10 | < .001***
ERS_Persistence |                      BPQ |     0.15 | [ 0.08,  0.22] |   4.07 | < .001***

p-value adjustment method: none
Observations: 737
Warning: Vectorized input to `element_text()` is not officially supported.
ℹ Results may be unexpected or may change in future versions of ggplot2.
Vectorized input to `element_text()` is not officially supported.
ℹ Results may be unexpected or may change in future versions of ggplot2.

  • CaCo

Exploratory

Code
make_cor(select(df, starts_with("CEFSA")),
         cbind(mint, select(df, starts_with("MAIA"), IAS, BPQ)))
# Correlation Matrix (pearson-method)

Parameter1        |               Parameter2 |         r |         95% CI
-------------------------------------------------------------------------
CEFSA_Body        |                MINT_SexS |     -0.18 | [-0.25, -0.11]
CEFSA_Body        |                MINT_ExaC |     -0.14 | [-0.21, -0.07]
CEFSA_Body        |                MINT_RelA |     -0.29 | [-0.35, -0.22]
CEFSA_Body        |                MINT_Urin |      0.32 | [ 0.26,  0.39]
CEFSA_Body        |                MINT_CaCo |      0.48 | [ 0.42,  0.53]
CEFSA_Body        |                MINT_Derm |      0.21 | [ 0.14,  0.28]
CEFSA_Body        |                MINT_Sati |      0.27 | [ 0.20,  0.34]
CEFSA_Body        |                MINT_Olfa |      0.19 | [ 0.11,  0.25]
CEFSA_Body        |                MINT_Resp |      0.17 | [ 0.09,  0.23]
CEFSA_Body        |                MINT_Card |      0.18 | [ 0.11,  0.25]
CEFSA_Body        |                MINT_Gast |      0.09 | [ 0.02,  0.16]
CEFSA_Body        |      MINT_Meta_Awareness |     -0.29 | [-0.36, -0.22]
CEFSA_Body        | MINT_Meta_Visceroception |      0.17 | [ 0.10,  0.24]
CEFSA_Body        |        MINT_Meta_Deficit |      0.48 | [ 0.42,  0.53]
CEFSA_Body        | MAIA_AttentionRegulation |     -0.16 | [-0.23, -0.09]
CEFSA_Body        |       MAIA_BodyListening |     -0.04 | [-0.11,  0.03]
CEFSA_Body        |  MAIA_EmotionalAwareness |     -0.01 | [-0.09,  0.06]
CEFSA_Body        |      MAIA_NotDistracting |     -0.06 | [-0.14,  0.01]
CEFSA_Body        |            MAIA_Noticing |     -0.03 | [-0.10,  0.05]
CEFSA_Body        |         MAIA_NotWorrying |     -0.24 | [-0.30, -0.17]
CEFSA_Body        |      MAIA_SelfRegulation |     -0.19 | [-0.26, -0.12]
CEFSA_Body        |            MAIA_Trusting |     -0.42 | [-0.48, -0.36]
CEFSA_Body        |                      IAS |     -0.25 | [-0.31, -0.18]
CEFSA_Body        |                      BPQ |      0.18 | [ 0.11,  0.25]
CEFSA_Agency      |                MINT_SexS |     -0.12 | [-0.19, -0.05]
CEFSA_Agency      |                MINT_ExaC |     -0.08 | [-0.15, -0.01]
CEFSA_Agency      |                MINT_RelA |     -0.29 | [-0.35, -0.22]
CEFSA_Agency      |                MINT_Urin |      0.27 | [ 0.20,  0.34]
CEFSA_Agency      |                MINT_CaCo |      0.38 | [ 0.31,  0.44]
CEFSA_Agency      |                MINT_Derm |      0.22 | [ 0.15,  0.29]
CEFSA_Agency      |                MINT_Sati |      0.28 | [ 0.21,  0.34]
CEFSA_Agency      |                MINT_Olfa |      0.18 | [ 0.11,  0.25]
CEFSA_Agency      |                MINT_Resp |      0.06 | [-0.01,  0.14]
CEFSA_Agency      |                MINT_Card |      0.07 | [ 0.00,  0.14]
CEFSA_Agency      |                MINT_Gast | -5.54e-03 | [-0.08,  0.07]
CEFSA_Agency      |      MINT_Meta_Awareness |     -0.24 | [-0.30, -0.17]
CEFSA_Agency      | MINT_Meta_Visceroception |      0.05 | [-0.02,  0.12]
CEFSA_Agency      |        MINT_Meta_Deficit |      0.43 | [ 0.37,  0.49]
CEFSA_Agency      | MAIA_AttentionRegulation |     -0.22 | [-0.29, -0.15]
CEFSA_Agency      |       MAIA_BodyListening |     -0.07 | [-0.14,  0.00]
CEFSA_Agency      |  MAIA_EmotionalAwareness |     -0.02 | [-0.10,  0.05]
CEFSA_Agency      |      MAIA_NotDistracting |     -0.10 | [-0.17, -0.02]
CEFSA_Agency      |            MAIA_Noticing |     -0.06 | [-0.13,  0.01]
CEFSA_Agency      |         MAIA_NotWorrying |     -0.22 | [-0.29, -0.16]
CEFSA_Agency      |      MAIA_SelfRegulation |     -0.20 | [-0.27, -0.13]
CEFSA_Agency      |            MAIA_Trusting |     -0.39 | [-0.45, -0.32]
CEFSA_Agency      |                      IAS |     -0.24 | [-0.31, -0.17]
CEFSA_Agency      |                      BPQ |      0.12 | [ 0.05,  0.19]
CEFSA_Emotion     |                MINT_SexS |     -0.24 | [-0.31, -0.17]
CEFSA_Emotion     |                MINT_ExaC |     -0.15 | [-0.22, -0.08]
CEFSA_Emotion     |                MINT_RelA |     -0.34 | [-0.40, -0.28]
CEFSA_Emotion     |                MINT_Urin |      0.25 | [ 0.19,  0.32]
CEFSA_Emotion     |                MINT_CaCo |      0.35 | [ 0.29,  0.42]
CEFSA_Emotion     |                MINT_Derm |      0.11 | [ 0.04,  0.18]
CEFSA_Emotion     |                MINT_Sati |      0.30 | [ 0.23,  0.36]
CEFSA_Emotion     |                MINT_Olfa |      0.14 | [ 0.06,  0.21]
CEFSA_Emotion     |                MINT_Resp |      0.03 | [-0.04,  0.11]
CEFSA_Emotion     |                MINT_Card |      0.06 | [-0.02,  0.13]
CEFSA_Emotion     |                MINT_Gast |     -0.03 | [-0.10,  0.04]
CEFSA_Emotion     |      MINT_Meta_Awareness |     -0.35 | [-0.41, -0.29]
CEFSA_Emotion     | MINT_Meta_Visceroception |      0.02 | [-0.05,  0.10]
CEFSA_Emotion     |        MINT_Meta_Deficit |      0.37 | [ 0.31,  0.43]
CEFSA_Emotion     | MAIA_AttentionRegulation |     -0.27 | [-0.33, -0.20]
CEFSA_Emotion     |       MAIA_BodyListening |     -0.22 | [-0.28, -0.15]
CEFSA_Emotion     |  MAIA_EmotionalAwareness |     -0.15 | [-0.22, -0.08]
CEFSA_Emotion     |      MAIA_NotDistracting |     -0.14 | [-0.21, -0.06]
CEFSA_Emotion     |            MAIA_Noticing |     -0.19 | [-0.26, -0.12]
CEFSA_Emotion     |         MAIA_NotWorrying |     -0.10 | [-0.17, -0.03]
CEFSA_Emotion     |      MAIA_SelfRegulation |     -0.27 | [-0.33, -0.20]
CEFSA_Emotion     |            MAIA_Trusting |     -0.41 | [-0.47, -0.35]
CEFSA_Emotion     |                      IAS |     -0.36 | [-0.42, -0.29]
CEFSA_Emotion     |                      BPQ |      0.07 | [ 0.00,  0.15]
CEFSA_Familiarity |                MINT_SexS |     -0.19 | [-0.26, -0.12]
CEFSA_Familiarity |                MINT_ExaC |     -0.15 | [-0.22, -0.07]
CEFSA_Familiarity |                MINT_RelA |     -0.22 | [-0.28, -0.15]
CEFSA_Familiarity |                MINT_Urin |      0.29 | [ 0.22,  0.35]
CEFSA_Familiarity |                MINT_CaCo |      0.40 | [ 0.34,  0.46]
CEFSA_Familiarity |                MINT_Derm |      0.08 | [ 0.01,  0.15]
CEFSA_Familiarity |                MINT_Sati |      0.24 | [ 0.17,  0.31]
CEFSA_Familiarity |                MINT_Olfa |      0.16 | [ 0.09,  0.23]
CEFSA_Familiarity |                MINT_Resp |      0.13 | [ 0.06,  0.20]
CEFSA_Familiarity |                MINT_Card |      0.14 | [ 0.07,  0.21]
CEFSA_Familiarity |                MINT_Gast |      0.07 | [ 0.00,  0.14]
CEFSA_Familiarity |      MINT_Meta_Awareness |     -0.26 | [-0.33, -0.19]
CEFSA_Familiarity | MINT_Meta_Visceroception |      0.14 | [ 0.06,  0.21]
CEFSA_Familiarity |        MINT_Meta_Deficit |      0.38 | [ 0.32,  0.44]
CEFSA_Familiarity | MAIA_AttentionRegulation |     -0.10 | [-0.17, -0.03]
CEFSA_Familiarity |       MAIA_BodyListening |     -0.01 | [-0.08,  0.06]
CEFSA_Familiarity |  MAIA_EmotionalAwareness |     -0.02 | [-0.10,  0.05]
CEFSA_Familiarity |      MAIA_NotDistracting |     -0.07 | [-0.14,  0.00]
CEFSA_Familiarity |            MAIA_Noticing |     -0.05 | [-0.12,  0.02]
CEFSA_Familiarity |         MAIA_NotWorrying |     -0.17 | [-0.24, -0.10]
CEFSA_Familiarity |      MAIA_SelfRegulation |     -0.15 | [-0.22, -0.08]
CEFSA_Familiarity |            MAIA_Trusting |     -0.34 | [-0.40, -0.28]
CEFSA_Familiarity |                      IAS |     -0.28 | [-0.35, -0.22]
CEFSA_Familiarity |                      BPQ |      0.15 | [ 0.08,  0.22]
CEFSA_Connection  |                MINT_SexS |     -0.15 | [-0.22, -0.08]
CEFSA_Connection  |                MINT_ExaC |     -0.10 | [-0.17, -0.03]
CEFSA_Connection  |                MINT_RelA |     -0.30 | [-0.37, -0.23]
CEFSA_Connection  |                MINT_Urin |      0.31 | [ 0.24,  0.37]
CEFSA_Connection  |                MINT_CaCo |      0.39 | [ 0.33,  0.45]
CEFSA_Connection  |                MINT_Derm |      0.23 | [ 0.16,  0.29]
CEFSA_Connection  |                MINT_Sati |      0.22 | [ 0.15,  0.29]
CEFSA_Connection  |                MINT_Olfa |      0.14 | [ 0.07,  0.21]
CEFSA_Connection  |                MINT_Resp |      0.07 | [ 0.00,  0.15]
CEFSA_Connection  |                MINT_Card |      0.09 | [ 0.02,  0.16]
CEFSA_Connection  |                MINT_Gast |      0.03 | [-0.04,  0.10]
CEFSA_Connection  |      MINT_Meta_Awareness |     -0.27 | [-0.33, -0.20]
CEFSA_Connection  | MINT_Meta_Visceroception |      0.08 | [ 0.01,  0.15]
CEFSA_Connection  |        MINT_Meta_Deficit |      0.42 | [ 0.35,  0.47]
CEFSA_Connection  | MAIA_AttentionRegulation |     -0.27 | [-0.33, -0.20]
CEFSA_Connection  |       MAIA_BodyListening |     -0.14 | [-0.21, -0.07]
CEFSA_Connection  |  MAIA_EmotionalAwareness |     -0.07 | [-0.14,  0.00]
CEFSA_Connection  |      MAIA_NotDistracting |     -0.05 | [-0.12,  0.02]
CEFSA_Connection  |            MAIA_Noticing |     -0.09 | [-0.16, -0.01]
CEFSA_Connection  |         MAIA_NotWorrying |     -0.25 | [-0.32, -0.18]
CEFSA_Connection  |      MAIA_SelfRegulation |     -0.29 | [-0.36, -0.22]
CEFSA_Connection  |            MAIA_Trusting |     -0.50 | [-0.55, -0.44]
CEFSA_Connection  |                      IAS |     -0.29 | [-0.36, -0.23]
CEFSA_Connection  |                      BPQ |      0.12 | [ 0.05,  0.19]
CEFSA_Reality     |                MINT_SexS |     -0.16 | [-0.23, -0.09]
CEFSA_Reality     |                MINT_ExaC |     -0.10 | [-0.17, -0.03]
CEFSA_Reality     |                MINT_RelA |     -0.27 | [-0.34, -0.20]
CEFSA_Reality     |                MINT_Urin |      0.30 | [ 0.24,  0.37]
CEFSA_Reality     |                MINT_CaCo |      0.39 | [ 0.33,  0.45]
CEFSA_Reality     |                MINT_Derm |      0.19 | [ 0.12,  0.25]
CEFSA_Reality     |                MINT_Sati |      0.24 | [ 0.17,  0.30]
CEFSA_Reality     |                MINT_Olfa |      0.19 | [ 0.12,  0.26]
CEFSA_Reality     |                MINT_Resp |      0.12 | [ 0.05,  0.19]
CEFSA_Reality     |                MINT_Card |      0.13 | [ 0.06,  0.20]
CEFSA_Reality     |                MINT_Gast |      0.06 | [-0.01,  0.14]
CEFSA_Reality     |      MINT_Meta_Awareness |     -0.26 | [-0.32, -0.19]
CEFSA_Reality     | MINT_Meta_Visceroception |      0.13 | [ 0.06,  0.20]
CEFSA_Reality     |        MINT_Meta_Deficit |      0.42 | [ 0.36,  0.48]
CEFSA_Reality     | MAIA_AttentionRegulation |     -0.16 | [-0.23, -0.09]
CEFSA_Reality     |       MAIA_BodyListening |     -0.06 | [-0.13,  0.01]
CEFSA_Reality     |  MAIA_EmotionalAwareness |     -0.02 | [-0.09,  0.06]
CEFSA_Reality     |      MAIA_NotDistracting |     -0.08 | [-0.15,  0.00]
CEFSA_Reality     |            MAIA_Noticing |     -0.06 | [-0.13,  0.01]
CEFSA_Reality     |         MAIA_NotWorrying |     -0.22 | [-0.29, -0.15]
CEFSA_Reality     |      MAIA_SelfRegulation |     -0.20 | [-0.27, -0.13]
CEFSA_Reality     |            MAIA_Trusting |     -0.38 | [-0.44, -0.32]
CEFSA_Reality     |                      IAS |     -0.25 | [-0.31, -0.18]
CEFSA_Reality     |                      BPQ |      0.12 | [ 0.05,  0.19]
CEFSA_Self        |                MINT_SexS |     -0.12 | [-0.19, -0.05]
CEFSA_Self        |                MINT_ExaC |     -0.14 | [-0.21, -0.07]
CEFSA_Self        |                MINT_RelA |     -0.26 | [-0.33, -0.19]
CEFSA_Self        |                MINT_Urin |      0.33 | [ 0.27,  0.40]
CEFSA_Self        |                MINT_CaCo |      0.42 | [ 0.35,  0.47]
CEFSA_Self        |                MINT_Derm |      0.16 | [ 0.09,  0.23]
CEFSA_Self        |                MINT_Sati |      0.25 | [ 0.18,  0.31]
CEFSA_Self        |                MINT_Olfa |      0.26 | [ 0.19,  0.33]
CEFSA_Self        |                MINT_Resp |      0.10 | [ 0.03,  0.17]
CEFSA_Self        |                MINT_Card |      0.13 | [ 0.05,  0.20]
CEFSA_Self        |                MINT_Gast |      0.07 | [ 0.00,  0.14]
CEFSA_Self        |      MINT_Meta_Awareness |     -0.25 | [-0.32, -0.18]
CEFSA_Self        | MINT_Meta_Visceroception |      0.12 | [ 0.05,  0.19]
CEFSA_Self        |        MINT_Meta_Deficit |      0.46 | [ 0.40,  0.51]
CEFSA_Self        | MAIA_AttentionRegulation |     -0.15 | [-0.22, -0.08]
CEFSA_Self        |       MAIA_BodyListening |     -0.04 | [-0.11,  0.03]
CEFSA_Self        |  MAIA_EmotionalAwareness |     -0.01 | [-0.08,  0.06]
CEFSA_Self        |      MAIA_NotDistracting |     -0.08 | [-0.15, -0.01]
CEFSA_Self        |            MAIA_Noticing |     -0.03 | [-0.10,  0.04]
CEFSA_Self        |         MAIA_NotWorrying |     -0.29 | [-0.35, -0.22]
CEFSA_Self        |      MAIA_SelfRegulation |     -0.18 | [-0.25, -0.11]
CEFSA_Self        |            MAIA_Trusting |     -0.35 | [-0.41, -0.29]
CEFSA_Self        |                      IAS |     -0.27 | [-0.34, -0.21]
CEFSA_Self        |                      BPQ |      0.14 | [ 0.07,  0.21]

Parameter1        | t(735) |         p
--------------------------------------
CEFSA_Body        |  -4.88 | < .001***
CEFSA_Body        |  -3.97 | < .001***
CEFSA_Body        |  -8.21 | < .001***
CEFSA_Body        |   9.27 | < .001***
CEFSA_Body        |  14.74 | < .001***
CEFSA_Body        |   5.86 | < .001***
CEFSA_Body        |   7.61 | < .001***
CEFSA_Body        |   5.12 | < .001***
CEFSA_Body        |   4.55 | < .001***
CEFSA_Body        |   4.88 | < .001***
CEFSA_Body        |   2.53 | 0.012*   
CEFSA_Body        |  -8.28 | < .001***
CEFSA_Body        |   4.81 | < .001***
CEFSA_Body        |  14.64 | < .001***
CEFSA_Body        |  -4.47 | < .001***
CEFSA_Body        |  -1.02 | 0.308    
CEFSA_Body        |  -0.37 | 0.708    
CEFSA_Body        |  -1.76 | 0.079    
CEFSA_Body        |  -0.69 | 0.491    
CEFSA_Body        |  -6.64 | < .001***
CEFSA_Body        |  -5.38 | < .001***
CEFSA_Body        | -12.64 | < .001***
CEFSA_Body        |  -6.87 | < .001***
CEFSA_Body        |   4.99 | < .001***
CEFSA_Agency      |  -3.33 | < .001***
CEFSA_Agency      |  -2.20 | 0.028*   
CEFSA_Agency      |  -8.14 | < .001***
CEFSA_Agency      |   7.67 | < .001***
CEFSA_Agency      |  11.05 | < .001***
CEFSA_Agency      |   6.19 | < .001***
CEFSA_Agency      |   7.88 | < .001***
CEFSA_Agency      |   4.90 | < .001***
CEFSA_Agency      |   1.73 | 0.083    
CEFSA_Agency      |   1.91 | 0.056    
CEFSA_Agency      |  -0.15 | 0.881    
CEFSA_Agency      |  -6.61 | < .001***
CEFSA_Agency      |   1.41 | 0.160    
CEFSA_Agency      |  12.84 | < .001***
CEFSA_Agency      |  -6.12 | < .001***
CEFSA_Agency      |  -1.85 | 0.064    
CEFSA_Agency      |  -0.67 | 0.504    
CEFSA_Agency      |  -2.60 | 0.010**  
CEFSA_Agency      |  -1.69 | 0.092    
CEFSA_Agency      |  -6.25 | < .001***
CEFSA_Agency      |  -5.56 | < .001***
CEFSA_Agency      | -11.34 | < .001***
CEFSA_Agency      |  -6.76 | < .001***
CEFSA_Agency      |   3.38 | < .001***
CEFSA_Emotion     |  -6.81 | < .001***
CEFSA_Emotion     |  -4.13 | < .001***
CEFSA_Emotion     |  -9.86 | < .001***
CEFSA_Emotion     |   7.12 | < .001***
CEFSA_Emotion     |  10.25 | < .001***
CEFSA_Emotion     |   3.04 | 0.002**  
CEFSA_Emotion     |   8.54 | < .001***
CEFSA_Emotion     |   3.71 | < .001***
CEFSA_Emotion     |   0.94 | 0.348    
CEFSA_Emotion     |   1.54 | 0.123    
CEFSA_Emotion     |  -0.84 | 0.402    
CEFSA_Emotion     | -10.21 | < .001***
CEFSA_Emotion     |   0.67 | 0.505    
CEFSA_Emotion     |  10.93 | < .001***
CEFSA_Emotion     |  -7.47 | < .001***
CEFSA_Emotion     |  -5.98 | < .001***
CEFSA_Emotion     |  -4.22 | < .001***
CEFSA_Emotion     |  -3.71 | < .001***
CEFSA_Emotion     |  -5.26 | < .001***
CEFSA_Emotion     |  -2.83 | 0.005**  
CEFSA_Emotion     |  -7.52 | < .001***
CEFSA_Emotion     | -12.22 | < .001***
CEFSA_Emotion     | -10.43 | < .001***
CEFSA_Emotion     |   2.00 | 0.046*   
CEFSA_Familiarity |  -5.14 | < .001***
CEFSA_Familiarity |  -3.99 | < .001***
CEFSA_Familiarity |  -5.99 | < .001***
CEFSA_Familiarity |   8.12 | < .001***
CEFSA_Familiarity |  11.75 | < .001***
CEFSA_Familiarity |   2.14 | 0.032*   
CEFSA_Familiarity |   6.65 | < .001***
CEFSA_Familiarity |   4.44 | < .001***
CEFSA_Familiarity |   3.56 | < .001***
CEFSA_Familiarity |   3.74 | < .001***
CEFSA_Familiarity |   1.92 | 0.055    
CEFSA_Familiarity |  -7.30 | < .001***
CEFSA_Familiarity |   3.71 | < .001***
CEFSA_Familiarity |  11.10 | < .001***
CEFSA_Familiarity |  -2.66 | 0.008**  
CEFSA_Familiarity |  -0.29 | 0.771    
CEFSA_Familiarity |  -0.63 | 0.532    
CEFSA_Familiarity |  -1.85 | 0.065    
CEFSA_Familiarity |  -1.36 | 0.175    
CEFSA_Familiarity |  -4.59 | < .001***
CEFSA_Familiarity |  -4.20 | < .001***
CEFSA_Familiarity |  -9.87 | < .001***
CEFSA_Familiarity |  -8.04 | < .001***
CEFSA_Familiarity |   4.18 | < .001***
CEFSA_Connection  |  -4.25 | < .001***
CEFSA_Connection  |  -2.73 | 0.006**  
CEFSA_Connection  |  -8.59 | < .001***
CEFSA_Connection  |   8.75 | < .001***
CEFSA_Connection  |  11.65 | < .001***
CEFSA_Connection  |   6.29 | < .001***
CEFSA_Connection  |   6.11 | < .001***
CEFSA_Connection  |   3.93 | < .001***
CEFSA_Connection  |   2.00 | 0.046*   
CEFSA_Connection  |   2.48 | 0.013*   
CEFSA_Connection  |   0.79 | 0.431    
CEFSA_Connection  |  -7.55 | < .001***
CEFSA_Connection  |   2.12 | 0.035*   
CEFSA_Connection  |  12.42 | < .001***
CEFSA_Connection  |  -7.54 | < .001***
CEFSA_Connection  |  -3.93 | < .001***
CEFSA_Connection  |  -1.83 | 0.067    
CEFSA_Connection  |  -1.44 | 0.151    
CEFSA_Connection  |  -2.33 | 0.020*   
CEFSA_Connection  |  -7.04 | < .001***
CEFSA_Connection  |  -8.27 | < .001***
CEFSA_Connection  | -15.65 | < .001***
CEFSA_Connection  |  -8.36 | < .001***
CEFSA_Connection  |   3.31 | < .001***
CEFSA_Reality     |  -4.46 | < .001***
CEFSA_Reality     |  -2.83 | 0.005**  
CEFSA_Reality     |  -7.59 | < .001***
CEFSA_Reality     |   8.65 | < .001***
CEFSA_Reality     |  11.55 | < .001***
CEFSA_Reality     |   5.14 | < .001***
CEFSA_Reality     |   6.58 | < .001***
CEFSA_Reality     |   5.37 | < .001***
CEFSA_Reality     |   3.34 | < .001***
CEFSA_Reality     |   3.58 | < .001***
CEFSA_Reality     |   1.74 | 0.082    
CEFSA_Reality     |  -7.21 | < .001***
CEFSA_Reality     |   3.48 | < .001***
CEFSA_Reality     |  12.70 | < .001***
CEFSA_Reality     |  -4.40 | < .001***
CEFSA_Reality     |  -1.58 | 0.114    
CEFSA_Reality     |  -0.46 | 0.649    
CEFSA_Reality     |  -2.05 | 0.041*   
CEFSA_Reality     |  -1.56 | 0.118    
CEFSA_Reality     |  -6.08 | < .001***
CEFSA_Reality     |  -5.64 | < .001***
CEFSA_Reality     | -11.16 | < .001***
CEFSA_Reality     |  -6.87 | < .001***
CEFSA_Reality     |   3.31 | < .001***
CEFSA_Self        |  -3.38 | < .001***
CEFSA_Self        |  -3.80 | < .001***
CEFSA_Self        |  -7.32 | < .001***
CEFSA_Self        |   9.62 | < .001***
CEFSA_Self        |  12.38 | < .001***
CEFSA_Self        |   4.33 | < .001***
CEFSA_Self        |   6.87 | < .001***
CEFSA_Self        |   7.35 | < .001***
CEFSA_Self        |   2.71 | 0.007**  
CEFSA_Self        |   3.45 | < .001***
CEFSA_Self        |   1.84 | 0.066    
CEFSA_Self        |  -6.97 | < .001***
CEFSA_Self        |   3.22 | 0.001**  
CEFSA_Self        |  14.00 | < .001***
CEFSA_Self        |  -4.11 | < .001***
CEFSA_Self        |  -1.13 | 0.259    
CEFSA_Self        |  -0.34 | 0.733    
CEFSA_Self        |  -2.12 | 0.034*   
CEFSA_Self        |  -0.74 | 0.458    
CEFSA_Self        |  -8.11 | < .001***
CEFSA_Self        |  -5.05 | < .001***
CEFSA_Self        | -10.17 | < .001***
CEFSA_Self        |  -7.71 | < .001***
CEFSA_Self        |   3.96 | < .001***

p-value adjustment method: none
Observations: 737

Code
preds_cefsabody <- compare_predictors("CEFSA_Body")
display_models(preds_cefsabody$table, title="Best Predictor", subtitle = "CEFSA - Body")
Best Predictor
CEFSA - Body
Code
preds_cefsabody$p

Code
mods_cefsabody <- compare_models_lm("CEFSA_Body")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cefsabody, title="Best Model", subtitle = "CEFSA - Body")
Best Model
CEFSA - Body
Code
preds_cefsaself <- compare_predictors("CEFSA_Self")
display_models(preds_cefsaself$table, title="Best Predictor", subtitle = "CEFSA - Self")
Best Predictor
CEFSA - Self
Code
preds_cefsaself$p

Code
mods_cefsaself <- compare_models_lm("CEFSA_Self")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cefsaself, title="Best Model", subtitle = "CEFSA - Self")
Best Model
CEFSA - Self
Code
preds_cefsaemo <- compare_predictors("CEFSA_Emotion")
display_models(preds_cefsaemo$table, title="Best Predictor", subtitle = "CEFSA - Emotion")
Best Predictor
CEFSA - Emotion
Code
preds_cefsaemo$p

Code
mods_cefsaemo <- compare_models_lm("CEFSA_Emotion")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cefsaemo, title="Best Model", subtitle = "CEFSA - Emotion")
Best Model
CEFSA - Emotion
Code
preds_cefsareal <- compare_predictors("CEFSA_Reality")
display_models(preds_cefsareal$table, title="Best Predictor", subtitle = "CEFSA - Reality")
Best Predictor
CEFSA - Reality
Code
preds_cefsareal$p

Code
mods_cefsareal <- compare_models_lm("CEFSA_Reality")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cefsareal, title="Best Model", subtitle = "CEFSA - Reality")
Best Model
CEFSA - Reality
Code
preds_cefsacon <- compare_predictors("CEFSA_Connection")
display_models(preds_cefsacon$table, title="Best Predictor", subtitle = "CEFSA - Connection")
Best Predictor
CEFSA - Connection
Code
preds_cefsacon$p

Code
mods_cefsacon <- compare_models_lm("CEFSA_Connection")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cefsacon, title="Best Model", subtitle = "CEFSA - Connection")
Best Model
CEFSA - Connection
Code
preds_cefsagency <- compare_predictors("CEFSA_Agency")
display_models(preds_cefsagency$table, title="Best Predictor", subtitle = "CEFSA - Agency")
Best Predictor
CEFSA - Agency
Code
preds_cefsagency$p

Code
mods_cefsagency <- compare_models_lm("CEFSA_Agency")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cefsagency, title="Best Model", subtitle = "CEFSA - Agency")
Best Model
CEFSA - Agency
Code
make_cor(select(df, starts_with("CERQ")),
         cbind(mint, select(df, starts_with("MAIA"), IAS, BPQ)))
# Correlation Matrix (pearson-method)

Parameter1               |               Parameter2 |         r
---------------------------------------------------------------
CERQ_Acceptance          |                MINT_SexS |      0.07
CERQ_Acceptance          |                MINT_ExaC |      0.11
CERQ_Acceptance          |                MINT_RelA |      0.11
CERQ_Acceptance          |                MINT_Urin |  9.21e-03
CERQ_Acceptance          |                MINT_CaCo | -6.01e-03
CERQ_Acceptance          |                MINT_Derm |      0.08
CERQ_Acceptance          |                MINT_Sati |      0.06
CERQ_Acceptance          |                MINT_Olfa |      0.05
CERQ_Acceptance          |                MINT_Resp |      0.06
CERQ_Acceptance          |                MINT_Card |  3.96e-03
CERQ_Acceptance          |                MINT_Gast |      0.08
CERQ_Acceptance          |      MINT_Meta_Awareness |      0.13
CERQ_Acceptance          | MINT_Meta_Visceroception |      0.06
CERQ_Acceptance          |        MINT_Meta_Deficit |      0.06
CERQ_Acceptance          | MAIA_AttentionRegulation |      0.14
CERQ_Acceptance          |       MAIA_BodyListening |      0.12
CERQ_Acceptance          |  MAIA_EmotionalAwareness |      0.14
CERQ_Acceptance          |      MAIA_NotDistracting |     -0.15
CERQ_Acceptance          |            MAIA_Noticing |      0.14
CERQ_Acceptance          |         MAIA_NotWorrying |      0.05
CERQ_Acceptance          |      MAIA_SelfRegulation |      0.09
CERQ_Acceptance          |            MAIA_Trusting |      0.10
CERQ_Acceptance          |                      IAS |      0.12
CERQ_Acceptance          |                      BPQ |      0.09
CERQ_PositiveRefocusing  |                MINT_SexS |      0.06
CERQ_PositiveRefocusing  |                MINT_ExaC |      0.03
CERQ_PositiveRefocusing  |                MINT_RelA |      0.24
CERQ_PositiveRefocusing  |                MINT_Urin |     -0.06
CERQ_PositiveRefocusing  |                MINT_CaCo |     -0.05
CERQ_PositiveRefocusing  |                MINT_Derm |     -0.04
CERQ_PositiveRefocusing  |                MINT_Sati | -1.02e-03
CERQ_PositiveRefocusing  |                MINT_Olfa |      0.02
CERQ_PositiveRefocusing  |                MINT_Resp |      0.13
CERQ_PositiveRefocusing  |                MINT_Card |      0.09
CERQ_PositiveRefocusing  |                MINT_Gast |      0.09
CERQ_PositiveRefocusing  |      MINT_Meta_Awareness |      0.17
CERQ_PositiveRefocusing  | MINT_Meta_Visceroception |      0.12
CERQ_PositiveRefocusing  |        MINT_Meta_Deficit |     -0.04
CERQ_PositiveRefocusing  | MAIA_AttentionRegulation |      0.34
CERQ_PositiveRefocusing  |       MAIA_BodyListening |      0.31
CERQ_PositiveRefocusing  |  MAIA_EmotionalAwareness |      0.22
CERQ_PositiveRefocusing  |      MAIA_NotDistracting |     -0.17
CERQ_PositiveRefocusing  |            MAIA_Noticing |      0.19
CERQ_PositiveRefocusing  |         MAIA_NotWorrying |      0.20
CERQ_PositiveRefocusing  |      MAIA_SelfRegulation |      0.37
CERQ_PositiveRefocusing  |            MAIA_Trusting |      0.32
CERQ_PositiveRefocusing  |                      IAS |      0.16
CERQ_PositiveRefocusing  |                      BPQ |      0.05
CERQ_PositiveReappraisal |                MINT_SexS |      0.19
CERQ_PositiveReappraisal |                MINT_ExaC |      0.12
CERQ_PositiveReappraisal |                MINT_RelA |      0.23
CERQ_PositiveReappraisal |                MINT_Urin |     -0.04
CERQ_PositiveReappraisal |                MINT_CaCo |     -0.09
CERQ_PositiveReappraisal |                MINT_Derm |      0.06
CERQ_PositiveReappraisal |                MINT_Sati |     -0.01
CERQ_PositiveReappraisal |                MINT_Olfa |      0.13
CERQ_PositiveReappraisal |                MINT_Resp |      0.12
CERQ_PositiveReappraisal |                MINT_Card |      0.06
CERQ_PositiveReappraisal |                MINT_Gast |      0.16
CERQ_PositiveReappraisal |      MINT_Meta_Awareness |      0.26
CERQ_PositiveReappraisal | MINT_Meta_Visceroception |      0.13
CERQ_PositiveReappraisal |        MINT_Meta_Deficit |      0.01
CERQ_PositiveReappraisal | MAIA_AttentionRegulation |      0.35
CERQ_PositiveReappraisal |       MAIA_BodyListening |      0.31
CERQ_PositiveReappraisal |  MAIA_EmotionalAwareness |      0.30
CERQ_PositiveReappraisal |      MAIA_NotDistracting |     -0.11
CERQ_PositiveReappraisal |            MAIA_Noticing |      0.28
CERQ_PositiveReappraisal |         MAIA_NotWorrying |      0.20
CERQ_PositiveReappraisal |      MAIA_SelfRegulation |      0.38
CERQ_PositiveReappraisal |            MAIA_Trusting |      0.39
CERQ_PositiveReappraisal |                      IAS |      0.25
CERQ_PositiveReappraisal |                      BPQ |      0.14
CERQ_SelfBlame           |                MINT_SexS | -9.54e-03
CERQ_SelfBlame           |                MINT_ExaC |     -0.05
CERQ_SelfBlame           |                MINT_RelA |     -0.09
CERQ_SelfBlame           |                MINT_Urin |      0.19
CERQ_SelfBlame           |                MINT_CaCo |      0.19
CERQ_SelfBlame           |                MINT_Derm |      0.10
CERQ_SelfBlame           |                MINT_Sati |      0.12
CERQ_SelfBlame           |                MINT_Olfa |      0.15
CERQ_SelfBlame           |                MINT_Resp |      0.15
CERQ_SelfBlame           |                MINT_Card |      0.12
CERQ_SelfBlame           |                MINT_Gast |      0.09
CERQ_SelfBlame           |      MINT_Meta_Awareness |     -0.07
CERQ_SelfBlame           | MINT_Meta_Visceroception |      0.14
CERQ_SelfBlame           |        MINT_Meta_Deficit |      0.24
CERQ_SelfBlame           | MAIA_AttentionRegulation |     -0.04
CERQ_SelfBlame           |       MAIA_BodyListening |      0.05
CERQ_SelfBlame           |  MAIA_EmotionalAwareness |      0.09
CERQ_SelfBlame           |      MAIA_NotDistracting |     -0.10
CERQ_SelfBlame           |            MAIA_Noticing |      0.08
CERQ_SelfBlame           |         MAIA_NotWorrying |     -0.19
CERQ_SelfBlame           |      MAIA_SelfRegulation |     -0.08
CERQ_SelfBlame           |            MAIA_Trusting |     -0.17
CERQ_SelfBlame           |                      IAS |     -0.06
CERQ_SelfBlame           |                      BPQ |      0.10
CERQ_OtherBlame          |                MINT_SexS |     -0.02
CERQ_OtherBlame          |                MINT_ExaC |     -0.05
CERQ_OtherBlame          |                MINT_RelA | -7.01e-03
CERQ_OtherBlame          |                MINT_Urin |      0.15
CERQ_OtherBlame          |                MINT_CaCo |      0.09
CERQ_OtherBlame          |                MINT_Derm |      0.06
CERQ_OtherBlame          |                MINT_Sati |      0.04
CERQ_OtherBlame          |                MINT_Olfa |      0.05
CERQ_OtherBlame          |                MINT_Resp |      0.03
CERQ_OtherBlame          |                MINT_Card |      0.04
CERQ_OtherBlame          |                MINT_Gast |      0.02
CERQ_OtherBlame          |      MINT_Meta_Awareness |     -0.04
CERQ_OtherBlame          | MINT_Meta_Visceroception |      0.03
CERQ_OtherBlame          |        MINT_Meta_Deficit |      0.12
CERQ_OtherBlame          | MAIA_AttentionRegulation |      0.05
CERQ_OtherBlame          |       MAIA_BodyListening |      0.07
CERQ_OtherBlame          |  MAIA_EmotionalAwareness |      0.07
CERQ_OtherBlame          |      MAIA_NotDistracting |     -0.04
CERQ_OtherBlame          |            MAIA_Noticing |      0.11
CERQ_OtherBlame          |         MAIA_NotWorrying |     -0.13
CERQ_OtherBlame          |      MAIA_SelfRegulation | -9.41e-03
CERQ_OtherBlame          |            MAIA_Trusting | -6.68e-03
CERQ_OtherBlame          |                      IAS |      0.05
CERQ_OtherBlame          |                      BPQ |      0.06
CERQ_Rumination          |                MINT_SexS |      0.02
CERQ_Rumination          |                MINT_ExaC |      0.05
CERQ_Rumination          |                MINT_RelA |     -0.03
CERQ_Rumination          |                MINT_Urin |      0.21
CERQ_Rumination          |                MINT_CaCo |      0.22
CERQ_Rumination          |                MINT_Derm |      0.23
CERQ_Rumination          |                MINT_Sati |      0.05
CERQ_Rumination          |                MINT_Olfa |      0.17
CERQ_Rumination          |                MINT_Resp |      0.12
CERQ_Rumination          |                MINT_Card |      0.20
CERQ_Rumination          |                MINT_Gast |      0.11
CERQ_Rumination          |      MINT_Meta_Awareness |      0.02
CERQ_Rumination          | MINT_Meta_Visceroception |      0.17
CERQ_Rumination          |        MINT_Meta_Deficit |      0.28
CERQ_Rumination          | MAIA_AttentionRegulation |     -0.02
CERQ_Rumination          |       MAIA_BodyListening |      0.15
CERQ_Rumination          |  MAIA_EmotionalAwareness |      0.20
CERQ_Rumination          |      MAIA_NotDistracting |      0.02
CERQ_Rumination          |            MAIA_Noticing |      0.21
CERQ_Rumination          |         MAIA_NotWorrying |     -0.37
CERQ_Rumination          |      MAIA_SelfRegulation |     -0.06
CERQ_Rumination          |            MAIA_Trusting |     -0.14
CERQ_Rumination          |                      IAS |      0.08
CERQ_Rumination          |                      BPQ |      0.20
CERQ_Catastrophizing     |                MINT_SexS |     -0.04
CERQ_Catastrophizing     |                MINT_ExaC |     -0.05
CERQ_Catastrophizing     |                MINT_RelA |     -0.11
CERQ_Catastrophizing     |                MINT_Urin |      0.25
CERQ_Catastrophizing     |                MINT_CaCo |      0.31
CERQ_Catastrophizing     |                MINT_Derm |      0.20
CERQ_Catastrophizing     |                MINT_Sati |      0.13
CERQ_Catastrophizing     |                MINT_Olfa |      0.18
CERQ_Catastrophizing     |                MINT_Resp |      0.11
CERQ_Catastrophizing     |                MINT_Card |      0.18
CERQ_Catastrophizing     |                MINT_Gast |      0.09
CERQ_Catastrophizing     |      MINT_Meta_Awareness |     -0.09
CERQ_Catastrophizing     | MINT_Meta_Visceroception |      0.15
CERQ_Catastrophizing     |        MINT_Meta_Deficit |      0.34
CERQ_Catastrophizing     | MAIA_AttentionRegulation |     -0.18
CERQ_Catastrophizing     |       MAIA_BodyListening |     -0.03
CERQ_Catastrophizing     |  MAIA_EmotionalAwareness |      0.08
CERQ_Catastrophizing     |      MAIA_NotDistracting |      0.01
CERQ_Catastrophizing     |            MAIA_Noticing |      0.10
CERQ_Catastrophizing     |         MAIA_NotWorrying |     -0.50
CERQ_Catastrophizing     |      MAIA_SelfRegulation |     -0.23
CERQ_Catastrophizing     |            MAIA_Trusting |     -0.33
CERQ_Catastrophizing     |                      IAS |     -0.04
CERQ_Catastrophizing     |                      BPQ |      0.13
CERQ_RefocusPlanning     |                MINT_SexS |      0.17
CERQ_RefocusPlanning     |                MINT_ExaC |      0.18
CERQ_RefocusPlanning     |                MINT_RelA |      0.28
CERQ_RefocusPlanning     |                MINT_Urin |     -0.06
CERQ_RefocusPlanning     |                MINT_CaCo |     -0.16
CERQ_RefocusPlanning     |                MINT_Derm |      0.06
CERQ_RefocusPlanning     |                MINT_Sati |     -0.11
CERQ_RefocusPlanning     |                MINT_Olfa |      0.06
CERQ_RefocusPlanning     |                MINT_Resp |      0.07
CERQ_RefocusPlanning     |                MINT_Card |      0.05
CERQ_RefocusPlanning     |                MINT_Gast |      0.11
CERQ_RefocusPlanning     |      MINT_Meta_Awareness |      0.30
CERQ_RefocusPlanning     | MINT_Meta_Visceroception |      0.09
CERQ_RefocusPlanning     |        MINT_Meta_Deficit |     -0.07
CERQ_RefocusPlanning     | MAIA_AttentionRegulation |      0.36
CERQ_RefocusPlanning     |       MAIA_BodyListening |      0.34
CERQ_RefocusPlanning     |  MAIA_EmotionalAwareness |      0.28
CERQ_RefocusPlanning     |      MAIA_NotDistracting |     -0.09
CERQ_RefocusPlanning     |            MAIA_Noticing |      0.30
CERQ_RefocusPlanning     |         MAIA_NotWorrying |      0.13
CERQ_RefocusPlanning     |      MAIA_SelfRegulation |      0.35
CERQ_RefocusPlanning     |            MAIA_Trusting |      0.40
CERQ_RefocusPlanning     |                      IAS |      0.30
CERQ_RefocusPlanning     |                      BPQ |      0.12
CERQ_Perspective         |                MINT_SexS |      0.15
CERQ_Perspective         |                MINT_ExaC |      0.11
CERQ_Perspective         |                MINT_RelA |      0.18
CERQ_Perspective         |                MINT_Urin |     -0.04
CERQ_Perspective         |                MINT_CaCo |     -0.05
CERQ_Perspective         |                MINT_Derm |      0.02
CERQ_Perspective         |                MINT_Sati |      0.06
CERQ_Perspective         |                MINT_Olfa |      0.09
CERQ_Perspective         |                MINT_Resp |      0.11
CERQ_Perspective         |                MINT_Card |      0.04
CERQ_Perspective         |                MINT_Gast |      0.08
CERQ_Perspective         |      MINT_Meta_Awareness |      0.21
CERQ_Perspective         | MINT_Meta_Visceroception |      0.09
CERQ_Perspective         |        MINT_Meta_Deficit |      0.02
CERQ_Perspective         | MAIA_AttentionRegulation |      0.29
CERQ_Perspective         |       MAIA_BodyListening |      0.17
CERQ_Perspective         |  MAIA_EmotionalAwareness |      0.14
CERQ_Perspective         |      MAIA_NotDistracting |     -0.24
CERQ_Perspective         |            MAIA_Noticing |      0.13
CERQ_Perspective         |         MAIA_NotWorrying |      0.21
CERQ_Perspective         |      MAIA_SelfRegulation |      0.23
CERQ_Perspective         |            MAIA_Trusting |      0.28
CERQ_Perspective         |                      IAS |      0.20
CERQ_Perspective         |                      BPQ |      0.09

Parameter1               |         95% CI | t(735) |         p
--------------------------------------------------------------
CERQ_Acceptance          | [ 0.00,  0.15] |   2.02 | 0.044*   
CERQ_Acceptance          | [ 0.03,  0.18] |   2.88 | 0.004**  
CERQ_Acceptance          | [ 0.03,  0.18] |   2.89 | 0.004**  
CERQ_Acceptance          | [-0.06,  0.08] |   0.25 | 0.803    
CERQ_Acceptance          | [-0.08,  0.07] |  -0.16 | 0.871    
CERQ_Acceptance          | [ 0.00,  0.15] |   2.06 | 0.040*   
CERQ_Acceptance          | [-0.01,  0.13] |   1.72 | 0.087    
CERQ_Acceptance          | [-0.02,  0.12] |   1.40 | 0.162    
CERQ_Acceptance          | [-0.01,  0.14] |   1.75 | 0.080    
CERQ_Acceptance          | [-0.07,  0.08] |   0.11 | 0.915    
CERQ_Acceptance          | [ 0.01,  0.15] |   2.12 | 0.035*   
CERQ_Acceptance          | [ 0.06,  0.20] |   3.67 | < .001***
CERQ_Acceptance          | [-0.01,  0.13] |   1.58 | 0.114    
CERQ_Acceptance          | [-0.01,  0.13] |   1.63 | 0.103    
CERQ_Acceptance          | [ 0.07,  0.21] |   3.84 | < .001***
CERQ_Acceptance          | [ 0.04,  0.19] |   3.17 | 0.002**  
CERQ_Acceptance          | [ 0.07,  0.21] |   3.86 | < .001***
CERQ_Acceptance          | [-0.22, -0.08] |  -4.13 | < .001***
CERQ_Acceptance          | [ 0.07,  0.21] |   3.95 | < .001***
CERQ_Acceptance          | [-0.02,  0.12] |   1.40 | 0.160    
CERQ_Acceptance          | [ 0.02,  0.16] |   2.54 | 0.011*   
CERQ_Acceptance          | [ 0.03,  0.18] |   2.85 | 0.005**  
CERQ_Acceptance          | [ 0.05,  0.19] |   3.36 | < .001***
CERQ_Acceptance          | [ 0.02,  0.16] |   2.49 | 0.013*   
CERQ_PositiveRefocusing  | [-0.01,  0.13] |   1.70 | 0.089    
CERQ_PositiveRefocusing  | [-0.04,  0.10] |   0.89 | 0.372    
CERQ_PositiveRefocusing  | [ 0.18,  0.31] |   6.84 | < .001***
CERQ_PositiveRefocusing  | [-0.14,  0.01] |  -1.75 | 0.081    
CERQ_PositiveRefocusing  | [-0.12,  0.03] |  -1.26 | 0.210    
CERQ_PositiveRefocusing  | [-0.11,  0.04] |  -0.99 | 0.320    
CERQ_PositiveRefocusing  | [-0.07,  0.07] |  -0.03 | 0.978    
CERQ_PositiveRefocusing  | [-0.05,  0.09] |   0.55 | 0.581    
CERQ_PositiveRefocusing  | [ 0.05,  0.20] |   3.43 | < .001***
CERQ_PositiveRefocusing  | [ 0.02,  0.16] |   2.50 | 0.013*   
CERQ_PositiveRefocusing  | [ 0.02,  0.16] |   2.52 | 0.012*   
CERQ_PositiveRefocusing  | [ 0.10,  0.24] |   4.57 | < .001***
CERQ_PositiveRefocusing  | [ 0.05,  0.19] |   3.38 | < .001***
CERQ_PositiveRefocusing  | [-0.11,  0.03] |  -1.11 | 0.268    
CERQ_PositiveRefocusing  | [ 0.27,  0.40] |   9.77 | < .001***
CERQ_PositiveRefocusing  | [ 0.24,  0.37] |   8.85 | < .001***
CERQ_PositiveRefocusing  | [ 0.15,  0.29] |   6.14 | < .001***
CERQ_PositiveRefocusing  | [-0.24, -0.10] |  -4.64 | < .001***
CERQ_PositiveRefocusing  | [ 0.12,  0.26] |   5.19 | < .001***
CERQ_PositiveRefocusing  | [ 0.13,  0.27] |   5.51 | < .001***
CERQ_PositiveRefocusing  | [ 0.31,  0.43] |  10.79 | < .001***
CERQ_PositiveRefocusing  | [ 0.25,  0.38] |   9.05 | < .001***
CERQ_PositiveRefocusing  | [ 0.09,  0.23] |   4.32 | < .001***
CERQ_PositiveRefocusing  | [-0.03,  0.12] |   1.24 | 0.214    
CERQ_PositiveReappraisal | [ 0.12,  0.26] |   5.22 | < .001***
CERQ_PositiveReappraisal | [ 0.05,  0.19] |   3.21 | 0.001**  
CERQ_PositiveReappraisal | [ 0.16,  0.30] |   6.51 | < .001***
CERQ_PositiveReappraisal | [-0.11,  0.03] |  -1.04 | 0.298    
CERQ_PositiveReappraisal | [-0.16, -0.02] |  -2.48 | 0.013*   
CERQ_PositiveReappraisal | [-0.01,  0.13] |   1.71 | 0.088    
CERQ_PositiveReappraisal | [-0.08,  0.06] |  -0.35 | 0.727    
CERQ_PositiveReappraisal | [ 0.05,  0.20] |   3.45 | < .001***
CERQ_PositiveReappraisal | [ 0.05,  0.19] |   3.26 | 0.001**  
CERQ_PositiveReappraisal | [-0.02,  0.13] |   1.52 | 0.130    
CERQ_PositiveReappraisal | [ 0.09,  0.23] |   4.34 | < .001***
CERQ_PositiveReappraisal | [ 0.19,  0.32] |   7.24 | < .001***
CERQ_PositiveReappraisal | [ 0.06,  0.20] |   3.63 | < .001***
CERQ_PositiveReappraisal | [-0.06,  0.09] |   0.35 | 0.726    
CERQ_PositiveReappraisal | [ 0.29,  0.42] |  10.26 | < .001***
CERQ_PositiveReappraisal | [ 0.25,  0.38] |   8.94 | < .001***
CERQ_PositiveReappraisal | [ 0.23,  0.36] |   8.47 | < .001***
CERQ_PositiveReappraisal | [-0.18, -0.04] |  -2.95 | 0.003**  
CERQ_PositiveReappraisal | [ 0.21,  0.34] |   7.87 | < .001***
CERQ_PositiveReappraisal | [ 0.13,  0.27] |   5.53 | < .001***
CERQ_PositiveReappraisal | [ 0.31,  0.44] |  11.01 | < .001***
CERQ_PositiveReappraisal | [ 0.33,  0.45] |  11.61 | < .001***
CERQ_PositiveReappraisal | [ 0.18,  0.32] |   7.07 | < .001***
CERQ_PositiveReappraisal | [ 0.07,  0.21] |   3.93 | < .001***
CERQ_SelfBlame           | [-0.08,  0.06] |  -0.26 | 0.796    
CERQ_SelfBlame           | [-0.12,  0.03] |  -1.23 | 0.218    
CERQ_SelfBlame           | [-0.17, -0.02] |  -2.57 | 0.010*   
CERQ_SelfBlame           | [ 0.12,  0.26] |   5.20 | < .001***
CERQ_SelfBlame           | [ 0.12,  0.26] |   5.24 | < .001***
CERQ_SelfBlame           | [ 0.03,  0.17] |   2.72 | 0.007**  
CERQ_SelfBlame           | [ 0.05,  0.19] |   3.30 | 0.001**  
CERQ_SelfBlame           | [ 0.08,  0.22] |   4.19 | < .001***
CERQ_SelfBlame           | [ 0.07,  0.22] |   3.98 | < .001***
CERQ_SelfBlame           | [ 0.05,  0.19] |   3.34 | < .001***
CERQ_SelfBlame           | [ 0.01,  0.16] |   2.35 | 0.019*   
CERQ_SelfBlame           | [-0.14,  0.00] |  -1.94 | 0.053    
CERQ_SelfBlame           | [ 0.07,  0.21] |   3.88 | < .001***
CERQ_SelfBlame           | [ 0.17,  0.31] |   6.79 | < .001***
CERQ_SelfBlame           | [-0.11,  0.03] |  -1.02 | 0.308    
CERQ_SelfBlame           | [-0.03,  0.12] |   1.24 | 0.214    
CERQ_SelfBlame           | [ 0.02,  0.16] |   2.44 | 0.015*   
CERQ_SelfBlame           | [-0.17, -0.02] |  -2.60 | 0.010**  
CERQ_SelfBlame           | [ 0.01,  0.15] |   2.15 | 0.032*   
CERQ_SelfBlame           | [-0.26, -0.12] |  -5.15 | < .001***
CERQ_SelfBlame           | [-0.15, -0.01] |  -2.21 | 0.028*   
CERQ_SelfBlame           | [-0.24, -0.10] |  -4.74 | < .001***
CERQ_SelfBlame           | [-0.14,  0.01] |  -1.72 | 0.085    
CERQ_SelfBlame           | [ 0.03,  0.17] |   2.72 | 0.007**  
CERQ_OtherBlame          | [-0.09,  0.05] |  -0.60 | 0.549    
CERQ_OtherBlame          | [-0.12,  0.02] |  -1.33 | 0.184    
CERQ_OtherBlame          | [-0.08,  0.07] |  -0.19 | 0.849    
CERQ_OtherBlame          | [ 0.08,  0.22] |   4.06 | < .001***
CERQ_OtherBlame          | [ 0.02,  0.16] |   2.39 | 0.017*   
CERQ_OtherBlame          | [-0.01,  0.13] |   1.59 | 0.113    
CERQ_OtherBlame          | [-0.03,  0.11] |   1.12 | 0.265    
CERQ_OtherBlame          | [-0.03,  0.12] |   1.25 | 0.210    
CERQ_OtherBlame          | [-0.04,  0.10] |   0.83 | 0.405    
CERQ_OtherBlame          | [-0.04,  0.11] |   0.98 | 0.328    
CERQ_OtherBlame          | [-0.05,  0.09] |   0.51 | 0.607    
CERQ_OtherBlame          | [-0.11,  0.04] |  -0.96 | 0.339    
CERQ_OtherBlame          | [-0.04,  0.11] |   0.93 | 0.351    
CERQ_OtherBlame          | [ 0.05,  0.19] |   3.36 | < .001***
CERQ_OtherBlame          | [-0.03,  0.12] |   1.28 | 0.202    
CERQ_OtherBlame          | [ 0.00,  0.14] |   1.95 | 0.052    
CERQ_OtherBlame          | [ 0.00,  0.14] |   1.99 | 0.046*   
CERQ_OtherBlame          | [-0.12,  0.03] |  -1.19 | 0.234    
CERQ_OtherBlame          | [ 0.03,  0.18] |   2.87 | 0.004**  
CERQ_OtherBlame          | [-0.20, -0.06] |  -3.48 | < .001***
CERQ_OtherBlame          | [-0.08,  0.06] |  -0.26 | 0.799    
CERQ_OtherBlame          | [-0.08,  0.07] |  -0.18 | 0.856    
CERQ_OtherBlame          | [-0.02,  0.12] |   1.36 | 0.175    
CERQ_OtherBlame          | [-0.01,  0.13] |   1.59 | 0.111    
CERQ_Rumination          | [-0.05,  0.09] |   0.60 | 0.547    
CERQ_Rumination          | [-0.02,  0.12] |   1.39 | 0.165    
CERQ_Rumination          | [-0.10,  0.04] |  -0.89 | 0.372    
CERQ_Rumination          | [ 0.14,  0.27] |   5.71 | < .001***
CERQ_Rumination          | [ 0.15,  0.28] |   5.98 | < .001***
CERQ_Rumination          | [ 0.16,  0.30] |   6.42 | < .001***
CERQ_Rumination          | [-0.02,  0.12] |   1.32 | 0.187    
CERQ_Rumination          | [ 0.09,  0.24] |   4.56 | < .001***
CERQ_Rumination          | [ 0.05,  0.19] |   3.22 | 0.001**  
CERQ_Rumination          | [ 0.13,  0.27] |   5.63 | < .001***
CERQ_Rumination          | [ 0.04,  0.18] |   3.09 | 0.002**  
CERQ_Rumination          | [-0.06,  0.09] |   0.45 | 0.656    
CERQ_Rumination          | [ 0.10,  0.24] |   4.80 | < .001***
CERQ_Rumination          | [ 0.21,  0.34] |   7.84 | < .001***
CERQ_Rumination          | [-0.09,  0.05] |  -0.57 | 0.570    
CERQ_Rumination          | [ 0.08,  0.22] |   4.21 | < .001***
CERQ_Rumination          | [ 0.13,  0.27] |   5.51 | < .001***
CERQ_Rumination          | [-0.05,  0.10] |   0.65 | 0.519    
CERQ_Rumination          | [ 0.14,  0.28] |   5.83 | < .001***
CERQ_Rumination          | [-0.43, -0.31] | -10.90 | < .001***
CERQ_Rumination          | [-0.13,  0.01] |  -1.66 | 0.098    
CERQ_Rumination          | [-0.21, -0.07] |  -3.87 | < .001***
CERQ_Rumination          | [ 0.00,  0.15] |   2.04 | 0.042*   
CERQ_Rumination          | [ 0.13,  0.26] |   5.41 | < .001***
CERQ_Catastrophizing     | [-0.11,  0.03] |  -1.07 | 0.283    
CERQ_Catastrophizing     | [-0.12,  0.03] |  -1.23 | 0.219    
CERQ_Catastrophizing     | [-0.18, -0.04] |  -2.95 | 0.003**  
CERQ_Catastrophizing     | [ 0.18,  0.31] |   6.87 | < .001***
CERQ_Catastrophizing     | [ 0.24,  0.37] |   8.76 | < .001***
CERQ_Catastrophizing     | [ 0.13,  0.27] |   5.45 | < .001***
CERQ_Catastrophizing     | [ 0.06,  0.20] |   3.60 | < .001***
CERQ_Catastrophizing     | [ 0.11,  0.25] |   5.05 | < .001***
CERQ_Catastrophizing     | [ 0.03,  0.18] |   2.90 | 0.004**  
CERQ_Catastrophizing     | [ 0.10,  0.24] |   4.84 | < .001***
CERQ_Catastrophizing     | [ 0.02,  0.16] |   2.50 | 0.013*   
CERQ_Catastrophizing     | [-0.16, -0.02] |  -2.52 | 0.012*   
CERQ_Catastrophizing     | [ 0.08,  0.22] |   4.11 | < .001***
CERQ_Catastrophizing     | [ 0.28,  0.41] |   9.92 | < .001***
CERQ_Catastrophizing     | [-0.25, -0.11] |  -4.87 | < .001***
CERQ_Catastrophizing     | [-0.10,  0.04] |  -0.78 | 0.437    
CERQ_Catastrophizing     | [ 0.00,  0.15] |   2.06 | 0.040*   
CERQ_Catastrophizing     | [-0.06,  0.08] |   0.28 | 0.782    
CERQ_Catastrophizing     | [ 0.03,  0.17] |   2.77 | 0.006**  
CERQ_Catastrophizing     | [-0.56, -0.45] | -15.78 | < .001***
CERQ_Catastrophizing     | [-0.29, -0.16] |  -6.29 | < .001***
CERQ_Catastrophizing     | [-0.39, -0.26] |  -9.49 | < .001***
CERQ_Catastrophizing     | [-0.11,  0.03] |  -1.16 | 0.248    
CERQ_Catastrophizing     | [ 0.06,  0.20] |   3.58 | < .001***
CERQ_RefocusPlanning     | [ 0.10,  0.24] |   4.76 | < .001***
CERQ_RefocusPlanning     | [ 0.11,  0.25] |   5.08 | < .001***
CERQ_RefocusPlanning     | [ 0.21,  0.34] |   7.82 | < .001***
CERQ_RefocusPlanning     | [-0.13,  0.01] |  -1.63 | 0.103    
CERQ_RefocusPlanning     | [-0.23, -0.09] |  -4.30 | < .001***
CERQ_RefocusPlanning     | [-0.01,  0.13] |   1.62 | 0.107    
CERQ_RefocusPlanning     | [-0.18, -0.04] |  -2.97 | 0.003**  
CERQ_RefocusPlanning     | [-0.01,  0.13] |   1.63 | 0.105    
CERQ_RefocusPlanning     | [ 0.00,  0.14] |   1.92 | 0.056    
CERQ_RefocusPlanning     | [-0.02,  0.12] |   1.34 | 0.181    
CERQ_RefocusPlanning     | [ 0.04,  0.18] |   3.01 | 0.003**  
CERQ_RefocusPlanning     | [ 0.23,  0.37] |   8.55 | < .001***
CERQ_RefocusPlanning     | [ 0.02,  0.16] |   2.50 | 0.013*   
CERQ_RefocusPlanning     | [-0.14,  0.00] |  -1.89 | 0.059    
CERQ_RefocusPlanning     | [ 0.30,  0.42] |  10.55 | < .001***
CERQ_RefocusPlanning     | [ 0.28,  0.40] |   9.87 | < .001***
CERQ_RefocusPlanning     | [ 0.22,  0.35] |   8.00 | < .001***
CERQ_RefocusPlanning     | [-0.16, -0.01] |  -2.32 | 0.020*   
CERQ_RefocusPlanning     | [ 0.23,  0.36] |   8.52 | < .001***
CERQ_RefocusPlanning     | [ 0.06,  0.20] |   3.51 | < .001***
CERQ_RefocusPlanning     | [ 0.28,  0.41] |  10.06 | < .001***
CERQ_RefocusPlanning     | [ 0.34,  0.46] |  11.78 | < .001***
CERQ_RefocusPlanning     | [ 0.23,  0.36] |   8.54 | < .001***
CERQ_RefocusPlanning     | [ 0.05,  0.19] |   3.32 | < .001***
CERQ_Perspective         | [ 0.08,  0.22] |   4.15 | < .001***
CERQ_Perspective         | [ 0.04,  0.18] |   2.98 | 0.003**  
CERQ_Perspective         | [ 0.11,  0.25] |   5.01 | < .001***
CERQ_Perspective         | [-0.11,  0.03] |  -1.08 | 0.280    
CERQ_Perspective         | [-0.12,  0.03] |  -1.24 | 0.216    
CERQ_Perspective         | [-0.05,  0.09] |   0.47 | 0.639    
CERQ_Perspective         | [-0.01,  0.13] |   1.64 | 0.101    
CERQ_Perspective         | [ 0.01,  0.16] |   2.32 | 0.021*   
CERQ_Perspective         | [ 0.04,  0.18] |   2.94 | 0.003**  
CERQ_Perspective         | [-0.03,  0.11] |   1.13 | 0.260    
CERQ_Perspective         | [ 0.01,  0.15] |   2.10 | 0.036*   
CERQ_Perspective         | [ 0.14,  0.28] |   5.83 | < .001***
CERQ_Perspective         | [ 0.02,  0.16] |   2.46 | 0.014*   
CERQ_Perspective         | [-0.05,  0.10] |   0.65 | 0.518    
CERQ_Perspective         | [ 0.22,  0.36] |   8.24 | < .001***
CERQ_Perspective         | [ 0.10,  0.24] |   4.65 | < .001***
CERQ_Perspective         | [ 0.07,  0.21] |   3.83 | < .001***
CERQ_Perspective         | [-0.31, -0.17] |  -6.74 | < .001***
CERQ_Perspective         | [ 0.05,  0.20] |   3.45 | < .001***
CERQ_Perspective         | [ 0.14,  0.28] |   5.77 | < .001***
CERQ_Perspective         | [ 0.16,  0.30] |   6.52 | < .001***
CERQ_Perspective         | [ 0.21,  0.34] |   7.79 | < .001***
CERQ_Perspective         | [ 0.13,  0.27] |   5.44 | < .001***
CERQ_Perspective         | [ 0.02,  0.16] |   2.51 | 0.012*   

p-value adjustment method: none
Observations: 737

Code
preds_cerqreapp <- compare_predictors("CERQ_PositiveReappraisal")
display_models(preds_cerqreapp$table, title="Best Predictor", subtitle = "CERQ - Positive Reappraisal")
Best Predictor
CERQ - Positive Reappraisal
Code
preds_cerqreapp$p

Code
mods_cerqreapp <- compare_models_lm("CERQ_PositiveReappraisal")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cerqreapp, title="Best Model", subtitle = "CERQ - Positive Reappraisal")
Best Model
CERQ - Positive Reappraisal
Code
preds_cerqrefocus <- compare_predictors("CERQ_PositiveRefocusing")
display_models(preds_cerqrefocus$table, title="Best Predictor", subtitle = "CERQ - Positive Refocusing")
Best Predictor
CERQ - Positive Refocusing
Code
preds_cerqrefocus$p

Code
mods_cerqrefocus <- compare_models_lm("CERQ_PositiveRefocusing")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cerqrefocus, title="Best Model", subtitle = "CERQ - Positive Refocusing")
Best Model
CERQ - Positive Refocusing
Code
preds_cerqpersp <- compare_predictors("CERQ_Perspective")
display_models(preds_cerqpersp$table, title="Best Predictor", subtitle = "CERQ - Perspective")
Best Predictor
CERQ - Perspective
Code
preds_cerqpersp$p

Code
mods_cerqpersp <- compare_models_lm("CERQ_Perspective")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cerqpersp, title="Best Model", subtitle = "CERQ - Perspective")
Best Model
CERQ - Perspective
Code
preds_cerqacceptance <- compare_predictors("CERQ_Acceptance")
display_models(preds_cerqacceptance$table, title="Best Predictor", subtitle = "CERQ - Acceptance")
Best Predictor
CERQ - Acceptance
Code
preds_cerqacceptance$p

Code
mods_cerqacceptance <- compare_models_lm("CERQ_Acceptance")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_cerqacceptance, title="Best Model", subtitle = "CERQ - Acceptance")
Best Model
CERQ - Acceptance
Code
make_cor(select(df, starts_with("PI")),
         cbind(mint, select(df, starts_with("MAIA"), IAS, BPQ)))
# Correlation Matrix (pearson-method)

Parameter1  |               Parameter2 |         r |         95% CI | t(735) |         p
----------------------------------------------------------------------------------------
PI_Alive    |                MINT_SexS |      0.07 | [ 0.00,  0.14] |   1.98 | 0.048*   
PI_Alive    |                MINT_ExaC |      0.12 | [ 0.05,  0.19] |   3.19 | 0.001**  
PI_Alive    |                MINT_RelA |      0.25 | [ 0.19,  0.32] |   7.12 | < .001***
PI_Alive    |                MINT_Urin |      0.02 | [-0.05,  0.10] |   0.65 | 0.516    
PI_Alive    |                MINT_CaCo |      0.07 | [ 0.00,  0.15] |   2.01 | 0.044*   
PI_Alive    |                MINT_Derm |      0.04 | [-0.03,  0.11] |   1.04 | 0.298    
PI_Alive    |                MINT_Sati |     -0.02 | [-0.09,  0.05] |  -0.50 | 0.621    
PI_Alive    |                MINT_Olfa |      0.17 | [ 0.10,  0.24] |   4.71 | < .001***
PI_Alive    |                MINT_Resp |      0.26 | [ 0.20,  0.33] |   7.45 | < .001***
PI_Alive    |                MINT_Card |      0.22 | [ 0.15,  0.29] |   6.05 | < .001***
PI_Alive    |                MINT_Gast |      0.19 | [ 0.12,  0.26] |   5.25 | < .001***
PI_Alive    |      MINT_Meta_Awareness |      0.21 | [ 0.14,  0.28] |   5.88 | < .001***
PI_Alive    | MINT_Meta_Visceroception |      0.27 | [ 0.20,  0.34] |   7.58 | < .001***
PI_Alive    |        MINT_Meta_Deficit |      0.10 | [ 0.02,  0.17] |   2.59 | 0.010**  
PI_Alive    | MAIA_AttentionRegulation |      0.31 | [ 0.25,  0.38] |   8.91 | < .001***
PI_Alive    |       MAIA_BodyListening |      0.35 | [ 0.29,  0.41] |  10.17 | < .001***
PI_Alive    |  MAIA_EmotionalAwareness |      0.35 | [ 0.29,  0.42] |  10.26 | < .001***
PI_Alive    |      MAIA_NotDistracting |     -0.01 | [-0.08,  0.06] |  -0.27 | 0.784    
PI_Alive    |            MAIA_Noticing |      0.30 | [ 0.24,  0.37] |   8.65 | < .001***
PI_Alive    |         MAIA_NotWorrying |     -0.02 | [-0.10,  0.05] |  -0.64 | 0.521    
PI_Alive    |      MAIA_SelfRegulation |      0.32 | [ 0.25,  0.38] |   9.07 | < .001***
PI_Alive    |            MAIA_Trusting |      0.29 | [ 0.22,  0.35] |   8.15 | < .001***
PI_Alive    |                      IAS |      0.24 | [ 0.17,  0.31] |   6.82 | < .001***
PI_Alive    |                      BPQ |      0.13 | [ 0.05,  0.20] |   3.42 | < .001***
PI_Safe     |                MINT_SexS |      0.06 | [-0.01,  0.13] |   1.67 | 0.095    
PI_Safe     |                MINT_ExaC |      0.13 | [ 0.06,  0.20] |   3.51 | < .001***
PI_Safe     |                MINT_RelA |      0.23 | [ 0.16,  0.30] |   6.45 | < .001***
PI_Safe     |                MINT_Urin |     -0.22 | [-0.29, -0.15] |  -6.14 | < .001***
PI_Safe     |                MINT_CaCo |     -0.27 | [-0.34, -0.21] |  -7.73 | < .001***
PI_Safe     |                MINT_Derm |     -0.24 | [-0.31, -0.17] |  -6.81 | < .001***
PI_Safe     |                MINT_Sati |     -0.16 | [-0.23, -0.08] |  -4.27 | < .001***
PI_Safe     |                MINT_Olfa |     -0.20 | [-0.27, -0.13] |  -5.44 | < .001***
PI_Safe     |                MINT_Resp |     -0.09 | [-0.16, -0.02] |  -2.51 | 0.012*   
PI_Safe     |                MINT_Card |     -0.09 | [-0.17, -0.02] |  -2.58 | 0.010*   
PI_Safe     |                MINT_Gast |     -0.10 | [-0.17, -0.03] |  -2.75 | 0.006**  
PI_Safe     |      MINT_Meta_Awareness |      0.20 | [ 0.13,  0.27] |   5.54 | < .001***
PI_Safe     | MINT_Meta_Visceroception |     -0.12 | [-0.19, -0.04] |  -3.14 | 0.002**  
PI_Safe     |        MINT_Meta_Deficit |     -0.35 | [-0.41, -0.29] | -10.14 | < .001***
PI_Safe     | MAIA_AttentionRegulation |      0.21 | [ 0.14,  0.28] |   5.79 | < .001***
PI_Safe     |       MAIA_BodyListening |      0.04 | [-0.04,  0.11] |   0.96 | 0.338    
PI_Safe     |  MAIA_EmotionalAwareness |  4.29e-03 | [-0.07,  0.08] |   0.12 | 0.908    
PI_Safe     |      MAIA_NotDistracting |     -0.05 | [-0.12,  0.03] |  -1.23 | 0.220    
PI_Safe     |            MAIA_Noticing | -6.25e-03 | [-0.08,  0.07] |  -0.17 | 0.865    
PI_Safe     |         MAIA_NotWorrying |      0.30 | [ 0.23,  0.36] |   8.49 | < .001***
PI_Safe     |      MAIA_SelfRegulation |      0.28 | [ 0.21,  0.35] |   7.94 | < .001***
PI_Safe     |            MAIA_Trusting |      0.39 | [ 0.33,  0.45] |  11.47 | < .001***
PI_Safe     |                      IAS |      0.20 | [ 0.13,  0.27] |   5.47 | < .001***
PI_Safe     |                      BPQ |     -0.22 | [-0.28, -0.15] |  -6.02 | < .001***
PI_Enticing |                MINT_SexS |      0.21 | [ 0.14,  0.28] |   5.87 | < .001***
PI_Enticing |                MINT_ExaC |      0.17 | [ 0.09,  0.23] |   4.54 | < .001***
PI_Enticing |                MINT_RelA |      0.17 | [ 0.10,  0.24] |   4.77 | < .001***
PI_Enticing |                MINT_Urin |     -0.14 | [-0.21, -0.07] |  -3.81 | < .001***
PI_Enticing |                MINT_CaCo |     -0.16 | [-0.23, -0.09] |  -4.30 | < .001***
PI_Enticing |                MINT_Derm |     -0.08 | [-0.15, -0.01] |  -2.17 | 0.030*   
PI_Enticing |                MINT_Sati |     -0.12 | [-0.19, -0.05] |  -3.21 | 0.001**  
PI_Enticing |                MINT_Olfa |     -0.12 | [-0.19, -0.05] |  -3.33 | < .001***
PI_Enticing |                MINT_Resp |      0.01 | [-0.06,  0.09] |   0.39 | 0.698    
PI_Enticing |                MINT_Card |      0.03 | [-0.04,  0.10] |   0.88 | 0.378    
PI_Enticing |                MINT_Gast |      0.03 | [-0.04,  0.11] |   0.92 | 0.360    
PI_Enticing |      MINT_Meta_Awareness |      0.26 | [ 0.19,  0.33] |   7.29 | < .001***
PI_Enticing | MINT_Meta_Visceroception |      0.03 | [-0.04,  0.10] |   0.88 | 0.382    
PI_Enticing |        MINT_Meta_Deficit |     -0.20 | [-0.27, -0.13] |  -5.50 | < .001***
PI_Enticing | MAIA_AttentionRegulation |      0.28 | [ 0.21,  0.34] |   7.84 | < .001***
PI_Enticing |       MAIA_BodyListening |      0.17 | [ 0.10,  0.24] |   4.75 | < .001***
PI_Enticing |  MAIA_EmotionalAwareness |      0.19 | [ 0.11,  0.25] |   5.12 | < .001***
PI_Enticing |      MAIA_NotDistracting |  1.35e-03 | [-0.07,  0.07] |   0.04 | 0.971    
PI_Enticing |            MAIA_Noticing |      0.14 | [ 0.07,  0.21] |   3.82 | < .001***
PI_Enticing |         MAIA_NotWorrying |      0.21 | [ 0.14,  0.27] |   5.69 | < .001***
PI_Enticing |      MAIA_SelfRegulation |      0.31 | [ 0.25,  0.38] |   8.98 | < .001***
PI_Enticing |            MAIA_Trusting |      0.38 | [ 0.31,  0.44] |  11.02 | < .001***
PI_Enticing |                      IAS |      0.25 | [ 0.19,  0.32] |   7.15 | < .001***
PI_Enticing |                      BPQ | -5.94e-03 | [-0.08,  0.07] |  -0.16 | 0.872    
PI_Good     |                MINT_SexS |      0.16 | [ 0.08,  0.23] |   4.27 | < .001***
PI_Good     |                MINT_ExaC |      0.17 | [ 0.10,  0.24] |   4.67 | < .001***
PI_Good     |                MINT_RelA |      0.24 | [ 0.17,  0.30] |   6.58 | < .001***
PI_Good     |                MINT_Urin |     -0.21 | [-0.28, -0.14] |  -5.84 | < .001***
PI_Good     |                MINT_CaCo |     -0.25 | [-0.32, -0.18] |  -7.06 | < .001***
PI_Good     |                MINT_Derm |     -0.19 | [-0.26, -0.12] |  -5.27 | < .001***
PI_Good     |                MINT_Sati |     -0.16 | [-0.23, -0.09] |  -4.37 | < .001***
PI_Good     |                MINT_Olfa |     -0.19 | [-0.26, -0.12] |  -5.14 | < .001***
PI_Good     |                MINT_Resp |     -0.05 | [-0.12,  0.03] |  -1.28 | 0.200    
PI_Good     |                MINT_Card |     -0.04 | [-0.11,  0.03] |  -1.04 | 0.297    
PI_Good     |                MINT_Gast |     -0.04 | [-0.11,  0.03] |  -1.12 | 0.262    
PI_Good     |      MINT_Meta_Awareness |      0.27 | [ 0.20,  0.33] |   7.47 | < .001***
PI_Good     | MINT_Meta_Visceroception |     -0.05 | [-0.12,  0.02] |  -1.38 | 0.168    
PI_Good     |        MINT_Meta_Deficit |     -0.32 | [-0.38, -0.25] |  -9.20 | < .001***
PI_Good     | MAIA_AttentionRegulation |      0.28 | [ 0.21,  0.35] |   7.94 | < .001***
PI_Good     |       MAIA_BodyListening |      0.12 | [ 0.05,  0.19] |   3.22 | 0.001**  
PI_Good     |  MAIA_EmotionalAwareness |      0.11 | [ 0.03,  0.18] |   2.91 | 0.004**  
PI_Good     |      MAIA_NotDistracting |     -0.03 | [-0.10,  0.05] |  -0.71 | 0.475    
PI_Good     |            MAIA_Noticing |      0.07 | [ 0.00,  0.15] |   2.03 | 0.043*   
PI_Good     |         MAIA_NotWorrying |      0.29 | [ 0.23,  0.36] |   8.34 | < .001***
PI_Good     |      MAIA_SelfRegulation |      0.34 | [ 0.28,  0.41] |   9.96 | < .001***
PI_Good     |            MAIA_Trusting |      0.44 | [ 0.38,  0.50] |  13.46 | < .001***
PI_Good     |                      IAS |      0.26 | [ 0.19,  0.33] |   7.35 | < .001***
PI_Good     |                      BPQ |     -0.13 | [-0.20, -0.06] |  -3.64 | < .001***

p-value adjustment method: none
Observations: 737

Code
preds_pialive <- compare_predictors("PI_Alive")
display_models(preds_pialive$table, title="Best Predictor", subtitle = "Primals - Alive")
Best Predictor
Primals - Alive
Code
preds_pialive$p

Code
mods_pialive <- compare_models_lm("PI_Alive")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_pialive, title="Best Model", subtitle = "Primals - Alive")
Best Model
Primals - Alive
Code
preds_pisafe <- compare_predictors("PI_Safe")
display_models(preds_pisafe$table, title="Best Predictor", subtitle = "Primals - Safe")
Best Predictor
Primals - Safe
Code
preds_pisafe$p

Code
mods_pisafe <- compare_models_lm("PI_Safe")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_pisafe, title="Best Model", subtitle = "Primals - Safe")
Best Model
Primals - Safe
Code
preds_pient <- compare_predictors("PI_Enticing")
display_models(preds_pient$table, title="Best Predictor", subtitle = "Primals - Enticing")
Best Predictor
Primals - Enticing
Code
preds_pient$p

Code
mods_pient <- compare_models_lm("PI_Enticing")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_pient, title="Best Model", subtitle = "Primals - Enticing")
Best Model
Primals - Enticing
Code
preds_pigood <- compare_predictors("PI_Good")
display_models(preds_pigood$table, title="Best Predictor", subtitle = "Primals - Good")
Best Predictor
Primals - Good
Code
preds_pigood$p

Code
mods_pigood <- compare_models_lm("PI_Good")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_pigood, title="Best Model", subtitle = "Primals - Good")
Best Model
Primals - Good

Predictive

Mental Health

Code
table(df$Disorders_Psychiatric_MoodTreatment)

FALSE  TRUE 
  663    74 
Code
compare_models_glm <- function(outcome="Disorders_Psychiatric_Mood", title="", subtitle = "") {
  

  # Full Questionnaires
  m_mint <- glm(as.formula(paste0(outcome, " ~ .")),
              data = cbind(mint, df[outcome]),
              family = "binomial")
  m_ias <- glm(as.formula(paste0(outcome, " ~ IAS")),
              data = df,
              family = "binomial")
  m_maia <- glm(as.formula(paste0(outcome, " ~ .")),
                data = select(df, all_of(outcome), starts_with("MAIA")),
              family = "binomial") 
  m_imaia <- glm(as.formula(paste0(outcome, " ~ .")),
                data = select(df, all_of(outcome),
                              # MAIA_AttentionRegulation, # remove?
                              # MAIA_SelfRegulation, # remove?
                              # MAIA_Trusting, # remove?
                              MAIA_BodyListening, 
                              MAIA_EmotionalAwareness,
                              MAIA_Noticing),
              family = "binomial")
  m_bpq <- glm(as.formula(paste0(outcome, " ~ BPQ")),
               data = df,
               family = "binomial")
  
  models_full <- list(m_mint=m_mint,
                      m_maia=m_maia, m_imaia=m_imaia,
                      m_ias=m_ias, m_bpq=m_bpq)

  table <- table_models(models_full)

  # get_auc <- function(m) {
  #   roc <- as.data.frame(performance_roc(m))
  #   auc <- bayestestR::area_under_curve(roc$Specificity, roc$Sensitivity)
  #   paste0("AUC = ", insight::format_percent(auc))
  # }
  # 
  
      # SE for AUC
    get_auc <- function(m, n_boot = 1000) {  
    
    probs <- predict(m, type = "response")  
    outcome_vec <- model.response(model.frame(m))
    roc_obj <- pROC::roc(outcome_vec, probs, quiet = TRUE)
    auc_val <- as.numeric(pROC::auc(roc_obj))
    
    ci_auc <- pROC::ci.auc(roc_obj, method = "bootstrap",
                           boot.n = n_boot, quiet = TRUE)
    
    se <- round(((ci_auc[3] - ci_auc[1]) / (2 * 1.96) )*100, 1)
  
    paste0(
    "AUC = ",
    insight::format_percent(auc_val, digits = 1),
    " (± "  ,
    sub("^0", "", sprintf("%.1f", se)),
    "%)")
    }
    
  mods_order <- c("Mint", "MAIA", "iMAIA", "IAS", "BPQ")

  p <- rbind(
    mutate(as.data.frame(performance_roc(m_mint)), Predictor = "Mint"),
    mutate(as.data.frame(performance_roc(m_maia)), Predictor = "MAIA"),
    mutate(as.data.frame(performance_roc(m_imaia)), Predictor = "iMAIA"),
    mutate(as.data.frame(performance_roc(m_ias)), Predictor = "IAS"),
    mutate(as.data.frame(performance_roc(m_bpq)), Predictor = "BPQ")
  ) |>
    mutate(Predictor = fct_relevel(Predictor, mods_order)) |>
    ggplot(aes(x=Specificity)) +
    geom_abline(intercept=0, slope=1, color="gray", linewidth=1) +
    geom_line(aes(y=Sensitivity, color=Predictor), linewidth=1.5, alpha=0.9) +
    geom_label(data=data.frame(
      label = c(get_auc(m_mint),
                get_auc(m_maia), get_auc(m_imaia), get_auc(m_ias), get_auc(m_bpq)),
      Predictor = mods_order,
      x = 0.8,
      y = c(0.55, 0.30, 0.25, 0.20, 0.15)),
      aes(x=x, y=y, label=label), color=colors[mods_order], size=3) +
    labs(x= "1 - Specificity (False Positive Rate)", y="Sensitivity (True Positive Rate)",
         color="Questionnaire", title = title, subtitle=subtitle) +
    scale_color_manual(values=colors) +
    scale_x_continuous(labels=scales::percent) +
    scale_y_continuous(labels=scales::percent) +
    theme_minimal() +
    theme(plot.title = element_text(face="bold"))
  
  list(table=table, p=p)
}
Code
preds_mood <- compare_predictors("Disorders_Psychiatric_Mood")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_mood$table, title="Best Predictor", subtitle = "Mood Disorders")
Best Predictor
Mood Disorders
Code
preds_mood$p

Code
mods_mood <- compare_models_glm("Disorders_Psychiatric_Mood")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_mood$table, title="Best Predictor", subtitle = "Mood Disorders")
Best Predictor
Mood Disorders
Code
mods_mood$p

Code
preds_moodt <- compare_predictors("Disorders_Psychiatric_MoodTreatment")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_moodt$table, title="Best Predictor", subtitle = "Mood Disorders (with Treatment)")
Best Predictor
Mood Disorders (with Treatment)
Code
preds_moodt$p

Code
mods_moodt <- compare_models_glm("Disorders_Psychiatric_MoodTreatment",
                                 title="Mood Disorders", subtitle = "MDD, GAD, Bipolar (with Treatment)")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_moodt$table, title="Best Predictor", subtitle = "Mood Disorders (with Treatment)")
Best Predictor
Mood Disorders (with Treatment)
Code
mods_moodt$p

Code
preds_anxdis <- compare_predictors("Disorders_Psychiatric_Anxiety")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_anxdis$table, title="Best Predictor", subtitle = "Anxiety Disorders")
Best Predictor
Anxiety Disorders
Code
preds_anxdis$p

Code
mods_anxdis <- compare_models_glm("Disorders_Psychiatric_Anxiety")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_anxdis$table, title="Best Model", subtitle = "Anxiety Disorders")
Best Model
Anxiety Disorders
Code
mods_anxdis$p

Code
preds_anxdist <- compare_predictors("Disorders_Psychiatric_AnxietyTreatment")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_anxdist$table, title="Best Predictor", subtitle = "Anxiety Disorders (with Treatment)")
Best Predictor
Anxiety Disorders (with Treatment)
Code
preds_anxdist$p

Code
mods_anxdist <- compare_models_glm("Disorders_Psychiatric_AnxietyTreatment")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_anxdist$table, title="Best Model", subtitle = "Anxiety Disorders (with Treatment)")
Best Model
Anxiety Disorders (with Treatment)
Code
mods_anxdist$p

Code
preds_eat <- compare_predictors("Disorders_Psychiatric_Eating")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_eat$table, title="Best Predictor", subtitle = "Eating Disorders")
Best Predictor
Eating Disorders
Code
preds_eat$p

Code
mods_eat <- compare_models_glm("Disorders_Psychiatric_Eating")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_eat$table, title="Best Model", subtitle = "Eating Disorders")
Best Model
Eating Disorders
Code
mods_eat$p

Code
preds_addict <- compare_predictors("Disorders_Psychiatric_Addiction")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_addict$table, title="Best Predictor", subtitle = "Addiction")
Best Predictor
Addiction
Code
preds_addict$p

Code
mods_addict <- compare_models_glm("Disorders_Psychiatric_Addiction")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_addict$table, title="Best Model", subtitle = "Addiction")
Best Model
Addiction
Code
mods_addict$p

Code
table(df$Disorders_Psychiatric_ADHD)

FALSE  TRUE 
  672    65 
Code
preds_adhd <- compare_predictors("Disorders_Psychiatric_ADHD")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_adhd$table, title="Best Predictor", subtitle = "ADHD")
Best Predictor
ADHD
Code
preds_adhd$p

Code
mods_adhd <- compare_models_glm("Disorders_Psychiatric_ADHD",
                                title = "ADHD", subtitle = "Attention Deficit/Hyperactivity Disorder")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_adhd$table, title="Best Model", subtitle = "ADHD")
Best Model
ADHD
Code
mods_adhd$p

Code
table(df$Disorders_Psychiatric_Autism)

FALSE  TRUE 
  685    52 
Code
preds_asd <- compare_predictors("Disorders_Psychiatric_Autism")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_asd$table, title="Best Predictor", subtitle = "Autism")
Best Predictor
Autism
Code
preds_asd$p

Code
mods_asd <- compare_models_glm("Disorders_Psychiatric_Autism",
                                title = "ASD", subtitle = "Autism Spectrum Disorder")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_asd$table, title="Best Model", subtitle = "Autism")
Best Model
Autism
Code
mods_asd$p

Code
preds_bpd <- compare_predictors("Disorders_Psychiatric_Borderline")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_bpd$table, title="Best Predictor", subtitle = "Borderline Personality Disorder")
Best Predictor
Borderline Personality Disorder
Code
preds_bpd$p

Code
mods_bpd <- compare_models_glm("Disorders_Psychiatric_Borderline")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_bpd$table, title="Best Model", subtitle = "Borderline Personality Disorder")
Best Model
Borderline Personality Disorder
Code
mods_bpd$p

Somatic Issues

Code
preds_afferent <- compare_predictors("Disorders_Somatic_AfferentSensitivity")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_afferent$table, title="Best Predictor", subtitle = "Afferent Sensitivity Symptoms")
Best Predictor
Afferent Sensitivity Symptoms
Code
preds_afferent$p

Code
mods_afferent <- compare_models_glm("Disorders_Somatic_AfferentSensitivity",
                                    title="Afferent Sensitivity Symptoms",
                                    subtitle = "Migraine, neuropathy, muscle tension, dizziness, ...")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_afferent$table, title="Best Model", subtitle = "Afferent Sensitivity Symptoms")
Best Model
Afferent Sensitivity Symptoms
Code
mods_afferent$p

Code
preds_central <- compare_predictors("Disorders_Somatic_CentralSensitization")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_central$table, title="Best Predictor", subtitle = "Central Sensitization Symptoms")
Best Predictor
Central Sensitization Symptoms
Code
preds_central$p

Code
mods_central <- compare_models_glm("Disorders_Somatic_CentralSensitization",
                                   title="Central Sensitization Symptoms",
                                   subtitle = "Fibromyalgia, chronic fatigue, back pain, IBS, ...")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_central$table, title="Best Model", subtitle = "Central Sensitization Symptoms")
Best Model
Central Sensitization Symptoms
Code
mods_central$p

Code
preds_autonomic <- compare_predictors("Disorders_Somatic_AutonomicDysfunction")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_autonomic$table, title="Best Predictor", subtitle = "Autonomic Dysfunction")
Best Predictor
Autonomic Dysfunction
Code
preds_autonomic$p

Code
mods_autonomic <- compare_models_glm("Disorders_Somatic_AutonomicDysfunction",
                                     title="Autonomic Dysfunction",
                                     subtitle = "Hypermobility, chest pain, hypo/hypertension, ....")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_autonomic$table, title="Best Model", subtitle = "Autonomic Dysfunction")
Best Model
Autonomic Dysfunction
Code
mods_autonomic$p

Code
preds_immune <- compare_predictors("Disorders_Somatic_ImmuneInflammatory")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_immune$table, title="Best Predictor", subtitle = "Immune-Inflammatory Symptoms")
Best Predictor
Immune-Inflammatory Symptoms
Code
preds_immune$p

Code
mods_immune <- compare_models_glm("Disorders_Somatic_ImmuneInflammatory",
                                  title="Immune-Inflammatory Symptoms",
                                  subtitle = "Allergies, asthma, eczema, autoimmune, ...")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_immune$table, title="Best Model", subtitle = "Immune-Inflammatory Symptoms")
Best Model
Immune-Inflammatory Symptoms
Code
mods_immune$p

Lifestyle and Demographic

Code
preds_age <- compare_predictors("Age")
display_models(preds_age$table, title="Best Predictor", subtitle = "Age")
Best Predictor
Age
Code
preds_age$p

Code
mods_age <- compare_models_lm("Age")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_age, title="Best Model", subtitle = "Age")
Best Model
Age
Code
df$Sex <- ifelse(df$Gender == "Female", 1, ifelse(df$Gender == "Male", 0, NA))

preds_sex <- compare_predictors("Sex")
display_models(preds_sex$table, title="Best Predictor", subtitle = "Sex")
Best Predictor
Sex
Code
preds_sex$p

Code
mods_sex <- compare_models_glm("Sex")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_sex$table, title="Best Model", subtitle = "Sex")
Best Model
Sex
Code
mods_sex$p

Code
preds_bmi <- compare_predictors("BMI")
display_models(preds_bmi$table, title="Best Predictor", subtitle = "BMI")
Best Predictor
BMI
Code
preds_bmi$p

Code
mods_bmi <- compare_models_lm("BMI")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_bmi, title="Best Model", subtitle = "BMI")
Best Model
BMI
Code
preds_physactiv <- compare_predictors("Physical_Active")
display_models(preds_physactiv$table, title="Best Predictor", subtitle = "Physical Activity")
Best Predictor
Physical Activity
Code
preds_physactiv$p

Code
mods_physactiv <- compare_models_lm("Physical_Active")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_physactiv, title="Best Model", subtitle = "Physical Activity")
Best Model
Physical Activity

Biofeedback Usage (Wearables)

Code
preds_wearN <- compare_predictors("Wearables_Number", family = "poisson")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_wearN$table, title="Best Predictor", subtitle = "Wearables Number")
Best Predictor
Wearables Number
Code
preds_wearN$p

Code
df$Wearables_HeartOwn <- ifelse(df$Wearables_Heart == "Not owning", 0, 1) 
preds_wearHeartOwn <- compare_predictors("Wearables_HeartOwn")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_wearHeartOwn$table, title="Best Predictor", subtitle = "Wearables Heart Ownership")
Best Predictor
Wearables Heart Ownership
Code
preds_wearHeartOwn$p

Code
mods_wearHeartOwn <- compare_models_glm("Wearables_HeartOwn")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_wearHeartOwn$table, title="Best Model", subtitle = "Wearables Heart Ownership")
Best Model
Wearables Heart Ownership
Code
mods_wearHeartOwn$p

Code
preds_wearHeartImp <- compare_predictors("Wearables_HeartImportance")
display_models(preds_wearHeartImp$table, title="Best Predictor", subtitle = "Wearables Heart Importance")
Best Predictor
Wearables Heart Importance
Code
preds_wearHeartImp$p

Code
mods_wearHeartImp <- compare_models_lm("Wearables_HeartImportance")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_wearHeartImp, title="Best Model", subtitle = "Wearables Heart Importance")
Best Model
Wearables Heart Importance
Code
df$Wearables_SleepOwn <- ifelse(df$Wearables_Sleep == "Not owning", 0, 1)
preds_wearSleepOwn <- compare_predictors("Wearables_SleepOwn")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_wearSleepOwn$table, title="Best Predictor", subtitle = "Wearables Sleep Ownership")
Best Predictor
Wearables Sleep Ownership
Code
preds_wearSleepOwn$p

Code
mods_wearSleepOwn <- compare_models_glm("Wearables_SleepOwn")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_wearSleepOwn$table, title="Best Model", subtitle = "Wearables Sleep Ownership")
Best Model
Wearables Sleep Ownership
Code
preds_wearSleepImp <- compare_predictors("Wearables_SleepImportance")
display_models(preds_wearSleepImp$table, title="Best Predictor", subtitle = "Wearables Sleep Importance")
Best Predictor
Wearables Sleep Importance
Code
preds_wearSleepImp$p

Code
mods_wearSleepImp <- compare_models_lm("Wearables_SleepImportance")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_wearSleepImp, title="Best Model", subtitle = "Wearables Sleep Importance")
Best Model
Wearables Sleep Importance
Code
df$Wearables_StepsOwn <- ifelse(df$Wearables_Steps == "Not owning", 0, 1)
preds_wearStepsOwn <- compare_predictors("Wearables_StepsOwn")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_wearStepsOwn$table, title="Best Predictor", subtitle = "Wearables Steps Ownership")
Best Predictor
Wearables Steps Ownership
Code
preds_wearStepsOwn$p

Code
mods_wearStepsOwn <- compare_models_glm("Wearables_StepsOwn")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_wearStepsOwn$table, title="Best Model", subtitle = "Wearables Steps Ownership")
Best Model
Wearables Steps Ownership
Code
preds_wearStepsImp <- compare_predictors("Wearables_StepsImportance")
display_models(preds_wearStepsImp$table, title="Best Predictor", subtitle = "Wearables Steps Importance")
Best Predictor
Wearables Steps Importance
Code
preds_wearStepsImp$p

Code
mods_wearStepsImp <- compare_models_lm("Wearables_StepsImportance")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_wearStepsImp, title="Best Model", subtitle = "Wearables Steps Importance")
Best Model
Wearables Steps Importance
Code
df$Wearables_WeightOwn <- ifelse(df$Wearables_Weight == "Not owning", 0, 1)
preds_wearWeightOwn <- compare_predictors("Wearables_WeightOwn")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(preds_wearWeightOwn$table, title="Best Predictor", subtitle = "Wearables Weight Ownership")
Best Predictor
Wearables Weight Ownership
Code
preds_wearWeightOwn$p

Code
mods_wearWeightOwn <- compare_models_glm("Wearables_WeightOwn")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Waiting for profiling to be done...
Waiting for profiling to be done...
Code
display_models(mods_wearWeightOwn$table, title="Best Model", subtitle = "Wearables Weight Ownership")
Best Model
Wearables Weight Ownership
Code
preds_wearWeightImp <- compare_predictors("Wearables_WeightImportance")
display_models(preds_wearWeightImp$table, title="Best Predictor", subtitle = "Wearables Weight Importance")
Best Predictor
Wearables Weight Importance
Code
preds_wearWeightImp$p

Code
mods_wearWeightImp <- compare_models_lm("Wearables_WeightImportance")
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Warning: Model matrix is rank deficient. Some variance-covariance parameters are
  missing.
Code
display_models(mods_wearWeightImp, title="Best Model", subtitle = "Wearables Weight Importance")
Best Model
Wearables Weight Importance

Summary Table

Interoceptive Awareness - Awareness of specific bodily states and internal sensations

  1. Expulsion Accuracy (ExAc) - Items describing self-perceived accurate awareness of upcoming expulsion sensations (e.g., burp, fart, sneeze).
  2. Relaxation Awareness (RelA) – Items describing awareness of the bodily state associated with relaxation
  3. Sexual Arousal Sensitivity (SexS) – Items describing awareness of sensations linked to sexual arousal.

Interoceptive Deficit – Confusion, inaccuracy, or delayed awareness of internal bodily signals

  1. Cardiorespiratory Confusion (CaCo) – Items describing uncertainty about heart and breathing signals.
  2. Urointestinal Inaccuracy (UrIn) – Items describing uncertainty about urination and defecation signals.
  3. Dermal Hypersensitivity (Derm) – Items describing heightened sensitivity to touch or materials.
  4. Satiety Noticing (Sati) – Items describing delayed awareness of hunger and thirst.
  5. Olfactory Contribution (Olfa) – Items describing the tendency to check body odours to monitor bodily states.

Visceroception – Sensitivity to internal visceral sensations

  1. Interoceptive Sensibility – General sensitivity to internal bodily sensations.
  2. Respiroception (Resp) – Items describing sensitivity to changes in breathing.
  3. Cardioception (Card) – Items describing sensitivity to changes in heart activity.
  4. Gastroception (Gast) – Items describing sensitivity to stomach sensations.
Code
make_table1 <- function(preds=preds_dif, mods=mods_dif, group = "Alexithymia", outcome = "TAS - DIF") {
  yvar <- preds$outcome
  preds <- preds$table
  
  best_pred_mint <- preds[str_detect(preds$Name, "MINT"), ]
  best_pred_nonmint <- preds[!str_detect(preds$Name, "MINT"), ]
  best_pred_nonmint <- best_pred_nonmint[best_pred_nonmint$R2 == max(best_pred_nonmint$R2), ][1,]
  best_models_R2 <- str_remove(arrange(mods, desc(as.numeric(R2)))$Name, "m_")
  best_model_BIC <- str_remove(arrange(mods, as.numeric(BIC))$Name, "m_")
  
  if(length(unique(df[[yvar]])) > 2) {
    # LMs - display correlation
    r_mint <- cor.test(df[[best_pred_mint$Name[1]]], df[[yvar]])
    r_mint <- paste0(insight::format_value(r_mint$estimate, zap_small = TRUE))
    r_nonmint <- cor.test(df[[best_pred_nonmint$Name[1]]], df[[yvar]])
    r_nonmint <- paste0(insight::format_value(r_nonmint$estimate, zap_small = TRUE))
  } else {
    # GLMs - display log-odds
    r_mint <- insight::format_value(best_pred_mint$Coefficient)
    r_nonmint <- insight::format_value(best_pred_nonmint$Coefficient)
  }
  
  # Format
  best_models_R2[str_detect(best_models_R2, "mint")] <- paste0("<b>", best_models_R2[str_detect(best_models_R2, "mint")], "</b>")
  best_model_BIC[str_detect(best_model_BIC, "mint")] <- paste0("<b>", best_model_BIC[str_detect(best_model_BIC, "mint")], "</b>")
  best_models_R2 <- paste0("<small>", paste0(best_models_R2, collapse = " > "), "</small>")
  best_model_BIC <- paste0("<small>", paste0(best_model_BIC, collapse = " > "), "</small>")
  
  
  data.frame(
    Group = group,
    Outcome = outcome, 
    Best_MINT_Predictor = paste0(str_remove(best_pred_mint$Name[1], "MINT_"), "<br><small><i>(", r_mint, ")</i></small>"),
    Best_NonMINT_Predictor = paste0(str_replace(best_pred_nonmint$Name[1], "_", " - "), "<br><small><i>(",  r_nonmint, ")</i></small>"),
    Best_Models_R2 = best_models_R2,
    Best_Models_BIC = best_model_BIC
    )
}

rez <- rbind(
  make_table1(preds_dif, mods_dif, group = "Alexithymia", outcome = "Difficulty Identifying Feelings (DIF)<small><p align='right'><i>TAS-20</i></small><p>"),
  make_table1(preds_ddf, mods_ddf, group = "Alexithymia", outcome = "Difficulty Describing Feelings (DDF)<small><p align='right'><i>TAS-20</i></small><p>"),
  make_table1(preds_eot, mods_eot, group = "Alexithymia", outcome = "Externally Oriented Thinking (EOT)<small><p align='right'><i>TAS-20</i></small><p>"),
  
  make_table1(preds_arou, mods_arou, group = "Emotion Reactivity", outcome = "Arousal<small><p align='right'><i>ERS</i></small><p>"),
  make_table1(preds_sens, mods_sens, group = "Emotion Reactivity", outcome = "Sensitivity<small><p align='right'><i>ERS</i></small><p>"),
  make_table1(preds_pers, mods_pers, group = "Emotion Reactivity", outcome = "Persistence<small><p align='right'><i>ERS</i></small><p>"),
  
  make_table1(preds_ls, mods_ls, group = "Mood", outcome = "Life Satisfaction"),
  make_table1(preds_anx, mods_anx, group = "Mood", outcome = "Anxiety<small><p align='right'><i>PHQ-4</i></small><p>"),
  make_table1(preds_dep, mods_dep, group = "Mood", outcome = "Depression<small><p align='right'><i>PHQ-4</i></small><p>"),
  
  make_table1(preds_moodt, mods_moodt$table, group = "Mental Health", outcome = "Mood Disorder"),
  make_table1(preds_adhd, mods_adhd$table, group = "Mental Health", outcome = "ADHD"),
  make_table1(preds_asd, mods_asd$table, group = "Mental Health", outcome = "Autism"),
  
  make_table1(preds_afferent, mods_afferent$table, group = "Somatic Health", outcome = "Afferent Sensitivity<small><small><p align='right'><i>Migraine, neuropathy, muscle tension, dizziness, ...</i></small></small><p>"),
  make_table1(preds_central, mods_central$table, group = "Somatic Health", outcome = "Central Sensitization<small><small><p align='right'><i>Fibromyalgia, chronic fatigue, back pain, IBS, ...</i></small></small><p>"),
  make_table1(preds_autonomic, mods_autonomic$table, group = "Somatic Health", outcome = "Autonomic Dysfunction<small><small><p align='right'><i>Hypermobility, chest pain, hypo/hypertension, ...</i></small></small><p>"),
  make_table1(preds_immune, mods_immune$table, group = "Somatic Health", outcome = "Immune-Inflammatory<small><small><p align='right'><i>Allergies, eczema, autoimmune, ...</i></small></small><p>"),
  
  make_table1(preds_cefsabody, mods_cefsabody, group = "Dissociative Symptoms", outcome = "Body<small><p align='right'><i>CEFSA</i></small><p>"),
  make_table1(preds_cefsaself, mods_cefsaself, group = "Dissociative Symptoms", outcome = "Self<small><p align='right'><i>CEFSA</i></small><p>"),
  make_table1(preds_cefsaemo, mods_cefsaemo, group = "Dissociative Symptoms", outcome = "Emotions<small><p align='right'><i>CEFSA</i></small><p>"),
  make_table1(preds_cefsareal, mods_cefsareal, group = "Dissociative Symptoms", outcome = "Reality<small><p align='right'><i>CEFSA</i></small><p>"),
  
  # make_table1(preds_pialive, mods_pialive, group = "Primals", outcome = "Alive<small><p align='right'><i>PI-18</i></small><p>"),
  # make_table1(preds_pisafe, mods_pisafe, group = "Primals", outcome = "Safe<small><p align='right'><i>PI-18</i></small><p>"),
  # make_table1(preds_pient, mods_pient, group = "Primals", outcome = "Enticing<small><p align='right'><i>PI-18</i></small><p>"),
  # make_table1(preds_pigood, mods_pigood, group = "Primals", outcome = "Good<small><p align='right'><i>PI-18</i></small><p>")
  
  make_table1(preds_bmi, mods_bmi, group = "Lifestyle", outcome = "BMI"),
  make_table1(preds_physactiv, mods_physactiv, group = "Lifestyle", outcome = "Physical Activity"),
  # make_table1(preds_age, mods_age, group = "Lifestyle", outcome = "Age"),
  make_table1(preds_wearHeartImp, mods_wearHeartImp, group = "Lifestyle", outcome = "Cardiac Monitoring"),
  make_table1(preds_wearSleepImp, mods_wearSleepImp, group = "Lifestyle", outcome = "Sleep Monitoring"),
  make_table1(preds_wearStepsImp, mods_wearStepsImp, group = "Lifestyle", outcome = "Steps Monitoring")
  # make_table1(preds_wearWeightImp, mods_wearWeightImp, group = "Lifestyle", outcome = "Weight Monitoring")
)

tab2 <- rez |> 
  gt::gt() |> 
  gt::tab_header(
    title = gt::md("**Interoception Questionnaires Comparison**"),
    subtitle = "MINT vs. MAIA, IAS, BPQ"
  ) |> 
  gt::cols_width(
    Outcome ~ gt::pct(23),
    Best_MINT_Predictor ~ gt::pct(12),
    Best_NonMINT_Predictor ~ gt::pct(15),
    Best_Models_R2 ~ gt::pct(25),
    Best_Models_BIC ~ gt::pct(25)
  ) |> 
  gt::tab_style(
    style = gt::cell_text(weight="bold", v_align = "middle"),
    locations = gt::cells_column_labels()
  )  |>
  gt::tab_style(
    style = gt::cell_text(align = "center", v_align = "middle"),
    locations = gt::cells_body(columns=c("Best_MINT_Predictor", "Best_NonMINT_Predictor"))
  )  |>
  gt::tab_row_group(
    label = "Lifestyle",
    rows = Group == "Lifestyle"
  ) |> 
  gt::tab_row_group(
    label = "Dissociative Symptoms",
    rows = Group == "Dissociative Symptoms"
  ) |> 
  gt::tab_row_group(
    label = "Primal World Beliefs",
    rows = Group == "Primals"
  ) |> 
  gt::tab_row_group(
    label = "Somatic Health",
    rows = Group == "Somatic Health"
  ) |> 
  gt::tab_row_group(
    label = "Mental Health",
    rows = Group == "Mental Health"
  ) |>
  gt::tab_row_group(
    label = "Mood",
    rows = Group == "Mood"
  ) |> 
  gt::tab_row_group(
    label = "Emotional Reactivity",
    rows = Group == "Emotion Reactivity"
  ) |> 
  gt::tab_row_group(
    label = "Alexithymia",
    rows = Group == "Alexithymia"
  ) |> 
  gt::tab_style(
    style = list(
      gt::cell_fill(color = "gray85"),
      gt::cell_text(weight="bold", style="italic")),
    locations = gt::cells_row_groups()
  )  |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#81C784"),
    locations = list(
      gt::cells_body(columns="Best_MINT_Predictor", rows=c(1:4, 11:18, 20:21, 24))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#FFB74D"),
    locations = list(
      gt::cells_body(columns="Best_MINT_Predictor", rows=c(5:9, 10, 19, 22))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#EF9A9A"),
    locations = list(
      gt::cells_body(columns="Best_MINT_Predictor", rows=c(23, 25))
    )
  ) |> 
  gt::tab_style(
    style = gt::cell_fill(color = "#81C784"),
    locations = list(
      gt::cells_body(columns="Best_Models_R2", rows=c(1:3, 11:13, 15:21, 23:25))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#FFB74D"),
    locations = list(
      gt::cells_body(columns="Best_Models_R2", rows=c(4:10, 14, 22))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#81C784"),
    locations = list(
      gt::cells_body(columns="Best_Models_BIC", rows=c(1:3, 11:20, 25))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#FFB74D"),
    locations = list(
      gt::cells_body(columns="Best_Models_BIC", rows=c(4:10, 22))
    )
  ) |>
  gt::tab_style(
    style = gt::cell_fill(color = "#EF9A9A"),
    locations = list(
      gt::cells_body(columns="Best_Models_BIC", rows=c(21, 23, 24))
    )
  ) |>
  gt::cols_label(
    Best_MINT_Predictor = "Best Predictor\n(MINT)",
    Best_NonMINT_Predictor = "Best Predictor\n(Non-MINT)",
    Best_Models_R2 = "Best Models (R2)",
    Best_Models_BIC = "Best Models (BIC)"
  ) |> 
  gt::fmt_markdown() |> 
  gt::tab_options(
    table.font.size = gt::pct(125)
  ) |>
  gt::cols_hide(Group)


tab2 |> 
  gt::tab_options(
    table.font.size = gt::pct(50)
  )
Interoception Questionnaires Comparison
MINT vs. MAIA, IAS, BPQ
Outcome Best Predictor (MINT) Best Predictor (Non-MINT) Best Models (R2) Best Models (BIC)
Alexithymia
Difficulty Identifying Feelings (DIF)


TAS-20

TAS-20

Meta_Deficit
(0.47)
MAIA - Trusting
(-0.42)
mint > maia > ias > imaia > bpq mint > maia > ias > bpq > imaia
Difficulty Describing Feelings (DDF)


TAS-20

TAS-20

Meta_Deficit
(0.42)
MAIA - Trusting
(-0.41)
mint > maia > ias > imaia > bpq mint > maia > ias > bpq > imaia
Externally Oriented Thinking (EOT)


TAS-20

TAS-20

Meta_Deficit
(0.44)
MAIA - Trusting
(-0.27)
mint > maia > ias > bpq > imaia mint > maia > ias > bpq > imaia
Emotional Reactivity
Arousal


ERS

ERS

Meta_Deficit
(0.44)
MAIA - NotWorrying
(-0.43)
maia > mint > imaia > bpq > ias maia > mint > bpq > imaia > ias
Sensitivity


ERS

ERS

Meta_Deficit
(0.42)
MAIA - NotWorrying
(-0.47)
maia > mint > bpq > imaia > ias maia > mint > bpq > imaia > ias
Persistence


ERS

ERS

Meta_Deficit
(0.42)
MAIA - NotWorrying
(-0.44)
maia > mint > ias > bpq > imaia maia > mint > ias > bpq > imaia
Mood
Life Satisfaction Meta_Deficit
(-0.22)
MAIA - Trusting
(0.53)
maia > mint > ias > imaia > bpq maia > ias > mint > imaia > bpq
Anxiety


PHQ-4

PHQ-4

CaCo
(0.45)
MAIA - Trusting
(-0.46)
maia > mint > bpq > ias > imaia maia > mint > bpq > ias > imaia
Depression


PHQ-4

PHQ-4

Meta_Deficit
(0.37)
MAIA - Trusting
(-0.49)
maia > mint > ias > bpq > imaia maia > mint > ias > bpq > imaia
Mental Health
Mood Disorder Meta_Deficit
(0.84)
MAIA - Trusting
(-0.90)
maia > mint > ias > bpq > imaia maia > ias > bpq > mint > imaia
ADHD Meta_Deficit
(0.60)
IAS
(-0.48)
mint > maia > ias > imaia > bpq ias > bpq > imaia > mint > maia
Autism Meta_Deficit
(0.71)
MAIA - Trusting
(-0.58)
mint > maia > ias > imaia > bpq ias > bpq > imaia > mint > maia
Somatic Health
Afferent Sensitivity


Migraine, neuropathy, muscle tension, dizziness, …

Migraine, neuropathy, muscle tension, dizziness, …

Meta_Deficit
(0.50)
MAIA - Trusting
(-0.36)
mint > maia > bpq > ias > imaia bpq > ias > imaia > maia > mint
Central Sensitization


Fibromyalgia, chronic fatigue, back pain, IBS, …

Fibromyalgia, chronic fatigue, back pain, IBS, …

Meta_Deficit
(0.38)
MAIA - Trusting
(-0.36)
maia > mint > imaia > bpq > ias bpq > ias > maia > imaia > mint
Autonomic Dysfunction


Hypermobility, chest pain, hypo/hypertension, …

Hypermobility, chest pain, hypo/hypertension, …

Card
(0.46)
MAIA - Trusting
(-0.20)
mint > maia > bpq > imaia > ias bpq > ias > imaia > mint > maia
Immune-Inflammatory


Allergies, eczema, autoimmune, …

Allergies, eczema, autoimmune, …

Derm
(0.60)
MAIA - Trusting
(-0.36)
mint > maia > bpq > imaia > ias bpq > mint > ias > maia > imaia
Dissociative Symptoms
Body


CEFSA

CEFSA

CaCo
(0.48)
MAIA - Trusting
(-0.42)
mint > maia > ias > bpq > imaia mint > maia > ias > bpq > imaia
Self


CEFSA

CEFSA

Meta_Deficit
(0.46)
MAIA - Trusting
(-0.35)
mint > maia > ias > bpq > imaia mint > maia > ias > bpq > imaia
Emotions


CEFSA

CEFSA

Meta_Deficit
(0.37)
MAIA - Trusting
(-0.41)
mint > maia > ias > imaia > bpq mint > maia > ias > imaia > bpq
Reality


CEFSA

CEFSA

Meta_Deficit
(0.42)
MAIA - Trusting
(-0.38)
mint > maia > ias > bpq > imaia mint > maia > ias > bpq > imaia
Lifestyle
BMI Sati
(-0.17)
IAS
(0.08)
mint > maia > ias > imaia > bpq ias > bpq > imaia > mint > maia
Physical Activity RelA
(0.22)
MAIA - Trusting
(0.36)
maia > mint > imaia > ias > bpq maia > imaia > ias > mint > bpq
Cardiac Monitoring Card
(0.31)
MAIA - BodyListening
(0.36)
mint > maia > imaia > ias > bpq imaia > ias > maia > bpq > mint
Sleep Monitoring RelA
(0.22)
MAIA - NotWorrying
(-0.22)
mint > maia > imaia > bpq > ias bpq > ias > imaia > maia > mint
Steps Monitoring Meta_Awareness
(0.26)
MAIA - Noticing
(0.28)
mint > maia > imaia > ias > bpq imaia > ias > bpq > mint > maia
Code
# gt::gtsave(tab2, "figures/table2.png", vwidth=1400, expand=0, quiet=TRUE)
# gt::gtsave(tab2, "figures/table2b.png", vwidth=1600, expand=0, quiet=TRUE)

tab2 |> 
  gt::cols_width(
    Outcome ~ gt::pct(21),
    Best_MINT_Predictor ~ gt::pct(17),
    Best_NonMINT_Predictor ~ gt::pct(18),
    Best_Models_R2 ~ gt::pct(22),
    Best_Models_BIC ~ gt::pct(22)
  ) |> 
  gt::gtsave("figures/table2.png", vwidth=1700, expand=0, quiet=TRUE)

Figures

Code
fig1a <- patchwork::wrap_elements(
  patchwork::wrap_elements(grid::rasterGrob(png::readPNG("figures/fig1a.png"))) +
  patchwork::plot_annotation(title = "Exploratory Graphical Analysis (EGA)",
                             subtitle = "Bootstrapped replication of clusters (Method = Leiden)",
                             theme = theme(plot.title = element_text(face="bold", hjust = 0, size = rel(1.4)),
                                           plot.subtitle = element_text(hjust = 0, size = rel(1)))))
fig1b <- patchwork::wrap_elements(
  patchwork::wrap_elements(grid::rasterGrob(png::readPNG("figures/fig1b.png"))) +
  patchwork::plot_annotation(title = "Hierarchical Clustering",
                             subtitle = "Method = Correlation",
                             theme = theme(plot.title = element_text(face="bold", hjust = 0, size = rel(1.4)),
                                           plot.subtitle = element_text(hjust = 0, size = rel(1)))))
ggsave("figures/fig1.png", fig1a / fig1b, width=8, height=12, dpi=300)