1 Introduction

Integrated population models (IPMs) describe population dynamics based on the population model assumed by the modeller and the usefulness of the available data (Besbeas et al. 2002; Schaub and Abadi 2011; Schaub and Kéry in press). Thus, any incongruence between the population ecology (e.g. life cycle, mating system, individual homogeneity and independence, etc.) and the model or inadequate modelling of the protocol of data collection has the potential to bias the estimates of population parameters. This will potentially lead to wrong conclusions or management/conservation decisions (Besbeas and Morgan 2014). While ecologists know that models come with assumptions that must be reasonably satisfied, consequences of their violation become vague as the model complexity increases including multiple datasets, many parameters and dependencies between them.

The essence of IPMs is to combine several datasets to inform a population model (Besbeas et al. 2002; Schaub and Kéry in press). The datasets originate from the population level (e.g., population count data) and from the individuals level (e.g., capture-recapture data, productivity data). IPMs are widely applied in population ecology (Schaub and Abadi 2011; Zipkin et al. 2019) because they describe transient dynamics and make possible to determine the influence of different environmental factors and of the contribution of each demographic rate and of population structure to population dynamics (Koons et al. 2016, 2017). This combination of data allows the estimation of demographic parameters with higher precision. It also provides the possibility to estimate parameters that would not be estimable by the separate analysis of the given datasets (Besbeas et al. 2002; Abadi et al. 2010a). IPMs have been used to investigate density-dependent effects (Abadi et al. 2012; Gamelon et al. 2016), and to estimate parameters for which no data were available (Tavecchia et al. 2009) such as immigration (Abadi et al. 2010b). However, the biases in these hidden parameter estimates are not systematically checked (Gamelon et al. 2016), and their accuracy and interpretation are more and more questioned (Riecke et al. 2019).

IPMs are increasingly used in conservation and management studies because they result in more accurate population viability analysis (Tempel et al. 2014; Arnold et al. 2018; Saunders et al. 2018; Zipkin et al. 2018; Plard et al. 2019a; Schaub and Ullrich in press). The combination of multiple dataset allow integrating different sources of information in populations where data are rare and sparse over time and space (Schaub et al. 2007). Data deficiency is a major challenge in conservation studies and IPMs have managed to provide insightful knowledge about population demography and status (Rhodes et al. 2011; Duarte et al. 2017). However, data deficiency is also one of the first sources of uncertainty and bias. Thus, we need to better understand how different amount of data combined in IPMs influence estimates of demographic rates (Fletcher et al. 2019; Saunders et al. 2019).

The joint likelihood of the IPM is often created as the product of the likelihood of each dataset (Besbeas et al. 2002), assuming that the different datasets are independent. In reality, the independence assumption is almost always violated. Reproductive, survival and count data often partly involve the same individuals from one population which can result in the violation of the independence assumption. Nevertheless, previous simulations (Abadi et al. 2010a; Plard et al. 2019c; Weegman et al. 2021) suggested that IPMs are robust to the overlap of individuals in different data sets. Yet, the consequences of the violations of other assumptions on which IPMs rely on have only partially been investigated (Riecke et al. 2019; Schaub and Kéry in press).

When one builds an IPM, one often makes three different series of assumptions. A first one refers to the use of parametric distributions for demographic and observation parameters (Besbeas and Morgan 2014). For instance, the distributions of clutch or litter sizes can be underdispersed as compared to the modelled one using a Poisson distribution (Kendall and Wittmann 2010). Another example is the use of the a specific distribution for modeling the sampling error (e.g., Gaussian vs. Poisson) that may bias estimates of demographic parameters and population abundance when it is not appropriate (Maunder and Piner 2017). A second series of assumptions are necessary about various forms of heterogeneity of demographic and observation parameters (Besbeas and Morgan 2014; Maunder and Piner 2017). For a given population model, demographic parameters may be assumed to be homogeneous while in reality they vary spatially or temporally. Conflicts among datasets may emerge if data have been collected at different times or locations but also by different people. Within one population, individuals may be heterogeneous, consistently showing higher or lower reproduction. When disregarded, such heterogeneity has the potential to bias predictions of population dynamics (Sæther et al. 2004; Vindenes et al. 2008; Kendall et al. 2011). Both series of assumptions are common to many statistical and demographic models and need to be carefully checked.

A third series of assumptions is more specific to IPMs and concerns the population model (Carvalho et al. 2017). In the present paper, we will study the robustness of IPM to violation of this last series of assumptions. Because an IPM combines different data sets, we need to assume that the population model corresponds to the true underlying data generating process of each data set. For instance, we may assume that all females reproduce or the absence of density-dependence while in reality there are non-breeders or density-dependent processes. Riecke et al. (2019) has already warned about consequences for parameter estimates when some assumptions are violated. They showed that estimates of hidden parameters (such as immigration or breeding probability) are biased when processes, such as mark loss, were not accounted for. However, when we build a model, how do we know that we are not missing demographic processes? How do we know that the model we used is correct and produces relatively unbiased results?

Diagnostic tests can evaluate the fit of a model to the data and identify possible conflicts between datasets (Besbeas and Morgan 2014; Carvalho et al. 2017; Schaub and Kéry in press). A first possibility is to perform goodness of fit tests on each dataset (Besbeas and Morgan 2014). They can indicate heterogeneity in reproduction, survival and recapture, but they can be challenging to apply to complex models. Another useful check has been proposed in fisheries research to assess stock abundance: the comparisons of parameter estimates from integrated and single data models (Carvalho et al. 2017).

In this paper we pursued three objectives. Our first goal was to understand how much parameter estimates are biased when an IPM is misspecified. Suppose that we assume all females reproduce but there are non-breeding females in the population. Or, suppose that some females are double brooding and we do not include this process. What are the consequences on estimates of survival and productivity? Our second goal was to identify if some diagnostic tests have the power to identify violated assumptions. Our third goal was to study the influence of data deficiency on parameter bias and uncertainty. We investigated the impact of the violation of five assumptions linked to the population model in IPMs using simulated data mimicking a short and a long-lived species.

2 Methods

As a basis for the simulation, we considered two hypothetical populations of species with a short-lived and a long-lived life-history. The short-lived species can be seen as a passerine bird, the long-lived species as a large mammal. For both species we distinguish between two age classes: juvenile (newborn fledgling or weaning) and adult individuals. Juvenile survival (from fledgling or weaning to first-year) differs from adult survival (after first-year) in both species. First breeding occurs at age one and two years in the short- and the long-lived species, respectively. We assume that reproductive performance is invariant with age from age at first reproduction in both species.

We considered six different simulated scenarios: a null scenario and five scenarios each with a different violation of a model assumption. We first present the simulation study of the null scenario and then specify the assumption that is violated in each of the five other scenarios. Second, we present the two different models used to analyze the data for each scenario: \(IPM_0\): simple IPM; and one of \(IPM_1\)-\(IPM_5\): an IPM that is adjusted to the specific assumption of each scenario, hence a model that fits better than \(IPM_0\). Third, we describe the diagnostic tests that we used to assess the fit of each model.

2.1 Generating the data with the null scenario

2.1.1 Simulation of each population

