The investigation cycle: PPDAC
Five stages turn a vague question into a conclusion you can defend. See where each one lives in CodeSplash.
What runs in CodeSplash
- Power analysis — t tests Verified in Python and R
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
Five stages
ReadGood 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.
| Stage | The question you ask | Where in CodeSplash |
|---|---|---|
| Problem | What do you want to know, and what would you do with the answer? | Test Chooser |
| Plan | What will you measure, on whom, and how many? | Power analyses in Analyze, A/B tests studio |
| Data | Are the data what you think they are? | Data, SQL, Prepare |
| Analysis | What do the data show? | Insights, Analyze, Model |
| Conclusion | What can you claim, and to whom? | Reports, Dashboards |
Put the stages in order
CheckpointCheck yourself
Put these pieces of a churn study in the order the cycle runs.
Show the answer
The order:
- Decide what "churn" means and what you would do about it.
- Choose the customers, the measures and the sample size.
- Export the records and check them for duplicates and impossible values.
- Compare churn between groups and model what predicts it.
- 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.
Plan before you collect
PredictPredict 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.
Find the stage
CheckpointCheck 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.
Start a plan in the app
In the appOpen 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.
Your own cycle
ReflectPick 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.
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