diff options
| author | Pjotr Prins | 2025-12-04 12:08:35 +0100 |
|---|---|---|
| committer | Pjotr Prins | 2025-12-04 12:08:35 +0100 |
| commit | 956e23d88788d15a93a68f773b3a7939260ec124 (patch) | |
| tree | b95dc131689032b08996197ca2a0bf1bebeebb43 /src/lmm.h | |
| parent | fd58087fc723fc7d82dac8b8fd9cc5cf8c854bee (diff) | |
| download | pangemma-956e23d88788d15a93a68f773b3a7939260ec124.tar.gz | |
Unpack marker
Diffstat (limited to 'src/lmm.h')
| -rw-r--r-- | src/lmm.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/lmm.h b/src/lmm.h index 65d37b2..10dacde 100644 --- a/src/lmm.h +++ b/src/lmm.h @@ -45,8 +45,25 @@ public: size_t e_mode; }; +// Results for LMM. +class SUMSTAT2 { +public: + double beta; // REML estimator for beta. + double se; // SE for beta. + double lambda_remle; // REML estimator for lambda. + double lambda_mle; // MLE estimator for lambda. + double p_wald; // p value from a Wald test. + double p_lrt; // p value from a likelihood ratio test. + double p_score; // p value from a score test. + double logl_H1; // log likelihood under the alternative + // hypothesis as a measure of goodness of fit, + // see https://github.com/genetics-statistics/GEMMA/issues/81 +}; + +typedef tuple< string, uint16_t, uint32_t, uint32_t > MarkerChrPos; + typedef tuple< string,vector<double> > SnpNameValues; -typedef tuple< bool,uint8_t,size_t,string,vector<double> > SnpNameValues2; +typedef tuple< bool,uint8_t,size_t,MarkerChrPos,vector<double> > SnpNameValues2; class LMM { |
