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

3. Distributions

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

In the previous chapter, we discussed some characteristics of random variables. However, there is still a critical aspect of their sample spaces that we need to discuss and understand to solve problems. Returning to the die example, we know that the sample space associated with one throw contains all integer numbers from one through six. While that is helpful information, the sample space alone tells us nothing about how likely we are to roll a specific number.

Until now, we have assumed that each die face is ...

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.