multiModalModelLikelihood: Likelihood of data given a multi-modal probability...

View source: R/models.R

multiModalModelLikelihoodR Documentation

Likelihood of data given a multi-modal probability distribution.

Description

This function is part of a set of functions to fit and evaluate multi modal (normal) distribution of data points.

Usage

multiModalModelLikelihood(par, x)

Arguments

par

A named vector with the model parameter (see details).

x

A sequence of numbers to evaluate the probability of.

Details

The 'par' argument is a data frame (or named list) with columns: - m: mean - s: standard deviation - w: weight for every normal distribution of the model

Value

The sum of the log of the probabilities returned by 'multiModalModel()'.


thartbm/handlocs documentation built on Feb. 18, 2025, 10:53 p.m.