class_docstr: Binomial variance function
  
  Parameters
  ----------
  n : int, optional
      The number of trials for a binomial variable.  The default is 1 for
      p in (0,1)
  
  Methods
  -------
  call
      Returns the binomial variance
  
  Notes
  -----
  Formulas :
  
     V(mu) = p * (1 - p) * n
  
  where p = mu / n
  
  Alias for Binomial:
  binary = Binomial()
  
  A private method _clean trims the data by machine epsilon so that p is
  in (0,1)
class_docstr_tok: ["Binomial","variance","function","Parameters","--","--","--","--","--","n",":","int",",","optional","The","number","of","trials","for","a","binomial","variable",".","The","default","is","1","for","p","in","(","0,1",")","Methods","--","--","--","-","call","Returns","the","binomial","variance","Notes","--","--","-","Formulas",":","V","(","mu",")","=","p","*","(","1","-","p",")","*","n","where","p","=","mu","\/","n","Alias","for","Binomial",":","binary","=","Binomial","(",")","A","private","method","_clean","trims","the","data","by","machine","epsilon","so","that","p","is","in","(","0,1",")"]
code: def __init__(self, n=1):
      self.n = n
  
file_path: statsmodels/statsmodels/genmod/families/varfuncs.py
imports: import numpy
label_desc: Use image node_id 1 to create a new Binomial object  with example: obj = Binomial(n)