code: def test_loglik_lambda_estimation(self):
      # 0.2 is the value returned by `BoxCox.lambda(x, method="loglik")`
      lmbda = self.bc._est_lambda(self.x, method="loglik")
      assert_almost_equal(lmbda, 0.2, 1)
  
file_path: statsmodels/statsmodels/base/tests/test_transform.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal, assert_raises
  from statsmodels.base.transform import BoxCox
  from statsmodels.datasets import macrodata
label_desc: Use image node_id 8 for calling the TestTransform obj's underlying member method code with example usage: obj.test_loglik_lambda_estimation() without return types