From dd50bf608e5c4d15af732be7a347361899959ffe Mon Sep 17 00:00:00 2001 From: William Finzer Date: Wed, 5 Jun 2024 16:19:24 -0700 Subject: [PATCH] * Fixes a bug for two-sample p-tests. Now one-sided tests can be reversed :) --- eepsmedia/plugins/testimate/src/Test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eepsmedia/plugins/testimate/src/Test.js b/eepsmedia/plugins/testimate/src/Test.js index e869fd73..5cd8401d 100644 --- a/eepsmedia/plugins/testimate/src/Test.js +++ b/eepsmedia/plugins/testimate/src/Test.js @@ -272,6 +272,7 @@ class Test { paired: true, groupAxis : "", emitted: `P,prop1,prop2,pDiff,sign,value,N,N1,N2,z,zCrit,conf,CImin,CImax`, + testing : 'pDiff', paramExceptions: {}, makeMenuString: ( ) => {return TwoSampleP.makeMenuString(`BB01`);}, fresh: (ix) => { return new TwoSampleP(ix, true) }, @@ -284,6 +285,7 @@ class Test { paired: false, groupAxis : "", emitted: `P,prop1,prop2,pDiff,sign,value,N,N1,N2,z,zCrit,conf,CImin,CImax`, + testing : 'pDiff', paramExceptions: {}, makeMenuString: ( ) => {return TwoSampleP.makeMenuString(`BB02`);}, fresh: (ix) => { return new TwoSampleP(ix, false) }, @@ -386,6 +388,7 @@ class Test { makeMenuString: ( ) => {return Logistic.makeMenuString(`BN01`);}, fresh: (ix) => { return new Logistic(ix) }, }, + /* CN01: { id: `CN01`, name: `logistic regression`, @@ -398,6 +401,8 @@ class Test { makeMenuString: ( ) => {return Logistic.makeMenuString(`CN01`);}, fresh: (ix) => { return new Logistic(ix) }, }, + + */ }; }