compute_sum_var_diff: Compute weighted sum of var_diff

View source: R/M_step.R

compute_sum_var_diffR Documentation

Compute weighted sum of var_diff

Description

compute_sum_var_diff computes sum_e edge ell_j * Var[X_j - X_pa(j) | Y]

Usage

compute_sum_var_diff(phylo, var_diff)

Arguments

phylo

a phylogenetic tree

var_diff

result of function compute_var_diff.BM

Value

matrix p x p


PhylogeneticEM documentation built on Aug. 31, 2022, 9:16 a.m.