Skip to main content
. 2019 Jul 10;16(156):20190293. doi: 10.1098/rsif.2019.0293

Algorithm 1.

ABC rejection sampling for parameter inference.

  • (1)

    Given Np plant structures and Nt(i) longitudinal observations for plant i, characterize the summary statistics dij={B,L,l^} from every plant i and observation j in the dataset.

  • (2)

    Draw a trial set of parameters θ from the prior distribution π(θ).

  • (3)

    Simulate Np instances of root growth, recording the state of structure i at each of the Nt(i) time points corresponding to an experimental observation.

  • (4)

    Compute ρ using equation (2.2) above, to give the separation between each recorded structure and its simulated counterpart.

  • (5)

    If ρ<ϵ, where ϵ is a given tolerance, accept θ as a sample from the posterior.

  • (6)

    If a termination condition is not met, return to 2.