bootLongMSEPsi.Rd
Compute MSE in computing \(\psi\) = two-sided probability with different block sizes.
bootLongMSEPsi(ps, main_factor, time_var, subjectID_var, sampleID_var, b, R, RR, qj, Wj, Khat.obs = NULL, T.obs.full = NULL, ncores, compStatParallel = FALSE)
ps | phyloseq object. |
---|---|
main_factor | Character string. The name of the covariate variable. |
time_var | Character string. The name of the time variable. |
subjectID_var | Character string. The name of the subject ID variable. |
sampleID_var | Character string. The name of the sample ID variable. |
b | A numeric. The block size to account for the dependence within-subject. |
R | A numeric. The number of block bootstrap realizations. |
RR | A numeric. The number of double block bootstrap realizations. |
qj | A numeric vector. The number of repeated observations for j-th subject. |
Wj | A numeric vector. The number of repeated observations in the subset for j-th subject |
Khat.obs | A numeric vector. The second element of the output of |
T.obs.full | A numeric vector. The numeric vector of observed statistic. |
ncores | A numeric. The number of cores to use in |
compStatParallel | A logical. True is used to use parallel in |
A list of MSE computed with given block size b, Khat with all subsamples, Khat with initial block size.