Learn R Programming

triangle (version 1.0)

triangle_mom: Triangle distribution method of moments estimate

Description

Triangle distribution method of moments estimate

Usage

triangle_mom(x)

Value

a vector of the parameter estimates

Arguments

x

triangle distribution sample

Examples

Run this code
set.seed(1204)
x <- rtriangle(20, 0, 2, 1.5)
triangle_mom(x)

Run the code above in your browser using DataLab