UAT 106 Statistics and Data Analytics for Technology

Worksheet 3 Interpreting endurance tests

Analysis activity 6 hAssesses CLO2

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

  1. Write the requirement, hypotheses, direction and α before opening the file
  2. Test the 'at least 20 minutes' requirement for every brand and payload pair
  3. Report mean, SD, n, p-value and one-sided lower bound
  4. Compare brands A and B at all three payloads with Welch's t-test
  5. Simulate the smallest number of flights giving 80% power when the true mean is 21 min and SD 0.9 min
  6. Write conclusions that do not go beyond the data

Record of results

Note 1 Test plan before opening the data: requirement, H0, H1, direction, α and time written
Table 1 Testing the 'at least 20 minutes' requirement for every brand and payload pair
Brand / payload (kg)nMean (min)SD (min)One-sided p95% lower bound (min)
Table 2 Brand B vs A by Welch's t-test, and the power simulation
ItemB − A difference or n (min/flights)tp-value or power95% CI of difference (min)

Questions

  1. Every pair passes with p below 0.05. Can the report say "every flight lasts at least 20 minutes"? Why or why not?

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

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

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

CLO2 Use statistical inference to evaluate test results. (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