SCRI.seq: Perform sequential analysis on true and misclassified...

Description Usage Arguments Examples

Description

This function performs a prespecified number of binomial sequential analyses on real and misclassified binomial data that is designed to simulate a self-controlled risk interval design. Do not run SCRI.seq as a stand-alone function.

Usage

1
SCRI.seq(data, params)

Arguments

data

Output from sim.exposure that contains real and observed data.

params

Output from initialize.data function.

Examples

1
2
3
4
5
6
7
#paramtest <- initialize.data(seed=8768, N=1, t0=0, tf=2, NStrata=2, 
#strataRatio=c(0.2, 0.3, 0.3, 0.2), EventRate=c(0.4, 0.5), sensitivity=0.9, PPVest=0.9, RR=3.0, 
#MatchRatio=1, maxSampleSize=200, maxTest=1, totalAlpha=0.05, minEvents=5, AlphaSpendType="Wald",
#AlphaParameter=0.5, address=getwd(), rate=20, offset=30)
#exposed1 <- create.exposure(paramtest)
#exposed2 <- sim.exposure(exposed1, paramtest)
#SCRI.seq(exposed2, paramtest)

SequentialDesign documentation built on May 2, 2019, 3:45 a.m.