Levene test and anova non numerical values

Hello
I am trying to perform a three way mixed anova on a dataset caled "data".
The thing is that I am running into some warning messages and when trying to calculate the F and p value it says NaN when the hand condition is involved which is weird
Any idea of what I did do wrong ?

I got RT a continuous variable and hand, condition and age group as

levene=data %>%
  group_by(condition, hand) %>%
  levene_test(RT ~ Age_group)
#Warning messages:
1: Problem while computing `data =
map(.data$data, .f, ...)`.
i group coerced to factor. 
2: Problem while computing `data =
map(.data$data, .f, ...)`.
i group coerced to factor. 
3: Problem while computing `data =
map(.data$data, .f, ...)`.
i group coerced to factor. 
4: Problem while computing `data =
map(.data$data, .f, ...)`.
i group coerced to factor.

res.aov <- anova_test(
  data = data, dv = Performance, wid = subject,
  between = Age_group, within = c(condition, hand)
)
get_anova_table(res.aov)

#ANOVA Table (type III tests)

                    Effect DFn DFd     F
1                Age_group   1  27 3.721
2                condition   1  27 1.468
3                     hand   1  27   NaN
4      Age_group:condition   1  27 0.010
5           Age_group:hand   1  27   NaN
6           condition:hand   1  27   NaN
7 Age_group:condition:hand   1  27   NaN
      p p<.05     ges
1 0.064       0.06600
2 0.236       0.02600
3   NaN  <NA> 0.00000
4 0.921       0.00018
5   NaN  <NA> 0.00000
6   NaN  <NA> 0.00000
7   NaN  <NA> 0.00000

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.