1  Introduction

Climate warming poses a pressing challenge for several species, particularly for trees that are failing to follow temperature warming (Sittaro et al. 2017). Understanding the mechanisms governing species distribution is crucial for comprehending how they will respond to novel conditions arising from climate change. The niche theory predicts that a species thrives within a specific set of environmental conditions that allows it to have a positive growth rate (Hutchinson 1957). Assuming geographic distribution is a manifestation of individual performance, bottom-up demographic range models incorporate environmental factors influencing growth, survival, and recruitment and allow one to predict species distribution (Maguire Jr 1973; Holt 2009; Schurr et al. 2012). And this thing is what I tried to build during my thesis.

Here, I use this book as a lab notebook to share all the details related to the model construction so it can be easily replicated and extended to others. The initial chapter covers the dataset description, the selected tree species, variables, and their computation methods.

This book unfolds in three separate parts. The first one describes the growth, survival, and recruitment demographic models. In the first chapter of this section (Chapter 3), we elucidate the ecological rationale behind each demographic model and its mathematical formulation. The following chapter (Chapter 4) details how we improved the base models by partitioning the variance between random and fixed effects. Here, we describe the ecological meaning behind the non-linear functions linking the climate and competition covariates to each demographic model. To finish this section, we describe the technical details of the model fit in Chapter 5, the comparison between the models in Chapter 6, and the practical information of how and where the model parameters are stored in Chapter 7.

The second section evaluates the fit of these models for 31 forest tree species using the selected model in Chapter 6. It begins by discussing the model parameters and their goodness of fit by comparing posterior distributions with trait observations from the literature. We evaluate the intercept parameters (Chapter 8) and the spatial random effects applied at the plot level (Chapter 9). We then discuss the effect of competition (Chapter 10) and climate (Chapter 11) covariates. Subsequently, we employ two approaches to gauge the effect size of each covariate. Specifically, we first compute the conditional effect of each covariate at the lower (1% quantile) and upper (99% quantile) distribution of the covariate (Chapter 12). This metric allows one to quantify the range of the intensity effect a species experienced from the covariate. Finally, we computed the average marginal effect of each covariate across the dataset (Chapter 13). This approach uses perturbation analysis to quantify the effect of each covariate on each observed measurement. It allows one to compare the marginal effect among species and demographic models.

The final section details the integration of growth, survival, and recruitment models into an Integral Projection Model (IPM). We start by describing the mathematical formulation of the IPM and its numerical approximation (Chapter 14). The second chapter (Chapter 15) is a practical guide detailing the use of the IPM code. The following chapter describes the sensitivity analysis for the IPM to the demographic model parameters (Chapter 16). There, we use a random forest algorithm to rank the relative importance of each parameter in changing the intrinsic population growth rate. The following two chapters describe each covariate’s conditional (Chapter 17) and marginal (Chapter 18) effects. Finally, we discuss the concept of suitable probability derived from the uncertainty around the population growth rate (Chapter 19).