baElicitICC: Elicit ICC based on batch effect and random error standard...

View source: R/basim_tools.R

baElicitICCR Documentation

Elicit ICC based on batch effect and random error standard deviation

Description

For vaccine studies using pre- vs. post_vaccine proliferation ratio as the endpoint

Usage

baElicitICC(
  pars,
  p_resp,
  bsize = 5,
  beta = NULL,
  ntest = 10000,
  threshold = 2,
  take_exp = TRUE,
  seed = NULL
)

Arguments

pars

parameters with 3 columns. 1) std_batch std of the batch effect 2) std_err: std of the random error and 3) mu intercept in the proliferation model

p_resp

response rate

bsize

batch size

beta

beta coefficient in the proliferation model

ntest

number of replications

threshold

threshold to be considered response

take_exp

whether the proliferation model is log transformed

seed

Seed

Value

Estimated ICC with its (bootstrap) SD.


olssol/cava documentation built on Aug. 30, 2023, 2:01 a.m.