compute_var_M.BM: Computation of the variance.

View source: R/M_step.R

compute_var_M.BMR Documentation

Computation of the variance.

Description

compute_var_M.BM finds the variance that is the maximum of likelihood

Usage

compute_var_M.BM(phylo, var_diff, diff_exp, edges_max, random.root, mu)

Arguments

phylo

Tree

var_diff

variances of differences result of function compute_var_diff.BM

diff_exp

differences of expectations result of function compute_diff_exp.BM

edges_max

Edges where the shifts occur result of function segmentation.BM

Details

Given the variances, the costs0 and the edges where the shifts occurs, the computation of the maximum of likelihood in the variance is simple.

Value

a p x p matrix : the computed variance


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