Limit Analysis of Some Stochastic Variational Problems