pmlpp/mlpp/gauss_markov_checker/gauss_markov_checker.h

36 lines
783 B
C
Raw Normal View History

2023-01-24 18:57:18 +01:00
#ifndef MLPP_GAUSS_MARKOV_CHECKER_H
#define MLPP_GAUSS_MARKOV_CHECKER_H
//
// GaussMarkovChecker.hpp
//
// Created by Marc Melikyan on 11/13/20.
//
2023-01-27 13:01:16 +01:00
#include "core/math/math_defs.h"
#include "core/object/reference.h"
#include <string>
#include <vector>
class MLPPGaussMarkovChecker : public Reference {
GDCLASS(MLPPGaussMarkovChecker, Reference);
2023-01-24 19:20:18 +01:00
2023-01-24 19:00:54 +01:00
public:
2023-04-22 17:17:58 +02:00
/*
2023-01-27 13:01:16 +01:00
void checkGMConditions(std::vector<real_t> eps);
2023-01-24 19:00:54 +01:00
// Independent, 3 Gauss-Markov Conditions
2023-01-27 13:01:16 +01:00
bool arithmeticMean(std::vector<real_t> eps); // 1) Arithmetic Mean of 0.
bool homoscedasticity(std::vector<real_t> eps); // 2) Homoscedasticity
bool exogeneity(std::vector<real_t> eps); // 3) Cov of any 2 non-equal eps values = 0.
2023-04-22 17:17:58 +02:00
*/
2023-01-24 19:20:18 +01:00
protected:
static void _bind_methods();
};
#endif /* GaussMarkovChecker_hpp */