Risk factor refers to a variable that precedes a negative outcome of interest and increases the chances that the outcome will occur.
Other /More definition:
Risk factor refers to any characteristic or condition that occurs with greater frequency in people with a disease than it does in people free from that disease.

Moreover, Risk factor is a variable that precedes a negative outcome of interest and increases the chances that the outcome will occur.