def MeanVar(xs, ddof=0):
 xs = np.asarray(xs)
 mean = xs.mean()
 s2 = Var(xs, mean, ddof)
 return (mean, s2)

def MeanVar ( xs , ddof = 0 ) : xs = np . asarray ( xs ) mean = xs . mean ( ) s2 = Var ( xs , mean , ddof ) return ( mean , s2 )
computes mean and variance .