Estimation C++DLL: adding Standard dev. to Prior.cc & .hh
parent
bb583d6cf6
commit
508422307e
|
@ -25,8 +25,8 @@
|
|||
|
||||
#include "Prior.hh"
|
||||
|
||||
Prior::Prior(Prior::pShape shape_arg, double mean_arg, double mode_arg, double lower_bound_arg, double upper_bound_arg, double fhp_arg, double shp_arg) :
|
||||
shape(shape_arg), mean(mean_arg), mode(mode_arg), lower_bound(lower_bound_arg), upper_bound(upper_bound_arg), fhp(fhp_arg), shp(shp_arg)
|
||||
Prior::Prior(Prior::pShape shape_arg, double mean_arg, double mode_arg, double standard_arg, double lower_bound_arg, double upper_bound_arg, double fhp_arg, double shp_arg) :
|
||||
shape(shape_arg), mean(mean_arg), mode(mode_arg), standard(standard_arg), lower_bound(lower_bound_arg), upper_bound(upper_bound_arg), fhp(fhp_arg), shp(shp_arg)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -41,12 +41,13 @@ public:
|
|||
Inv_gamma_2 = 6 //Inverse gamma (type 2) density
|
||||
};
|
||||
|
||||
Prior(Prior::pShape shape, double mean, double mode, double lower_bound, double upper_bound, double fhp, double shp);
|
||||
Prior(Prior::pShape shape, double mean, double mode, double standard, double lower_bound, double upper_bound, double fhp, double shp);
|
||||
virtual ~Prior();
|
||||
|
||||
const pShape shape;
|
||||
const double mean;
|
||||
const double mode;
|
||||
const double standard;
|
||||
const double lower_bound;
|
||||
const double upper_bound;
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue