betaMoments: Beta Distribution Moments Calculate the mean and variance of...

Description Usage Arguments Value Author(s) Examples

View source: R/stats.R

Description

Beta Distribution Moments Calculate the mean and variance of a beta distribution, given its two shape parameters

Usage

1
betaMoments(alpha, beta)

Arguments

alpha

Beta distribution shape parameter #1 [0, Inf]

beta

Beta distribution shape parameter #2 [0, Inf]

Value

Named list with 2 elements: mean = mean of given beta disitribution var = variance of given beta disitribution

Author(s)

Will Hopper

Examples

1
betaMoments(alpha=.01, beta = 1)

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