test_studies: test_studies

View source: R/utils.R

test_studiesR Documentation

test_studies

Description

Internal function to estimate the bioequivalence test for nsim simulated studies given a sample size n

Usage

test_studies(nsim, n, comp, param, param.d, arm_seed, ncores)

Arguments

nsim

number of simulated studies

n

sample size

comp

index comparator

param

list of parameters (mean,sd,tar)

param.d

design parameters

arm_seed

seed for each endpoint to get consistent in simulations across all comparators

ncores

number of cores used for the calculation

Value

a logical matrix of size (nsim) X (number of endpoints + 1) function only replicates test_bioq nsim times.


SimTOST documentation built on April 3, 2025, 9:05 p.m.