Bayesian statistics


[Up] [Top]

Documentation for package ‘bstats’ version 0.0.0.9004

Help Pages

bcor.test Bayesian Test for Association/Correlation Between Paired Samples This mimics cor.test
bcor.testSumStat Summary stats version of "bcor.test()"
bf10CorExact Title
bf10CorJeffreysIntegrate BF10 for Pearson's correlation based on Jeffreys's approximation to the reduced likelihood, see Jeffreys (1961, pp. 289-292).
computeCorPosteriorLine Title
computeCorRobustnessLine Title
computeCorSequentialLine Title
computePearsonBCor Compute Bayes factors bf10, bfPlus0, bfMin0 based on the default stretched beta prior on (-1, 1) for Pearson's correlation coefficient rho
failIfNot Ensure the Truth of R Expressions and returns TRUE if the expressions are not met.
getSidedObject Function to grab sided ("two.sided", "greater", "less") information of an bfObject with extra items
hello Hello, World!
isEvery Checks whether all objects evalutes to TRUE for a provided function criterion
isEveryFinite Checks whether all objects are finite
isEveryNumeric Checks whether all objects are numeric
isSome Checks whether some object evaluates to TRUE for a provided criterion function
isSomeInfinite Checks whether some object is infinite
isSomeNA Checks whether some object is NA
isSomeNull Checks whether some object is NULL
isSomeTrue Checks whether some object is TRUE
isTryError Checks whether some object is a try error.
marsmanCorMHSampler Fits a beta density to the the posterior samples based on an independent Metropolis sampler, see Tierney (1994).
mPlusCorExact Add this to the exact two-sided Bayes factor to get bfPlus0
mPlusCorJeffreysIntegrate Add this to the semi-exact two-sided Bayes factor to get bfPlus0
posteriorRhoStat ASDF
priorRho Prior for Pearson's rho
priorRhoMin Prior for Pearson's rho restricted to negative values
priorRhoPlus Prior for Pearson's rho restricted to positive values
pValueFromCor Computes the the p value based on the observed correlation.
pValueFromT Function returns the p value from correlation.
tryOrFailWithNA Try to evaluate an expression, if not fail with NA (default)