StatisticFormula.Variance(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The variance formula calculates the variance within a group of data.
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
Name of the Series object that stores the data for which the mean value is required.
- sampleVariance
- Boolean
Specify true
if the data is a sample of a population; and false
if the data is the entire population.
Returns
Variance within the group of data.
Examples
The following code demonstrates how to use this formula.
Dim result As Double = Chart1.DataManipulator.Statistics.Variance("Series1", false)
TTestResult result = double result = Chart1.DataManipulator.Statistics.Variance("Series1", false);
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.