Learn R Programming

crctStepdown (version 0.5.2)

Univariate Analysis of Cluster Trials with Multiple Outcomes

Description

Frequentist statistical inference for cluster randomised trials with multiple outcomes that controls the family-wise error rate and provides nominal coverage of confidence sets. A full description of the methods can be found in Watson et al. (2023) .

Copy Link

Version

Install

install.packages('crctStepdown')

Monthly Downloads

260

Version

0.5.2

License

CC BY-SA 4.0

Maintainer

Sam Watson

Last Published

February 2nd, 2024

Functions in crctStepdown (0.5.2)

simpleLM

A very basic linear model solver
setParallelCRT

Disable or enable parallelised computing
qscore_impl

The quasi-score statistic for a generalised linear mixed model
perm_dist

Extracts the test statistics
gen_rand_order

Function to generate a stepped-wedge cRCT randomisation allocation
outname_fit

Extracts the dependent variable name from glm, lm, or mer model
twoarm_sim

Simulates data from a two-arm parallel cluster randomised trial
stepdown

Conduct the randomisation-based stepdown procedure
permutation_test_impl

Generates realisations of the permutational test statistic distribution
confint_search

Confidence interval search procedure
est_null_model

Estimates null model