LowerBound: Computes the lower bound.

Description Usage Arguments Value

View source: R/Infer.R

Description

Computes the lower bound.

Usage

1
LowerBound(Pg, Omega, M, S, W, Wg, p, logSTW, logSTWg)

Arguments

Pg

Edge probability matrix (qxq).

Omega

Matrix with precision values common to all spanning trees (qxq).

M

Matrix of variational means (nxq).

S

Matrix of variational marginal variances (nxq).

W

Edges weight matrix.

Wg

Variational edges weight matrix.

p

Number of observed species.

logSTW

Log of the matrix tree run on the W matrix.

logSTWg

Log of the matrix tree run on the Wg matrix.

Value

A vector containing the different terms of the lower bound. More precisely :


Rmomal/VEMtree documentation built on Dec. 17, 2020, 5:17 p.m.