class_docstr: Class for storing the result of a refutation method.
class_docstr_tok: ["Class","for","storing","the","result","of","a","refutation","method","."]
code: def __str__(self):
      if self.refutation_result is None:
          return "{0}\nEstimated effect:{1}\nNew effect:{2}\n".format(
              self.refutation_type,
              self.estimated_effect,
              self.new_effect,
          )
      else:
          return "{0}\nEstimated effect:{1}\nNew effect:{2}\np value:{3}\n".format(
              self.refutation_type,
              self.estimated_effect,
              self.new_effect,
              self.refutation_result["p_value"],
          )
  
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 5 for calling the CausalRefutation obj's underlying member method code with example usage: obj.__str__() and returns: str, str