© 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_2

2. Introduction to Probability and Random Variables

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

Now that we have discussed the feasibility of choosing Swift as our primary tool for statistical analysis, we should brush up on the concepts of probabilities and random variables. These are fundamental building blocks of statistics, and we will use them extensively throughout this book. This chapter introduces some mathematical theory and lays the foundation on much of the notation we use when discussing problems and solutions. It also discusses other essential aspects, such ...

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.