JCL Help:SampleVarianceAndMean

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Calculates the variance and mean of the value assuming a sample.


Pascal

 procedure SampleVarianceAndMean(const X: TDynFloatArray; var Variance: Float; var Mean: Float);


Parameters

Parameters Description
const X: TDynFloatArray The array for which to calculate the sample variance. This array cannot be empty or an EMathError exception is raised.
var Variance: Float Receives the sample variance of the values.
var Mean: Float Receives the (arithmetic) mean of the values.


Description

SampleVarianceAndMean returns the variance and mean of the value assuming a sample.


About

Unit

JclStatistics


Donator

ESB Consultancy


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page