We examine the linkage between crop diversity and the agro-ecosystem resilience.
We incorporate the regime shifts of the agro-ecosystem into a time-varying transition probability Markov switching model.
Crop diversity enhances the agro-ecosystem resilience.
Crop diversity gives different effects on agricultural production depending on the regimes of agro-ecosystem.