spectrum: Fix t-test in three-gpp-channel test suite

This commit is contained in:
Biljana Bojovic
2023-11-15 16:22:51 +01:00
committed by Biljana B.
parent 2ff906d713
commit b75e2fc7ee

View File

@@ -234,7 +234,7 @@ ThreeGppChannelMatrixComputationTest::DoRun()
// the receive antenna elements"
double t = (sampleMean - txAntennaElements[0] * txAntennaElements[1] * rxAntennaElements[0] *
rxAntennaElements[1]) /
(sampleMean / std::sqrt(numIt));
(sampleStd / std::sqrt(numIt));
// Using a significance level of 0.05, we reject the null hypothesis if |t| is
// greater than the critical value from a t-distribution with df = numIt-1