statsmodels.stats.weightstats.DescrStatsW.var_ddof

DescrStatsW.var_ddof(ddof=0)[source]

variance of data given ddof

Parameters:

ddof : int, float

degrees of freedom correction, independent of attribute ddof

Returns:

var : float, ndarray

variance with denominator sum_weights - ddof