Computes sequential evidence ratios for a given data set and permutation samples
Computes sequential evidence ratios for a given data set and permutation samples
Computes sequential evidence ratios for a given data set as well as for order_nb random permutations of this dataset. When data involve repeated measures (and so multiple lines per subject), a column indicating the subject "id" should be provided to the id argument. If nothing is passed to the id argument, seqERboot will suppose that there is only one observation (i.e., one line) per subject.
seqERboot(ic, mod1, mod2, nmin, id =NULL, order_nb)
Arguments
ic: Indicates whether to use the aic or the bic.
mod1: A model of class lm or lmerMod.
mod2: A model of class lm or lmerMod (of the same class of mod1).
nmin: Minimum sample size from which start to compute sequential evidence ratios.
id: If applicable (i.e., repeated measures), name of the "id" column of your dataframe, in character string.
order_nb: Number of permutation samples to evaluate.