Continuous Random Variables
A continuous random variable is a random variable where the data can take infinitely many values. For example, a random variable measuring the time taken for something to be done is continuous since there are an infinite number of possible times that can be taken.
For any continuous random variable with probability density function f(x), we have that:
This is a useful fact.
Example
X is a continuous random variable with probability density function given by f(x) = cx for 0 ≤ x ≤ 1, where c is a constant. Find c.
If we integrate f(x) between 0 and 1 we get c/2. Hence c/2 = 1 (from the useful fact above!), giving c = 2.
Cumulative Distribution Function (c.d.f.)
If X is a continuous random variable with p.d.f. f(x) defined on a ≤ x ≤ b, then the cumulative distribution function (c.d.f.), written F(t) is given by:
So the c.d.f. is found by integrating the p.d.f. between the minimum value of X and t.
Similarly, the probability density function of a continuous random variable can be obtained by differentiating the cumulative distribution.
The c.d.f. can be used to find out the probability of a random variable being between two values:
P(s ≤ X ≤ t) = the probability that X is between s and t. But this is equal to the probability that X ≤ t minus the probability that X ≤ s.
[We want the probability that X is in the red area:]
Hence:
P(s ≤ X ≤ t) = P(X ≤ t) - P(X ≤ s) = F(t) - F(s)
Expectation and Variance
With discrete random variables, we had that the expectation was S x P(X = x) , where P(X = x) was the p.d.f.. It may come as no surprise that to find the expectation of a continuous random variable, we integrate rather than sum, i.e.:
As with discrete random variables, Var(X) = E(X2) - [E(X)]2
Leave Continuous Random Variables to:
Read more #continuous posts
Best Posts From Abu Bakar Soomro
We have not curated any of abubakarsoomro's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Abu Bakar Soomro
- What are the best books to learn algorithms and data structures? Are there any good blogs/posts on these? Which books explain these concepts in a simpler way?
- How to Choose Professional Email Address: 10 Rules
- MATHEMATICAL INDUCTION The principle of mathematical induction
- Fair Use Act Disclaimer
- 6 Common SEO mistakes Mostly Beginners Make
- How to Become More Successful on YouTube
- 100 Content Ideas For Your Website Or Blog
- What are the best topics on YouTube?
- How to Work a Binomial Distribution Formula: Example
- Binomial Distribution: Formula, What it is and How to use it
- Good Morning Quotes with Beautiful Images
- How To Start An Aim Full Day ? Lets Start
- Continuous Random Variables
- Poisson Distribution , When it is used and how?
- Basic Information You Must Have To Know - Acronym
- Pakistan Budget 2018-19 All you want to know
- Discrete and Continuous Random Variables
- STATISTICS: DISCRETE AND CONTINUOUS RANDOM VARIABLES
- How to withdraw YouTube earned money?
- Interesting Facts About The Internet You Really Need To Know