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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.