# How does counterfactual for continuous variables work?

It is clear to me what counterfactual is and how it works for binary variables. However, I'm confused about how it works for continuous variables. For example, we are trying to estimate the effect of car loan interest rate on car purchases. How would a counterfactual work here?

This being said there are still counterfactuals. For example, if you are regressing interested rate on car purchase, if at time $$t$$ interest rate $$i$$ was 6% and associated car sales $$s$$ were 500 of cars at dealerships $$j$$ then the set of all counterfactuals would be the amount of sales at dealership $$j$$ when interest rate would be anything else than $$i\neq 6\%$$. For example, if given that we observe $$s=500,i=6\%$$ we would be able to go back in time and change $$i=7\%$$ which would give us $$s=400$$, this alternative scenario would be one of the counterfactuals.