Learn R Programming

NADA2 (version 2.0.1)

EM: EM Algorithm for Interval-Censored Data

Description

EM Algorithm for Interval-Censored Data

Usage

EM(A, pvec, maxiter = 500, tol = 1e-12)

Value

An object of class "icsurv" with elements:

pf

Estimated probability mass function

numiter

Number of iterations

converge

Logical, whether EM converged

intmap

Interval map (if applicable)

Arguments

A

Either a logical matrix or an interval matrix (n x 2).

pvec

Optional initial probability vector.

maxiter

Maximum number of EM iterations (default 500).

tol

Convergence tolerance (default 1e-12).