1. Home
  2. Explore
  3. Mathematics
  4. Random Variables Intro

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Random Variables Intro

  • 21Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Random Variable Basics
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is a random variable in probability and statistics?

Tap to flipClick to flipspace

A variable that can take on a given set of values, where a probability can be assigned to each possible value of X.

Or swipe the card

21 cards

  1. What is a random variable in probability and statistics?

    A variable that can take on a given set of values, where a probability can be assigned to each possible value of X.

  2. In the example of flipping a fair coin four times, define the random variable X. What values can it take?

    X is the number of heads in four flips, taking integer values 0, 1, 2, 3, or 4.

  3. What is the sample space for flipping a coin four times? How many outcomes are there?

    All sequences of H and T of length 4; 24=162^4 = 1624=16 outcomes.

  4. What is the probability that X = 0 (no heads) in four fair coin flips?

    116\frac{1}{16}161​

  5. What is the probability distribution of X (number of heads) in four fair coin flips? Give all probabilities.

    P(X=0)=1/16, P(X=1)=4/16, P(X=2)=6/16, P(X=3)=4/16, P(X=4)=1/16.

  6. What is a discrete random variable? Give an example.

    A random variable that can only take a discrete (countable) set of values, e.g., number of heads in N coin flips.

  7. What is a continuous random variable? Give an example.

    A random variable that can take any value in a continuous range, e.g., height of Americans.

  8. What is a probability distribution of a random variable?

    A function that assigns a probability to each possible value (or range of values) of X.

  9. How can you visualize the probability distribution of a discrete random variable?

    With a histogram (bar chart) where the x-axis shows values of X and the y-axis shows probabilities.

  10. In the coin flip example, what is the shape of the probability histogram for X?

    Symmetric around 2, with highest bar at X=2 (probability 6/16).

  11. What is a probability density function (PDF)?

    A function that describes the probability distribution for a continuous random variable; the area under the curve gives probabilities.

  12. What distribution does the number of heads in N coin flips follow?

    The binomial distribution.

  13. What distribution does the height of Americans approximately follow?

    A normal (Gaussian) distribution.

  14. As the number of coin flips N becomes large, what does the binomial distribution approximate?

    The normal (Gaussian) distribution.

  15. Why are random variables useful? (Give three reasons from the lecture)

    1. Concise summary of all probabilities. 2. No need to count all outcomes when a function exists. 3. Allows hypothesis testing, parameter estimation, visualization, and calculus.
  16. What is a probability density function (PDF) considered in modeling?

    A model of a random process—a mathematical approximation, not perfect reality.

  17. How can a PDF be used for hypothesis testing?

    By comparing observed data to the assumed distribution; e.g., if you flip 10 heads in a row, you can test if the coin is fair.

  18. How can a PDF be used for parameter estimation?

    From a sample, you can estimate the parameters of the distribution (e.g., mean and standard deviation of height) to describe the larger population.

  19. How do you compute the probability that a continuous random variable X lies between a and b?

    Integrate the PDF from a to b: P(a<X<b)=∫abp(x) dxP(a < X < b) = \int_a^b p(x) \, dxP(a<X<b)=∫ab​p(x)dx.

  20. What is the cumulative distribution function (CDF)?

    The function F(x)=P(X≤x)F(x) = P(X \leq x)F(x)=P(X≤x), giving the probability that X is less than or equal to a value.

  21. What are some functions that can be built on a random variable X?

    Expected value E[X]E[X]E[X], variance Var(X)\text{Var}(X)Var(X), standard deviation, distribution of X2X^2X2, etc.

Card 1 of 21
Card 1 of 21

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent