1 #ifndef _PDFXY_H_INCLUDED
2 #define _PDFXY_H_INCLUDED
16 pdfXY(
const vector<double>& xMarPdf_,
const vector<vector<double> >& yxCondPdf_)
17 {
setPdf(xMarPdf_, yxCondPdf_);}
20 pdfXY(
const vector<vector<double> >& joPdf_)
24 pdfXY(
double agreeProb,
int size)
25 {
setPdf(agreeProb, size); }
28 pdfXY(
string pdffn,
int xSize,
int ySize)
29 {
setPdf(pdffn, xSize, ySize); }
50 const vector<vector<double> >&
getJoPdf()
const
63 void setPdf(
const vector<double>& xMarPdf_,
const vector<vector<double> >& yxCondPdf_);
65 void setPdf(
const vector<vector<double> >& joPdf_);
67 void setPdf(
double agreeProb,
int size);
69 void setPdf(
string pdffn,
int xSize,
int ySize);
73 unsigned int abXSize, abYSize;
74 double joH, HX, HY, condHYX, condHXY, IXY;
75 vector<vector<double> > joPdf;
76 vector<double> xMarPdf;
77 vector<double> yMarPdf;
78 vector<vector<double> > yxCondPdf;