UAT 106 Statistics and Data Analytics for Technology

Worksheet 2 Assessing mission risk

Analysis activity 6 hAssesses CLO2, CLO1

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

  1. Compute by formula the chance of no emergency landing in a month, and of more than two, for 50 flights at 1%
  2. Check the same results by simulation
  3. Change the motor failure rate in the alarm example to 10% and explain why P(failure | alarm) changes
  4. Plot hover_error.csv against a normal curve; run the Shapiro test before and after removing outliers
  5. Simulate a three-leg mission with normal leg times; find the chance the total exceeds 60 min

Record of results

Table 1 Emergency-landing risk in 50 flights a month: formula vs simulation
EventFormula usedFormula resultSimulation result (seed, runs)Difference
Table 2 Motor alarm at 2% and 10% failure rates
Failure rateP(alarm)P(failure | alarm)True alarms per 1,000False alarms per 1,000
Table 3 Normality tests and the three-leg mission simulation
ItemSettings or data usedResultConclusion

Questions

  1. 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?

  2. 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.

  3. 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?

  4. 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

CLO2 Use statistical inference to evaluate test results. CLO1 Summarise and present data with descriptive statistics. (CLOs are a web-team draft; the course owner sets the final ones.)

Instructors: answers and teaching notes for this worksheet are in the teaching pack