The law of the iterated logarithm for negatively associated random variables