Presentation is loading. Please wait.

Presentation is loading. Please wait.

Virtual University of Pakistan

Similar presentations


Presentation on theme: "Virtual University of Pakistan"— Presentation transcript:

1 Virtual University of Pakistan
Lecture No. 24 of the course on Statistics and Probability by Miss Saleha Naghmi Habibullah

2 F(a) = p( x < a) =

3 IN THE LAST LECTURE, YOU LEARNT
Graphical Representation of the Distribution Function of a Discrete Random Variable Mathematical Expectation Mean, Variance and Moments of a Discrete Probability Distribution Properties of Expected Values

4 TOPICS FOR TODAY Chebychev’s Inequality
Concept of Continuous Probability Distribution Mathematical Expectation, Variance & Moments of a Continuous Probability Distribution

5 We begin with the discussion of the concept of the Chebychev’s Inequality in the case of a discrete probability distribution:

6 Chebychev’s Inequality
If X is a random variable having mean  and variance 2 > 0, and k is any positive constant, then the probability that a value of X falls within k standard deviations of the mean is at least That is:

7 Alternatively, we may state Chebychev’s theorem as follow:

8 Given the probability distribution of the random variable X with mean  and standard deviation , the probability of the observing a value of X that differs the  by k or more standard deviations cannot exceed 1/k2.

9 As indicated earlier, this inequality is due to the Russian mathematician P.L. Chebychev ( ), and it provides a means of understanding how the standard deviation measures variability about the mean of a random variable. It holds for all probability distributions having finite mean and variance.

10 Let us apply this concept to the example of the number of petals on the flowers of a particular species that we considered earlier: EXAMPLE: If a biologist is interested in the number of petals on a particular flower, this number may take the values 3, 4, 5, 6, 7, 8, 9, and each one of these numbers will have its own probability.

11 The probability distribution of the random variable X is:

12  = The mean of this distribution is:  = E(X) = XP(X) = 5.925  5.9
And the standard deviation of this distribution is: =

13 According to the Chebychev’s inequality, the probability is at least 1 - 1/22 = 1 - 1/4 = 3/4 = 0.75 that X will lie between  - 2 and  + 2 i.e. between (1.3) and (1.3) i.e. between and 8.5

14 Let us have another look at the probability distribution:

15 According to this distribution, the probability that X lies between 3
According to this distribution, the probability that X lies between 3.3 and 8.5 is = 0.925 which is greater than 0.75 (AS indicated by the Chebychev’s inequality).

16 Finally, and most importantly, we will use the concepts in Chebychev's Rule and the Empirical Rule to build the foundation for statistical inference-making. The method is illustrated in next example.

17 EXAMPLE Suppose you invest a fixed sum of money in each of five business ventures. Assume you know that 70% of such ventures are successful, the outcomes of the ventures are independent of one another, and the probability distribution for the number, x, of successful ventures out of five is:

18 a) Find  = E(X). Interpret the result.
b) Find Interpret the result.

19 c) Graph P(x). d) Locate  and the interval  + 2 on the graph. Use either Chebychev’s Rule or the Empirical Rule to approximate the probability that x falls in this interval. Compare this result with the actual probability. e) Would you expect to observe fewer than two successful ventures out of five?

20 SOLUTION a) Applying the formula,  = E(X) = x P(x) = 0(.002) + 1(.029) + 2(.132) + 3(.309) + 4.(.360) + 5(.168) = 3.50

21 INTERPRETATION: On average, the number of successful ventures out of five will equal 3.5.
(It should be remembered that this expected value has meaning only when the experiment – investing in five business ventures – is repeated a large number of times.)

22 b) Now we calculate the variance of X:

23 We know that 2 = E[(X - )2] = (x - )2 P(x)

24 Hence, we will need to construct a column of x - :

25 Thus, the variance is 2 = 1.05 and the standard deviation is

26 This value measures the spread of the probability distribution of X, the number of successful ventures out of five.

27 c) The graph of P(x) is shown in the following figure with the mean  and the interval
 + 2 = (1.02) = = (1.46, 5.54) shown on the graph.

28  + 2 (5.54) (1.46)

29 Note particularly that  = 3
Note particularly that  = 3.5 locates the centre of the probability distribution.

30 Since this distribution is a theoretical relative frequency distribution that is moderately mound-shaped, we expect (from Chebychev’s Rule) at least 75% and, more likely (from the Empirical Rule), approximately 95% of observed x values to fall in the interval  + 2 that is, between 1.46 and 5.54.

31 It can be seen from the above figure that the actual probability that X falls in the interval  + 2 includes the sum of P(x) for the values X = 2, X = 3, X = 4, and X = 5.

32  + 2 (5.54) (1.46)

33 This probability is P(2) + P(3) + P(4) + P(5) = = .969. Therefore, 96.9% of the probability distribution lies within 2 standard deviations of the mean.

34 This percentage is CONSISTENT with both the Chebychev’s rule and the Empirical Rule.

35 d) Fewer than two successful ventures out of five implies that x = 0 or x = 1.
Since both these values of x lie outside the interval  + 2, we know from the Empirical Rule that such a result is unlikely (with approximate probability of only .05).

