bf.em: Bayes Factor EM Updating Scheme

Description Usage Arguments Value

View source: R/bf.em.R

Description

A function that describes the updating process in E step and M step for EM algorithm. It will be used in SQUAREM package.

Usage

1
bf.em(w, bf)

Arguments

w

The weight vector in previous M step.

bf

A vector recording all the bayes factor values in log scale.

Value

The updated weight vector in current M step(wnew).


INTRIGUE documentation built on Nov. 8, 2020, 4:30 p.m.