Presentation is loading. Please wait.

Presentation is loading. Please wait.

STT 315 This lecture is based on Chapter 4.6-4.11. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for.

Similar presentations


Presentation on theme: "STT 315 This lecture is based on Chapter 4.6-4.11. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for."— Presentation transcript:

1 STT 315 This lecture is based on Chapter 4.6-4.11. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing him to use/edit some of their slides.

2 Normal Distribution 2

3 Normal random variable A normal random variable X – is a continuous random variable – has a probability distribution which is bell-shaped, i.e., unimodal, symmetric. In many data-sets, the histogram is bell-shaped. These data-sets can be modeled using normal distribution. 3

4 Normal distribution 4

5 Computing normal probabilities 5

6 6 Approximately what percent of U.S. women do you expect to be between 66 in and 67 in tall? Heights of adult women are normally distributed with – mean of 63.6 in, – standard deviation of 2.5 in. Use TI 83/84 Plus. – Press [2nd] & [VARS] (i.e. [DISTR]) – Select 2: normalcdf – Format of command: normalcdf(lower bound, upper bound, mean, std.dev.) For this problem: normalcdf(66, 67, 63.6, 2.5) = 0.0816. i.e. about 8.2% of adult U.S. women have heights between 66 in and 67 in.

7 7 Approximately what percent of U.S. women do you expect to be less than 64 in tall? Heights of adult women are normally distributed with – mean of 63.6 in, – standard deviation of 2.5 in. Note that here upper bound is 64, but there is no mention of lower bound. So take a very small value for lower bound, say -1000. For this problem normalcdf(-1000, 64, 63.6, 2.5) = 0.5636. i.e. about 56.4% of adult U.S. women have heights less than 64 in.

8 8 Approximately what percent of U.S. women do you expect to be more than 58 in tall? Heights of adult women are normally distributed with – mean of 63.6 in, – standard deviation of 2.5 in. Note that here lower bound is 58, but there is no mention of upper bound. So take a very high value for upper bound, say 1000. For this problem normalcdf(58, 1000, 63.6, 2.5) = 0.987. i.e. 98.7% of adult U.S. women have heights more than 58 in.

9 9 What about men’s height? Heights of adult men are normally distributed with – mean of 69 in, – standard deviation of 2.8 in. normalcdf(60, 1000, 69, 2.8) = 0.999. Hence 99.9% adult male will have height more than 60 in. normalcdf(64, 1000, 69, 2.8) = 0.963. So 96.3% adult male will have height more than 64 in. Thus for U.S. Army height restriction for women is more restrictive compared to men. But for U.S. Marine height restriction for men is more restrictive compared to women.

10 10 Below what height 80% of U.S. men do have their heights? Heights of adult men are normally distributed with – mean of 69 in, – standard deviation of 2.8 in. The question is to find the height x such that {Percent of men’s height < x } = 80% = 0.8. Use TI 83/84 Plus. – Press [2nd] & [VARS] (i.e. [DISTR]) – Select 3: invNorm – Format of command: invNorm(fraction, mean, std.dev.) For this problem: invNorm(0.8, 69, 2.8) = 71.36. i.e. 80% of U.S. men have heights less than 71.36 in.

11 11 Remark: invNorm invNorm only considers percentage or fraction in the lower tail of normal distribution. For example, suppose the question is “Above what height 10% of U.S. men do have their heights?” Notice here the question is find the height x such that {Percent of men’s height > x } = 10% = 0.1. This means {Percent of men’s height < x } = (100-10)% = 90% = 0.9. For this problem: invNorm(0.9, 69, 2.8) = 72.59. i.e. 90% of U.S. men have heights less than 72.59 in, i.e. 10% of U.S. men have heights more than 72.59 in.

12 Normal approximation of binomial distribution 12

13 How large n should be? 13

14 Example 14

15 Example 15

16 Sum of independent random variables 16

17 Combining Random Variables 17

18 Example 18

19 Example Suppose X and Y are two independent random variables with E(X) = 4, V(X) = 2, E(Y) = -3, V(Y) = 4. Then  E(3X-2Y) = E(3X) - E(2Y) = 3E(X) - 2E(Y) = 3×4 - 2×(-3) = 12 + 6 = 18. 19

20 Example Suppose X and Y are two independent random variables with E(X) = 4, V(X) = 2, E(Y) = -3, V(Y) = 4. Then  V(3X-2Y) = V(3X) + V(2Y) = 3 2 V(X) + 2 2 V(Y) = 9×2 + 4×4 = 18 + 16 = 34.  σ(3X-2Y) = std. dev. of (3X-2Y) = √ V(3X-2Y) = √ 34 = 5.83. 20

21 Example 21 Random variables ExpectationsVariances X-42 Y26 Z94

22 Another Example 22 Random variables ExpectationsStandard deviations X01 Y0.23 Z2.45

23 Sum of independent normal random variables 23

24 Example 24

25 Example 25

26 Uniform distribution 26

27 Uniform distribution 27

28 Example 28

29 Example 29

30 Exponential distribution 30

31 Exponential distribution 31

32 Example 32

33 Sampling distributions 33

