class_docstr: Test multicomp.py.
docstr: Test function sidak
  Compare to statsmodels function.
code: def test_sidak(self):
      """Test function sidak
      Compare to statsmodels function.
      """
      reject, pval_corr = sidak(pvals)
      assert_array_equal(reject, [False, False, True, False, False])
      assert_array_almost_equal(
          pval_corr,
          [
              9.74519603e-01,
              4.72268083e-01,
              4.99900010e-04,
              1.41265974e-01,
              5.29572982e-01,
          ],
      )
      # With NaN values
      _, pval_corr = sidak(pvals2_NA)
      assert_array_almost_equal(
          pval_corr, [0.94691584, np.nan, 0.3439, 0.7599, 0.45299184]
      )
  
file_path: pingouin/pingouin/tests/test_multicomp.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from unittest import TestCase
  from pingouin.multicomp import fdr, bonf, holm, sidak, multicomp
label_desc: Use image node_id 3 for calling the TestMulticomp obj's underlying member method code with example usage: obj.test_sidak() without return types