Simulation and Power Analysis of Generalized Linear Mixed Models

Overview Power simglm package Shiny Demo Power Power is the ability to statistically detect a true effect (i.e. non-zero population effect). For simple models (e.g. t-tests, regression) there are closed form equations for generating power. R has routines for these: power.t.test, power.anova.test Gpower3 Power Example n <- seq(20, 1000, 5) power <- sapply(seq_along(n), function(i) power.t.test(n = n[i], delta = .15, sd = 1, type = 'two.

Read More…

Make Power Fun (Again?)

Overview (G)LMMs Power simglm package Shiny Demo - Broken! Linear Mixed Model (LMM) Power Power is the ability to statistically detect a true effect (i.e. non-zero population effect). For simple models (e.g. t-tests, regression) there are closed form equations for generating power. R has routines for these: power.t.test, power.anova.test Gpower3 Power Example n <- seq(4, 1000, 2) power <- sapply(seq_along(n), function(i) power.t.test(n = n[i], delta = .

Read More…

Extending accessibility of open-source statistical software to the masses A shiny case study

R R is an open source statistical programming language. Pros: Common statistical procedures are found in R Can extend functionality with packages/functions Cons: Need to be comfortable with code Flexibility of R R is powerful and flexible due to the many user written packages. However, to capture this flexibility: users need to be comfortable with programming users need to find the package users need to understand package specific syntax R package documentation and examples https://www.

Read More…

All Posts by Category or Tags.