Skip to contents

List available built-in and custom spec_ir study templates

Usage

list_spec_templates(category = NULL)

Arguments

category

Optional character filter (e.g., "experimental", "multilevel", "longitudinal", "glm", "custom").

Value

A data.frame summarizing registered templates with columns name, source, category, design_type, levels, estimator, and description.

Examples

list_spec_templates()
#>                      name  source     category         design_type levels
#> 1             cluster_rct builtin experimental      power_analysis      2
#> 2         cross_level_mlm builtin   multilevel       two_level_mlm      2
#> 3 longitudinal_growth_ar1 builtin longitudinal longitudinal_growth      2
#> 4          logistic_power builtin          glm      power_analysis      2
#> 5           factorial_ols builtin experimental      monte_carlo_lm      1
#>   estimator
#> 1      lmer
#> 2      lmer
#> 3      lmer
#> 4     glmer
#> 5        lm
#>                                                                                                                                         description
#> 1                           2-level cluster-randomized trial (60 schools x 25 students, ICC 0.20, level-2 treatment + grand-mean centered pretest).
#> 2                 2-level cross-level interaction (x1:z1) with random slope for x1, unbalanced normal cluster sizes, and Student-t errors (df = 5).
#> 3 5-wave longitudinal growth curve (120 subjects, ICC 0.40, AR(1) rho = 0.35, random time slope, time:treatment interaction, 25% monotone dropout).
#> 4             2-level binary logistic mixed model (50 clinics x 20 patients, ICC 0.15, logit link, treatment OR = exp(0.60), 10% MCAR missingness).
#> 5                                        Single-level 2x2 factorial linear regression (N = 240, focal treatment:moderator interaction beta = 0.45).
list_spec_templates(category = "longitudinal")
#>                      name  source     category         design_type levels
#> 1 longitudinal_growth_ar1 builtin longitudinal longitudinal_growth      2
#>   estimator
#> 1      lmer
#>                                                                                                                                         description
#> 1 5-wave longitudinal growth curve (120 subjects, ICC 0.40, AR(1) rho = 0.35, random time slope, time:treatment interaction, 25% monotone dropout).