Skip to content

The investigation cycle: PPDAC

Five stages turn a vague question into a conclusion you can defend. See where each one lives in CodeSplash.

Introductory ~9 min7 steps

What runs in CodeSplash

You will be able to

  • Name the five stages of the PPDAC cycle in order
  • Decide which stage a piece of work belongs to
  • Say why the plan comes before the data

Read first

01

Five stages

Read

Good investigations follow a loop that statistics teachers call PPDACPPDAC cycleThe five stages of an investigation: Problem, Plan, Data, Analysis, Conclusion.: Problem, Plan, Data, Analysis, Conclusion. A conclusion usually raises the next problem.

StageThe question you askWhere in CodeSplash
ProblemWhat do you want to know, and what would you do with the answer?Test Chooser
PlanWhat will you measure, on whom, and how many?Power analyses in Analyze, A/B tests studio
DataAre the data what you think they are?Data, SQL, Prepare
AnalysisWhat do the data show?Insights, Analyze, Model
ConclusionWhat can you claim, and to whom?Reports, Dashboards
02

Put the stages in order

Checkpoint

Check yourself

Put these pieces of a churn study in the order the cycle runs.

  1. 1Choose the customers, the measures and the sample size.
  2. 2Write what you can claim, for whom, and what remains unknown.
  3. 3Compare churn between groups and model what predicts it.
  4. 4Export the records and check them for duplicates and impossible values.
  5. 5Decide what "churn" means and what you would do about it.

Show the answer

The order:

  1. Decide what "churn" means and what you would do about it.
  2. Choose the customers, the measures and the sample size.
  3. Export the records and check them for duplicates and impossible values.
  4. Compare churn between groups and model what predicts it.
  5. Write what you can claim, for whom, and what remains unknown.

Problem, Plan, Data, Analysis, Conclusion. In real work you loop back, often from Data to Plan when you find a measure that doesn't mean what you assumed.

03

Plan before you collect

Predict

Predict first

You want to compare two groups and detect a medium effect (half a standard deviation) with an 80% chance. How many subjects do you need in each group?

Make your guess between 10 and 200 per group, then reveal.

Reveal

64 per group, for a planned powerStatistical powerThe chance a test detects an effect of a given size, if that effect is real. of 0.80.

The tooth-growth study had 30 animals per route, which gives roughly a coin flip's chance for an effect that size. Once data are collected you can't plan your way out of that, which is why Plan comes before Data.

04

Find the stage

Checkpoint

Check yourself

You write down the smallest difference that would change your decision. Which stage is that?

Show the answer

Answer: b

Fix it during Plan, before any results exist. Choosing it afterwards lets the result steer the standard you judge it by.

Check yourself

You find 40 customers listed twice, and remove the extra rows. Which stage is that?

Show the answer

Answer: b

Cleaning belongs to Data. In CodeSplash you record it as a recipe in Prepare, so the steps stay visible and repeatable.

05

Start a plan in the app

In the app

Open the Test Chooser for the Problem stage, then a power analysis for the Plan stage. Change the effect size and watch how quickly the sample size moves.

06

Your own cycle

Reflect

Pick a question from your own work. Write one line for each stage. Which stage is the weakest?

Most people find it is Problem or Plan. Those are the stages that no analysis can repair afterwards.

07

Recap

Recap
  • PPDAC: Problem, Plan, Data, Analysis, Conclusion, then usually another loop.
  • Plan comes first because sample size and measures can't be fixed after collection.
  • Decide what would change your mind before you see the result.

Concepts in this lesson