R: Computation of the variance.

compute_var_M.BM {PhylogeneticEM} | R 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

[Package PhylogeneticEM version 1.1.0 Index]