Levene Test.Location Measure 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#
A LocationMeasure value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
public LocationMeasure LocationMeasure { get; set; }
Property Value
LocationMeasureA 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:
Value | Description |
---|---|
LocationMeasure.Mean() | The mean is used. This works best for normal data. |
LocationMeasure.Median | The median is used. This is the default, and gives better results when the data is skewed. |
LocationMeasure.TrimmedMean | The 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. |