Lecture 12.4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Statistics for Data Science -1

Statistics for Data Science -1


Continuous Random Variables-Continuous distributions

Usha Mohan

Indian Institute of Technology Madras

1/ 10
Statistics for Data Science -1

Learning objectives

2/ 10
Statistics for Data Science -1

Learning objectives

1. Define what is a continuous random variable.

2/ 10
Statistics for Data Science -1

Learning objectives

1. Define what is a continuous random variable.


2. Probability distribution function and examples

2/ 10
Statistics for Data Science -1

Learning objectives

1. Define what is a continuous random variable.


2. Probability distribution function and examples
3. Cumulative distribution function, graphs, and examples.

2/ 10
Statistics for Data Science -1

Learning objectives

1. Define what is a continuous random variable.


2. Probability distribution function and examples
3. Cumulative distribution function, graphs, and examples.
4. Expectation and variance of random variables.

2/ 10
Statistics for Data Science -1

Non Uniform distribution

Triangular distribution

3/ 10
Statistics for Data Science -1
Non Uniform distribution

Example
Suppose that the number of minutes of playing time of a certain
college basketball player in a randomly chosen game has the
following density curve.
f (x)

0.05

0.025

10 20 30 40 x
4/ 10
Statistics for Data Science -1
Non Uniform distribution

Questions

Find the probability that the player plays


1. Over 20 minutes
2. Less than 25 minutes
3. Between 15 and 35 minutes
4. More than 35 minutes

5/ 10
Statistics for Data Science -1
Non Uniform distribution

Solution

Let X be amount of playing time in minutes. Find the probability


that the player plays
1. Over 20 minutes =P(X > 20) = 0.5 + 0.25 = 0.75
2. Less than 25 minutes=P(X < 25) = 0.25 + 0.25 = 0.5
3. Between 15 and 35
minutes=P(15 ≤ X ≤ 35) = 0.125 + 0.5 + 0.125 = 0.75
4. More than 35 minutes=P(X > 35) = 0.125

6/ 10
Statistics for Data Science -1
Triangular distribution

Triangular distribution
It is now 2 p.m., and Joan is planning on studying for her statistics
test until 6 p.m., when she will have to go out to dinner. However,
she knows that she will probably have interruptions and thinks that
the amount of time she will actually spend studying in the next 4
hours is a random variable whose probability density curve is as
follows:

f (x)

0 1 2 3 4 x
7/ 10
Statistics for Data Science -1
Triangular distribution

Questions

1. What is the height of the curve at the value 2?


2. What is the probability she will study more than 3 hrs?
3. What is the probability she will study between 1 and 3 hrs?

8/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

9/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

1. What is the height of the curve at the value 2?

9/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

1. What is the height of the curve at the value 2?=1/2unit

9/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

1. What is the height of the curve at the value 2?=1/2unit


2. What is the probability she will study more than 3 hrs?

9/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

1. What is the height of the curve at the value 2?=1/2unit


2. What is the probability she will study more than 3 hrs?=1/8

9/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

1. What is the height of the curve at the value 2?=1/2unit


2. What is the probability she will study more than 3 hrs?=1/8
3. What is the probability she will study between 1 and 3
hrs?
9/ 10
Statistics for Data Science -1
Triangular distribution

Solution

f (x)
0.5

0.25

0 1 2 3 4 x

1. What is the height of the curve at the value 2?=1/2unit


2. What is the probability she will study more than 3 hrs?=1/8
3. What is the probability she will study between 1 and 3
hrs?=3/4
9/ 10
Statistics for Data Science -1
Triangular distribution

Section summary

I Non uniform distribution


I Triangular distribution

10/ 10

You might also like