Description Usage Arguments Value Author(s) References See Also Examples
calculates sample size for equivalence studies in the traditional non-sequential setting
1 |
r |
sampling ratio of the two groups. For paired samples (such as in crossover studies), r=1 |
l |
lower equivalence bound as given in the equivalence hypothesis |
u |
upper equivalence bound as given in the equivalence hypothesis |
theta |
true mean difference between 2 groups |
sigma |
between-subject standard deviation of the response variable for two independent groups; within subject standard deviation of the response variable for paired groups |
type1 |
overall Type I error rate |
type2 |
overall Type II error rate |
nrange |
a 2-dimensional vector containing the end-points of the interval from which thesample size will be solved. Default crange = c(0,1000) |
n1 |
sample size in group 1 |
n2 |
sample size in group 1 |
Fang Liu (fang.liu.131@nd.edu)
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)
nonbinding
,binding
,equivonly
,nminmax
, oc
,figureE
,figureEF
1 2 3 4 5 6 7 8 9 10 11 |
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Attaching package: 'Hmisc'
The following objects are masked from 'package:base':
format.pval, units
Loading required package: mvtnorm
Loading required package: MCMCpack
Loading required package: coda
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2020 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.