Lesson 09 / Samples and Uncertainty
Does one big win give you more confidence?
Move from account performance to the strength of the evidence. Use five trade outcomes to explore the mean, median, and standard deviation, then identify questions this small sample leaves open.
What you will learn
- Calculate the center and spread by hand
- See how extreme values affect the results
- Distinguish the number of records from the number of independent observations
Allow about 30–45 minutes. The exercises use fictional data. The page checks structured answers in your browser. Export your work before refreshing.
Start with the concepts ↓Define the population you want to understand
The population is the full set of cases your question concerns. The sample is the set of observations you actually have. The five latest trades may cover only one market environment. A selection of winners leaves out the strategy's losses.
How you selected observations and the period they cover determine how far you can generalize. A small sample still documents real profits, while limiting what you can infer about future patterns.
Mean and median tell you different things
The values −20, 0, 10, 10, 50 sum to 50, giving a mean of 10. The middle value after sorting is also 10. Changing the last outcome to 150 raises the mean to 30 and leaves the median at 10.
The mean divides the total by the number of observations and is sensitive to tails. The median gives the middle position and can conceal the size of extreme losses. Review both alongside the original data.
Calculate standard deviation by hand
The mean of 1, 2, 3 is 2, and the sum of squared deviations is 1 + 0 + 1 = 2. The population variance of these three values is 2 ÷ 3. Sample variance divides by n − 1 and gives 1, so sample standard deviation is 1.
Squaring gives more weight to values far from the center. The square root restores the original units. This lab uses sample standard deviation with denominator n − 1. Lesson 7 also introduced the population convention.
Estimating uncertainty requires assumptions
With independent, identically distributed observations and finite variance, the standard error of the mean is commonly estimated as s ÷ √n. It measures uncertainty in the sample mean. Dependence over time and overlapping positions can invalidate the simple formula.
Copying one day's price into a hundred rows still gives one underlying observation. Five trades also provide little evidence about rare crashes. This lab reports descriptive statistics for those five outcomes.
Samples and Uncertainty experiment
Keep the first four outcomes at −20, 0, 10, 10 and change only the last one. Predict which statistics will change and which will stay the same within this lab's range.
Explore five fictional profit and loss amounts in yuan. Sample standard deviation uses n − 1. The five outcomes are inputs to the exercise.
Points follow the order in the example. See the table for exact values.
Try the calculations
Use the values in each question. Enter amounts and percentages in the requested units, including a minus sign where needed.
Explain your reasoning
Lesson work
Add research notes to a small-sample summary.
Write a note on small-sample statistics
The five trade outcomes are −10, 0, 10, 20 and 80 yuan. Do not assume that the trades are independent and identically distributed.
Complete the questions below before trying the optional writing exercise. Use the fixed inputs here, even if you changed the experiment above. Enter numbers in the units shown and keep at least two decimal places where needed. Follow the specified precision for tables. You can check one answer at a time or all answers together.
Save your homework to export these results. Check again after changing an answer. Optional writing and self-assessment are ungraded. Save your work before refreshing.
Optional writing (ungraded)
Writing guidance and self-review
Record the inputs, rules, results and open questions in each field. You can cite the earlier calculations and experiments as fictional examples. Tie each conclusion to specific data or events.
Use the checklist to review your own writing. Use evidence from the study to evaluate the strategy.
Save the experiment, the run log, your first and current checks, written work and self-review. Export before refreshing or closing the page.