Statistics for Modelling resilience and sustainability of complex human-environment systems in agriculture and ecology