dot-meanStd2GammasNu: Converts the mean and standard deviation of a...

.meanStd2GammasNuR Documentation

Converts the mean and standard deviation of a Gamma-distributed variable into the parameters s and \nu.

Description

Converts the mean and standard deviation of a Gamma-distributed variable into the parameters s and \nu.

Usage

.meanStd2GammasNu(m, std)

Arguments

m

mean parameter

std

standard deviation

Details

The parameters s and nu are related to the regular shape \alpha and rate \beta parametrization in the following way: \alpha = \nu / 2 \beta = s / 2

Value

A vector with parameters s and \nu.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.