MixtureCriterionValue

data class MixtureCriterionValue(val value: Double, val isComparable: Boolean, val numZeroDensity: Int, val message: String? = null)(source)

The value of a criterion for one candidate, together with whether that value may be compared with another candidate's.

A criterion computed from a log-likelihood that is not finite, or from a candidate that assigns zero density to some observation, is not on the same footing as one computed normally. Reporting that alongside the number, rather than substituting a bounded worst value and moving on, is what keeps a ranking honest.

Parameters

value

the criterion value

isComparable

whether the value may be ranked against other candidates

numZeroDensity

the number of observations at which the candidate's density is zero

message

an explanation when the value is not comparable, otherwise null

Constructors

Link copied to clipboard
constructor(value: Double, isComparable: Boolean, numZeroDensity: Int, message: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard