Probability

Go to Problems

Random Variables

Definition:

A random variable is a variable whose possible values are numerical outcomes of a random phenomenon. There are two types of random variables, discrete and continuous.

Discrete Random Variables:

A discrete random variable can take only a finite number of distinct values. For example, attendance of a class on any given day,  the number of patients in a doctor's surgery, the number of defective light bulbs in a box of 10, etc.

The probability distribution of a discrete random variable is a list of probabilities associated with each of its possible values. It is also sometimes called the probability function or the probability mass function.

Suppose a random variable X may take k different values, with the probability that X = xi defined to be P(X = xi) = pi. The probabilities pi must satisfy the following:

 

  • 0 < pi < 1 for each i
  • p1 + p2 + ... + pk = 1.

 

 

Continuos Random Variables:

A continuous random variable can take an infinite number of possible values. Continuous random variables are usually measurements, numerical interpretations of phenomenons. Examples include height, weight, the amount of sugar in an orange, the time required to run a mile.

Suppose a random variable X may take all values over an interval of real numbers. Then the probability that X is in the set of outcomes A, P(A), is defined to be the area above A and under a curve. The curve, which represents a function p(x), must satisfy the following:

1: The curve has no negative values (p(x) > 0 for all x)

2: The total area under the curve is equal to 1.

 

Serious about Learning Data Science and Machine Learning ?

Learn this and a lot more with Scaler's Data Science industry vetted curriculum.
Conditional probability
Problem Score Companies Time Status
Probability of Raining 30
10:23
How can he win? 30
BCG
8:14
White Marble Probability 30 3:42
Boy or girl paradox 30
5:34
Is it a queen? 30
4:45
Bayes theorem
Normal and continuous distribution
Problem Score Companies Time Status
Distribution Percentage 30 5:44
Random variables
Problem Score Companies Time Status
Product probability 30
12:43
Random variable's probability 30
7:05
New variance 30
8:09
Toss random variable 30
2:24
Probability distributions
Problem Score Companies Time Status
Standard deviation 30
3:02
Probability Distribution 50
18:16