class_docstr: Base class for different refutation methods.
  
  Subclasses implement specific refutations methods.
  
  # todo: add docstring for common parameters here and remove from child refuter classes
  
  This class is for backwards compatibility with CausalModel
  Will be deprecated in the future in favor of function call refute_method_name() functions
class_docstr_tok: ["Base","class","for","different","refutation","methods",".","Subclasses","implement","specific","refutations","methods",".","#","todo",":","add","docstring","for","common","parameters","here","and","remove","from","child","refuter","classes","This","class","is","for","backwards","compatibility","with","CausalModel","Will","be","deprecated","in","the","future","in","favor","of","function","call","refute_method_name","(",")","functions"]
code: def __init__(self, data, identified_estimand, estimate, **kwargs):
      self._data = data
      self._target_estimand = identified_estimand
      self._estimate = estimate
      self._treatment_name = self._target_estimand.treatment_variable
      self._outcome_name = self._target_estimand.outcome_variable
      self._random_seed = None
  
      # joblib params for parallel processing
      self._n_jobs = kwargs.pop("n_jobs", None)
      self._verbose = kwargs.pop("verbose", 0)
  
      if "random_seed" in kwargs:
          self._random_seed = kwargs["random_seed"]
          np.random.seed(self._random_seed)
  
      # Concatenate the confounders, instruments and effect modifiers
      try:
          self._variables_of_interest = (
              self._target_estimand.get_backdoor_variables()
              + self._target_estimand.instrumental_variables
              + self._estimate.estimator._effect_modifier_names
          )
      except AttributeError as attr_error:
          logger.error(attr_error)
  
imports: import logging
  import random
  from enum import Enum
  from typing import List, Union
  import numpy
  import scipy.stats
  from dowhy.utils.api import parse_state
label_desc: Use image node_id 1 to create a new CausalRefuter object  with example: obj = CausalRefuter(data, identified_estimand, estimate)