Skip to contents

This function computes shape parameters of a beta distribution, given the mean and variance.

Usage

beta_params(mu, var)

Arguments

mu

A numeric value specifying the mean.

var

A numeric value specifying the variance.

Value

A list of length two containing the two shape parameters.