powered by
Uses the law of total variance: \(Var(X) = E[Var(X|K)] + Var(E[X|K])\).
# S3 method for mixture vcov(object, ...)
The variance (scalar for univariate mixtures).
A mixture object.
mixture
Additional arguments (not used).
m <- mixture(list(normal(0, 1), normal(10, 1)), c(0.5, 0.5)) vcov(m)
Run the code above in your browser using DataLab