maximisation_uv: maximisation_uv: Part of DCEM package.

Description Usage Arguments Value

View source: R/dcem_em_utils.R

Description

Calculates meu, sigma and prior based on the updated probability weight matrix.

Usage

1
maximisation_uv(data, weights, meu, sigma, prior, num_clusters, num_data)

Arguments

data

(matrix): The input data.

weights

(matrix): The probability weight matrix.

meu

(vector): The vector of meu.

sigma

(vector): The vector of sigma (standard-deviations).

prior

(vector): The vector of priors.

num_clusters

(numeric): The number of clusters.

num_data

(numeric): The total number of observations in the data.

Value

Updated values for meu, sigma and prior.


parichit/DCEM documentation built on Jan. 22, 2022, 6:13 p.m.