Edit

Share via


StatisticFormula.Variance(String, Boolean) Method

Definition

Returns the variance for a series.

public:
 double Variance(System::String ^ inputSeriesName, bool sampleVariance);
public double Variance (string inputSeriesName, bool sampleVariance);
member this.Variance : string * bool -> double
Public Function Variance (inputSeriesName As String, sampleVariance As Boolean) As Double

Parameters

inputSeriesName
String

The input series name.

sampleVariance
Boolean

true if the data is a sample of the population; false if the data is the entire population.

Returns

A double value that represents the variance.

Applies to