Question: what is the example of confounding variable?
Answer: For example, if you are researching whether a lack of exercise has an effect on weight gain, the lack of exercise is the independent variable and weight gain is the dependent variable. A confounding variable would be any other influence that has an effect on weight gain.