From b5742a78297257d18959385e7a88a1f230bdcafe Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 22 Aug 2009 16:48:40 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@49 ed2142bd-67ad-457f-ba7c-d818d4011675 --- statistics/chisq.hpp | 13 +++++++++++++ statistics/cstat.hpp | 13 +++++++++++++ statistics/leastsq.hpp | 13 +++++++++++++ 3 files changed, 39 insertions(+) (limited to 'statistics') diff --git a/statistics/chisq.hpp b/statistics/chisq.hpp index 5f28d86..7c38b4e 100644 --- a/statistics/chisq.hpp +++ b/statistics/chisq.hpp @@ -1,3 +1,7 @@ +/** + \file chisq.hpp + */ + #ifndef CHI_SQ_HPP #define CHI_SQ_HPP #include @@ -8,6 +12,15 @@ using std::cerr;using std::endl; namespace opt_utilities { + + /** + chi-square statistic + \tparam Ty the return type of model + \tparam Tx the type of the self-var + \tparam Tp the type of model parameter + \tparam Ts the type of the statistic + \tparam Tstr the type of the string used + */ template class chisq :public statistic diff --git a/statistics/cstat.hpp b/statistics/cstat.hpp index 058523d..45e2920 100644 --- a/statistics/cstat.hpp +++ b/statistics/cstat.hpp @@ -1,3 +1,7 @@ +/** + \file cstat.hpp + */ + #ifndef CSTAT_HPP #define CSTAT_HPP #include @@ -6,6 +10,15 @@ using std::cout;using std::endl; namespace opt_utilities { + + /** + c-statistic, max-likelihood method + \tparam Ty the return type of model + \tparam Tx the type of the self-var + \tparam Tp the type of model parameter + \tparam Ts the type of the statistic + \tparam Tstr the type of the string used + */ template class cstat :public statistic diff --git a/statistics/leastsq.hpp b/statistics/leastsq.hpp index 48b753a..6ac0adc 100644 --- a/statistics/leastsq.hpp +++ b/statistics/leastsq.hpp @@ -1,3 +1,7 @@ +/** + \file leastsq.hpp + */ + #ifndef LEAST_SQ_HPP #define LeAST_SQ_HPP #include @@ -8,6 +12,15 @@ using std::cerr;using std::endl; namespace opt_utilities { + + /** + least-square statistic + \tparam Ty the return type of model + \tparam Tx the type of the self-var + \tparam Tp the type of model parameter + \tparam Ts the type of the statistic + \tparam Tstr the type of the string used + */ template class leastsq :public statistic -- cgit v1.2.2