For each scenario, we simulated data from our hypothetical short-lived (parameters given with lower case letters) and long-lived (parameters given with capital letters) species. We described the female part of the population and adopted a model for a post-breeding census. All scenarios shared the following steps: in year 0, each population was composed of 300 females with ages distributed according to the stable age distribution of the scenario. The annual number of juvenile (\(\phi ^j_{t+1}\)/\(\varPhi ^J_{t+1}\)) and adult (\(\phi ^a_{t+1}/\varPhi ^A_{t+1}\)) survivors from t to \(t+1\) was simulated with Binomial distributions with probabilities \(s^j=0.1\) and \(S^J=0.5\) for the juvenile survival of the short- and long-lived species, respectively and \(s^a=0.4\) and \(S^a=0.9\) for the adult survival of the short- and long-lived species, respectively. For the short-lived species, for instance:

$$\begin{aligned} \phi ^j_{t+1} =&Bin(s^j,n^j_{t}) \nonumber \\ \phi ^a_{t+1} =&Bin(s^a,n^a_{t}) \end{aligned}$$
(1)

where \(n^j_t\) and \(n^a_t\) are the annual number of juvenile and adult females in year t.

Surviving females reproduce and their annual reproductive success (number of female fledglings or weaned newborn females per mother i, \(w_{i,t}\)/\(W_{i,t}\)) was modelled with a Poisson distribution with mean \(r=6\), and a Binomial distribution of probability \(R=0.22\), for the short- and long-lived species, respectively.

$$\begin{aligned} w_{i,t} =&Pois(r) \nonumber \\ W_{i,t} =&Bin(R, 1) \end{aligned}$$
(2)

The populations were simulated for 15 years and the resulting population growth rates were 1 for both species. In all scenarios and for both populations we assumed absence of emigration. Moreover, in the null scenario, we assumed absence of immigration. Because population growth rates were 1 in most scenarios, annual population sizes remained around 300 individuals with \(n^a_t=42\) adults and \(n^j_t=258\) juveniles in the short lived species and \(N^a_t=249\) adults and \(N^j_t=51\) juveniles in the long-lived species. These proportions corresponded to the stable age distributions of each population. In our main analysis, we chose to simulate a relative large number of individuals that allows accurate estimation of the demographic rates. Then, we performed a second analysis using a lower number of individuals monitored to study the influence of data deficiency on bias and uncertainty in estimates (see Sect. 2.5).

2.1.2 Simulation of the data collection in each population

Data collection was simulated to mimic realistic field sampling processes. Annually, we sampled some females from the population to obtain the capture-mark-recapture, the reproductive and the population count datasets. Binomial trials were used to select the females that belonged annually to each dataset.

The capture-mark-recapture dataset was obtained by the annual capture of newborn and adult females. The recapture probability was set to \(p_{s}=0.5\), corresponding to a moderate effort of capture of about 150 females annually in both species. On average, this resulted in the long-lived species in a total of 742 (SD=40) females that were captured at least once (with an average of 3 captures per female). About 15 females were captured between 8 and 13 times. For the short-lived species, an average of 2086 (SD=776) females were captured at least once in total (with an average of 1.1 capture per female) and about 34 females were captured between 3 and 6 times.

Independently of the capture of females for the capture-mark-recapture data, reproductive successes data were sampled for a proportion of 50% (\(p_{r}=0.5\)) of females, resulting on average in 110 (SD=5) and 22 (SD=8) mothers monitored annually in the long-lived and short-lived species, respectively. The reproductive dataset included the annual numbers of monitored mothers (\(m_t= Bin(p_r,n^a_{t})\) and \(M_t= Bin(p_r,N^A_t)\)) and of their female newborns (\(f_t\) and \(F_t\); obtained by summing the numbers of female newborns of the mothers monitored).

The population count dataset was the annual total (juvenile + adult) number of females counted at the same time when the reproductive success data were recorded. Independently of the two other datasets, a proportion of 50% (\(p_{c}=0.5\), about 150 females annually for both species) of the females were counted annually: \(c_t= Bin(p_c,n^a_{t}+n^j_{t})\) and \(C_t= Bin(p_c,N^A_{t}+N^j_{t}\)).

2.2 Generating the data with five different scenarios

Five different scenarios commonly occurring in wild populations were simulated. Each of them violated a specific assumption of the null scenario. In scenarios 1 and 2, the manner of data collection differed from the null model. In scenarios 3, 4 and 5, the population model differed from the null model. Here, we describe how each scenario differs from the null scenario.

  1. 1.

    Heterogeneity in recapture In many monitoring programs of bird species, capture and recapture of individuals occur at or close to nests and target reproducing individuals. Consequently, only adult females that successfully reproduce (produced at least one fledgling or weaned juvenile) are captured as unsuccessful females leave breeding locations before they could be captured. This sampling protocol violates the assumption of recapture homogeneity, i.e. that all females have the same recapture probability. For adult females we used \(p_{s}= 0.5\) if \(\omega _{i,t}>0\) and \(p_{s}= 0\) if \(\omega _{i,t}=0\). For all newborn females, the probability of first capture at independence was kept equaled to 0.5 in both species.

  2. 2.

    Heterogeneity in timing of data collection Counts and recaptures can occur in different seasons. For instance, recaptures in mammals often occur before females lactate to limit the disruption of reproduction and counts are often performed when vegetation is less dense to maximize detection probability. In this scenario, data were collected during different seasons. Count of females occurred six months after the annual capture sessions (Fig. S9). Survival was assumed to be homogeneous within the year. The equations used to simulate the data correspond to equations used in the statistical model to estimate the demographic rates, see Eqs. (9) and (10).

  3. 3.

    Immigration influences the dynamics of most wild populations (Ward 2005; Schaub et al. 2006; Grotan et al. 2009; Millon et al. 2019). In this scenario, the populations were assumed to be open, and annually a proportion of 20% (immigration rate: \(\omega =0.2\)) females enters the population as adults. Thus, as survival and reproductive success were kept at the same values the population increased in this scenario. The numbers of immigrants was: \(n^i_{t} = Pois(\omega n^a_{t})\) and \(N^I_{t} = Pois(\omega N^A_{t})\) in the short- and long-lived species, respectively.

  4. 4.

    Non-breeders Non-breeders occur in many populations. If a population model does not include existing non-breeders, the modelled dynamics can be strongly biased (Lee et al. 2017). However, non-breeders are rarely included in the reproductive dataset because these individuals are often absent from the breeding areas. In this scenario, we assume that some females do not reproduce. The number of breeding females was simulated using a Binomial distribution with the breeding probability \(\psi =0.8\). The annual number of reproductive females was \(n^{ar}_{t} = Bin(\psi ,n^a_{t})\) and \(N^{AR}_{t} = Bin(\psi ,N^P_{t})\) in the short- and long-lived species, respectively. \(N^P_{t}\) is the annual number of mature (older than 1 year old) females in the long lived species. Annual individual reproductive successes \(w_{i,t}/W_{i,t}\) were simulated only for these reproductive females with a Poisson distribution of mean \(r=7.5\), and a Binomial distribution of probability \(R=0.275\), in the short- and the long-lived species, respectively, to maintain a population growth rate of 1.

  5. 5.

    Density-dependence Density-dependent effects are common in most populations and density-dependence is one of the main drivers of population dynamics (Turchin 1995). In this scenario, reproductive success is negatively influenced by the size of the total population (n or N). We used the linear model \(log(r)=\alpha +\beta *n\) (\(\alpha =log(6)\), \(\beta =-0.5\)) for the short-lived species and \(logit(R)=A+B*N\) (\(A=logit(0.22)\), \(B=-0.5\)) for the long-lived species.

