effective_sample_sizes {POMADE}R Documentation

Approximate Effective Sample Sizes

Description

Approximate Effective Sample Sizes

Usage

effective_sample_sizes(
  sample_sizes_raw = NULL,
  Nt_raw = NULL,
  Nc_raw = NULL,
  cluster_size = 22,
  icc = 0.22
)

Arguments

sample_sizes_raw

Vector of the raw total study sample size(s).

Nt_raw

Vector of raw treatment group sample size(s).

Nc_raw

Vector of raw control group sample size(s).

cluster_size

Average cluster size (Default = 22, a common class size in education research studies).

icc

Assumed intra-class correlation (Default = 0.22, the average ICC value in Hedges & Hedberg (2007) unconditional models)

Details

N_j/DE

Value

A vector of effective sample sizes, adjusted for cluster-dependence.

Examples

sample_sizes <- sample(50:1000, 50, replace = TRUE)
effective_sample_sizes(
  sample_sizes_raw = sample_sizes,
  cluster_size = 20,
  icc = 0.15
)



[Package POMADE version 0.2.0 Index]