update_binary: Update a single element of the binary indicator matrix e

Description Usage Arguments Value

Description

Update a single element of the binary indicator matrix e

Usage

1
update_binary(evec, Gvec, beta, betavec, y, theta)

Arguments

evec

vector e_-it in Mitra 2013 notation

Gvec

vector G_-it in Mitra 2013 notation

beta

a scalar, entry [i, i] of beta matrix

betavec

a vector from beta matrix, beta_matrix[i, -i]

y

scalar entry from data matrix

theta

sampling distribution parameters, a list

Value

a binary scalar (0 or 1)


fboehm/mitra2013 documentation built on May 16, 2019, 11:10 a.m.