2.3 Statistical models

The simulated datasets corresponding to the null scenario without any violation of assumptions were analysed only with \(IPM_0\), while the simulated datasets corresponding to one of the five scenarios with the violation of a specific assumption were each analysed with \(IPM_0\) and \(IPM_i\) (i = 1 to 5, corresponding to the 5 scenarios), hence with a model that does not violate the assumptions (\(IPM_i\)) and with one model that violates a specific assumption (\(IPM_0\)).

Simple IPM (\(IPM_0\)) The likelihood of the IPM is the joint likelihood of the three datasets given values of the demographic parameters. We estimated the unknown demographic rates \({\tilde{s}}^j ; {\tilde{S}}^J\), \({\tilde{s}}^a; {\tilde{S}}^a\), and \({\tilde{r}}; {\tilde{R}}\), the unknown recapture probability \({\tilde{p}}_s\), and an index of population size (i.e., the latent variable \({\tilde{n}}\approx p_c*n\) and \({\tilde{N}}\approx p_c*N\) in the short- and the long-lived species, respectively). Note that in our IPMs, we cannot estimate true population size as \(p_c\) and n/N are not identifiable. The population model of this simple IPM is defined as a state-space model and corresponded to the null scenario we presented above.

  • The state process model is identical to the following annual matrix projection model for the short-lived species:

    $$\begin{aligned} \begin{bmatrix} {\tilde{n}}^j_{t+1} \\ {\tilde{n}}^a_{t+1} \end{bmatrix} = \begin{pmatrix} {\tilde{s}}^j {\tilde{r}}&{} {\tilde{s}}^a {\tilde{r}}\\ {\tilde{s}}^j &{} {\tilde{s}}^a \end{pmatrix} \begin{bmatrix} {\tilde{n}}^j_{t} \\ {\tilde{n}}^a_{t} \end{bmatrix} \end{aligned}$$

    where in year t the number of newborns (weaning/fledgling) is \({\tilde{n}}^j_t\), and the number of adults is \({\tilde{n}}^a_t\). In the annual matrix projection model for the long-lived species females do not reproduce in their first year:

    $$\begin{aligned} \begin{bmatrix} {\tilde{N}}^J_{t+1} \\ {\tilde{N}}^A_{t+1} \end{bmatrix} = \begin{pmatrix} 0 &{} {\tilde{S}}^A {\tilde{R}}\\ {\tilde{S}}^J &{} {\tilde{S}}^A \end{pmatrix} \begin{bmatrix} {\tilde{N}}^J_{t} \\ {\tilde{N}}^A_{t} \end{bmatrix} \end{aligned}$$

    All demographic parameters are assumed to be constant. Including demographic stochasticity, the population projection for the short-lived species gets:

    $$\begin{aligned} {\tilde{n}}^a_{t+1} \sim&Bin({\tilde{s}}^a,{\tilde{n}}^a_{t})+Bin({\tilde{s}}^j,{\tilde{n}}^j_{t}) \nonumber \\ {\tilde{n}}^j_{t+1} \sim&Pois({\tilde{r}}*{\tilde{n}}^a_{t+1}) \end{aligned}$$
    (3)

    For the long-lived species, \({\tilde{N}}^Y\) is the annual number of yearling females that do not reproduce and \({\tilde{N}}^P\) is the annual number of mature females older than 1 year old (\({\tilde{N}}^A_{t} ={\tilde{N}}^P_{t} +{\tilde{N}}^Y_{t}\)):

    $$\begin{aligned} {\tilde{N}}^Y_{t+1}&\sim Bin({\tilde{S}}^J,{\tilde{N}}^J_{t}) \nonumber \\ {\tilde{N}}^P_{t+1}&\sim Bin({\tilde{S}}^A,{\tilde{N}}^P_{t}+{\tilde{N}}^Y_{t}) \nonumber \\ {\tilde{N}}^J_{t+1}&\sim Bin({\tilde{R}},{\tilde{N}}^P_{t+1}) \end{aligned}$$
    (4)
  • The state-space observation model links the true population size with the annual number of observed females (count data, \(c_{t}\) and \(C_{t}\)) using a Gaussian distribution with a standard deviation \({\tilde{\sigma }}\) corresponding to the observation (residual) error. For the short-lived species:

    $$\begin{aligned} c_{t} \sim Norm({\tilde{n}}^j_{t}+{\tilde{n}}^a_{t}, {\tilde{\sigma }}) \end{aligned}$$
    (5)

    For the long-lived species:

    $$\begin{aligned} C_{t} \sim Norm({\tilde{N}}^J_{t}+{\tilde{N}}^Y_{t}+{\tilde{N}}^P_{t}, {\tilde{\sigma }}) \end{aligned}$$
    (6)

    We also performed all analyses using the Poisson distribution (rather than the Gaussian) to investigate whether a less flexible residual error modifies the results. Because results were similar, we report here only the results for the Gaussian distribution. Results using a Poisson distribution can be found in the supplementary material (Fig. S5-S9). We used the likelihood of a generalized linear model for the reproductive dataset. The reproductive dataset included the annual numbers of female newborns (\(f_t\) and \(F_t\)) and of monitored mothers (\(m_t\) and \(M_t\)). A Poisson and a Binomial distribution linking \({\tilde{r}}\) and \({\tilde{R}}\) to the observed annual reproductive success were used to estimate reproductive success:

    $$\begin{aligned} f_t \sim&Pois({\tilde{r}},m_t) \end{aligned}$$
    (7)
    $$\begin{aligned} F_t \sim&Bin({\tilde{R}},M_t) \end{aligned}$$
    (8)

    We transformed the capture-mark-recapture dataset into the m-array format and used a multinomial likelihood to estimate survival and recapture probabilities. For a detailed explanation of the transformation of capture-mark-recapture data into the m-array format and the use of the multinomial likelihood, see e.g. Kéry and Schaub (2012) (Chap. 7.10). This model assumes a survival probability that differs between the two age classes and a constant recapture probability.

