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…

Simulation and power analysis of generalized linear mixed models

Overview (G)LMMs Power simglm package Demo Shiny App! 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…

All Posts by Category or Tags.