Learn R Programming

gset (version 1.1.0)

figureE: equivalence boundary plots in group sequential designs of equivalence studies

Description

produces the 2-dimenisonal equivalence boundary plot for each stage in group sequential designs of equivalence studies

Usage

figureE(boundary, K, sm=3, lg=6)

Arguments

boundary
the equivalence boundaries c(L) and c(U) at each stage
K
number of stages/looks
sm
the short arm of the t(L) and t(U) axes; default is 3
lg
the short arm of the t(L) and t(U) axes; default is 6

References

Liu, F. and Li, Q. (2014), Sequential Equivalence Testing based on the Exact Distribution of Bivariate Noncentral $t$-statistics, Computational Statistics and Data Analysis, 77:14-24

Liu, F. (2014), gset: an R package for exact sequential test of equivalence hypothesis based on bivariate non-central $t$-statistics, the R Journal (to appear)

See Also

nonbinding,binding,equivonly,nminmax,nfix,oc,figureEF

Examples

Run this code
  ## Not run: 
#   L <- -0.2
#   U <- 0.2
#   theta <- 0
#   sigma <- 0.4  
#   alpha <- 0.05
#   beta  <- 0.2
#   K <- 4
#   bound  <- equivonly(L, U, theta, sigma, n.fix$n1, n.fix$n2, 1:K/K, alpha, plot=FALSE)  
#   figureE(bound, K, 3,6)
#   ## End(Not run)

Run the code above in your browser using DataLab