\(\mathbf{IPM} _\mathbf{i }\) A different IPM was created for each scenario. These models were similar to the \(IPM_0\), but not misspecified with respect to each particular scenario. We now describe how each of them differed from \(IPM_0\).

  • \(IPM_1\): Heterogeneity in recapture Only females that successfully reproduced were available to be captured with probability \({\tilde{p}}_s\). Because recapture was restricted to reproducing females, the recapture probability was equal to \({\tilde{p}}_{s}*(1-exp(-{\tilde{r}}))\) and \({\tilde{p}}_{s}*{\tilde{R}}\) for the short- and the long-lived species, respectively. For the short-lived species, the probability of successful reproduction is \(1-exp(-{\tilde{r}})\) because \(exp(-{\tilde{r}})\) is the probability that a female had no reproductive success. For the long-lived species, \({\tilde{R}}\) is the probability of successful reproduction.

  • \(IPM_2\): Heterogeneity in the timing of data collection We assume that survival is homogenous within the year and the population size is calculated after 6 months when count data are collected. Thus, in this IPM, population projections for the short-lived species are given by:

    $$\begin{aligned} {\tilde{n}}^a_{t+1}&\sim Bin(\sqrt{{\tilde{s}}^a},{\tilde{n}}^{\sqrt{a}}_{t})+Bin(\sqrt{{\tilde{s}}^j},{\tilde{n}}^{\sqrt{j}}_{t}) \nonumber \\ {\tilde{n}}^j_{t+1}&\sim Pois({\tilde{r}}*{\tilde{n}}^a_{t+1}))\nonumber \\ {\tilde{n}}^{\sqrt{a}}_{t+1}&\sim Bin(\sqrt{{\tilde{s}}^a},{\tilde{n}}^a_{t+1})\nonumber \\ {\tilde{n}}^{\sqrt{j}}_{t+1}&\sim Bin(\sqrt{{\tilde{s}}^j},{\tilde{n}}^j_{t+1}))\nonumber \\ c_{t} \sim&Norm({\tilde{n}}^{\sqrt{j}}_{t}+{\tilde{n}}^{\sqrt{a}}_{t}, {\tilde{\sigma }}) \end{aligned}$$
    (9)

    where \({\tilde{n}}^{\sqrt{j}}\) and \({\tilde{n}}^{\sqrt{a}}\) are the annual numbers of newborn and adult females after 6 months when the count data are collected. For the long-lived species:

    $$\begin{aligned} {\tilde{N}}^Y_{t+1}&\sim Bin(\sqrt{{\tilde{S}}^J},{\tilde{N}}^{\sqrt{J}}_{t}) \nonumber \\ {\tilde{N}}^P_{t+1}&\sim Bin(\sqrt{{\tilde{S}}^A},{\tilde{N}}^{\sqrt{P}}_{t}+{\tilde{N}}^{\sqrt{Y}}_{t}) \nonumber \\ {\tilde{N}}^J_{t+1} \sim&Bin({\tilde{R}},{\tilde{N}}^A_{t+1})\nonumber \\ {\tilde{N}}^{\sqrt{Y}}_{t+1} \sim&Bin(\sqrt{{\tilde{S}}^A},{\tilde{N}}^Y_{t+1}) \nonumber \\ {\tilde{N}}^{\sqrt{P}}_{t+1} \sim&Bin(\sqrt{{\tilde{S}}^A},{\tilde{N}}^P_{t+1}) \nonumber \\ {\tilde{N}}^{\sqrt{J}}_{t+1} \sim&Bin(\sqrt{{\tilde{S}}^J},{\tilde{N}}^J_{t+1})\nonumber \\ C_{t} \sim&Norm({\tilde{N}}^{\sqrt{J}}_{t}+{\tilde{N}}^{\sqrt{Y}}_{t}+{\tilde{N}}^{\sqrt{P}}_{t}, {\tilde{\sigma }}) \end{aligned}$$
    (10)

    where \({\tilde{N}}^{\sqrt{Y}}\) and \({\tilde{N}}^{\sqrt{P}}\) are the annual numbers of yearling and mature females, respectively, when the count data are collected.

  • \(IPM_3\): Immigration The observation model that links the count to the true state of the population (Eqs. (5) and (6)) includes the number of immigrants (\({\tilde{n}}^i\);\({\tilde{N}}^I\)) which is estimated from the hidden immigration rate \({\tilde{\omega }}\) (i.e., without an explicit dataset that is informative about that parameter). For the short-lived species:

    $$\begin{aligned} c_{t}&\sim Norm({\tilde{n}}^j_{t}+{\tilde{n}}^a_{t}+{\tilde{n}}^i_{t}, {\tilde{\sigma }}) \nonumber \\ {\tilde{n}}^i_{t}&\sim Pois({\tilde{\omega }} {\tilde{n}}^a_{t}) \end{aligned}$$
    (11)

    For the long-lived species:

    $$\begin{aligned} C_{t}&\sim Norm({\tilde{N}}^J_{t}+{\tilde{N}}^Y_{t}+{\tilde{N}}^P_{t}+{\tilde{N}}^I_{t}, {\tilde{\sigma }}) \nonumber \\ {\tilde{N}}^I_{t}&\sim Pois({\tilde{\omega }} ({\tilde{N}}^Y_{t}+{\tilde{N}}^P_{t})) \end{aligned}$$
    (12)
  • \(IPM_4\): Non-breeders This IPM includes a supplemental step to estimate the annual number of breeding females (\({\tilde{n}}^{ar}\)) from the annual breeding probability \({\tilde{\psi }}\). \({\tilde{\psi }}\) is again estimated as a hidden (or latent) parameter. For the short-lived species:

    $$\begin{aligned} {\tilde{n}}^{ar}_{t+1}&\sim Bin({\tilde{\psi }},{\tilde{n}}^a_{t+1}) \nonumber \\ {\tilde{n}}^j_{t+1}&\sim Pois({\tilde{r}}{\tilde{n}}^{ar}_{t+1}) \end{aligned}$$
    (13)

    For the long-lived species:

    $$\begin{aligned} {\tilde{N}}^{AR}_{t+1}&\sim Bin({\tilde{\psi }},{\tilde{N}}^P_{t+1}) \nonumber \\ {\tilde{N}}^J_{t+1}&\sim Bin({\tilde{R}},{\tilde{N}}^{AR}_{t+1}) \end{aligned}$$
    (14)
  • \(IPM_5\): Density-dependence Reproductive success is influenced by the size of the population and we use a linear regression model for this relationship. For the short-lived species:

    $$\begin{aligned} log({\tilde{r}}_t)={\tilde{\alpha }} +{\tilde{\beta }} ({\tilde{n}}^j_{t-1}+{\tilde{n}}^a_{t-1}) \end{aligned}$$
    (15)

    For the long-lived species:

    $$\begin{aligned} logit({\tilde{R}}_t)={\tilde{A}} + {\tilde{B}} ({\tilde{N}}^J_{t-1}+{\tilde{N}}^Y_{t-1}+{\tilde{N}}^P_{t-1}) \end{aligned}$$
    (16)

2.4 Diagnostic tests

For each IPM, we performed seven diagnostic tests. We first conducted five commonly applied goodness of fit tests (GOF) using Bayesian p values (Brooks et al. 2000). Second, we compared estimates of survival (juvenile and adult survival) and reproductive success from the IPMs with estimates of these parameters from single data models, i.e. Cormack–Jolly Seber models for survival and regression models for reproductive success. To shorten the results, we only present the diagnostic tests for survival, as estimates of adult or juvenile survival were always more biased than reproductive success.

  • GOF Following Besbeas and Morgan (2014), we used posterior predictive checks (Gelman et al. 1996) to test the fit of the models to the different datasets. The basic idea for a posterior predictive check is that for each combination of estimated parameters (demographic rates and recapture probability), a dataset is simulated [see Besbeas and Morgan (2014), Kéry and Schaub (2012), Schaub and Kéry (in press) for detailed explanation]. For each combination of estimated parameters, we can estimate a discrepancy measure between the expected values (\(EX_i\)) and observed data (OB) and a discrepancy measure between the expected values (\(EX_i\)) and the simulated dataset (\(OB_i\)). When a model fits the data, one can expect that half of the points of a scatter plot of the two discrepancy measures to lie above the line of unit slope. The proportion of points above the line of unit slope is the Bayesian p value. Following Besbeas and Morgan (2014) we used the Freeman–Tukey statistic (\(D_{FT}= \sum (\sqrt{OB_i} - \sqrt{EX_i})^2 \)) for the capture-mark-recapture and the reproductive datasets as discrepancy measures. We also used an alternative Pearson chi-squared test for the reproductive dataset. The Pearson chi-squared could not be used for the capture-mark-recapture datasets because they include a large number of zeros when no individuals were recaptured. For the population count data, we used two discrepancy measures: the mean absolute percentage error (\(D_{MAPE}= \frac{100}{T} \sum _{t=1}^T \left| \frac{OB_{i,t}-EX_{i,t}}{OB_{i,t}}\right| \), where T is the number of non-missing predictions), and the maximum percentage error (\(D_{MPE}= 100 max{\frac{OB_{i,t}-EX_{i,t}}{OB_{i,t}}}\)) (Besbeas and Morgan 2014). The population count dataset (cC) corresponded to the observed data OB, while \({\tilde{n}}/{\tilde{N}}\) were the expected values EX. Then, we used the distribution of demographic rates to simulate a new \({\tilde{N}}_i\) using the state process model of each IPM and then we simulated \(OB_i\) with the observation model. For these five goodness of fit tests we treated a model as misspecified when the Bayesian p-value was above 0.975 or below 0.025.

  • Single data models Conflicts among different data are inferred by comparing the demographic parameters estimated from an IPM to those estimated from a model analysing the capture-mark-recapture dataset and the reproductive dataset separately. In other words, we compared the estimated parameters obtained from the IPMs to those obtained from models excluding the count data. We transformed the capture-mark-recapture data into an m-array and used a multinomial likelihood that had the same structure as the corresponding model component in \(IPM_0\). The reproductive datasets were analysed with generalized linear models identical to the model components for reproduction in \(IPM_0\). Because the largest bias was always observed in the survival parameters, we performed two diagnostic tests using juvenile and adult survival parameters. We considered a model as misspecified when less than 75% (increasing this value did not change our conclusions) of the posterior distribution of each survival parameter estimated from the IPM overlapped with the posterior distribution of each survival parameter estimated from the single data model.

