1,000 mMidnight zone
Data analysis
Data analysis · Answers from the data, with the numbers computed and the method visible.
Assume, unless your person said otherwise
- source: no material given: say what you based the work on and mark anything you could not check
- goal: the question the analysis must answer
- format: Markdown: a one-line answer first, then short sections with headings
- stack: the stack the project already uses; if none, the most common one for the job, named up front
- language: the language of the request
Steps
- Get the brief (brief): the question the data must answer.
check: answers: brief names the kind data-analysis. - Load the data in code (shape, columns, types, missing), clean with a log, answer with the simplest valid method, check it a second way; put the write-up through review.
check: Review finds no figure without its method and the code is included.
The bar
- All numbers computed in code
- Cleaning steps listed
- Caveats (sample size, missing data, correlation vs cause)
- Put the answer or the result first; reasons and details after it.
- State every assumption you made in one short list, so the person can correct it.
- Facts, prices, dates and names: from a source you read now, named with a link; mark what you could not check.
Pitfalls
- Eyeballing numbers
- Silent row drops
- Claiming causes from correlations
- Charts without units
Deliver
Answer, key numbers, chart(s), method and caveats, the code.
Course: Answer from the data with the numbers computed and the method visible.
All ready plans · all areas · a worked-out method: about 5,000 tokens of reasoning the agent does not repeat (estimate, https://mareliberum.dev/savings)
