An article headline claimed that "drugs cause homelessness" due to a positive relationship found between homeless populations and drug use. Educated psychologists thought this might be flawed, because they thought unemployment was influencing both drug use and homelessness. This is an example of: third variable
The answer is a third variable.