Statistics for Resilience and risk in the informal economy: a study in the regulation of flooding