본문 바로가기

Coursera/Mathematics for ML and Data Science

Probability & Statistics for Machine Learning & Data Science (6)

728x90

Introduction to Probability and Probability Distributions

Probability Distributions

Random Variables

Random variables are the variables that can make many numbers.

012

With the coin example, $X$ can take either 1 or 0, not just a single number.

01

Which of the following are examples of discrete random variables? Select all that apply.

  1. Selecting a card from a deck
  2. Drawing a marble from a bag of colored marbles
  3. Measuring the temperature in degrees Fahrenheit
  4. Counting the number of cars passing through a toll booth

Answer

더보기

1, 2, 4

Since the possible outcomes are countable and distinct, it qualifies as an example of a discrete random variable.

Probability Distributions (Discrete)

01234

Binomial Distribution

0123
Binomial coefficient

A binomial distribution is a histogram of probabilities.

It is an example of discrete distributions.

The distribution is symmetrical if the probability is equal and is skewed if it's not equal.

01234
Binomial distribution

 

What is the probability of getting three ones when rolling a dice five times (no matter which dice)?

더보기

${5 \choose 3}({1\over6})^3({5\over6})^2$

01

If X is the number of times we get a 1 when rolling a dice ten times, then $X \sim \operatorname{Binomial}(n, p)$, where n, p is equal to:

더보기

n = 10, p = 1/6

Correct. The probability of getting a 1 when throwing one dice is 1/6. And n is the total of experiments (10 times).

Binomial Coefficient

012

The binomial coefficient is a way to obtain k elements out of a set of n in an unordered way.

012345

Bernoulli Distribution

Bernoulli distribution is a distribution of successful cases.

Throwing a 4-sided fair dice and observing if it lands in 2 or not might be modeled as a Bernoulli distribution with p equal to:

더보기

1/4

Correct! In a 4-sided fair dice, there is a 1/4 probability of landing in each face.

All the information provided is based on the Probability & Statistics for Machine Learning & Data Science | Coursera from DeepLearning.AI

728x90