GLOBAL KNOWLEDGE ARK

Biology · Systems & Quantitative Biology

Simulation, prediction, validation and linking biological scales

Two original curves pass exactly through the assigned training records four, five and six. At the next time they predict seven and ten. A fit to the first records leaves a real question for another observation; the fitting records cannot independently settle their own prediction.

Lesson preparation and course links

Research Design, Data & Scientific Practice introduces observations, comparisons and uncertainty. Gene Regulation & Cell Signalling develops biological feedback, while Population Ecology & Life-History Patterns develops rates and population boundaries. These English chapters are available in Ark. Start with arithmetic, averages and ordinary graph reading. A derivative is introduced as an instantaneous rate of change. Exponentials and the circular sine–cosine example are explained where used; a first reading can follow their values and arrows, then return to their formulas with further mathematical preparation.

Back to the Biology map

By the end, you can

Distinguish computation checks from biological evaluation, use separate prediction records, and recognise when averaging hides a nonlinear response.

01

Prediction needs a stated target and separate evaluation

The original training records are (t, y) = (0, 4), (1, 5), (2, 6). Curve A is y = 4 + t. Curve B is y = 4 + t + 0.5t (t - 1)(t - 2). At each training time, one factor in the extra term is zero. Both curves therefore fit all three records exactly, although they make different predictions elsewhere.

At the assigned held-out time three, curve A predicts seven and curve B ten. The separate observation is 7.2. With residual defined as observed minus predicted, their residuals are 0.2 and -2.8, and squared residuals 0.04 and 7.84. The linear curve has the smaller error for this one record. It has not thereby been validated for every future time or identified as a biological mechanism.

Evaluation should match the intended prediction task. Predicting another reading from the same unit differs from predicting a new unit, location or time period. Related records can share information, and using evaluation outcomes to choose or tune a model changes their role. Separating records must address the relevant dependence; a particular blocked split can also change how far the prediction extrapolates.

Matching three records leaves the next prediction open

Matching three records leaves the next prediction openTwo exact training fits predict different held-out values, with one separate assigned observation and a declared residual convention.Assigned output3579110123Assigned timeCurve A: linearCurve B: extra cubic termRecord used for fittingSeparate held-out recordy=4+ty=4+t+0.5t(t-1)(t-2)Curve A: linear: Observed minus predicted=≈0.2; Squaredresidual=≈0.04Curve B: extra cubic term: Observed minus predicted=-2.8;Squared residual=≈7.84One new record supplies limited evidence
Training observations and the held-out observation serve different roles. One favourable comparison does not establish a mechanism or validity outside its tested scope.
Read the diagram in words

Both curves pass through training values 4, 5 and 6 at times 0, 1 and 2. At time 3 they predict 7 and 10; the assigned held-out observation is 7.2. Their residuals are 0.2 and -2.8, with squared residuals 0.04 and 7.84. This one comparison favours curve A under that criterion.

Record used for fitting
Assigned timeAssigned outputCurve A: linearCurve B: extra cubic term
0444
1555
2666
Separate held-out record
Assigned timeAssigned outputCurve A: linearCurve B: extra cubic term
37.2710
Observed minus predicted
Prediction at time threeObserved minus predictedSquared residual
Curve A: linear0.200000000000000180.04000000000000007
Curve B: extra cubic term-2.87.839999999999999

y=4+t

y=4+t+0.5t(t-1)(t-2)

Original nondimensional records and two curve definitions on displayed time 0..3. Training observations at 0, 1, 2 are distinct from one held-out record at 3. No empirical fit, probability model, biological mechanism or comprehensive validation is supplied.

02

Reproducing a computation and explaining biology are separate checks

A simulation follows a model's rules from specified inputs and initial conditions. It can show what the model implies, including behaviour that is difficult to see from a verbal description. Repeating the computation with the same specified model should reproduce the appropriate mathematical result within the method's numerical accuracy. That checks a calculation, not whether a living system follows those rules.

Useful computation checks include consistent units, appropriate state domains, conservation where the model requires it, and agreement with an exact solution in a case where one is available. Numerical step sizes or solver choices can introduce error. Reporting the rule, parameters, initial state, observation mapping and computational choices makes the result easier to inspect and reproduce.

Biological evaluation compares predicted observables with relevant independent evidence and asks where the explanation works or fails. Several mechanisms may make similar predictions, and a model useful in one condition may fail in another. State which target was evaluated, how records were obtained and what remained untested. Transparent representation of a model helps that evaluation without substituting for it.

03

The average state can hide the combined response

Moving from cells to a population requires a rule for combining their contributions. In the original snapshot, four equally weighted states are one, two, three and six. Their total is twelve and their mean three. Suppose each assigned contribution follows f (x) = x² in the chosen nondimensional teaching units.

