Skip to content

Commit

Permalink
* Fixes a bug for two-sample p-tests. Now one-sided tests can be reve…
Browse files Browse the repository at this point in the history
…rsed :)
  • Loading branch information
bfinzer committed Jun 5, 2024
1 parent 82f3007 commit dd50bf6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eepsmedia/plugins/testimate/src/Test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
Expand All @@ -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) },
Expand Down Expand Up @@ -386,6 +388,7 @@ class Test {
makeMenuString: ( ) => {return Logistic.makeMenuString(`BN01`);},
fresh: (ix) => { return new Logistic(ix) },
},
/*
CN01: {
id: `CN01`,
name: `logistic regression`,
Expand All @@ -398,6 +401,8 @@ class Test {
makeMenuString: ( ) => {return Logistic.makeMenuString(`CN01`);},
fresh: (ix) => { return new Logistic(ix) },
},
*/
};

}
Expand Down

0 comments on commit dd50bf6

Please sign in to comment.