MediaWiki
REL1_24
|
PHP Unit tests for RunningStat class. More...
Public Member Functions | |
testRunningStatAccuracy () | |
Verify that the statistical moments and extrema computed by RunningStat match expected values. | |
testRunningStatMerge () | |
When one RunningStat instance is merged into another, the state of the target RunningInstance should have the state that it would have had if all the data had been accumulated by it alone. | |
Public Attributes | |
$points |
Verify that the statistical moments and extrema computed by RunningStat match expected values.
RunningStat::push RunningStat::count RunningStat::getMean RunningStat::getVariance RunningStat::getStdDev
Definition at line 24 of file RunningStatTest.php.
References as.
When one RunningStat instance is merged into another, the state of the target RunningInstance should have the state that it would have had if all the data had been accumulated by it alone.
RunningStat::merge RunningStat::count
Definition at line 51 of file RunningStatTest.php.
References as.
RunningStatTest::$points |
array( 49.7168, 74.3804, 7.0115, 96.5769, 34.9458, 36.9947, 33.8926, 89.0774, 23.7745, 73.5154, 86.1322, 53.2124, 16.2046, 73.5130, 10.4209, 42.7299, 49.3330, 47.0215, 34.9950, 18.2914, )
Definition at line 8 of file RunningStatTest.php.