pmlpp/mlpp/gauss_markov_checker/gauss_markov_checker.h

28 lines
705 B
C++

//
// GaussMarkovChecker.hpp
//
// Created by Marc Melikyan on 11/13/20.
//
#ifndef GaussMarkovChecker_hpp
#define GaussMarkovChecker_hpp
#include <string>
#include <vector>
namespace MLPP{
class GaussMarkovChecker{
public:
void checkGMConditions(std::vector<double> eps);
// Independent, 3 Gauss-Markov Conditions
bool arithmeticMean(std::vector<double> eps); // 1) Arithmetic Mean of 0.
bool homoscedasticity(std::vector<double> eps); // 2) Homoscedasticity
bool exogeneity(std::vector<double> eps); // 3) Cov of any 2 non-equal eps values = 0.
private:
};
}
#endif /* GaussMarkovChecker_hpp */