1 #ifndef theplu_yat_regression_detail_negative_binomial_fitter 2 #define theplu_yat_regression_detail_negative_binomial_fitter 25 #include <yat/utility/Matrix.h> 26 #include <yat/utility/Vector.h> 30 namespace regression {
35 class NegativeBinomialFitter
38 NegativeBinomialFitter(
const utility::Matrix& X,
39 const utility::VectorBase& y,
40 utility::Vector& beta,
41 utility::Matrix& covariance,
44 double alpha(
void)
const;
46 double deviate(
void)
const;
50 utility::Vector& beta_;
51 utility::Matrix& covariance_;
52 const utility::Matrix& X_;
53 const utility::VectorBase& y_;
The Department of Theoretical Physics namespace as we define it.