Using perturbation analysis for gradient estimation, averaging and updating in a stochastic approximation algorithm · Study