The Newey-West rule of thumb, floor(4 (n / 100) ** (2 / 9)).
floor(4 (n / 100) ** (2 / 9))
Usage
Source
models.newey_west_lags(n)