From c50b9917d3d1c7ff82216b507fbf63cb5aaf5724 Mon Sep 17 00:00:00 2001 From: Pablo Lillo Cea Date: Fri, 8 May 2026 10:17:14 +0200 Subject: [PATCH] clean up --- src/municipalities/02-CA.R | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/municipalities/02-CA.R b/src/municipalities/02-CA.R index d4d491a..5134a8c 100644 --- a/src/municipalities/02-CA.R +++ b/src/municipalities/02-CA.R @@ -23,15 +23,6 @@ # deaths, migration) correlated with CA row # scores post-hoc # -# Why restrict active variables to person-counts? -# CA chi-square distance has a clean compositional interpretation only when -# all active columns measure the same type of unit. When counts of persons, -# dwellings, farms, and vehicles share a row, the row total is meaningless -# and chi-square distance becomes a weighted average of incompatible profiles. -# Restricting active columns to person-counts ensures that chi-square distance -# directly compares "what fraction of the population has attribute X?" across -# municipalities, independently of population size. -# # Outputs: # data/processed/ca_exploratory.rds - CA result (FactoMineR object) # data/processed/ca_var_groups.rds - variable group lists