aboutsummaryrefslogtreecommitdiffstats
path: root/statistics/chisq.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'statistics/chisq.hpp')
-rw-r--r--statistics/chisq.hpp13
1 files changed, 13 insertions, 0 deletions
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 <core/fitter.hpp>
@@ -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<typename Ty,typename Tx,typename Tp,typename Ts,typename Tstr>
class chisq
:public statistic<Ty,Tx,Tp,Ts,Tstr>