em_gauss_gauss: EM Algorithm Estimator for Gaussian-Gaussian Model

View source: R/em_gauss_gauss.R

em_gauss_gaussR Documentation

EM Algorithm Estimator for Gaussian-Gaussian Model

Description

old version. kept for debugging.

Usage

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

## 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 June 14, 2025, 11:08 a.m.