simr
simr copied to clipboard
Power Analysis of Generalised Linear Mixed Models by Simulation
Scan https://github.com/pitakakariki/simr/issues/91 for potentially confusing options.
Hi, I am encountering an error when I am trying to run powerSim. There is no misssing data in my model. My model: `model2
This can be confusing. The response is simulated because the object needs a placeholder.
They're currently "Surname Name" on CRAN.
plyr has been orphaned. Might need to move to purrr eventually, if they ever sort out progress bars.
This is just a lot easier than remembering the rules around "suggested".
Hi, I think you you mentioned that there is no standardized effect size for the mixed model. But is there any rule of thumb to specify value of fixef. For...
Errors in powerSim when passing a fit object whose formula was not explicit (i.e., with as.formula)
The title pretty much summarizes the problem, so I'm going to give a reproducible example below. ``` data("iris") myFormula = as.formula("Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width") iris.glm.explicit = glm(formula...
Basically do a null "extend", and just copy the data to the `newData` attribute. Hopefully this is more robust to models being passed between functions?
Original model e.g. `[fe] + (1 | g1) + (x || g2)`. Test e.g. `rcompare(~ (x || g2))`. re part ends up as `c([a], [b])`. then `str_c` gives `c("[fe] +...