statsmodels.stats.sandwich_covariance.weights_uniform#

statsmodels.stats.sandwich_covariance.weights_uniform(nlags)[source]#

Uniform weights for HAC

this will be moved to another module

Parameters:
nlagsint

highest lag in the kernel window, this does not include the zero lag

Returns:
kernelndarray, (nlags+1,)

weights for uniform kernel