34 34 Remember Population is the complete set of all items that we are interested in studying. Parameters are the values we calculate from the population data. Population mean (for quantitative variables), population proportion (categorical variables) etc. are the examples of parameters. A sample is a subset of the population. Statistics are values we compute from sample data. Sample mean, sample proportion etc. are the examples of statistics. Our goal is to make inference on parameters based on relevant statistics.

35 35 An example Consider a population with 10 individuals with the following smoking habit: Individual #: 12345678910 Smoking habit: NNNNSSNNSN So 3 out of 10 people in the population is smoker. Here the population proportion of smoker is: where S = smoker, and N = non-smoker.

36 36 An example Suppose we decide to estimate population proportion on the basis of a sample proportion. Suppose simple random samples of size 4 (with replacement) are considered. Individuals selectedSmoking habitSample proportion (2, 4, 4, 9)(N, N, N, S)1/4 = 0.25 (4, 7, 8, 10)(N, N, N, N)0/4 = 0 (5, 6, 8, 8)(S, S, N, N)2/4 = 0.5 Notice that the sample proportion’s value depends on the sample selected, but the population proportion’s value is fixed.

37 37 Few questions Can we justify the use of sample proportion as an estimator of population proportion? What can we expect about the value of sample proportion when population proportion (p) is 0.3? Does this behavior depend on the value of p? What is the “margin of error”, if we estimate p with sample proportion? (To be answered in a later lecture.) As sample proportion is a variable, what is its distribution?

38 38 Few questions Does it matter how the sample is selected? Does the sample size matter? Is this a problem of population proportion only? Or do we face it for other parameters also?  This is a problem for all parameters, which are fixed in value for a particular population.  The value of any statistic changes with the sample selected.

39 39 Sampling Distribution As any statistic’s value changes with the selected sample, so statistic is a itself a random variable. The probability distribution of a sample statistic is called the sampling distribution of the statistic. In this course we shall study sampling distributions of sample proportion and sample mean.

40 40 Sampling method and sample size Samples must be independent.  Simple random sampling “with replacement” ensures independence.  Holds (approximately) also for “without replacement” sampling as long as the sample size is smaller than 10% of the population size. Sample size must be “large enough”.  What is “large enough” depends on the statistic we are considering, i.e. different rules of “large enough” for sample proportion and sample mean.  It is the “sample size” what is important, NOT what fraction of population is sampled.

41 41

42 42 Sampling distribution of sample proportion

43 43 Sampling distribution of sample proportion

44 44 Sampling distribution of sample proportion

45 45 Example One Is the independence condition met? Most likely NO, because the cars moving at the same time may influence each others behavior. Of all the cars on the highway, about 80% exceed the speed limit. If we clock the next 50 cars that pass, what might we expect to find? Suppose we randomly select 50 cars that pass. Is the independence condition met? Yes.

46 46 Example One Because, np = 50×0.8 = 40 > 9, and n(1-p) = 50×0.2 = 10 > 9. Of all the cars on the highway, about 80% exceed the speed limit. Suppose we randomly select 50 cars that pass. Is sample size large enough condition met? a) Yes b) No

47 47 Example One Of all the cars on the highway, about 80% exceed the speed limit. Suppose we randomly select 50 cars that pass. What is the expected proportion of cars in the sample to exceed the speed limit? A. 20% B. 80% C. 2.83% D. 0.057%

48 48 Example One Of all the cars on the highway, about 80% exceed the speed limit. Suppose we randomly select 50 cars that pass. What is the standard deviation of the sample proportion of cars exceeding the speed limit? A. 20 B. 80 C. 2.83 D. 0.057

49 49 Example One Of all the cars on the highway, about 80% exceed the speed limit. Suppose we randomly select 50 cars that pass. What is the chance that more than 90% of cars in the sample exceeded the speed limit? A. 0.80 B. 0.20 C. 0.057 D. 0.039 E. 0.961 normalcdf(0.9,100,0.8,0.057) = 0.039.

50 50

51 51 Sampling distribution of sample mean

52 52 Central Limit Theorem (CLT)

53 53 Example Two What is the expected value of sample mean? A.34 lb B.7.2 lb C.7.8 lb D.2.1 lb At birth, babies average 7.8 pounds, with a standard deviation of 2.1 pounds. A random sample of 34 babies born to mothers living near a factory that might be polluting the air and water shows a mean birth-weight of only 7.2 pounds.

54 54 Example Two What is the standard deviation of sample mean? A.1.23 lb B.7.2 lb C.0.36 lb D.2.1 lb At birth, babies average 7.8 pounds, with a standard deviation of 2.1 pounds. A random sample of 34 babies born to mothers living near a factory that might be polluting the air and water shows a mean birth-weight of only 7.2 pounds.

55 55 Example Two What is the chance that the sample mean is lower than 7.2 lbs? A.0.952 B.0.388 C.0.612 D.0.048 At birth, babies average 7.8 pounds, with a standard deviation of 2.1 pounds. A random sample of 34 babies born to mothers living near a factory that might be polluting the air and water shows a mean birth-weight of only 7.2 pounds. normalcdf(-100, 7.2, 7.8, 0.36) = 0.048.

56 Example 56

57 Example 57


Download ppt "STT 315 This lecture is based on Chapter 4.6-4.11. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for."

Similar presentations


Ads by Google