compute_average_overlap: Compute average overlap between components

View source: R/utils.R

compute_average_overlapR Documentation

Compute average overlap between components

Description

Internally, it is the function MixSim::overlap which is used to generate an approximate pairwise probability to wrongfully assign one component to another. Unfortunately, this function does not the global overlap that we approximate there by averaging pairwise overlaps + compute the overlap between two components accounting for their respective proportions in the mixture

Usage

compute_average_overlap(true_theta, k = length(true_theta$p))

Arguments

true_theta

the parameters of the GMM

k

the number of components

Value

the average overlap

Author(s)

Bastien CHASSAGNOL


bastienchassagnol/RGMMBench documentation built on Oct. 26, 2023, 5:58 p.m.