- 2070 Magh · 2+3 marks
Define random variables; properties
Short answer
A random variable is a function mapping outcomes to real numbers; discrete with pmf p(x)=P(X=x), continuous with pdf f(x). Properties: p(x) in [0,1] (discrete), f(x) ≥ 0 (continuous); total probability sums/integrates to 1; CDF F(x)=P(X ≤ x) non‑decreasing; mean E(X) = Σ x p(x) or ∫ x f(x)dx, linear; variance V(X)=E(X²)−[E(X)]², V(aX+b)=a²V(X); if independent, E(XY)=E(X)E(Y) and V(X+Y)=V(X)+V(Y).
Define random variables. Explain properties of random variables.
Random variable
A random variable X is a function that assigns a real number to each outcome of a random experiment. Example: the number shown on a die, the inter-arrival time of customers, or the service time at a bank counter.
- Discrete random variable: takes countable values (number of arrivals in an hour). Described by a probability mass function p(x) = P(X = x).
- Continuous random variable: takes any value in an interval (service time). Described by a probability density function f(x), with P(a ≤ X ≤ b) = ∫ f(x) dx from a to b.
Properties of random variables
- Probability bounds. 0 ≤ p(x) ≤ 1 for discrete X, and f(x) ≥ 0 for continuous X.
- Total probability is 1. Σ p(x) = 1 (discrete), ∫ f(x) dx = 1 over the whole range (continuous).
- Cumulative distribution function. F(x) = P(X ≤ x). It is non-decreasing, with F(−∞) = 0 and F(+∞) = 1.
- Expected value (mean). E(X) = Σ x·p(x) or ∫ x·f(x) dx. It is the long-run average. Also E(aX + b) = aE(X) + b, and E(X + Y) = E(X) + E(Y).
- Variance. V(X) = E(X²) − [E(X)]². The standard deviation is σ = √V(X). Also V(aX + b) = a²V(X).
- Independence. X and Y are independent if P(X = x, Y = y) = P(X = x)·P(Y = y). Then E(XY) = E(X)E(Y) and V(X + Y) = V(X) + V(Y).
For example, the random number R uniform on [0, 1] has f(R) = 1, E(R) = 1/2 and V(R) = 1/12.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Random number properties and Gap test · Simulation and Modeling, chapter 6 · asked 4×
- Random number properties; KS test algorithm · Simulation and Modeling, chapter 6
- Properties of random numbers · Simulation and Modeling, chapter 6
- Properties and generation techniques of RN · Simulation and Modeling, chapter 6
- Discrete and continuous random variables · Probability and Statistics, chapter 2
- Continuous random variable; pdf properties · Probability and Statistics, chapter 3
- Continuous vs discrete variables, return period formulae · Engineering Hydrology, chapter 6