fs_scale_se: Estimator Standard Deviation at a Given Trial Size

View source: R/fs_dgm_scale.R

fs_scale_seR Documentation

Estimator Standard Deviation at a Given Trial Size

Description

Converts a fs_dgm_scale object into the sampling standard deviation of the within-region difference-in-means estimator at trial size n.

Usage

fs_scale_se(scale, n, region = NULL, jensen = FALSE)

Arguments

scale

An object of class "fs_dgm_scale".

n

Integer. Trial size.

region

Character. Region name, matching a row of scale$regions. Default NULL returns every region.

jensen

Logical. If TRUE, inflate by the exact factor accounting for the random region size n_g \sim \mathrm{Bin}(n, P(g)) and random arm split n_1 \mid n_g \sim \mathrm{Bin}(n_g, p), returning the unconditional standard deviation. Default FALSE, which returns the idealised (fixed-count) value.

Value

Named numeric vector of standard deviations.

See Also

fs_dgm_scale


forestsearch documentation built on Nov. 15, 2026, 9:06 a.m.