UAT 106 Statistics and Data Analytics for Technology
Worksheet 3 Interpreting endurance tests
Objective
Set hypotheses from a requirement before seeing the data, test means and compare two groups, and conclude no further than the data allows
Equipment and materials
- Computer with Python and scipy
- endurance.csv from /downloads/uat-106/
- Experiment guide L14 in the drone knowledge base
Safety
- Desk work only; no flying
Steps
- Write the requirement, hypotheses, direction and α before opening the file
- Test the 'at least 20 minutes' requirement for every brand and payload pair
- Report mean, SD, n, p-value and one-sided lower bound
- Compare brands A and B at all three payloads with Welch's t-test
- Simulate the smallest number of flights giving 80% power when the true mean is 21 min and SD 0.9 min
- Write conclusions that do not go beyond the data
Record of results
| Brand / payload (kg) | n | Mean (min) | SD (min) | One-sided p | 95% lower bound (min) |
|---|---|---|---|---|---|
| Item | B − A difference or n (min/flights) | t | p-value or power | 95% CI of difference (min) |
|---|---|---|---|---|
Questions
Every pair passes with p below 0.05. Can the report say "every flight lasts at least 20 minutes"? Why or why not?
The brand comparisons at all three payloads give p above 0.05. What is the correct conclusion, and what does the CI of the difference say that the p-value cannot?
How many flights does the simulation say are needed for 80% power? If only 4 flights are tested, as in this data, what risk arises when the true mean is 21 minutes?
Why must the test direction and α be written before opening the file? If it were switched to two-sided after seeing the results, what would the p-value for brand A at 1.0 kg become?
Check before you hand in
What to hand in
- Time-stamped test plan written before opening the data
- Results table for every pair
- Power simulation result
- One-paragraph conclusion