Value-at-risk prediction using context modeling