Learn R Programming

MixStable (version 0.1.0)

calculate_log_likelihood: Calculate simplified log-likelihood

Description

Computes a placeholder log-likelihood value based on squared deviations from the mean. This is not a true likelihood function and is used for testing or comparison purposes.

Usage

calculate_log_likelihood(data, params)

Value

Scalar value representing the pseudo log-likelihood.

Arguments

data

Numeric vector of observations.

params

Vector of parameters (not used in this placeholder).