Statistical Methods in Economics II

Online BA · Sem 3

Lesson 2 of 11Economics

Random Variables Explained

Statistical Methods in Economics II

About the video

Probability Distribution|Random Variable|Statistics|BBA|BCA|B.COM|B.TECHDreamMaths

Dream Maths

Study notes

A random variable assigns a number to each outcome of an experiment, and a probability distribution lists the probability of each value. Random variables are either discrete or continuous; discrete ones use a probability mass function and continuous ones use a probability density function. The mean is sum(p x) and the variance is sum(p x^2) - mean^2.

Random Variable and Distribution

  • Sample space for tossing two coins: {HH, HT, TH, TT}.
  • Let X = number of heads. Then P(X=0) = 1/4, P(X=1) = 2/4 and P(X=2) = 1/4.
  • The table pairing each value of X with its probability is the probability distribution.
  • Steps to build it: define X, write the sample space, then make the table.
  • Example: one die is thrown and X = number of even numbers. P(X=0) = 1/2 and P(X=1) = 1/2.
  • Example: two cards are drawn with replacement and X = number of queens. P(X=0) = (48/52)^2 and P(X=1) = 2 x (4/52)(48/52).

Types of Random Variables

  • Discrete: takes countable values such as 0, 1, 2, 3.
  • Continuous: takes any value in an interval, such as a height between 5 and 6 feet.
  • Discrete variables use a probability mass function (PMF).
  • Continuous variables use a probability density function (PDF), written f(x).

Properties and Finding k

  • All probabilities lie between 0 and 1, and their sum is 1.
  • To find an unknown k, add all the probabilities and set the total equal to 1.
  • Example: the probabilities sum to 10k^2 + 9k - 1 = 0, which factors as (10k - 1)(k + 1) = 0.
  • k = -1 is rejected because a probability cannot be negative, so k = 1/10.
  • For a PDF, the integral of f(x) dx from -infinity to +infinity must equal 1. Use this to check whether a function is a valid PDF.

Mean and Variance

  • Mean: mu = sum(p x).
  • Variance: sigma^2 = sum(p x^2) - mu^2.
  • Tip: convert all probabilities to a common denominator before adding.
  • Example: for two coin tosses, mean = 1 and sum(p x^2) = 3/2, so variance = 1.5 - 1 = 0.5.

Key terms

Random variable
A numerical quantity whose value depends on the outcome of an experiment.
Probability distribution
A table or rule giving the probability of each value of a random variable.
Discrete random variable
A random variable that takes countable, whole-number values.
Continuous random variable
A random variable that can take any value within an interval.
PMF
Probability mass function; gives probabilities for a discrete random variable.
PDF
Probability density function f(x) for a continuous random variable; its integral over all x is 1.

Takeaways

  • The probabilities in a distribution sum to 1, and none is negative or greater than 1.
  • Discrete variables use a PMF; continuous variables use a PDF.
  • Mean = sum(p x) and variance = sum(p x^2) - mean^2.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.