This document is archived and information here might be outdated. Recommended version. |
Indicates if the statistics represent a sample of the data (used for calculating standard deviation).
[Visual Basic .NET]
Public WriteOnly Property Sample
[C#] public void Sample {set;}
[C++]
HRESULT put_Sample(
VARIANT_BOOL
);
[C++]
Parameters [in]
is a parameter of type bool
Set Sample to True before calling IStatisticsResults::StandardDeviation if the BaseStatistics data values are a sample of the real data. Set Sample to False to retrieve the Population Standard Deviation with IStatisticsResults::StandardDeviation.
By default IStatisticResults::StandardDeviation returns the Sample Standard Deviation, so there is no need to set the Sample property to True.
IGenerateStatistics Interface | IStatisticsResults.StandardDeviation Property