Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Virtual University of Pakistan Lecture No. 34 of the course on Statistics and Probability by Miss Saleha Naghmi Habibullah."— Presentation transcript:

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

2 IN THE LAST LECTURE, YOU LEARNT  Sampling Distribution of (continued) Sampling Distribution of  Point Estimation  Desirable Qualities of a Good Point Estimator –Unbiasedness –Consistency

3 TOPICS FOR TODAY  Desirable Qualities of a Good Point Estimator:  Efficiency Methods of Point Estimation:  The Method of Moments  The Method of Least Squares  The Method of Maximum Likelihood Interval Estimation: Confidence Interval for 

4 The students will recall that, in the last lecture, we presented the basic definition of a point estimator, and considered some desirable qualities of a good point estimator.

5 Three main qualities of a good point estimator are:

6 DESIRABLE QUALITIES OF A GOOD POINT ESTIMATOR unbiasedness consistency efficiency

7 In the last lecture, we discussed in some detail the concepts of unbiasedness and consistency.

8 Why is consistency considered a desirable quality? In order to obtain an idea regarding the answer to this question, consider the following:

9 As a sample is only a part of the population, it is obvious that the larger the sample size, the more representative we expect it to be of the population from which it has been drawn.

10 In agreement with the above argument, we will expect our estimator to be close to the corresponding parameter if the sample size is large. Hence, we will naturally be happy if the probability of our estimator being close to the parameter increases with an increase in the sample size. As such, consistency is a desirable property.

11 Another important desirable quality of a good point estimator is EFFICIENCY :

12 EFFICIENCY An unbiased estimator is defined to be efficient if the variance of its sampling distribution is smaller than that of the sampling distribution of any other unbiased estimator of the same parameter.

13

14 Sampling Distribution of T 1 Sampling Distribution of T 2 In the following diagram, since Var (T 1 ) < Var (T 2 ), hence T 1 is more efficient than T 2 :

15 And, if we multiply the above expression by 100, we obtain the relative efficiency in percentage form.

16 It thus provides a criterion for comparing different unbiased estimators of a parameter.

17 Both the sample mean and the sample median for a population that has a normal distribution, are unbiased and consistent estimators of  but the variance of the sampling distribution of sample means is smaller than the variance of the sampling distribution of sample medians.

18 Hence, the sample mean is more efficient than the sample median as an estimator of . The sample mean may therefore be preferred as an estimator.

19 Next, we consider various methods of point estimation. A point estimator of a parameter can be obtained by several methods. We shall be presenting a brief account of the following three methods:

20 METHODS OF POINT ESTIMATION  The Method of Moments  The Method of Least Squares  The Method of Maximum Likelihood

21 These methods give estimates which may differ as the methods are based on different theories of estimation. We begin with the Method of Moments :

22 THE METHOD OF MOMENTS The method of moments which is due to Karl Pearson (1857-1936), consists of calculating a few moments of the sample values and equating them to the corresponding moments of a population, thus getting as many equations as are needed to solve for the unknown parameters.

23 The procedure is described below:

24 Let X 1, X 2, …, X n be a random sample of size n from a population. Then the rth sample moment about zero is and the corresponding rth population moment is

25 We then match these moments and get as many equations as we need to solve for the unknown parameters.

26 The following examples illustrate the method:

27 EXAMPLE-1 Let X be uniformly distributed on the interval (0,  ). Find an estimator of  by the method of moments.

28 SOLUTION The probability density function of the given uniform distribution is

29 Since the uniform distribution has only one parameter, (i.e.  ), therefore, in order to find the maximum likelihood estimator of  by the method of moments, we need to consider only one equation.

30 The first sample moment about zero is And, the first population moment about zero is

31 Hence, the moment estimator of  is equal to i.e. In other words, the moment estimator of  is just twice the sample mean. Matching these moments, we obtain:

