Risk is mainly a function of two variables: the probability of an event occurring, and the effects of that event.