2.5 Analysis

We performed 1000 simulations over 15 years under each of these six scenarios for both species. We sampled individuals to yield capture-mark-recapture, reproduction, and count datasets. To assess the performances of \(IPM_0\) and \(IPM_{1-5}\), we first compared the bias (\(posterior~mean-truth\)) and precision (mean squared errors \(MSE=bias^2+variance\)) of comparable parameters: mean recapture probability, mean juvenile and adult survival, and mean reproductive success. For the scenario 5 including density-dependent effect, we could not compare annually variable reproductive successes estimated from \(IPM_5\) with the constant reproductive success estimated from \(IPM_0\). Second, to investigate the influence of small datasets, we resampled 20% of the simulated sampled females of the reproductive and capture-mark-recapture datasets in each population. These data were analyzed again with the two corresponding IPMs as for the original dataset using the following combinations. (i) We included 20% of the capture-mark-recapture data and all the count and reproductive data. This would correspond to set \(p_s=0.1\) while \(p_r=p_c=0.5\). (ii), we included 20% of the reproductive data and all count and capture-recapture data. This would correspond to set \(p_r=0.1\) while \(p_s=p_c=0.5\). Third, we performed the 7 diagnostic tests on all models. In order to understand how the different scenarios influenced the diagnostic tests, we report the number of simulations when a model was evaluated as misspecified for each scenario.

We fit all models in the Bayesian framework and defined the following prior distributions. We used uniform distributions over the interval [0,1] as priors for all probabilities and uniform distributions over the interval [0,10] as priors for reproductive success of the short-lived species. We used uniform distributions over the interval [0,\(C_1\)] where \(C_1\) is the number of females counted in the first year as priors for the number of females of each age class in the first year (\({\tilde{n}}^a_1\), \({\tilde{n}}^a_1\), \({\tilde{N}}^J_1\), \({\tilde{N}}^Y_1\), \({\tilde{N}}^P_1\)). For the scenario including a density-dependent effect, we used the Gaussian distribution with mean 0 and standard deviation 100 as priors for \(\alpha \), \(\beta \), A, and B (Kéry and Schaub 2012). We generated three chains of length 25,000, discarding the first 12,500 samples as burn-in. Convergence of all chains was assessed using the Gelman and Rubin convergence diagnostic (R<1.1, Gelman and Rubin 1992). We fit the models using NIMBLE (de Valpine et al. 2017) run from R (R Core Team 2019).

Fig. 1
figure 1

Comparison of bias for estimates of recapture probabilities, juvenile and adult survival, and reproductive success in a short-lived species. 6 scenarios are shown: null scenario, 1: Heterogeneity in recapture when only breeders are recaptured 2: Heterogeneity in timing of the collection of the three datasets. 3: Immigration influences population dynamics. 4: Non-breeders influence population dynamics: breeding probability \(<1\). 5: Density-dependent effect on reproductive success. Parameters were estimated under single data CMR and reproduction models (SD, white), simple \(IPM_0\) (beige) and \(IPM_i\) (red). Violin plots show the distributions of mean bias over 1000 simulations. The median of each distribution is shown with a black point

Fig. 2
figure 2

Comparison of bias for estimates of recapture probabilities, juvenile and adult survival, and reproductive success in a long-lived species. 6 scenarios are shown: null scenario, 1: Heterogeneity in recapture when only breeders are recaptured 2: Heterogeneity in timing of the collection of the three datasets. 3: Immigration influences population dynamics. 4: Non-breeders influence population dynamics: breeding probability \(<1\). 5: Density-dependent effect on reproductive success. Parameters were estimated under single data CMR and reproduction models (SD, white), simple \(IPM_0\) (beige) and \(IPM_i\) (red). Violin plots show the distributions of mean bias over 1000 simulations. The median of each distribution is shown with a black point

Fig. 3
figure 3

Comparison of mean square errors (MSE) for estimates of recapture probabilities, juvenile and adult survival, and reproductive success in a short-lived species. 6 scenarios are shown: null scenario, 1: Heterogeneity in recapture when only breeders are recaptured 2: Heterogeneity in timing of the collection of the three datasets. 3: Immigration influences population dynamics. 4: Non-breeders influence population dynamics: breeding probability \(<1\). 5: Density-dependent effect on reproductive success. Parameters were estimated under single data CMR and reproduction models (SD, white), simple \(IPM_0\) (beige) and \(IPM_i\) (red). Violin plots show the distributions of mean MSE over 1000 simulations. The median of each distribution is shown with a black point

Fig. 4
figure 4

Comparison of mean square errors (MSE) for estimates of recapture probabilities, juvenile and adult survival, and reproductive success in a long-lived species. 6 scenarios are shown: null scenario, 1: Heterogeneity in recapture when only breeders are recaptured 2: Heterogeneity in timing of the collection of the three datasets. 3: Immigration influences population dynamics. 4: Non-breeders influence population dynamics: breeding probability \(<1\). 5: Density-dependent effect on reproductive success. Parameters were estimated under single data CMR and reproduction models (SD, white), simple \(IPM_0\) (beige) and \(IPM_i\) (red). Violin plots show the distributions of mean MSE over 1000 simulations. The median of each distribution is shown with a black point

3 Results

3.1 Accuracy and precision of the IPM under different scenarios