Applying the rule first gives contributions 1, 4, 9 and 36, whose sum is 50. Applying it to the mean first gives f (3) = 9; multiplying by four gives 36. The difference is 14. The mean state alone does not preserve the information needed for this nonlinear total. No interaction between cells is required for this discrepancy.

Here the population variance is ((1 - 3)² + (2 - 3)² + (3 - 3)² + (6 - 3)²)/4 = 3.5. For a squared rule, the average squared state equals the squared mean plus that variance. Multiplying the variance by four accounts for the difference 14. Other response rules need their own aggregation analysis; this identity does not establish a universal correction for tissue physiology.

A mean can conceal a nonlinear total

A mean can conceal a nonlinear totalFour individual states and squared contributions show the difference between applying a nonlinear rule before or after aggregation.Assigned stateCell one1Cell two2Cell three3Cell four606Squared-state contributionCell one1Cell two4Cell three9Cell four36036Difference between aggregation rulesSum of individualcontributions50Four times thesquared mean36050sum(x_i^2)=n(mean(x)^2+Var(x))Population state variance: 3.5; Difference between aggregationrules: 14 = 4 × 3.5Original mathematical comparison, not measured physiology
State, contribution and total are different quantities with distinct scales. The variance identity explains this specified rule and does not imply a biological coupling between the cells.
Read the diagram in words

The states 1, 2, 3 and 6 sum to 12 and average 3. Their squared contributions 1, 4, 9 and 36 sum to 50. Four times the squared mean is 36. The difference 14 equals four times the population variance 3.5 for this squared rule.

Equally weighted cell
Equally weighted cellAssigned stateSquared-state contribution
Cell one11
Cell two24
Cell three39
Cell four636
A mean can conceal a nonlinear total
nΣxmean(x)Population state varianceSum of individual contributionsFour times the squared meanDifference between aggregation rules
41233.5503614

sum(x_i^2)=n(mean(x)^2+Var(x))

Original equally weighted snapshot of four abstract cells with nondimensional states and assigned contributions f (x)=x². No actual tissue, measured flux, cell interaction, time trajectory or universal averaging correction is asserted. Population variance divides by four.

Worked example

Test a new record and preserve individual contributions

The extra term in curve B vanishes at times zero, one and two. At time three it is 0.5 × 3 × 2 × 1 = 3, so the curves predict seven and ten. Observation 7.2 favours A by the stated squared-error comparison at this one held-out point.

For the four-cell snapshot, squaring the separate states and adding gives 1 + 4 + 9 + 36 = 50. Squaring their mean and multiplying by four gives 4 × 9 = 36. The two calculations answer different questions because squaring is nonlinear.

The variance is 3.5, and 4 × 3.5 = 14 explains the exact difference for this squared rule. Both the individual states and the combining rule must be preserved when linking scales; an average alone is not a complete population description.

Check your understanding

  1. Why do the two curves' exact training fits not establish the same next prediction?

    Show reasoning

    Their added term is zero only at the three training times and becomes nonzero elsewhere. Agreement at those records does not uniquely determine the rule outside them.

  2. Does reproducing a model's numerical trajectory establish its biological validity?

    Show reasoning

    No. It checks the specified computation. Biological validity requires appropriate comparison of predicted observables with evidence and an assessment of the assumptions and tested conditions.

  3. Why is the combined squared contribution fifty rather than thirty-six?

    Show reasoning

    Individual variation matters under the nonlinear squared rule. Summing the four individual squares retains that variation, whereas squaring the mean first discards it; the population variance accounts for the difference in this particular model.

What to carry forward

Evaluate predictions for their stated task, distinguish computational accuracy from biological evidence, and justify the rule used to link scales.

References

Resources supporting this lesson’s explanations and examples.

  1. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure (Ecography 40, 913–929 (2017); doi:10.1111/ecog.02881)David R. Roberts and colleaguesOriginal methodological reviewnsojournals.onlinelibrary.wiley.comRead source
  2. The systems biology markup language (SBML): a medium for representation and exchange of biochemical network models (Bioinformatics 19(4), 524–531 (2003); doi:10.1093/bioinformatics/btg015)M. Hucka and colleagues, with the SBML ForumResearch abstractpubmed.ncbi.nlm.nih.govRead source
  3. Computational systems biology (Nature 420, 206–210 (2002); doi:10.1038/nature01254)Hiroaki KitanoResearch abstractpubmed.ncbi.nlm.nih.govRead source
  4. Universally Sloppy Parameter Sensitivities in Systems Biology Models (PLOS Computational Biology 3(10), e189 (2007); doi:10.1371/journal.pcbi.0030189)Ryan N. Gutenkunst, Joshua J. Waterfall, Fergal P. Casey, Kevin S. Brown, Christopher R. Myers and James P. SethnaOriginal modelling paperjournals.plos.orgRead source