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.4
C#
public LeveneTestLocationMeasure LocationMeasure { get; set; }

Property Value

LeveneTestLocationMeasure
A 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:

ValueDescription
LeveneTestLocationMeasure.Mean()The mean is used. This works best for normal data.
LeveneTestLocationMeasure.MedianThe median is used. This is the default, and gives better results when the data is skewed.
LeveneTestLocationMeasure.TrimmedMeanThe 10% trimmed mean is used. This gives better results when the data is heavy-tailed.

See Also