Salut,
Pour revenir sur la question des variables catégorielles et de leur encodage, je vous encourage à jeter un œil à ces documents :
https://www.jmp.com/en_nl/statistics-knowledge-portal/what-is-multiple-regression/mlr-with-categorical-predictors.html
https://community.jmp.com/t5/Statistical-Thinking-for/Fitting-a-Model-with-Categorical-Predictors/ta-p/271960
Ces documents sont issus de deux ressources très utiles : le SFP (Statistical Knowledge Portal : https://www.jmp.com/en_nl/statistics-knowledge-portal.html ), qui contient des documents explicatifs sur divers sujets statistiques, et le STIPS (Statistical Thinking for Problem Solving https://www.jmp.com/en_us/online-statistics-course.html ), qui adoptent une approche appliquée des statistiques en revenant aux fondamentaux.
Passe une bonne journée,
Florence