Compute the frequentist power at equivalent tie
Source:R/analysis_operating_characteristics.R
frequentist_power_at_equivalent_tie.RdThis function computes the frequentist power at equivalent tie for a given set of results and analysis configuration.
Usage
frequentist_power_at_equivalent_tie(
results,
analysis_config,
simulation_config,
parallelization = FALSE,
n_replicates = 1000,
trial_cache = NULL,
cluster = NULL
)Arguments
- results
The results data frame.
- analysis_config
The analysis configuration.
- simulation_config
The simulation configuration.
- parallelization
Whether to simulate the designs in parallel.
- n_replicates
Number of Monte Carlo replicates the simulated power estimates are built from, for the case studies analytical_power() cannot be used for.
- trial_cache
Optional environment holding the simulated trials of each design, filled here and read back by
frequentist_power_at_nominal_tie(), whose separate and pooled powers read the same trials.NULLkeeps them for this call only.- cluster
Optional shared cluster from
new_analysis_cluster(), assimulation_analysis()passes it.NULLstarts one for this call if the work warrants it.