Prepstellar
Get it on Google Play

Statistics for Data Analysis · Getting Started

18 cards

Exploration, Confirmation, and Reproducibility

Swipe, scroll or use ← →
  1. Explore to find the next good question

    Exploration is useful when you need to understand an unfamiliar data set before making a narrow inferential claim. Exploratory analysis is for discovering patterns and anomalies that refine later questions. It can reveal an unexpected subgroup, a nonlinear relationship, an extreme observation, or a violated assumption.

    Plots and numerical summaries play different roles. Using both helps the analyst notice structure without treating every visible pattern as established.

    Tool Role What it shows
    Mean or quantile Describes magnitude compactly One number for a center or a position
    Distribution or relationship plot Reveals structure a single number hides Clusters, gaps, skew, curvature
    1 / 18
  2. Explore to find the next good question

    Discovery is the beginning of reasoning, not the end. A pattern first noticed in a plot is an exploratory result that sharpens the question. It does not automatically confirm that the same pattern exists in the target population.

    Imagine a retention chart in which one small region appears to behave differently. The responsible next step is to describe the pattern, quantify its uncertainty, ask whether the region was planned in advance, and design a later check if the claim matters. Visual clarity cannot substitute for sampling quality, model assumptions, or independent confirmation.

    2 / 18
  3. Quick check

    A previously unplanned subgroup stands out in a plot. What role should that pattern play first?

    1. AA lead for a sharper question, not automatic confirmation

      Exploration turns the visible pattern into a better-defined question while preserving uncertainty about confirmation.

    2. BA confirmed population effect because the plot is visually distinct

      A striking plot can reveal structure, but it does not establish a population effect without a suitable design and inferential check.

    3. CA prespecified primary finding after rewriting the original objective

      Changing the written objective after inspection does not change when the subgroup was discovered.

    3 / 18

  4. Separate discovery from confirmation

    Readers need to know when an analytical choice entered the process. The critical reporting distinction is between a priori objectives and post hoc objectives. A priori objectives are declared before the relevant results are inspected; post hoc objectives arise after the data suggest a direction.

    This distinction does not make post hoc work worthless. It tells readers how much evidential weight to give it. Confirmation begins with a declared purpose, target population or process, estimand, assumptions, and analysis rule. Exploration can generate those elements for later work, but it cannot retroactively make them prespecified.

    4 / 18
  5. Separate discovery from confirmation

    An analysis introduced after inspecting the results must be labeled post hoc rather than planned. Reports can also name a third group: analyses added while the results were still blinded. The label protects the chronology of the evidence. It allows a useful follow-up to be reported without presenting discovery as prior confirmation.

    For example, if an analyst tests twelve customer segments only after the overall result disappoints, the segment comparison belongs beside the planned result, not in its place. Report an unplanned subgroup effect as exploratory, show its uncertainty, and seek new confirmation. Also disclose the broader search: showing only the favorable segment hides how the result was found.

    5 / 18
  6. Quick check

    Why should a report distinguish a priori objectives from post hoc objectives?

    1. AIt guarantees that every planned model is correctly specified

      Planning status does not validate the model; assumptions and diagnostics still need evaluation.

    2. BIt allows an exploratory result to replace the planned result silently

      Silent replacement hides the analytical search and prevents readers from comparing the executed work with the plan.

    3. CIt shows whether a claim was declared before or discovered after inspecting results

      The distinction preserves the chronology that separates prior confirmation from data-driven discovery.

    6 / 18

  7. Confirm a declared target, not a convenient pattern

    Confirmation serves a decision only when the target is explicit. State the population or process, observational unit, variables, estimand, and rule that connects the sample to the claim. Then state the assumptions under which the rule is valid.

    A confirmatory result remains conditional. A low p-value or narrow interval does not turn a sample result into certainty about every future observation. The conclusion should name both what was estimated and the conditions supporting it.

    Factor What it affects
    Sampling design Generalization to the target population
    Measurement quality What the recorded variables actually mean
    Model assumptions Interpretation of the estimated effect
    Uncertainty Precision of the estimate
    7 / 18
  8. Confirm a declared target, not a convenient pattern

    Suppose an experiment estimates an average treatment effect for eligible customers during one campaign. Even a well-executed analysis does not guarantee the same effect for excluded customers, every individual, or a later campaign. The declared estimand and population determine the scope.

    A practical confirmation record therefore connects five elements:

    Element Question it answers
    Target What quantity is being learned?
    Design Why can this sample address it?
    Method How is evidence summarized?
    Diagnostics Which assumptions remain credible?
    Limits Where should the claim stop?
    8 / 18
  9. Quick check

    A test is statistically significant. What is still needed before calling the result confirmatory?

    1. AOnly a more dramatic chart of the same estimate

      Presentation cannot replace the target, design, assumptions, or uncertainty that give the result meaning.

    2. BA declared target, suitable design, credible assumptions, and reported uncertainty

      Confirmation depends on the declared question and on conditions that connect the observed data to that question.

    3. CA guarantee that the estimate applies unchanged to every future individual in every setting

      Statistical inference is conditional and uncertain; it cannot guarantee identical effects for every individual and setting.

    9 / 18

  10. Keep your progress in the app

    That’s 3 of 6 quick checks. In the app they stay answered, and every lesson remembers where you left off.

    Get it on Google Play Keep reading here
  11. Preserve a stable beginning

    Reproducibility starts before modeling. Begin a reproducible analysis by preserving raw data and provenance before validating inputs. Provenance records where the observations came from, when they were obtained, and which version entered the analysis.

    Do not transform the only copy and then attempt to reconstruct its origin. Keep the preserved input immutable, and make cleaning steps produce new, traceable states. Validation should check expected columns, types, ranges, missingness, and identifiers before transformations or models run. This sequence creates a stable starting point for comparison when results later change.

    10 / 18
  12. Preserve a stable beginning

    A simple raw-to-analysis chain might be:

    1. Register the input file and its version.
    2. Validate its schema and critical values.
    3. Apply scripted cleaning and transformations.
    4. Fit the declared analysis.
    5. Run diagnostics and tests.
    6. Produce the report from the same pipeline.

    If a refreshed file changes a category label or drops a column, validation should stop the run before the change silently reaches the model. Preserving the prior input then lets the team explain why the new output differs.

    11 / 18
  13. Quick check

    What is the strongest first step when an analysis must be rerunnable after the source data changes?

    1. APreserve raw input and provenance before validation

      A preserved input and provenance provide the baseline, and validation catches incompatible changes before analysis.

    2. BFit the final model immediately and inspect errors afterward

      Modeling before validation allows changed structure or invalid values to contaminate downstream results.

    3. CEdit the only source file until the pipeline accepts it

      Editing the only copy destroys the stable reference needed to reconstruct and compare runs.

    12 / 18

  14. Make every consequential change reviewable

    Manual operations are dangerous when they are invisible. An undocumented manual filter means the analyzed records cannot be reconstructed reliably. The problem is not that every manual action is forbidden; it is that another analyst cannot know exactly which rows changed, why they changed, or when the action occurred.

    Necessary exceptions should record the affected records, rule, rationale, author, and pipeline stage. Better still, encode repeatable transformations in versioned code. A scripted filter is inspectable, testable, and rerunnable; a remembered point-and-click sequence is none of those things.

    13 / 18
  15. Make every consequential change reviewable

    Versioned code, validated inputs, and execution logs create an auditable analytical path. The history connects a result to the data state and code version that produced it, while tests and logs show whether each step succeeded.

    Missing-data choices illustrate why this matters. Silent row deletion and imputation can produce different estimates from the same raw file. Take three customers with weekly sales of $10, $20, and one value missing. Dropping the incomplete row leaves two customers and a mean of $15. Replacing the missing sale with $0 leaves three customers and a mean of $10. Same file, same target, two different numbers.

    Version both missing-data rules and compare their resulting estimates. The comparison makes the analytical choice visible and reveals whether the conclusion depends on it; selecting whichever estimate is preferred would instead make the process outcome-driven.

    14 / 18
  16. Quick check

    Two analysts obtain different estimates because one dropped missing rows and the other imputed them. What repair is most auditable?

    1. AChoose the estimate closest to the desired conclusion

      Selecting by desirability hides the analytical choice and makes the result outcome-driven.

    2. BVersion both rules, rerun them from the same preserved input, and compare outputs

      Versioned rules, a common input, and compared outputs expose exactly why the estimates differ.

    3. CAverage the two estimates while leaving both transformations undocumented and their sample changes untraceable

      Averaging still hides both transformations and leaves the changes in analyzed cases impossible to reconstruct.

    15 / 18

  17. Carry the evidence all the way to the claim

    A reproducible report is not merely code that runs twice. It connects the stated question to the estimate, uncertainty, diagnostics, deviations, and limits. A reviewer should be able to follow the declared steps from preserved input to reported output without guessing at hidden choices.

    The strongest workflow preserves inputs, explores, prespecifies inference, checks assumptions, and reports limits. Exploration remains visible as discovery, and confirmation stays tied to its declared target. The executable path preserves how observations became evidence. Deviations can be justified, but each one should be dated, explained, and interpreted.

    16 / 18
  18. Carry the evidence all the way to the claim

    The complete workflow is a chain of responsibilities:

    • Preserve raw observations and provenance.
    • Explore patterns, anomalies, and assumption failures.
    • Declare the target and confirmatory rule before inspecting the answer.
    • Execute validation, transformation, analysis, and diagnostics in a reviewable pipeline.
    • Report uncertainty, post hoc work, deviations, and scope.

    Breaking any link weakens a different part of trust. Hidden exploration confuses evidential roles; hidden processing breaks reproducibility; ignored diagnostics weaken validity; and an unqualified conclusion exceeds what the data support.

    17 / 18
  19. Quick check

    Which workflow best preserves both discovery and trustworthy confirmation?

    1. ASearch until a favorable pattern appears, rename it the original hypothesis, and publish the estimate alone

      Renaming a discovered pattern erases its post hoc origin and encourages selective reporting.

    2. BFit one model without diagnostics, retain only the final table, and describe the result as certain

      A hidden path without diagnostics cannot establish validity or let another analyst reconstruct the result.

    3. CPreserve inputs, explore openly, declare the inference, check assumptions, and report uncertainty and limits

      This workflow preserves provenance, separates evidential roles, checks model credibility, and qualifies the final claim.

    18 / 18

  20. 6 quick checks · then the test

    In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.

← Previous Get it on Google Play Next card →

The whole course, on your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.

Get it on Google Play

“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”

Abdelhak Y. Google Play review