An example of an intervening variable is stress, which can impact the relationship between hours of sleep and academic performance. In this case, stress mediates the relationship by influencing both the amount of sleep a person gets and their academic performance.