BM_Fit: Beta Mixture Density Fitting Procedure

Description Usage Arguments Value

View source: R/BM_Fit.R

Description

Fits a Beta Mixture density to a given set of data

Usage

1
BM_Fit(x, K, threshold = 1e-04, seed = NA)

Arguments

x

vector of data points. Will fit beta mixture density to this.

K

Number of distributions composing mixture

threshold

Determines "accuracy" of final returned parameters

seed

Sets seed for random processes. Should only be used if replicable results are needed.

Value

returns best fitting parameters and results from each iteration of the EM algorithm.


palmerimatthew/BetaMixture documentation built on Aug. 3, 2020, 1:11 a.m.