# 6Discrete Random Variables

## 6.1 Introduction

Up until now, to obtain probabilities for an event, we had to consider all the possibilities in the sample space and the ways that the event can occur. But, in many real‐life situations, it is very difficult to do this in a practical way. In addition, usually our interest is in the characteristics of the data collection procedure that can be obtained based on some sort of counting or some measure. A random variable is a function of the outcomes of a data collection procedure. It turns outcomes of the data collection procedures into a number. If this number is representative of the count of something, then it is a discrete random variable. If this number is representative of the measure of something (e.g. the length, weight, duration, etc.), then it is a continuous random variable.

In this chapter, we will work with probabilities, expected value, and variance of discrete random variables.

Get Principles of Managerial Statistics and Data Science now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.