Learn R Programming

NPflow (version 0.13.5)

MLE_gamma: MLE for Gamma distribution

Description

Maximum likelihood estimation of Gamma distributed observations distribution parameters

Usage

MLE_gamma(g)

Arguments

g

a list of Gamma distributed observation.

Examples

Run this code

g_list <- list()
for(i in 1:1000){
 g_list <- c(g_list, rgamma(1, shape=100, rate=5))
}

mle <- MLE_gamma(g_list)
mle

Run the code above in your browser using DataLab