© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. AnderssonStatistical Analysis with Swifthttps://doi.org/10.1007/978-1-4842-7765-2_5

5. Hypothesis Testing

Jimmy Andersson1  
(1)
Västra Frölunda, Sweden
 

Hypothesis testing is a valuable area of statistics. It can aid us when working with random variables that may change their distributions over time or because of certain events. However, it is also one of the topics that students find most daunting and challenging to understand. In this chapter, we look at several examples of formulating a hypothesis and leveraging Swift to determine whether it is more likely than the currently accepted truth.

What Is Hypothesis Testing?

To get a feeling for why hypothesis ...

Get Statistical Analysis with Swift: Data Sets, Statistical Models, and Predictions on Apple Platforms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.