IMSL C# Numerical Library

CategoricalGenLinModel.ExtendedLikelihoodObservations Property

A vector indicating which observations are included in the extended likelihood.

public virtual int[] ExtendedLikelihoodObservations {get; set;}

Property Value

An int array of length nobs indicating which observations are included in the extended likelihood where nobs is the number of observations.

Remarks

ExtendedLikelihoodObservations is an int array of length nobs indicating which observations are included in the extended likelihood where nobs is the number of observations. The values within the array are interpreted as:

Value Status of observation
0Observation i is in the likelihood.
1Observation i cannot be in the likelihood because it contains at least one missing value in x.
2Observation i is not in the likelihood. Its estimated parameter is infinite.
A null is returned if Solve has not been called prior to calling this method.

By default, all elements are zero.

Exceptions

Exception TypeCondition
ArgumentException is thrown when an element of ExtendedLikelihoodObservations is not in the range [0,2]

See Also

CategoricalGenLinModel Class | Imsl.Stat Namespace