#include "mcmc++/statistics.h"
Include dependency graph for statistics.cpp:

Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &out, Statistic &st) |
This file provides two statistical classes: Statistic and SimpleStatistic. As the names suggest, Statistic is more complete. It includes methods for standard deviation and coefficient of variation as well as mean and variance. It can also calculate statistics on ratios (using ratio.h)
Definition in file statistics.cpp.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| Statistic & | st | |||
| ) |
Stream output for Statistic.
Reports sample size, mean, variance, standard deviation, and coefficient of variation, each preceded by a tab and appearing on a new line.
| out | The output stream | |
| st | The statistics |
Definition at line 202 of file statistics.cpp.
References Statistic::CV(), Statistic::Mean(), Statistic::N(), Statistic::StdDev(), and Statistic::Variance().
1.5.1