-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi everyone,
I have recently tried using bootstrapped cluster-based permutation analysis on my data, using eyetrackingR great functions, but with no luck finding any significant results. I first thought this was just because my data didn't provide enough evidence, but I recently stumbled across some similar analysis that found significant differences where visually it seemed that the difference was a lot less clear.
This led me to question the output of analyse_time_clusters, and there is a couple issues with it.
First, looking at the summary of analyse_time_clusters, it gives me the same value for the null distribution mean and 2.5% (97.5%) percentiles, which is in clear conflict with the plot for the same analysis result:

Second, the Probability value from the summary of analyse_time_clusters is always 1, in all the analyses I conduct on whichever dataset. This is quite surprising as the
This issue is likely related to #63 where there was an issue running analyse_time_clusters with certain combinations of parameters for within_subj and treatment_level. This is what my code looks like, and as for the other issue you can find my full code and datasets on my project's repository (stats/InfantsAnalysis, see full instructions on other issue).
LT.time_cluster_tail <- LT.time_course_tail %>%
split(.$FstLst) %>%
lapply(make_time_cluster_data,
predictor_column = "Condition",
treatment_level = "No Label",
aoi = "Tail",
test = "lmer",
threshold = 1,
formula = ArcSin ~ Condition +
(1 | Participant) +
(1 | Stimulus))
## Run analysis
LT.time_cluster_tail.analysis <- LT.time_cluster_tail %>%
lapply(analyze_time_clusters,
formula = ArcSin ~ Condition +
(1 | Participant) +
(1 | Stimulus),
within_subj = T,
parallel = T)
> summary(LT.time_cluster_tail.analysis[[2]])
Test Type: lmer
Predictor: Condition
Formula: ArcSin ~ Condition + (1 | Participant) + (1 | Stimulus)
Null Distribution ======
Mean: 26.5412
2.5%: 26.5412
97.5%: 26.5412
Summary of Clusters ======
Cluster Direction SumStatistic StartTime EndTime Probability
1 1 Positive 1.027932 2800 2850 1
2 2 Positive 26.541206 3100 4000 1
3 3 Negative -1.117454 2000 2050 1