A random variable is a function that assigns a number to each outcome of a random experiment.
Notation: We usually use uppercase letters like X for a random variable and lowercase letters like x for its value.
Sometimes we treat large-range discrete variables like continuous ones for convenience.
Experiment: Measure the current in a wire.
Variable: X = current in milliamperes
It could be 2.14, 2.15, 2.16... all values in an interval โ continuous
Experiment: Count error bits in data transmission.
Variable: X = number of errors
Possible values: 0, 1, 2, 3... โ discrete
Experiment: Voltage measured to nearest 0.01 volt
Values are: 4.10, 4.11, 4.12...
Technically discrete, but we can treat it as continuous in many cases.
Which of the following are discrete or continuous?
1. Continuous
2. Discrete
3. Discrete
4. Continuous