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.3
C#
A LeveneTestLocationMeasure value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public LeveneTestLocationMeasure LocationMeasure { get; set; }
Property Value
LeveneTestLocationMeasureA LeveneTestLocationMeasure 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 LeveneTestLocationMeasure. The following table lists the possible values for this property:
Value | Description |
---|---|
LeveneTestLocationMeasure.Mean() | The mean is used. This works best for normal data. |
LeveneTestLocationMeasure.Median | The median is used. This is the default, and gives better results when the data is skewed. |
LeveneTestLocationMeasure.TrimmedMean | The 10% trimmed mean is used. This gives better results when the data is heavy-tailed. |