forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HypothesisTester_ar.h
37 lines (29 loc) · 1.09 KB
/
HypothesisTester_ar.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* HypothesisTesterar.h
*
* Created on: 25 de set de 2018
* Author: ribeiro
*/
#ifndef HYPOTHESISTESTER_AR_H_
#define HYPOTHESISTESTER_AR_H_
#include "HypothesisTester_if.h"
#include "Integrator_ar.h"
#include <fstream>
class HypothesisTester_ar: public HypothesisTester_if {
public:
HypothesisTester_ar();
HypothesisTester_ar(const HypothesisTester_ar& orig);
~HypothesisTester_ar();
public:
bool testAverage(double confidencelevel, double avg, H1Comparition comp);
bool testProportion(double confidencelevel, double prop, H1Comparition comp);
bool testVariance(double confidencelevel, double var, H1Comparition comp);
bool testAverage(double confidencelevel, std::string secondPopulationDataFilename, H1Comparition comp);
bool testProportion(double confidencelevel, std::string secondPopulationDataFilename, H1Comparition comp);
bool testVariance(double confidencelevel, std::string secondPopulationDataFilename, H1Comparition comp);
void setDataFilename(std::string dataFilename);
std::string getDataFilename();
private:
std::string fileName;
};
#endif /* HYPOTHESISTESTER_AR_H_ */