In the null scenario, the simple \(IPM_0\) gave unbiased demographic parameters (Figs. 1, 2, left panels) with higher precision (Figs. 3, 4, left panels) compared to single data models. The higher precision of parameters obtained from IPMs compared to single data models was verified for all scenarios. Recapture and adult survival were estimated with higher accuracy in the long-lived compared to the short-lived species while juvenile survival was estimated with higher accuracy and precision in the short-lived than in the long-lived species.

  1. 1.

    Heterogeneity in recapture In the scenario where only breeders were recaptured, the simple \(IPM_0\) resulted in unbiased estimates of demographic parameters in the short-lived species (Fig. 1, second column). Indeed the assumption of recapture homogeneity was very weakly violated in this species. The recapture probability was only slightly different from 0.5 for all females (\(p_S \approx 0.49875\)) because, most females successfully reproduced (Probability of successful reproduction was \(1-exp(-6)\approx 0.9975\)). By contrast, the probability of successful reproduction for females older than 1 year was 0.22 in the long-lived species. Thus, the recapture probability was highly heterogeneous in this species as 22% of the mature females had a recapture probability of 0.5 while 78% had a recapture probability of 0 (mean recapture probability \(\approx 0.11\)). Yearling females also had a recapture probability of 0 because they did not reproduce. A direct consequence was that both the single data model and the simple \(IPM_{0}\) under-estimated the recapture probability (Fig. 2, second column, − 0.40[− 0.42:− 0.38] and − 0.40[− 0.42:− 0.39], respectively) (here and below mean and 95% interval of absolute bias over 1000 simulations are given). The violation of the homogeneous recapture assumption in the single data model and in the \(IPM_0\) also resulted in biased estimates of survival parameters: juvenile survival was under-estimated (− 0.07[− 0.17:0.06] and − 0.08[− 0.19:0.07]) and adult survival was over-estimated (0.02[− 0.01:0.05] and 0.02[− 0.01:0.04]). The \(IPM_{1}\) resulted in unbiased estimates of adult survival parameters (bias lower than 0.01, on average). However, \(IPM_1\) erroneously assumed that the recapture probability of yearling was \({\tilde{p}}_S*{\tilde{R}}\approx 0.11\) while in reality it was 0. The assumption of homogeneity in recapture was thus weakly violated in \(IPM_1\) which may explain why the distribution of bias in juvenile survival was very wide compared to other scenarios (Fig. 2, second column). The estimates of the three main demographic parameters from \(IPM_{1}\) were not more precise than the estimates from the simple \(IPM_0\) (Figs. 3, 4, second column).

  2. 2.

    Heterogeneity in timing of data collection Estimates from the single data model, \(IPM_0\), and \(IPM_2\) were similarly accurate regardless of whether count data were collected at the same time as the two other datasets or at a different time (all biases lower than 0.002, Figs. 1, 2, third column). Precision was slightly better from \(IPM_2\) than from \(IPM_0\) (Figs. 3, 4, third column).

  3. 3.

    Immigration Ignoring immigration led to the strongest bias in parameter estimates of all scenarios considered here (Figs. 1, 2, fourth column). \(IPM_0\) translated the assumed absence of immigration into a lower recapture probability and higher survival and reproductive success. For the short-lived species, the recapture probability (− 0.06[− 0.09:− 0.02]) was the most biased parameter, followed by adult survival (0.02[-0.01:0.05]), juvenile survival (0.02[0.01:0.03]) and reproductive success (0.03[− 0.12:0.16]). For the long-lived species, juvenile survival showed the highest bias (0.1 [0.11:0.16]). Adult survival (0.02[0.02:0.03]), reproductive success (0.04[0.03:0.05]) and recapture probability (− 0.02 [− 0.03:− 0.01]) were all similarly biased. Both the single data model and the \(IPM_3\) including immigration resulted in accurate (bias lower than 0.002 for all parameters) and more precise (Figs. 3, 4, fourth column) parameter estimates than \(IPM_0\). The single-data models showed no bias because their underlying assumptions were met. Single data model used only the capture-mark-recapture data or the reproductive data and did not use count data. Thus, contrary to \(IPM_0\), the single data model did not use the information of the count data that the population was increasing at a higher rate than expected by the survival and reproductive rates. Using \(IPM_3\), the estimate of the immigration rate had large uncertainty, and was slightly biased, the latter being larger in the short- than the long-lived species (bias in \({\tilde{\omega }}\): − 0.01[− 0.12:0.15] and 0.001[− 0.002:0.002] for the short- and the long-lived species, respectively).

  4. 4.

    Non breeders In the presence of non-breeders \(IPM_0\) under-estimated all demographic parameters with the highest bias appearing in adult survival (− 0.02[− 0.10:0.04]) and reproductive success (− 0.07[− 0.60:0.34]) in the short-lived species and in juvenile survival (− 0.02[− 0.07:0.05]) in the long-lived species (Figs. 1, 2, fifth column). Bias occurred because of a conflict among datasets. Information about reproductive success \({\tilde{r}}\) corresponded to r when originating from the reproductive dataset because only reproducing individuals were included, while it corresponded to \(\psi *r\) when the information originated from the count data set. The resulting estimate was somewhere between these two values. To compensate the bias in reproductive success \({\tilde{r}}\) and to achieve a close fit of the estimated population size with the observed counts, \({\tilde{s}}^j\), \({\tilde{s}}^a\), and \({\tilde{p}}_S\) were also biased in \(IPM_0\). By contrast, both the single data models and the \(IPM_4\) provided accurate estimates of demographic parameters (bias lower than 0.002). Breeding probability estimated from \(IPM_4\) was more accurate for the long- than the short-lived species (bias in \({\tilde{\psi }}\): − 0.06[− 0.35:0.14] and − 0.003[− 0.12:0.14] for the short- and the long-lived species, respectively). \(IPM_4\) estimated the parameters with higher precision than the single data models but not than \(IPM_0\) (Figs. 3, 4, fifth column).

  5. 5.

    Density-dependence The simple \(IPM_0\) estimated constant reproductive success and therefore was unable to properly estimate the density-dependent effect on reproductive success but it resulted in unbiased estimates of average survival parameters for both species (Figs. 1, 2, last column). The \(IPM_5\) estimated the regression parameters of annual population density on reproductive success with relatively high bias (\({\tilde{\beta }}: 0.03[-\, 0.08:0.32]\) and \({\tilde{B}}: -\, 0.38[-\, 1.40:0.30]\)) and uncertainty (\({\tilde{\beta }}: 0.07[0.04:0.16]\) and \({\tilde{B}}: 0.89[0.53:2.71]\)), particularly for the long-lived species. Indeed, because the population size varied more in the short-lived than in the long-lived species due to demographic stochasticity (n = 350, temporal variability: SD = 14, and N = 298, SD = 2 in this scenario), the density-dependence parameter was more difficult to estimate in the more stable long-lived species.

3.2 Sparse datasets

If only 20% of the capture-recapture data were included, the precision in all demographic parameters for all models \(IPM_0\) and \(IPM_{1-5}\) was reduced (Figs. S1–S4) and the magnitude of bias changed for some parameters. The bias from \(IPM_0\) in survival and recapture parameters declined in scenario 1 (heterogeneity in recapture). For the scenarios 3 and 4 (immigration or non-breeders), bias from \(IPM_0\) increased for juvenile and adult survival but decreased for reproductive success. Surprisingly, we found that fitting the “true” \(IPM_{1-5}\) resulted in higher bias than the simple \(IPM_0\) in some scenarios because the datasets were not large enough to inform all parameters estimated. This was true for the estimates of juvenile survival in the long-lived species in scenario 1 (heterogeneity in recapture; − 0.038[− 0.17:0.12] and 0.023[− 0.13:0.27] in \(IPM_1\) and \(IPM_0\), respectively), scenario 4 (non-breeders; 0.066[− 0.13:0.28] and − 0.011[− 0.07:0.05] in \(IPM_4\) and \(IPM_0\), respectively), and scenario 5 (density-dependence; 0.013[− 0.12:0.19] and 0.008[− 0.12:0.19] in \(IPM_5\) and \(IPM_0\), respectively).

