code: def test_qn_robustbase(self):
      # from R's robustbase with finite.corr = FALSE
      assert_almost_equal(scale.qn_scale(self.range), 13.3148, DECIMAL)
      assert_almost_equal(
          scale.qn_scale(self.stackloss),
          np.array([8.87656, 8.87656, 2.21914, 4.43828]),
          DECIMAL,
      )
      # sunspot.year from datasets in R only goes up to 289
      assert_almost_equal(
          scale.qn_scale(self.sunspot[0:289]), 33.50901, DECIMAL
      )
  
imports: import numpy
  from numpy.random import standard_normal
  from numpy.testing import assert_almost_equal, assert_equal
  import pytest
  from scipy.stats import norm
  import statsmodels.api
  import statsmodels.robust.scale
  from statsmodels.robust.scale import mad
label_desc: Use image node_id 3 for calling the TestQn obj's underlying member method code with example usage: obj.test_qn_robustbase() without return types