about summary refs log tree commit diff
path: root/src/param.h
diff options
context:
space:
mode:
authorPjotr Prins2017-10-05 11:10:57 +0000
committerPjotr Prins2017-10-05 11:12:30 +0000
commitd672c81f7963180c4979aecf93b624d12d3f2ed2 (patch)
tree1db846138215f05da0b5c98da964aea72920dc26 /src/param.h
parent7b09fe8507962f20ccb1650b86408d40db1a0052 (diff)
downloadpangemma-d672c81f7963180c4979aecf93b624d12d3f2ed2.tar.gz
Addresses
  https://github.com/genetics-statistics/GEMMA/issues/81
Diffstat (limited to 'src/param.h')
-rw-r--r--src/param.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/param.h b/src/param.h
index 08b1e10..ff279bd 100644
--- a/src/param.h
+++ b/src/param.h
@@ -56,6 +56,9 @@ public:
   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
 };
 
 // Results for mvLMM.
@@ -118,7 +121,7 @@ public:
   bool mode_debug = false;
   uint issue; // enable tests for issue on github tracker
 
-  int a_mode; // Analysis mode, 1/2/3/4 for Frequentist tests
+  uint a_mode; // Analysis mode, 1/2/3/4 for Frequentist tests
   int k_mode; // Kinship read mode: 1: n by n matrix, 2: id/id/k_value;
   vector<size_t> p_column; // Which phenotype column needs analysis.
   size_t d_pace;           // Display pace