Including only 20% of the reproductive data resulted in lower precision in reproductive parameters for all models \(IPM_0\) and \(IPM_{1-5}\) (Figs. S1–S4). The bias was larger in estimates of reproductive success in scenarios 3 and 4 (immigration and non-breeders) for both species.

Table 1 Percentage of models (from 1000 simulations) identified as misspecified by each diagnostic test under different scenarios. See the main text for a full description of each scenario

3.3 Diagnostic tests

We classified a test to be useful if it correctly recognized a model as misspecified in more than 95% of the simulations. Generally it appeared that the applied tests were little sensitive to the evaluated model violations (Table 1).

GOF tests The maximum percentage error (MPE) tests were very sensitive to uncertainty in demographic parameters. This test did not recognize \(IPM_0\) as misspecified in any scenario but targeted \(IPM_5\) as misspecified when it was not. Other GOF tests recognized \(IPM_0\) as misspecified only for the immigration scenario for the long-lived species. The GOF test for capture-mark-recapture data identified \(IPM_1\) as misspecified when it was not for the long-lived species. The GOF tests for the reproductive data recognized both \(IPM_5\) and \(IPM_0\) as misspecified in scenario 5 for the short-lived species.

Comparison tests with single data models recognized \(IPM_0\) as misspecified only for the immigration scenario of the long-lived species. They did not erroneously recognize any model as misspecified when it was not.

4 Discussion

Our results show that simple IPMs were quite robust to the violation of most but not of all assumptions that we evaluated. The use of an IPM that corresponded exactly to the data generating model improved the estimates compared to the simple (wrong) IPM often little, the notable exception being when immigration occurred. Unfortunately, the evaluated diagnostic tests performed similarly and were not sensitive to detect small bias and thus could not identify misspecified IPMs that produced only small bias in parameter estimates. Nevertheless, violation of assumptions resulting in large bias such as when an IPM wrongly assumes absence of immigration were correctly identified by most diagnostic tests.

Among demographic parameters, the parameter with the largest bias was always the parameter that was informed by the least amount of data, regardless of which assumption was violated. However, the magnitude of bias depended both on the type of assumption being violated and on the life-history of the studied species. For a long-lived species, the scenario including immigration and a dependency between recapture and reproductive success resulted in the largest bias when analysed with a simple \(IPM_0\). For the short-lived species the scenarios including immigration or non-breeders resulted in the largest bias when analysed with a simple \(IPM_0\).

Last but not least, our results show that complex models, even if correctly specified can result in biased parameters if data are sparse (when only 20% of the CMR data are used).

4.1 Generality and limits of our results

To maximize the generality of our results, we included in our simulations two different life-histories and simulated data for 15 years, corresponding to a typical duration of IPM studies, which is often between 10 and years (20 years: Tenan et al. 2017, 16 years: Plard et al. 2020, 15 years: Lieury et al. 2015; Hatter et al. 2017; Fay et al. 2019, 14 years: Duarte et al. 2016, 12 years: Brommer et al. 2017, 11 years: Cleasby et al. 2017), even if some studies last longer (22 years: Tempel et al. 2014, 30 years: Margalida et al. 2020) or shorter (7 years, Duarte et al. 2017).    We chose to simulate a relative large number of individuals (300 individuals) compared to population sizes of empirical IPMs which was often between 20 and 300 individuals (in the articles cited above). The simulated sample sizes were large enough to estimate correctly most demographic rates, as shown by our results. Nevertheless, we performed a second analysis with a lower number of individuals to study the influence of sample size on bias and uncertainty in estimates. We show that bias and uncertainty always increase with declining amount of data, even in correctly specified models.

The scenario including heterogeneity in recapture showed that when the assumption of homogeneity of recapture probability is violated, survival estimates are biased. This is in accordance with results of previous studies (Carothers 1973; Devineau et al. 2006; Fletcher et al. 2012; Abadi et al. 2013). These studies have shown that the bias increases with increasing heterogeneity in recapture probability and when the average recapture probability decreases (Devineau et al. 2006; Fletcher et al. 2012).

In the scenario where the count dataset were collected six months later than the reproductive and the capture-mark-recapture datasets, \(IPM_0\) produced accurate estimates of reproductive success and of survival probabilities. Because we assumed constant survival probabilities before and after the collection of the count data, the variation in the number of counted females was proportional to the variation in the true population size at the time of recapture, which is why there was no bias in the parameter estimates. However, bias in demographic parameters is expected under this scenario if survival varies within the year (Gauthier et al. 2001; Rockwell et al. 2017; Robinson et al. 2020).

The scenario including immigration showed that immigration will result in over-estimation of all demographic rates if not accounted for (Abadi et al. 2010b; Schaub and Fletcher 2015). This bias will increase as immigration rate increases. Bias in demographic parameters were higher in the long-lived species characterized by a higher proportion of adults and thus of immigrants, than in the short-lived species characterized by a higher proportion of juveniles. Moreover, the bias in parameter estimates is expected to change if immigrants have different survival and reproductive success than residents (Grist et al. 2017; Rolandsen et al. 2017; Barbraud and Delord 2021).

In the scenario including non-breeders, \(IPM_0\) estimates of survival and reproductive success were only weakly biased because the breeding probability was high (0.8) in our simulations. If individuals have a low breeding probability researchers generally know that there are non-breeders in their study populations and therefore it is unlikely that an IPM is misspecified with respect to non-breeders. We have chosen a relatively high breeding probability for our simulations, hence considered a realistic scenario where a researcher is not aware of non-breeders and therefore is likely to misspecify an IPM. However, the higher the proportion of non-breeders in the population is, the higher the resulting bias in estimated demographic rates becomes if non-breeders are not explicitly included in the population model (Lee et al. 2017). The omission of non-breeders biases all demographic rates as shown by our results using \(IPM_0\) because the presence of non-breeders creates a conflict between the predicted population size based on the wrong population model and the count data.

In the scenario including density-dependence, survival parameters were only weakly biased. Indeed, \(IPM_0\) produced accurate estimates of average reproductive success and therefore average survival probabilities remained unbiased. Nevertheless, density-dependence has a higher potential to bias the estimated parameters if the population size fluctuates more than in our simulations. Then, however, density-dependence will also be easier to detect and to estimate.

4.2 Bias of simple \(IPM_0 \) and model complexity

IPMs are now widely and increasingly used in ecology and conservation to understand the mechanisms that drive population dynamics ( Schaub and Abadi 2011; Abadi et al. 2017; Bled et al. 2017; Koons et al. 2017; Arnold et al. 2018). They have been used to make predictions about the future dynamics of populations (Schaub and Abadi 2011; Zipkin et al. 2019). Such predictions from IPMs are particularly valuable as they correctly include the uncertainties due to parameter estimation (Saunders et al. 2018; Schaub and Kèry in press). Yet, it is crucial to know when an IPM gives biased estimates to avoid wrong or misleading inference.

