powered by
Triangle distribution method of moments estimate
triangle_mom(x)
a vector of the parameter estimates
triangle distribution sample
set.seed(1204) x <- rtriangle(20, 0, 2, 1.5) triangle_mom(x)
Run the code above in your browser using DataLab