File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -616,16 +616,15 @@ export class ResultTableData {
616
616
let statisticalResult = undefined ;
617
617
let statisticalCol = undefined ;
618
618
const compareWithMean = compareWithResultsValues . mean ;
619
- const stdDev = compareWithResultsValues . standardDeviation || 0 ;
620
- const compareWithResultsStdDev =
621
- compareWithResultsValues . standardDeviation || 0 ;
619
+ const stdDev = resultValues . standardDeviation || 0 ;
620
+ const compareWithResultsStdDev = compareWithResultsValues . standardDeviation || 0 ;
622
621
623
622
const x1 = resultValues . mean ;
624
623
const x2 = compareWithMean ;
625
624
const s1_2 = stdDev * stdDev ;
626
625
const s2_2 = compareWithResultsStdDev * compareWithResultsStdDev ;
627
- const n1 = 10 ;
628
- const n2 = 10 ;
626
+ const n1 = compareWithResultsValues . values . length ;
627
+ const n2 = resultValues . values . length ;
629
628
const ny =
630
629
Math . pow ( s1_2 / n1 + s2_2 / n2 , 2 ) /
631
630
( ( s1_2 * s1_2 ) / ( n1 * n1 * ( n1 - 1 ) ) +
You can’t perform that action at this time.
0 commit comments