search for: bsdt

Displaying 1 result from an estimated 1 matches for "bsdt".

Did you mean: bsd
2007 Jul 24
1
function optimization: reducing the computing time
...tandard deviation, correlation, group size) # n.simul: number of simulations # two-sided (Boolean): two-sided (T) vs. one-sided (F) Bayesian Credible interval # standardized (Boolean): standardized (T) vs. unstandardized (F) test # values are: $p.value (one_tailed), $confidence.interval crawford.BSDT <- function(patient, controls, mean.c=0, sd.c=0 , r=0, n=0, na.rm=F, n.simul=100000, two.sided=T, standardized=T) { library(MCMCpack) #if no summaries are entered, they are computed if(missing(n)) { if(!is.data.frame(controls)) controls <- as.data.frame(controls) n <- dim(cont...