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


pbastide/PhylogeneticEM documentation built on Feb. 12, 2024, 1:27 a.m.