class_docstr: Base class for an estimator of causal effect.
  
  Subclasses implement different estimation methods. All estimation methods are in the package "dowhy.causal_estimators"
class_docstr_tok: ["Base","class","for","an","estimator","of","causal","effect",".","Subclasses","implement","different","estimation","methods",".","All","estimation","methods","are","in","the","package","``","dowhy.causal_estimators","''"]
docstr: Create a new estimator of the same type as the one passed in the estimate argument.
  
  Creates a new object with the identified_estimand
  
  :param identified_estimand: IdentifiedEstimand
      An instance of the identified estimand class that provides the information with
      respect to which causal pathways are employed when the treatment effects the outcome
  
  :returns: A new instance of the same estimator class that had generated the given estimate.
code: def get_new_estimator_object(
      self,
      identified_estimand,
      test_significance=False,
      evaluate_effect_strength=False,
      confidence_intervals=None,
  ):
      """Create a new estimator of the same type as the one passed in the estimate argument.
  
      Creates a new object with the identified_estimand
  
      :param identified_estimand: IdentifiedEstimand
          An instance of the identified estimand class that provides the information with
          respect to which causal pathways are employed when the treatment effects the outcome
  
      :returns: A new instance of the same estimator class that had generated the given estimate.
      """
      new_estimator = copy.deepcopy(self)
  
      new_estimator._target_estimand = identified_estimand
      new_estimator._test_significance = test_significance
      new_estimator._effect_strength_eval = evaluate_effect_strength
      new_estimator._confidence_intervals = (
          self._confidence_intervals
          if confidence_intervals is None
          else confidence_intervals
      )
  
      return new_estimator
  
imports: import copy
  import logging
  from collections import namedtuple
  from typing import Dict, List, Optional, Union
  import numpy
  import pandas
  import sympy
  from sklearn.utils import resample
  import dowhy.interpreters
  from dowhy.causal_identifier.identified_estimand import IdentifiedEstimand
  from dowhy.utils.api import parse_state
label_desc: Use image node_id 4 for calling the CausalEstimator obj's underlying member method code with example usage: obj.get_new_estimator_object(identified_estimand, test_significance, evaluate_effect_strength, confidence_intervals) and returns: new_estimator