Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Successfully reported this slideshow.

Like this presentation? Why not share!

- Population and sample by SAYADWAD INSTITUT... 11792 views
- Population & sample lecture 04 by DrZahid Khan 2371 views
- STATISTICS AND PROBABILITY (TEACHIN... by PRINTDESK by Dan 94910 views
- Video slides focus on population & ... by DoctoralNet Limited 778 views
- Population & sample lecture by DrZahid Khan 2663 views
- Sample and population by Ms. Jones 3436 views

1,364 views

Published on

Population and sample mean

Published in:
Data & Analytics

No Downloads

Total views

1,364

On SlideShare

0

From Embeds

0

Number of Embeds

4

Shares

0

Downloads

154

Comments

0

Likes

3

No embeds

No notes for slide

- 1. POPULATION AND SAMPLE MEAN Avjinder Singh Kaler and Kristi Mai
- 2. β’ Estimating a Population Mean β’ π unknown β’ π known β’ Estimating the difference between two population means β’ Independent samples β’ Dependent samples
- 3. Main Ideas: β’ The sample mean is the best point estimate of the population mean β’ We can use a sample mean to construct a C.I. to estimate the true value of a population mean β’ We must learn how to find the sample size necessary to estimate a population mean Recall: β’ π₯ = π₯ π : sample mean β’ π₯ targets π and is an individual value that is used as an estimate (i.e. it is a point estimate for π) Notice: There are two situations when estimating a population mean 1. π, the population standard deviation, is known 2. π, the population standard deviation, is NOT known
- 4. β’ Margin of Error (estimating the population mean when π is known) β’ πΈ = π πΌ/2 β π π β’ Notice: The margin of error changes when what we are estimating changes!! β’ Constructing a C.I. β’ Requirements: ο§ The sample must be a SRS ο§ The value of π is known ο§ The population is normal OR π > 30 β’ C.I.: ο§ π₯ β πΈ < π < π₯ + πΈ ο§ Same as: π₯ Β± πΈ and (π₯ β πΈ, π₯ + πΈ)
- 5. β’ Minimum required sample size β’ Sample size needed: β’ If π is known: π = (π πΌ/2) β π πΈ 2 β’ If not a whole number, ALWAYS round up to the nearest whole number for minimum required sample sizes
- 6. Some Key Points: β’ The sample mean is still the best point estimate of the population mean β’ We can use a sample mean to construct a C.I. to estimate the true value of a population mean even when we do not know the population standard deviation β’ We see that if requirements are generally met but π is unknown, we must use a t-distribution
- 7. The Student t Distribution: β’ If a population has a normal distribution, then the following formula describes the t-distribution: π‘ = π₯βπ π π β’ The above formula is a t-score; a measure of relative standing β’ We are estimating the unknown population standard deviation with the sample standard deviation β’ This estimation would typically lead to unreliability and so we compensate for this inherent unreliability with wider intervals and βfatter tailsβ displayed in the density curve β’ We must utilize a t-table or t-calculator when using the t-distribution β’ We NEED degrees of freedom ο§ Degrees of Freedom (ππ) for a collection of sample data is the number of sample values that can vary after certain restrictions have been imposed upon all the data values
- 8. β’ Recall: β’ π = π₯βπ₯ 2 πβ1 : sample standard deviation β’ Margin of Error ο§ πΈ = π‘ πΌ/2 β π π with ππ = π β 1 ο§ Notice: The margin of error also changes when the information we have changes
- 9. Constructing a C.I. β’ Requirements: β’ The sample must be a SRS β’ The value of π is NOT known β’ The population is normal OR π > 30 β’ C.I.: β’ π₯ β πΈ < π < π₯ + πΈ β’ Same As: π₯ Β± πΈ and π₯ β πΈ, π₯ + πΈ β’ Notice that the C.I. appears to be the same β however, it will NOT be the same as the previous CI for π because (with our uncertainty about π) the margin of error changed
- 10. β’ The student t distribution is different for different sample sizes β’ The t distribution has the same general symmetric bell shape as the Normal distribution, but reflects the greater variability that is expected when samples are smaller β’ The t distribution has a mean of π‘ = 0 just as the standard normal distribution has a mean of π§ = 0
- 11. Is the population normal OR is n>30 Is π known or unknown? Use normal distribution (Normal -Calculator) Use t distribution (t-calculator) Use nonparametric method or bootstrapping technique Yes No Known Unknown
- 12. ο§ Requirements: ο§ The sample must be a SRS ο§ The value of π is known ο§ The population is normal OR π > 30 ο§ Test Statistic: z = π₯βπ π π ο§ π: population mean (assumed true under π»0) Note: p-values and critical values are from Z-table ο§ Requirements: ο§ The sample must be a SRS ο§ The value of π is NOT known ο§ The population is normal OR π > 30 ο§ Test Statistic: t = π₯βπ π π ; ππ = π β 1 ο§ π: population mean (assumed true under π»0) Note: p-values and critical values are from t-table π known π NOT known
- 13. Listed below are the measured radiation emissions (in W/kg) corresponding to a sample of cell phones. Use a 0.05 level of significance to test the claim that cell phones have a mean radiation level that is less than 1.00 W/kg. The summary statistics are: . 0.38 0.55 1.54 1.55 0.50 0.60 0.92 0.96 1.00 0.86 1.46 0.938 and 0.423x sο½ ο½
- 14. Requirement Check: 1. We assume the sample is a simple random sample. 2. The sample size is n = 11, which is not greater than 30, so we must check a normal quantile plot for normality. Note: (See plot on the right) The points are reasonably close to a straight line and there is no other patter, so we conclude that The data appear to be from a normally distributed Population.
- 15. Step 1: The claim that cell phones have a mean radiation level less than 1.00 W/kg is expressed as ΞΌ < 1.00 W/kg. Step 2: The alternative to the original claim is ΞΌ β₯ 1.00 W/kg. Step 3: The hypotheses are written as: Step 4: The stated level of significance is πΌ = 0.05. Step 5: Because the claim is about a population mean ΞΌ, the statistic most relevant to this test is the sample mean: 0 1 : 1.00 W/kg : 1.00 W/kg H H ο ο ο½ οΌ x
- 16. Step 6: Calculate the test statistic and then find the P-value or the critical value using StatCrunch. 0.938 1.00 0.486 0.423 11 xx t s n οο ο ο½ ο½ ο½ ο
- 17. Step 7: Critical Value Method: Because the test statistic of t = β0.486 does not fall in the critical region bounded by the critical value of t = β1.812, fail to reject the null hypothesis.
- 18. Step 7: P-value method: Using StatCrunch, the P-value computed is 0.3187. Since the P-value is greater than Ξ± = 0.05, we fail to reject the null hypothesis. Step 8: Because we fail to reject the null hypothesis, we conclude that there is not sufficient evidence to support the claim that cell phones have a mean radiation level that is less than 1.00 W/kg.
- 19. We can use a confidence interval for testing a claim about ΞΌ. For a two-tailed test with a 0.05 significance level, we construct a 95% confidence interval. For a one-tailed test with a 0.05 significance level, we construct a 90% confidence interval.
- 20. Using the cell phone example, construct a confidence interval that can be used to test the claim that ΞΌ < 1.00 W/kg, assuming a 0.05 significance level. Note that a left-tailed hypothesis test with Ξ± = 0.05 corresponds to a 90% confidence interval. Using StatCrunch, the confidence interval is: 0.707 W/kg < ΞΌ < 1.169 W/kg Because the value of ΞΌ = 1.00 W/kg is contained in the interval, we fail to reject the null hypothesis that ΞΌ = 1.00 W/kg . Based on the sample of 11 values, we do not have sufficient evidence to support the claim that the mean radiation level is less than 1.00 W/kg.
- 21. When Ο is known, we use test that involves the standard normal distribution. In reality, it is very rare to test a claim about an unknown population mean while the population standard deviation is somehow known. The procedure is essentially the same as a t test, with the following exception: The test statistic is The P-value and critical values can be computed using StatCrunch. xx z n ο ο³ ο ο½
- 22. If we repeat the cell phone radiation example, with the assumption that Ο = 0.480 W/kg, the test statistic is: The example refers to a left-tailed test, so the P-value is the area to the left of z = β0.43, which is 0.3342. Since the P-value is greater than πΌ = 0.05, we fail to reject the null and reach the same conclusion as before. 0.938 1.00 0.43 0.480 11 xx z n ο ο³ ο ο ο½ ο½ ο½ ο
- 23. Main Ideas: β’ The sample mean is the best point estimate of the population mean β’ We can use two independent sample means to construct a confidence interval that can be used to estimate the true value of the underlying difference in the corresponding population means β’ We can also test claims about the difference between two population means
- 24. Notation:
- 25. Dependent samples ο§ two samples are dependent if the sample values are paired Independent samples ο§ two samples are independent if the sample values from one are not related to or somehow naturally paired/matched with the sample values from the other
- 26. Requirements: β’ Population standard deviations (π1 and π2) are NOT known and NOT assumed equal β’ The two samples are independent β’ Both samples are SRS β’ Both π1 > 30 and π2 > 30 OR both samples come from populations that are normal
- 27. β’ Margin of Error πΈ = π‘ πΌ/2 β π 1 2 π1 + π 2 2 π2 and ππ = min π1 β 1, π2 β 1 β’ C.I.: π₯1 β π₯2 β πΈ < π1 β π2 < π₯1 β π₯2 + πΈ β’ Notice that we are often interested in whether or not 0 is included within the limits of the confidence interval constructed, i.e., whether or not π1 β π2 = 0 is reasonable
- 28. β’ Requirements: β’ Requirements and degrees of freedom (df) are the same as in the C.I. before β’ Test Statistic: π‘ = π₯1βπ₯2 β π1βπ2 π 1 2 π1 + π 2 2 π2
- 29. Researchers conducted trials to investigate the effects of color on creativity. Subjects with a red background were asked to think of creative uses for a brick; other subjects with a blue background were given the same task. Responses were given by a panel of judges. Researchers make the claim that βblue enhances performance on a creative taskβ. Test the claim using a 0.01 significance level.
- 30. Requirement check: 1. The values of the two population standard deviations are unknown and assumed not equal. 2. The subject groups are independent. 3. The samples are simple random samples. 4. Both sample sizes exceed 30. The requirements are all satisfied.
- 31. The data: Background color Sample size Sample mean Sample standard deviation Red Background n = 35 s = 0.97 Blue Background n = 36 s = 0.63 3.39x ο½ 3.97x ο½
- 32. Step 1: The claim that βblue enhances performance on a creative taskβ can be restated as βpeople with a blue background (group 2) have a higher mean creativity score than those in the group with a red background (group 1)β. This can be expressed as ΞΌ1 < ΞΌ2. Step 2: If the original claim is false, then ΞΌ1 β₯ ΞΌ2. Step 3: The hypotheses can be written as: OR π»0: π1βπ2=0 π»1: π1βπ2<0 0 1 2 1 1 2 : : H H ο ο ο ο ο½ οΌ
- 33. Step 4: The significance level is Ξ± = 0.05. Step 5: Because we have two independent samples and we are testing a claim about two population means, we use a t-distribution. Step 6: Calculate the test statistic. 1 2 1 2 2 2 1 2 1 2 2 2 ( ) ( ) (3.39 3.97) 0 2.979 0.97 0.63 35 36 x x t s s n n ο οο ο ο ο½ ο« ο ο ο½ ο½ ο ο«
- 34. Step 6: Because we are using a t-distribution, the critical value of t = β2.441 is found using StatCrunch. We use 34 degrees of freedom.
- 35. Step 7: Because the test statistic does fall in the critical region, we reject the null hypothesis ΞΌ1 β ΞΌ2. P-Value Method: StatCrunch provides a P-value, and the area to the left of the test statistic of t = β2.979 is 0.0021. Since this is less than the significance level of 0.01, we reject the null hypothesis. Conclusion: There is sufficient evidence to support the claim that the red background group has a lower mean creativity score than the blue background group.
- 36. Using the data from this color creativity example, construct a 98% confidence interval estimate for the difference between the mean creativity score for those with a red background and the mean creativity score for those with a blue background.
- 37. Using StatCrunch, the 98% confidence interval obtained is: β1.05 < π1 β π2 < β0.11 2 2 2 2 1 2 /2 1 2 0.97 0.63 2.441 0.475261 35 36 s s E t n n ο‘ο½ ο« ο½ ο« ο½ 1 23.39 and 3.97x xο½ ο½ 1 2 1 2 1 2 1 2 ( ) ( ) ( ) 1.06 ( ) 0.10 x x E x x Eο ο ο ο ο ο οΌ ο οΌ ο ο« ο οΌ ο οΌ ο
- 38. We are 98% confident that the limits β1.05 and β0.11 actually do contain the difference between the two population means. Because those limits do not include 0, our interval suggests that there is a significant difference between the two means.
- 39. These methods are rarely used in practice because the underlying assumptions are usually not met. 1. The two population standard deviations are both known β’ the test statistic will be a z instead of a t and use the standard normal model. 2. The two population standard deviations are unknown but assumed to be equal β’ pool the sample variances
- 40. 1 2 1 2 2 2 1 2 1 2 ( ) ( )x x z n n ο ο ο³ ο³ ο ο ο ο½ ο« The test statistic will be: P-values and critical values are found using StatCrunch.
- 41. 1 2 1 2 1 2( ) ( ) ( )x x E x x Eο οο ο οΌ ο οΌ ο ο« 2 2 1 2 / 2 1 2 E z n n ο‘ ο³ ο³ ο½ ο«
- 42. The test statistic will be Where the pooled sample variance is with 1 2 1 2 2 2 1 2 ( ) ( ) p p x x t s s n n ο οο ο ο ο½ ο« 2 2 2 1 1 2 2 1 2 ( 1) ( 1) ( 1) ( 1) p n s n s s n n ο ο« ο ο½ ο ο« ο 1 2df 2n nο½ ο« ο
- 43. 1 2 1 2 1 2( ) ( ) ( )x x E x x Eο οο ο οΌ ο οΌ ο ο« 2 2 /2 1 2 p ps s E t n n ο‘ο½ ο« 1 2df 2n nο½ ο« ο
- 44. Independent Samples (Two Additional Methods) β’ π1 πππ π2 known β Z Test / Z Interval β’ π1 = π2 -- Pooled Sample Variance Dependent Samples β’ When samples are paired, we use a different methodology
- 45. Main Ideas: β’ The sample mean is still the best point estimate of the population mean β’ We can use two dependent sample means to construct a confidence interval that can be used to estimate the true value of the underlying difference in the corresponding population means β’ We can also test claims about the difference between two population means β’ In experimental design, using dependent samples is generally better and more practical than assuming two independent samples
- 46. Notation: β’ π: π‘βπ πππππ£πππ’ππ ππππππππππ πππ‘π€πππ π‘π€π π£πππ’ππ ππ π π πππππ πππ‘πβππ ππππ β’ π: π‘βπ ππ’ππππ ππ πππππ ππ πππ‘π β’ π π: π‘βπ ππππ’πππ‘πππ ππππ ππ π‘βπ πππππππππππ πππ πππ π‘βπ πππππ ππ πππ‘π β’ π: π‘βπ π πππππ ππππ ππ π‘βπ πππππππππππ πππ π‘βπ ππππππ π πππππ πππ‘π β’ π π: π‘βπ π πππππ π π‘ππππππ πππ£πππ‘πππ ππ π‘βπ πππππππππππ πππ π‘βπ ππππππ π πππππ πππ‘π
- 47. Requirements β’ The sample data are dependent β’ Both samples are SRS β’ Either π > 30 OR the paired differences come from a population that is normal Margin of Error β’ πΈ = π‘ πΌ/2 β π π π with ππ = π β 1 C.I. β’ π β πΈ < π π < π + πΈ Notice that we are often interested in whether or not 0 is included within the limits of the confidence interval constructed, i.e., whether or not π π = 0 is reasonable
- 48. Requirements: β’ Requirements and Degrees of freedom (ππ) are the same as in the C.I. above Test Statistic: π‘ = πβπ π π π π
- 49. Use the sample data below with a significance level of 0.05 to test the claim that for the population of heights of presidents and their main opponents, the differences have a mean greater than 0 cm (so presidents tend to be taller than their opponents). Height (cm) of President 189 173 183 180 179 Height (cm) of Main Opponent 170 185 175 180 178 Difference d 19 -12 8 0 1
- 50. Requirement Check: 1. The samples are dependent because the values are paired. 2. The pairs of data are randomly selected. 3. The number of data points is 5, so normality should be checked (and it is assumed the condition is met).
- 51. Step 1: The claim is that Β΅d > 0 cm. Step 2: If the original claim is not true, we have Β΅d β€ 0 cm. Step 3: The hypotheses can be written as: 0 0 : 0 cm : 0 cm d d H H ο ο ο½ οΎ
- 52. Step 4: The significance level is Ξ± = 0.05. Step 5: We use the Student t-distribution. The summary statistics are: 3.2 11.4 d s ο½ ο½
- 53. Step 6: Determine the value of the test statistic: with df = 5 β 1 = 4 3.2 0 0.628 11.4 5 d d d t s n οο ο ο½ ο½ ο½
- 54. Step 6: Using StatCrunch, the P-value is 0.282. Using the critical value method:
- 55. Step 7: Because the P-value exceeds 0.05, or because the test statistic does not fall in the critical region, we fail to reject the null hypothesis. Conclusion: There is not sufficient evidence to support the claim that for the population of heights of presidents and their main opponent, the differences have a mean greater than 0 cm. In other words, presidents do not appear to be taller than their opponents.
- 56. Confidence Interval: Support the conclusions with a 90% confidence interval estimate for Β΅d. /2 11.4 2.132 10.8694 5 ds E t n ο‘ο½ ο½ ο½ 3.2 10.8694 3.2 10.8694 7.7 14.1 d d d d E d Eο ο ο ο οΌ οΌ ο« ο οΌ οΌ ο« ο οΌ οΌ
- 57. We have 90% confidence that the limits of β7.7 cm and 14.1 cm contain the true value of the difference in height (presidentβs height β opponentβs height). See that the interval does contain the value of 0 cm, so it is very possible that the mean of the differences is equal to 0 cm, indicating that there is no significant difference between the heights.
- 58. Complete the following: β’ Practice Problems 5 β’ Practice Problems 6

No public clipboards found for this slide

Be the first to comment