UAT 106 Statistics and Data Analytics for Technology
Worksheet 2 Assessing mission risk
Objective
Use probability rules, binomial and normal distributions and Monte Carlo simulation to assess mission risk
Equipment and materials
- Computer with Python, numpy and scipy
- Module 2 example code and hover_error.csv
Safety
- Desk work only; no flying
Steps
- Compute by formula the chance of no emergency landing in a month, and of more than two, for 50 flights at 1%
- Check the same results by simulation
- Change the motor failure rate in the alarm example to 10% and explain why P(failure | alarm) changes
- Plot hover_error.csv against a normal curve; run the Shapiro test before and after removing outliers
- Simulate a three-leg mission with normal leg times; find the chance the total exceeds 60 min
Record of results
| Event | Formula used | Formula result | Simulation result (seed, runs) | Difference |
|---|---|---|---|---|
| Failure rate | P(alarm) | P(failure | alarm) | True alarms per 1,000 | False alarms per 1,000 |
|---|---|---|---|---|
| Item | Settings or data used | Result | Conclusion |
|---|---|---|---|
Questions
How far is the simulation from the formula? What would you expect if the number of runs rose 100-fold, and why set a seed?
When the failure rate rises from 2% to 10% the alarm's sensitivity is unchanged, yet P(failure | alarm) changes a lot. Explain with the true and false alarm counts in Table 2.
What do the Shapiro results before and after removing outliers tell you, and how does that change the way you would estimate the chance of a large altitude error?
The three-leg simulation assumes the legs are independent. How might that be wrong in real operations, and would it make the chance of exceeding 60 min higher or lower than computed?
Check before you hand in
What to hand in
- Formula results against simulation
- Explanation of the Bayes result
- Plots and normality test results
- Three-leg mission simulation result