class_docstr: An abstract base class for computing various statistics incrementally,
  with emphasis on recency-weighted variants.
class_docstr_tok: ["An","abstract","base","class","for","computing","various","statistics","incrementally",",","with","emphasis","on","recency-weighted","variants","."]
docstr: Add a batch of new values to update the statistic.
  :param batch: new values to add to the sample.
docstr_tok: ["Add","a","batch","of","new","values","to","update","the","statistic",".",":","param","batch",":","new","values","to","add","to","the","sample","."]
code: def add_batch(self, batch: List[float]):
      """
      Add a batch of new values to update the statistic.
      :param batch: new values to add to the sample.
      """
      for x in batch:
          self.add(x)
  
imports: from abc import abstractmethod
  from typing import List
  from math import sqrt
  import numpy
label_desc: Use image node_id 8 for calling the IStat obj's underlying member method code with example usage: obj.add_batch(batch) without return types