Our simulation results show that absolute bias in survival parameters obtained from the simple \(IPM_0\) was below 0.05 on average for most scenarios. Nevertheless, our scenarios are constructed to reflect the likely magnitudes of violation. If they were larger (e.g., more immigrants or higher fraction of non-breeders), biases are expected to increase. For many demographic analyses, the simple \(IPM_0\) is expected to produce accurate and robust results and hence the uncertainty is properly accounted for when used for population projections, for example. The inaccuracy of these estimates increases the fewer data are available, but this is true for all statistical models. However, when \(IPM_0\) is fitted, one cannot study specific demographic processes such as density-dependence that may drive population dynamics. If such a process occurs and is not included in an IPM, the projection of transient population dynamics may be wrong (Hixon et al. 2002; Turchin 1995). More complex models are thus needed and useful to answer specific questions such as how strong is the influence of individual, environmental and population factors on population dynamics (Benton et al. 2006; Evans et al. 2013; Barraquand and Gimenez 2019; Plard et al. 2019b).

Nevertheless, more complex models do not provide estimates of demographic parameters with systematically higher accuracy. Moreover, when datasets are sparse, our results showed that for some scenarios such as the density-dependent scenario, complex models even if correctly specified gave estimates with larger bias than the simple IPM. For this particular scenario, the estimates of density-dependent parameters were highly imprecise, particularly for the long-lived species. Thus, increasing the complexity of IPMs needs substantial amount of data.

Finally, a complex model will never, by itself, estimate with accuracy processes for which data are unavailable. When a demographic parameter is estimated that is not directly informed by a dataset (hidden parameter), it may soak up inconsistencies from other parts of the model. For example immigration can be biased when mark loss in the capture-recapture data is not modelled adequately (Riecke et al. 2019). Therefore, estimates of hidden parameters need to be interpreted with care (Schaub and Kéry in press). Robinson et al. (2014) included a hidden parameter in studies of several bird species and declared them as correction parameter that includes any important demographic processes that are not captured by other parts of the model. They assumed that unmeasured processes were mostly related to productivity and specifically is due to the proportion of breeder for which no data were available. Thus, a hidden parameter is useful to get a better fit of the model, but the labelling of this parameter is speculative to some degree.

4.3 Differences between long-lived and short-lived species

The demographic parameter that is the most biased depends on the data collected but also directly on the life-history of the species studied. In populations of long-lived species few offspring are produced, and hence there is naturally little information about juvenile survival (Gaillard et al. 2000). In populations of short-lived species, juvenile survival tended to be estimated with lower bias and higher precision because a lot of newborns are produced and inform this parameter. At the opposite, sample size for estimating adult survival is larger in long-lived species compared to that of short-lived species. If an assumption is violated, the IPM tries to achieve a compromise. The estimates are weighted averages based on the information that each dataset contributes to that parameter. Thus, the parameters that are least informed by data can more easily be pulled. As a consequence, juvenile survival and adult survival will respectively be the parameter with the highest biased in long- and short-lived species, respectively. Yet, as stated above, this differs when the model contains a hidden parameter. Then the hidden parameter is the one that is least informed by data and more easily pulled and thus potentially biased.

Our results also show that the same violated assumption can have different impact on short and long-lived species, in accordance with another study (Earl 2019). In the scenario including recapture heterogeneity for instance, \(IPM_0\) produced biased estimates mainly for the long-lived species. In the scenario including non-breeders, \(IPM_0\) gave biased estimates mainly for the short-lived species. This is particularly apparent when only 20% of the survival or the reproductive data are included. The population growth rate is differentially sensitive to changes in demographic rates and the sensitivities depend on the life-history of the species. Generally, population growth rates of long-lived species are more sensitive to changes in adult survival and those of short-lived species to changes in recruitment related parameters (juvenile survival, reproductive success) (Saether and Bakke 2000). Therefore, the violation of an assumption that results primarily in a bias of adult survival is expected to be worse for the predicted dynamics of a long-lived than of a short-lived species, while the inverse is true for an assumption that affects mostly juvenile survival or reproductive success.

4.4 How can we know that a model is wrong?

The application of generic goodness of fit tests is the first step to identify whether a model is wrong (Gelman et al. 1996; Brooks et al. 2000; Johnson and Omland 2004; Kéry and Schaub 2012; Besbease and Morgan 2014). However, the various tests we have evaluated were not very sensitive to small bias and the violating assumption(s) could not be identified by using them. In most cases the parameter with the largest uncertainty or that is least informed by the data will be the most biased. However, this will not necessarily tell us which assumption is violated.

If a model is suspected as being wrong, the comparison between estimates from single data models and IPM can get us started to identify the problem (our results and Riecke et al. 2019; Schaub and Kéry in press). Any difference between these estimates might indicate model misspecification. When a demographic process adding individuals to the population is missing, such as immigration, reproductive or/and survival parameters will be higher compared to the estimates we get from the single data models. Conversely, when a demographic process removing individuals from the population is missing, such as breeding probability lower than 1, reproductive and survival parameters will be lower compared to the estimates originating from the single data models. Second, comparing estimates from models using either all or a subset dataset can also highlight the conflicting parameter(s) (Carvalho et al. 2017). If one assumption is violated or if there is a conflict between datasets, changing the size of a dataset should result in different parameter estimates because by reducing the size of a dataset, we change the weight of each dataset (Fletcher et al. 2019; Schaub and Kéry in press). If the datasets are too small, another possibility to change the weight of the datasets is to artificially increase the size of one of them by cloning (Lele et al. 2007). If the assumptions are met and there is no conflict between datasets, changing the size of a dataset should not result in different parameter estimates though the uncertainty would be affected. As an illustration, the scenario including recapture heterogeneity, estimated recapture probability increased when a subset of the capture-recapture data was used.

Finally, comparisons of estimates with prior knowledge about the demography of a species can help to identify misspecified models. If no prior knowledge is available, knowledge from a related species or even allometric relationships with demographic rates can be used. A reasonable distrust is healthy. To hypothesize which assumptions really are violated, profound knowledge of the sampling design and of the species is required. Once we have a hypothesis about which assumption might be violated, a targeted GOF test can be performed. GOF tests must be specific to the particular assumption tested (Gelman et al. 1996; Choquet et al. 2009; Kéry and Schaub 2012; McCrea et al. 2016; Gimenez et al. 2018). Multiple specific tests should be performed to test the fit of a general demographic model (Gelman et al. 1996; Kéry and Schaub 2012; Besbeas and Morgan 2014). Besides the tests that we have evaluated, cross-validation has a large potential to compare the predictions of the population model to supplemental data, put aside to fit the model (Conn et al. 2018; Hooten and Hobbs 2015). However with long-term datasets, data are often too sparse to be held out. Moreover, in wild populations, the influence of spatial or temporal heterogeneity on demographic parameters can be overlooked if some data are left aside.

4.5 Conclusions

As correctly remembered by Conn et al. (2018) the goal of goodness of fit testing is not to find a perfectly fitting model, but one that does not violate assumptions which result in systematic errors. Simple models are often useful for many purposes because they are robust when the amount of data is large enough (Stephens et al. 2002). Nevertheless it should become a routine to test the fit of IPMs. Multiple comparisons of parameters estimated with single data models and using reduced or enlarged datasets help to identify lack of fit and conflicts between datasets.

For more complex models that allow addressing more specific questions, GOF tests should be used targeting specific assumptions. Consistency between estimates and expected knowledge are paramount to assessing model fit—unexpected and strange values may be a warning signal. Many demographic processes or other mechanisms may influence survival, reproduction or directly population growth rate in an additive, multiplicative, linear or non-linear way, and expert knowledge on the population being studied can set a complex model on the right path.