A set of R functions for calculating sample size requirements using three different Bayesian criteria in the context of designing an experiment to estimate a normal mean or the difference between two normal means. Functions for calculation of required sample sizes for the Average Length Criterion, the Average Coverage Criterion and the Worst Outcome Criterion in the context of normal means are provided. Functions for both the fully Bayesian and the mixed Bayesian/likelihood approaches are provided.
Author  Lawrence Joseph <lawrence.joseph@mcgill.ca> and Patrick Belisle <pbelisle@epimgh.mcgill.ca> 
Date of publication  20121210 18:40:34 
Maintainer  Lawrence Joseph <lawrence.joseph@mcgill.ca> 
License  GPL (>= 2) 
Version  1.1 
Package repository  View on CRAN 
Installation  Install the latest version of this package by entering the following in R:



All man pages Function index File listing
Man pages  

mu.acc: Bayesian sample size determination for estimating a single...  
mu.alc: Bayesian sample size determination for estimating a single...  
mudiff.acc: Bayesian sample size determination for differences in normal...  
mudiff.acc.equalvar: Bayesian sample size determination for differences in normal...  
mudiff.alc: Bayesian sample size determination for differences in normal...  
mudiff.alc.equalvar: Bayesian sample size determination for differences in normal...  
mudiff.freq: Frequentist sample size determination for differences in...  
mudiff.mblacc: Bayesian sample size determination for differences in normal...  
mudiff.mblacc.equalvar: Bayesian sample size determination for differences in normal...  
mudiff.mblalc: Bayesian sample size determination for differences in normal...  
mudiff.mblalc.equalvar: Bayesian sample size determination for differences in normal...  
mudiff.mblmodwoc: Bayesian sample size determination for differences in normal...  
mudiff.mblmodwoc.equalvar: Bayesian sample size determination for differences in normal...  
mudiff.mbl.varknown: Bayesian sample size determination for differences in normal...  
mudiff.modwoc: Bayesian sample size determination for differences in normal...  
mudiff.modwoc.equalvar: Bayesian sample size determination for differences in normal...  
mudiff.varknown: Bayesian sample size determination for differences in normal...  
mu.freq: Frequentist sample size determination for normal means  
mu.mblacc: Bayesian sample size determination for estimating a single...  
mu.mblalc: Bayesian sample size determination for estimating a single...  
mu.mblmodwoc: Bayesian sample size determination for estimating a single...  
mu.mbl.varknown: Bayesian sample size determination for estimating a single...  
mu.modwoc: Bayesian sample size determination for estimating a single...  
mu.varknown: Bayesian sample size determination for estimating a single...  
SampleSizeMeanspackage: Bayesian sample sizes calculations based on highest posterior... 
Functions 

Files  

MD5
 
R
 
R/rvgg.R  
R/rgg.R  
R/quadsol.R  
R/mudiff.varknown.R  
R/mudiff.samplesize1.R  
R/mudiff.modwoc.R  
R/mudiff.modwoc.equalvar.R  
R/mudiff.mbmodlwoc.equalvar.R  
R/mudiff.mblmodwoc.R  
R/mudiff.mblalc.R  
R/mudiff.mblalc.equalvar.R  
R/mudiff.mblacc.R  
R/mudiff.mblacc.equalvar.R  
R/mudiff.mbl.varknown.R  
R/mudiff.freq.R  
R/mudiff.alc.R  
R/mudiff.alc.equalvar.R  
R/mudiff.acc.R  
R/mudiff.acc.equalvar.R  
R/mu.varknown.R  
R/mu.modwoc.R  
R/mu.mblmodwoc.R  
R/mu.mblalc.R  
R/mu.mblacc.R  
R/mu.mbl.varknown.R  
R/mu.freq.R  
R/mu.alc.R  
R/mu.acc.R  
NAMESPACE
 
man
 
man/SampleSizeMeanspackage.Rd  
man/mudiff.varknown.Rd  
man/mudiff.modwoc.Rd  
man/mudiff.modwoc.equalvar.Rd  
man/mudiff.mblmodwoc.Rd  
man/mudiff.mblmodwoc.equalvar.Rd  
man/mudiff.mblalc.Rd  
man/mudiff.mblalc.equalvar.Rd  
man/mudiff.mblacc.Rd  
man/mudiff.mblacc.equalvar.Rd  
man/mudiff.mbl.varknown.Rd  
man/mudiff.freq.Rd  
man/mudiff.alc.Rd  
man/mudiff.alc.equalvar.Rd  
man/mudiff.acc.Rd  
man/mudiff.acc.equalvar.Rd  
man/mu.varknown.Rd  
man/mu.modwoc.Rd  
man/mu.mblmodwoc.Rd  
man/mu.mblalc.Rd  
man/mu.mblacc.Rd  
man/mu.mbl.varknown.Rd  
man/mu.freq.Rd  
man/mu.alc.Rd  
man/mu.acc.Rd  
DESCRIPTION

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.