Open respatte opened 6 years ago
I just realised that I could use the dataset provided in the package to make better minimal working examples, and so I tried to do it for this issue. Funnily, this made me find out where exactly the problem seems to be:
lmer
when analysing a within-subject factor such as Target
Sex
) with within_subj = F
, see issue #63 within_subj = T
produces the error I reported abovelm
instead of lmer
Hope this helps identifying and fixing the issue. Here is the full code that I ran to test all this: eyetrackingR_issue
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![image](https://user-images.githubusercontent.com/10072594/41476592-ef66c07a-70b9-11e8-9ce0-36b0998eb9a6.png)
analyse_time_clusters
, and there is a couple issues with it. First, looking at thesummary
ofanalyse_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 theplot
for the same analysis result:Second, the
Probability
value from thesummary
ofanalyse_time_clusters
is always 1, in all the analyses I conduct on whichever dataset. This is quite surprising as the $p$-value should be $0$ if the code believes that the null distribution is basically a dirac. So clearly, there must be an issue, I'm just not sure where.This issue is likely related to #63 where there was an issue running
analyse_time_clusters
with certain combinations of parameters forwithin_subj
andtreatment_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).