em_censored_fit: Compute the maximum likelihood estimates of an exponential...

Description Usage Arguments Value

Description

Compute the maximum likelihood estimates of an exponential mixture distribution and number of mixtures when the data is right censored.

Usage

1
2
em_censored_fit(x, cens_point, n_c, prec = 1e-08, prec2 = 1e-04,
  itermax = 100, rmax = 10)

Arguments

x

A data vector.

cens_point

Point at which data is censored.

n_c

Number of right censored data points.

prec

Precision used for testing convergence of mle's as measured by squared difference of loglikelihood functions.

prec2

Estimated mixing proportions below prec2 will cause algorithm to stop.

itermax

Maximum number of EM algorithm iterations.

rmax

Maximum number of mixtures to find.

Value

A list of mixing proportions p and associated means mean.


brentfagan/mixem documentation built on May 8, 2019, 1:37 a.m.