analyse: Creates stratified sequences Compares stratified sequences to...

View source: R/stratifiedAnalysis.R

analyseR Documentation

Creates stratified sequences Compares stratified sequences to their respective non-stratified version under the influence of bias.

Description

Creates stratified sequences Compares stratified sequences to their respective non-stratified version under the influence of bias.

Arguments

endp

object of class endpoint.

pr

at least one object of class randPar or just a list of objects of class randPar

Details

Stratified and Non-stratified versions of a randomization sequence behave differently with respect to issues like selection bias, chronological bias or combined bias. The analyse function creates both versions of a sequence for each of the specified randomization procedures and analyses them in relation to the bias created according to the theta and eta values. The first argument should specify the total sample size of patients. The second argument should be one of class normEndp describing a normally distributed endpoint. The third argument should be the allocation ratio for the different strata. The fourth argument should be the number of strata in the clinical trial. The fifth and sixth arguments should be the selection bias effect eta and the time trend theta. The seventh argument should be a vector of strings representing different randomization procedures. The strings should be given as described by the getDesign function. Any additional parameters should be given after the design name of the procedure encapsulated in parenthesis.

Value

The function returns a matrix that summarizes the performance of the randomization procedures. The values for each randomization procedure represent the percentage of sequences that kept the 5


randomizeR documentation built on Sept. 19, 2023, 1:08 a.m.