em.step.2normal.discrete: The E-step and M-step of EM algorithm

Description Usage Arguments Value

Description

The E-step and M-step of EM algorithm

Usage

1
2
em.step.2normal.discrete(z.1, z.2, m, mu, sigma, rho, p,
  count.as.singleton = 1, top.missing = F)

Arguments

z.1

boundary of the unique and nonoverlapping categories based on pseduo values for the first replicate.

z.2

boundary of the unique and nonoverlapping categories based on pseduo values for the second replicate.

m

number of observations in each category.

mu

a starting value for the mean of the reproducible component.

sigma

a starting value for the standard deviation of the reproducible component.

rho

a starting value for the correlation coefficient of the reproducible component.

p

a starting value for the proportion of reproducible component.

count.as.singleton

the count being seen as singleton. Default is 1.

top.missing

if there are missing observations, top.missing=T.

Value

estimated parameters: p, rho, mu, sigma


qunhualilab/gIDR documentation built on May 14, 2019, 10:38 a.m.