LeveneTest.LocationMeasure Property

Gets or sets the location measure used by this LeveneTest.

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
C#
public LocationMeasure LocationMeasure { get; set; }

Property Value

LocationMeasure
A LocationMeasure value.

Remarks

Levene's test assumes that the underlying populations of the samples have a normal distribution. A specific choice of measure for central tendency can make the test more robust when the data is not normal.

The value of this property is of type LocationMeasure. The following table lists the possible values for this property:

ValueDescription
LocationMeasure.Mean()The mean is used. This works best for normal data.
LocationMeasure.MedianThe median is used. This is the default, and gives better results when the data is skewed.
LocationMeasure.TrimmedMeanThe trimmed mean is used. This gives better results when the data is heavy-tailed. You can set FractionToTrim property to set the fraction to trim on each end.

See Also