Statistics for Variational formulations and numerical analysis of some problems in small strain elastoplasticity