36 The exact probability, P(x < 1), is P(0) + P(1) = .002 + .029 = .031.
Consequently, in a single experiment where we invest in five business ventures, we would not expect to observe fewer than two successful ones.

37 The key question: What is the significance of the Chebychev’s Inequality and the Empirical Rule? The answer to this question is that both these rules assist us in having a certain IDEA regarding amount of data lying between the mean minus a certain number of standard deviations and mean plus that same number of standard deviations.

38 Given any data-set, the moment we compute the mean and standard deviation, we HAVE an idea regarding the two points (i.e. mean minus two standard deviations, and mean plus two standard deviations) between which the BULK of our data lies.

39 If our data-set is hump-shaped, we obtain this idea through the Empirical Rule, and if we don’t have any reason to believe that our data-set is hump-shaped, then we obtain this idea through the Chebychev’s Rule.

40 Next, we begin the discussion of CONTINUOUS RANDOM VARIABLES.

41 In this regard, the first point to be noted is that uptil now we have discussed discrete random variables – quantities that are countable.

42 We now begin the discussion of CONTINUOUS RANDOM VARIABLES – quantities that are measurable.

43 As stated in the very first lecture, continuous variables result from measurement, and can therefore take any value within a certain range. For example, the height of a normal Pakistani adult male may take any value between 5 feet 4 inches and 6 feet.

44 The temperature at a place, the amount of rainfall, time to failure for an electronic system, etc. are all examples of continuous random variable. Formally speaking, a continuous random variable can be defined as follows:

45 CONTINUOUS RANDOM VARIABLE
A random variable X is defined to be continuous if it can assume every possible value in an interval [a, b], a < b, where a and b may be – and + respectively.

46 The function f(x) is called the probability density function, abbreviated to p.d.f., or simply density function of the random variable X.

47 A continuous probability distribution looks something like this:

48 f(x) X

49 A p.d.f. has the following properties:

50 iii) The probability that X takes on a value in the interval [c, d], c < d is given by:
P(c < x < d) = which is the area under the curve y = f(x) between X = c and X = d, as shown in the following figure:

51 c d f(x) P(c < x < d) The TOTAL area under the curve is 1.

52 In other words: 1) f(x) a non-negative function, 2) the integration takes place over all possible values of the random variable X between the specified limits, and 3) the probabilities are given by appropriate areas under the curve.

53 Since it should therefore be noted that the probability of a continuous random variable X taking any particular value k is always zero. That is why probability for a continuous random variable is measurable only over a given interval.

54 Further, since for a continuous random variable X, P(X = x) = 0 for every x, the following four probabilities are regarded as the same: P(c < X < d), P(c < X < d), P(c < X < d) and P(c < X d). They may be different for a discrete random variable.

55 The values (expressed as intervals) of a continuous random variable and their associated probabilities can be expressed by means of a formula.

56 We now discuss the distribution function of a continuous random variable:

57 CONTINUOUS RANDOM VARIABLE
A random variable X may also be defined as continuous if its distribution function F(x) is continuous and is differentiable everywhere except at isolated points in the given range.

58 In contrast with the graph of the distribution function of a discrete variable, the graph of F(x) in the case of a continuous variable has no jumps or steps but is a continuous function for all x-values, as shown in the following figure:

59 1 X F(x) F(a) F(b)

60

61 The relationship between f(x) and F(x) is as follows:

62 f(x) is obtained by finding the derivative of F(x), i.e.

63 Let us now explain the above concepts with the help of an example:

64 EXAMPLE a) Find the value of k so that the function f(x) defined as follows, may be a density function f(x) = kx, 0 < x < 2 = 0, elsewhere b) Compute P(X = 1). c) Compute P(X > 1). d) Compute the distribution function F(x). e)

65 SOLUTION a) The function f(x) will be a density function, if
i) f(x) > 0 for every x, and ii)

66 The first condition is satisfied when k > 0.
The second condition will be satisfied, if

67

68 We had f(x) = kx, 0 < x < 2 = 0, elsewhere and since we have obtained k = 1/2, hence:

69 b) Since f(x) is continuous probability function, therefore
P(X = 1) = 0.

70 c) P(X > 1) is obtained by computing the area under the curve (in this case, a straight line) between X=1 and X=2: 1 2 X f(x) f(x) = x|2

71 This area is obtained as follows:

72 d) To compute the distribution function, we need to find:

73 We do so step by step, as shown below:

74 For any x such that - < x < 0, F(x) = ò - = x , dx

75

76

77 We will discuss the computation of the conditional probability
in the next lecture.

78 IN TODAY’S LECTURE, YOU LEARNT
Chebychev’s Inequality Concept of Continuous Probability Distribution Distribution Function of a Continuous Probability Distribution

79 IN THE NEXT LECTURE, YOU WILL LEARN Mathematical Expectation, Variance & Moments of a Continuous Probability Distribution BIVARIATE Probability Distribution


Download ppt "Virtual University of Pakistan"

Similar presentations


Ads by Google