This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IG > IGenerateStatistics Interface > IGenerateStatistics.Sample Property (ArcObjects .NET 10.5 SDK) |
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 VARIANT_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