Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

SCIENCE · INVESTIGATE AND EXPLAIN

Challenge the counterfactual behind a paired change contrast

A before–after change can reflect weather, background trends or measurement changes as well as an intervention. A comparison site helps estimate what might have happened without treatment. Pairing can reduce nuisance variation, but causal interpretation still depends on design, interference, measurement comparability and the relevant counterfactual.

Learning outcome: Compare the full packet with each single-pair omission, then vary the background trend. Identify the assumption needed to call the contrast an intervention effect and propose an independent observation testing it.

Starting recap

Preserve packet identity, independent units, analysis recipe, outcome constraints and review authority; distinguish scientific uncertainty from stakeholder value choices.

All lessons are open directly. Your saved experiments remain when you leave and return.

Try

With all pairs and a hypothetical background differential trend−1 mg/L, adjusted intervention effect is−2.5−(−1)=−1.5 mg/L. Ignoring that alternative would attribute too much of the decrease to treatment.

Open the experiment

Predict

A leave-one-pair-out analysis is most defensible when:

Experiment

Compare the full packet with each single-pair omission, then vary the background trend. Identify the assumption needed to call the contrast an intervention effect and propose an independent observation testing it.

Test a paired intervention contrast and its counterfactual

Worked teaching model · synthetic values · Use corrected packet contrasts[−4,−2,−2,−2]mg/L. Mean retained contrast is a before–after difference of differences; adjusted effect=mean−supplied parallel-trend violation. Leave-one-pair-out is sensitivity, not permission for result-driven exclusion. No concentration-to-load inference without flow.

Reset keeps your prediction, captures and practice history.

Original synthetic system; units differ by row
QuantityValueUnit
Retained independent pairs4pairs
Mean observed paired contrast-2.5mg/L
Supplied differential background trend0mg/L
Counterfactual-adjusted intervention effect-2.5mg/L
Full-packet contrast for comparison-2.5mg/L
Inspect the immutable source packet cenv-basin-pairs@1

Original synthetic paired-site data authored 30 October 2026. Eight sites in four independently randomized treatment/comparison pairs. Before/after are representative interval means, not technical replicates. Calibration packet stipulates a +2 mg/L after-period sensor offset only for BASIN-P3-T; no uncertainty is supplied for that correction.

Record IDBefore (mg/L)Raw after (mg/L)Known offset (mg/L)Corrected after (mg/L)
BASIN-P1-T2018018
BASIN-P1-C1820020
BASIN-P2-T2424024
BASIN-P2-C2224024
BASIN-P3-T2830228
BASIN-P3-C2628028
BASIN-P4-T3232032
BASIN-P4-C3032032
Download original and corrected packet CSV

The CSV is a fictional teaching dataset, not actual field observations. Preserve its identity and correction column in your report.

A paired before–after contrast needs a justified no-intervention counterfactual.

Random assignment supports exchangeability in expectation but does not make finite-sample chance imbalance impossible. Spillover, differential trends or changed measurement can affect interpretation. Pair omission is an explicitly reported sensitivity check, not a hidden selection rule.

Predict, change one control, and retain contrasting captures. Reconstruct the analysis and decision rule before opening feedback. Display precision is not measurement precision.

A paired before–after contrast needs a justified no-intervention counterfactual.

Random assignment supports exchangeability in expectation but does not make finite-sample chance imbalance impossible. Spillover, differential trends or changed measurement can affect interpretation. Pair omission is an explicitly reported sensitivity check, not a hidden selection rule.

Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.

Understand

Define the decision and evidence boundary

A before–after change can reflect weather, background trends or measurement changes as well as an intervention. A comparison site helps estimate what might have happened without treatment. Pairing can reduce nuisance variation, but causal interpretation still depends on design, interference, measurement comparability and the relevant counterfactual.

Reconstruct the transparent method

Use corrected packet contrasts−4,−2,−2,−2 mg/L. Their mean is−2.5. If an unmeasured treatment-minus-comparison background trend would have been d even without intervention, the adjusted effect is observed contrast minus d. That parameter is a sensitivity assumption, not information learned from the same four contrasts.

Interpret the comparison

Leaving out one pair shows how much the summary depends on a particular independent unit. Omitting pair 1 gives mean−2; omitting any other pair gives−8/3≈−2.667. Report all planned sensitivities rather than choose the exclusion producing the strongest claim. Random assignment supports exchangeability in expectation, not perfect balance in every small sample.

Predeclare limitations and revision

Concentration improvement is not automatically load reduction: streamflow and sampling representativeness matter. Spillover from treated to comparison sites, differential changes and a mismatched time window can defeat the intended counterfactual. The virtual analysis does not authorize an environmental intervention or prove actual restoration success.

Worked original packet

With all pairs and a hypothetical background differential trend−1 mg/L, adjusted intervention effect is−2.5−(−1)=−1.5 mg/L. Ignoring that alternative would attribute too much of the decrease to treatment.

Investigation

Compare the full packet with each single-pair omission, then vary the background trend. Identify the assumption needed to call the contrast an intervention effect and propose an independent observation testing it.

Changed-case transfer

Omit pair 1 and assume treatment sites would have declined 2 mg/L more than comparisons without intervention. What adjusted effect remains?

Feedback

Retained mean is−2 mg/L; subtract background differential−2 to obtain zero. This sensitivity does not prove no effect, but shows that the stated unmeasured trend could explain the entire remaining contrast.

Sources and evidence boundary

Original prose, dataset and numerical exercises. Primary method/mechanism source, checked 30 October 2026. The versioned packet is synthetic, not observed fieldwork. No treatment implementation, site access, pollutant handling or real management authorization is requested. Preserve first reasoning and critique in the course workspace.

Apply

A leave-one-pair-out analysis is most defensible when:

Public practice checks a specific claim. It does not establish independent mastery.

Omit pair 1 and assume treatment sites would have declined 2 mg/L more than comparisons without intervention. What adjusted effect remains?

Continue

Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.

Skipping retains experiments and awards no mastery.

Save a science backup or import one

Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.

A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.

Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.

Complete file sets and course backups

A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.

The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.

0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.

Science storage: loading. No account or remote computation is required.