32 An Interesting Observation: It should be noted that, for the above uniform distribution, the mean is given by (This is so due to the absolute symmetry of the uniform distribution around the value

33 Now, implies that In other words, if we wish to have the exact value of , all we need to do is to multiply the population mean  by 2.

34 Generally, it is not possible to determine , and all we can do is to draw a sample from the probability distribution, and compute the sample mean  X. Hence, naturally, the equation will be replaced by the equation (Asprovides an estimate of , hence a ‘hat’ is placed on top of .)

35 It is interesting to notethat is exactly the same quantity as what we obtained as an estimate of  by the method of moments ! (The result obtained by the method of moments coincides with what we obtain through simple logic.)

36 EXAMPLE-2 Let X 1, X 2, …, X n be a random sample of size n from a normal population with parameters  and  2. Find these parameters by the method of moments.

37 SOLUTION Here we need two equations as there are two unknown parameters,  and  2.

38 The first two sample moments about zero are

39 The corresponding two moments of a normal distribution are  1 =  and  2 =  2 +  2. (  2 =  2 –  1 2 =  2 –  2 )

40 To get the desired estimators by the method of moments, we match them. Thus, we have :

41

42 A shortcoming of this method is that the moment estimators are, in general, inefficient.

43 Next, we consider the Method of Least Squares :

44 The method of Least Squares, which is due to Gauss (1777-1855) and Markov (1856-1922), is based on the theory of linear estimation. It is regarded as one of the important methods of point estimation.

45 THE METHOD OF LEAST SQUARES An estimator found by minimizing the sum of squared deviations of the sample values from some function that has been hypothesized as a fit for the data, is called the least squares estimator.

46 The method of least-squares has already been discussed in connection with regression analysis that was presented in Lecture No. 15. The students will recall that, when fitting a straight line y = a+bx to real data, ‘a’ and ‘b’ were determined by minimizing the sum of squared deviations between the fitted line and the data-points.

47 The y-intercept and the slope of the fitted line i.e. ‘a’ and ‘b’ are least-square estimates (respectively) of the y-intercept and the slope of the TRUE line that would have been obtained by considering the entire population of data- points, and not just a sample.

48 Next, we consider the Method of Maximum Likelihood :

49 The method of maximum likelihood is regarded as the MOST important method of estimation, and is the most widely used method. This method was introduced in 1922 by Sir Ronald A. Fisher (1890-1962).

50 The mathematical technique of finding Maximum Likelihood Estimators is a bit advanced, and involves the concept of the Likelihood Function. In this course, we consider only the overall logic of this method:

51 RATIONALE OF THE METHOD OF MAXIMUM LIKELIHOOD (ML) “To consider every possible value that the parameter might have, and for each value, compute the probability that the given sample would have occurred if that were the true value of the parameter. That value of the parameter for which the probability of a given sample is greatest, is chosen as an estimate.”

52 An estimate obtained by this method is called the maximum likelihood estimate (MLE).

53 It should be noted that the method of maximum likelihood is applicable to both discrete and continuous random variables.

54 Let us consider a few examples:

55 EXAMPLES OF MLE’s IN CASE OF DISCRETE DISTRIBUTIONS Example-1: For the Poisson distribution given by the MLE of  is  X (the sample mean).

56 Example-2: For the geometric distribution given by the MLE of p is Hence, the MLE of p is equal to the reciprocal of the mean.

57 Example-3: For the Bernoulli distribution given by the MLE of p is (the sample mean).

58 EXAMPLES OF MLE’s IN CASE OF CONTINUOUS DISTRIBUTIONS Example-1: For the exponential distribution given by the MLE of  is (the reciprocal of the sample mean).

59 Example-2: For the normal distribution with parameters  and  2, the joint ML estimators of  and  2 are the sample mean and the sample variance S 2 (which is not an unbiased estimator of  2 ).

60 As indicated many times earlier, the normal distribution is encountered frequently in practice, and, in this regard, it is both interesting and important to note that, in the case of this frequently encountered distribution, the simplest formulae (i.e. the sample mean and the sample variance ) fulfil the criteria of the relatively advanced method of maximum likelihood estimation !

61 The last example among the five presented above (the one on the normal distribution) points to another important fact --- and that is :

62 The Maximum Likelihood Estimators are consistent and efficient but not necessarily unbiased.

63 (As we know, S 2 is not an unbiased estimator of  2.)

64 Let us apply this concept to a real-life example:

65 EXAMPLE It is well-known that human weight is an approximately normally distributed variable. Suppose that we are interested in estimating the mean and the variance of the weights of adult males in one particular province of a country.

66 A random sample of 15 adult males from this particular population yields the following weights (in pounds): 131.5136.9133.8130.1133.9 135.2129.6134.4130.5134.2 131.6136.7135.8134.5132.7 Find the maximum likelihood estimates for  1 =  and  2 =  2.

67 SOLUTION The above data is that of a random sample of size 15 from N( ,  2 ). It has been mathematically proved that the joint maximum likelihood estimators of  and  2 are  X and S 2.

68 We compute these quantities for this particular sample, and obtain  X = 133.43, and S 2 = 5.10. These are the Maximum Likelihood Estimates of the mean and variance of the population of weights in this particular example.

69 Having discussed the concept of point estimation in some detail, we now begin the discussion of the concept of interval estimation :

70 As stated earlier, whenever a single quantity computed from the sample acts as an estimate of a population parameter, we call that quantity a point estimate e.g. the sample mean is a point estimate of the population mean .

71 The limitation of point estimation is that we have no way of ascertaining how close our point estimate is to the true value (the parameter).

72 For example, we know that is an unbiased estimator of  i.e. if we had taken all possible samples of a particular size from the population and calculated the mean of each sample, then the mean of the sample means would have been equal to the population mean (  ), but in an actual survey we will be selecting only one sample from the population and will calculate its mean. We will have no way of ascertaining how close this particular is to .

73 Whereas a point estimate is a single value that acts as an estimate of the population parameter, interval estimation is a procedure of estimating the unknown parameter which specifies a range of values within which the parameter is expected to lie.

74 A confidence interval is an interval computed from the sample observations x 1, x 2 ….x n, with a statement of how confident we are that the interval does contain the population parameter.

75 We develop the concept of interval estimation with the help of the example of the Ministry of Transport test to which all cars, irrespective of age, have to be submitted :

76 EXAMPLE Let us examine the case of an annual Ministry of Transport test to which all cars, irrespective of age, have to be submitted. The test looks for faulty breaks, steering, lights and suspension, and it is discovered after the first year that approximately the same number of cars have 0, 1, 2, 3, or 4 faults.

77 You will recall that when we drew all possible samples of size 2 from this uniformly distributed population, the sampling distribution of  X was triangular :

78 1/25 0 0.51.01.52.02.53.03.54.0 2/25 3/25 4/25 5/25 0.0 Sampling Distribution of  X for n = 2

79 But when we considered what happened to the shape of the sampling distribution with if the sample size is increased, we found that it was somewhat like a normal distribution:

80 4/125 0 0.000.330.671.001.331.672.002.332.673.003.333.674.00 8/125 12/125 16/125 20/125 Sampling Distribution of  X for n = 3

81 And, when we increased the sample size to 4, the sampling distribution resembled a normal distribution even more closely :

82 Sampling Distribution of  X for n = 4 20/625 0 40/625 60/625 80/625 100/625 0.750.500.250.001.751.501.251.002.752.502.252.003.753.503.253.004.00

83 It is clear from the above discussion that as larger samples are taken, the shape of the sampling distribution of  X undergoes discernible changes. In all three cases the line charts are symmetrical, but as the sample size increases, the overall configuration changed from a triangular distribution to a bell- shaped distribution.

84 In other words, for large samples, we are dealing with a normal sampling distribution of. In other words:

85 When sampling from an infinite population such that the sample size n is large,  X is normally distributed with mean  and variance i.e.  X is

86 Hence, the standardized version of  X i.e. is normally distributed with mean 0 and variance 1 i.e. Z is N(0, 1).

87 Now, for the standard normal distribution, we have:

88 1.96 0 -1.96 0.4750 0.0250 Z For the standard normal distribution, we have: The above is equivalent to P(-1.96 < Z < 1.96) = 0.4750 + 0.4750 = 0.95

89 1.96 0 -1.96 0.95 0.025 Z

90 In other words: The above can be re-written as:

91 or

92 The above equation yields the 95% confidence interval for  :

93 The 95% confidence interval for  is

94 In other words, the 95% C.I. for  is given by

95 In a real-life situation, the population standard deviation is usually not known and hence it has to be estimated.

96 It can be mathematically proved that the quantity is an unbiased estimator of  2 (the population variance).

97 (just as the sample mean is an unbiased estimator of  ).

98 In this situation, the 95% Confidence Interval for  is given by:

99 The points are called the lower and upper limits of the 95% confidence interval.

100 IN TODAY’S LECTURE, YOU LEARNT  Desirable Qualities of a Good Point Estimator:  Efficiency Methods of Point Estimation:  The Method of Moments  The Method of Least Squares  The Method of Maximum Likelihood Interval Estimation: Confidence Interval for 

101 IN THE NEXT LECTURE, YOU WILL LEARN Confidence Interval for  (continued) Confidence Interval for  1 -  2 Large Sample Confidence Intervals for p and p 1 -p 2 Determination of Sample Size


Download ppt "Virtual University of Pakistan Lecture No. 34 of the course on Statistics and Probability by Miss Saleha Naghmi Habibullah."

Similar presentations


Ads by Google