hf_runs <- ef |>filter(task_id =="hearts-and-flowers") |>group_by(site, user_id, run_id, task_id) |>summarise(logit =coef(glm(correct ~1, family ="binomial"))[1],bayeslogit =coef(arm::bayesglm(correct ~1, family ="binomial", prior.scale.for.intercept = .1))[1],correct =mean(correct), age =mean(age))
Warning: There was 1 warning in `summarise()`.
ℹ In argument: `bayeslogit = coef(arm::bayesglm(correct ~ 1, family =
"binomial", prior.scale.for.intercept = 0.1))[1]`.
ℹ In group 1: `site = "co_pilot"`, `user_id = "01TonkOE2dWerkUlJZOIDwJkQNG3"`,
`run_id = "arGLMZNt5N4prVhCGbFw"`, `task_id = "hearts-and-flowers"`.
Caused by warning in `check_dep_version()`:
! ABI version mismatch:
lme4 was built with Matrix ABI version 1
Current Matrix ABI version is 0
Please re-install lme4 from source or restore original 'Matrix' package
`summarise()` has grouped output by 'site', 'user_id', 'run_id'. You can
override using the `.groups` argument.
Warning in eval(family$initialize): non-integer #successes in a binomial glm!
Warning in eval(family$initialize): non-integer #successes in a binomial glm!
Warning: lavaan->lavTestLRT():
Some restricted models fit better than less restricted models; either
these models are not nested, or the less restricted model failed to reach
a global optimum.Smallest difference = -0.11801326394215.
Warning: lavaan->lavTestLRT():
some models have the same degrees of freedom