code: def confidence_bounds(x, confidence):
      n = len(x)
      m, se = np.mean(x), sp.stats.sem(x)
      h = se * sp.stats.t._ppf((1 + confidence) / 2.0, n - 1)
      return m - h, m + h
  
file_path: ReAgent/reagent/evaluation/weighted_sequential_doubly_robust_estimator.py
imports: import itertools
  import logging
  import numpy
  import scipy
  from reagent.evaluation.cpe import CpeEstimate
  from reagent.evaluation.evaluation_data_page import EvaluationDataPage
label_desc: Use image node_id 7 for calling the WeightedSequentialDoublyRobustEstimator obj's underlying member method code with example usage: obj.confidence_bounds(x, confidence) and returns: unknown,  unknown