numeric vector indicating sample.size of each group
alpha
numeric indication of desired significance level
nsims
The number of simulations to generate and investigate in
each turn of baysian approach
v.threshold
a numeric threshold for the variance. This
threshold must be met to accept calculated value of baysian
approach. If NA, a variance estimate is calculated and used as threshold.
Value
returns a vector of test statistic cutoff and variance estimate
Details
This function is used in the returnCutoffValue function to estimates
the statistic cutoff for a desired target alpha utlizing a baysian approach.