This document is archived and information here might be outdated.  Recommended version.


IGenerateStatistics.Sample Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IGenerateStatistics.Sample Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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. 

Remarks

By default IStatisticResults::StandardDeviation returns the Sample Standard Deviation, so there is no need to set the Sample property to True.

See Also

IGenerateStatistics Interface | IStatisticsResults.StandardDeviation Property