Value-at-risk in a market subject to regime switching · Study