em_gauss_gauss: EM Algorithm Estimator for Gaussian-Gaussian Model

Description Usage Arguments Value Examples

Description

old version. kept for debugging.

Usage

1
2
em_gauss_gauss(d_vec, w_vec, cutoff, reltol = 1e-06, maxit = 200L,
  integrate_options = list(), quiet = FALSE, ...)

Arguments

d_vec

binary integer vector of assignment

w_vec

numeric vector of observed running variable

cutoff

threshold value for assignment

reltol

relative tolerance requied

maxit

maximum number of iteration

integrate_options

controls to pass to integrate

quiet

if false, progress is reported

...

currently not used

Value

List

Examples

1
2
3
4
5
## Not run: 
dat <- gen_data(500, 0.2, 0)
em_gauss_gauss(dat$d, dat$w, 0)

## End(Not run)

kota7/rddsigma documentation built on May 20, 2019, 1:11 p.m.