UAT 106 Statistics and Data Analytics for Technology
Worksheet 1 Summarising a hover
Objective
Summarise hover and processing-time data with descriptive statistics, judge outliers with reasons, and compute bias and RMSE
Equipment and materials
- Computer with Python, pandas, numpy and matplotlib
- hover_error.csv and latency.csv from /downloads/uat-106/
- Checkpoint data from the knowledge unit on map accuracy checking
Safety
- Desk work only; no flying
Steps
- Open hover_error.csv; compute mean, median, SD, IQR and percentiles as in the lesson
- Draw a histogram and a box plot
- Flag outliers with the 1.5 IQR rule, remove the two clear ones and recompute SD
- Compute p50, p90, p95, p99 of latency.csv with numpy.percentile and statistics.quantiles; compare
- Compute bias and RMSE per E, N, Z axis from the checkpoint data
- Write a short report showing results before and after removal, with reasons
Record of results
| Statistic | Before removal | After removal | Unit | Command used |
|---|---|---|---|---|
| Percentile | numpy.percentile (ms) | statistics.quantiles (ms) | Difference (ms) |
|---|---|---|---|
| Axis | Bias (m) | RMSE (m) | Remark |
|---|---|---|---|
Questions
The mean and median of hover_error.csv barely change after removing two points, but the SD drops. What does this say about how sensitive each statistic is to outliers?
The point at 58.3 s lies just outside the fence. Did your group keep or remove it, and how would you justify that in the report?
If image processing must finish within 60 ms, which summary of latency.csv should decide it, and does the difference between the two methods at p95 matter?
Axis E has zero bias but axis N has a bias of 0.02 m. What kind of problem does this map show, and why must both bias and RMSE be reported?
This log has 600 points from one hover. If the question is "how well does this drone model hold altitude?", how many independent samples are there, and what extra data is needed?
Check before you hand in
What to hand in
- Reproducible script or notebook
- Histogram and box plot
- Before and after table
- Bias and RMSE table per axis