Implementation of standard equations used to calculate mean and sd for a variety of named distributions different

distn.stats(distn, a, b)

Arguments

distn

named distribution, one of 'beta', 'exp', 'f', 'gamma', 'lnorm', 'norm', 't',

a

numeric; first parameter of distn

b

numeric; second parameter of distn

Value

vector with mean and standard deviation

Examples

# NOT RUN {
distn.stats('norm', 0, 1)
# }