ABfromMeanSD: ABfromMeanSD

Description Usage Arguments Value Author(s) Examples

View source: R/stats.R

Description

Beta distribution shape parameters recovered from mean and standard deviation

Usage

1

Arguments

mean

numeric scalar in range (0,1)

sd

numeric scalar in range (0,Inf)

Value

Named list with 2 elements: a = Beta shape parameter #1, b = Beta shape parameter #2

Author(s)

John Krushke, in Kruschke, J. K. (2015). Doing Bayesian Data Analysis, Second Edition: A Tutorial with R, JAGS, and Stan. Academic Press / Elsevier.

Examples

1
## Not run: ABfromMeanSD(mean =.5, sd = 1)

wjhopper/whoppeR documentation built on May 4, 2019, 7:33 a.m.