pmlpp/mlpp/gauss_markov_checker/gauss_markov_checker.h

28 lines
609 B
C++

#ifndef MLPP_GAUSS_MARKOV_CHECKER_H
#define MLPP_GAUSS_MARKOV_CHECKER_H
//
// GaussMarkovChecker.hpp
//
// Created by Marc Melikyan on 11/13/20.
//
#include <string>
#include <vector>
class MLPPGaussMarkovChecker {
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 */