Presentation is loading. Please wait.

Presentation is loading. Please wait.

Today Today: Finish Chapter 9, start Chapter 10 Sections from Chapter 9: 9.1, 9.4, 9.5, 9.10 (know just class notes for these sections) Recommended Questions:

Similar presentations


Presentation on theme: "Today Today: Finish Chapter 9, start Chapter 10 Sections from Chapter 9: 9.1, 9.4, 9.5, 9.10 (know just class notes for these sections) Recommended Questions:"— Presentation transcript:

1 Today Today: Finish Chapter 9, start Chapter 10 Sections from Chapter 9: 9.1, 9.4, 9.5, 9.10 (know just class notes for these sections) Recommended Questions: 9.1, 9.8, 9.20, 9.23, 9.25

2 Assignment due Friday April 4 Assignment: 9.21, 9.22, 9.24,

3 Example A recent CNN/USA Today/Gallup poll suggests that while Americans are clearly upset with France, one might characterize current Franco-American tensions more as a spat between siblings than the beginning of a war between mortal enemies The poll, conducted March 14-15, shows that 64% of Americans currently express an unfavorable view of France, while only about half that number, 34%, have a favorable view Results are based on telephone interviews with 1,007 national adults, aged 18+. For results based on the total sample of national adults, the margin of sampling error is ±3 percentage points What is missing?

4 How to Change the Width of a C.I.

5 Small Sample Confidence Intervals for Means When constructing large sample confidence intervals, have assumed: –The sample mean is approximately normal –The sample variance is close to the population variance What is the sample size is not large? If the parent population is close to normal, the sample mean is likely to be close to normally distributed Z-score is almost distributed as a standard normal…just a little more spread out

6 Small Sample Confidence Intervals for Means

7 Example A poultry processing company has received a shipment of 2000 Cornish hens, and the firm's quality manager wishes to estimate the true average weight of the hens The firms goal is that the average weight of each hen should be at least 1 kg They take a sample of 20 hens, and the mean weight of hens from the sample is 985 g with a sample standard deviation of 200g. An approximate 95% confidence interval for the true mean weight of the hens is:

8 Example To assess the accuracy of a laboratory scale, a standard weight known to be 10 grams is weighed 5 times The reading are normally distributed with unknown mean and a standard deviation Mean result is 10.0023 grams with sample standard deviation of of 0.0002 grams Find a 90% confidence interval for the mean

9 Summary of C.I.’s Ideally, the interval contains the true parameter value In practice, not possible to guarantee because of sample to sample variation Instead, we compute the interval so that before sampling, the interval will contain the true value with high probability This high probability is called the confidence level of the interval The purpose of a confidence interval is to give a range of plausible values for the true population mean based on a sample taken from the population It does NOT give a range for individual values in the population

10 Summary of C.I.’s The confidence interval has two parts - the actual interval and the confidence level Should use the normal distribution based intervals when: Should use the T-distribution based intervals when: As you increase the confidence level, the multiplier increases and the interval gets wider. As you increase the sample size, the interval gets narrower.

11 Chapter 10 – Significance Testing Can use random samples to estimate characteristics of a distribution Can also collect data to help answer questions about a population Example: –Heights of one-year-old girls normally distributed with mean 30 inches and standard deviation of 1.2 inches –Company claims taking 500 mg of Vitamin C makes the girls taller –How can we assess the company’s claim?

12 Significance Testing Significance testing is a statistical technique to test if a conjecture about a population parameter is true Has 5 Main Steps: –Null and Alternate Hypotheses –Test Statistic –Specification of an “extreme value” –P-Value –Decision based on pre-specified error rate

13 Hypotheses Hypotheses are statements about a population and is expressed in terms of the population parameters Begin by making an assumption of no change –(Treatment has no effect) This statement is called the null hypothesis (H 0 ) Test will be designed to assess evidence against H 0

14 Hypotheses Hypothesis we suspect is true is called the alternate hypothesis (H 1 ) Assume H 0 is true, collect data and see if there is evidence against H 0 and in favor of H A

15 Hypotheses Each hypothesis can be expressed in terms of a model (e.g., a normal distribution with mean greater than 30 inches) The hypotheses are made about a population of interest This is the population from which the sample is drawn

16 Example Heights of one-year-old girls normally distributed with mean 30 inches and standard deviation of 1.2 inches Company claims taking 500 mg of Vitamin C makes the girls taller H 0 : H A : Population:

17 Test Statistic Test statistic measures compatibility between H 0 and the data It is based on 2 principles: –based on estimate of the parameter that appears in the hypotheses –measures distance of estimate from the hypothesized value When H 0 is true, we expect the value of estimate to be close to parameter on average

18 Example (continued) Suppose a random sample of 100 baby girls are given 500 mg of vitamin C daily for 1 year Mean height of the girls after 1 year is 32 inches (estimates population mean) What is the distribution of if H 0 is true? What is the distribution of if H A is true?

19 P-Value Assume that H 0 is true The P-value is the the probability of observing a test statistic as extreme or more extreme than the value actually observed when H 0 is true What does a small p-value imply? How small is small?

20 Example (continued) If H 0 is true, the distribution of the sample mean is: What does “extreme” mean in this context? P-value=

21 Specification of Extreme Value How small must the p-value be to reject H 0 ? Must decide which value of the test statistic give evidence in favor of H 1 Would like the probability of observing such values to be small when H 0 is true The significance level of the test is:

22 Decision How small must the p-value be to reject H 0 ? Must decide which value of the test statistic give evidence in favor of H 1 Would like the probability of observing such values to be small when H 0 is true The significance level of the test is:

23 Example (continued): P-value= Significance level: Decision:

24 Hypothesis Testing is Similar to a Jury Trial H 0 : state of no change H 1 : condition believed to be true Collect data and compute test statistic Compute p-value Reject or do not reject H 0 based on significance level Not Guilty Guilty Collect evidence Weigh evidence Decide if evidence is in favor of guilty beyond a reasonable doubt

25 How do we interpret significance level Some common significance levels: Have we proven that H 0 is true or false?

26 Z-Test for the Population Mean Have a random sample of size n ; x 1, x 2, …, x n Test Statistic: Can be used for normal population or for large samples (why?)

27 Z-Test for the Population Mean (cont.) P-value depends on the alternative hypothesis: –

28 Example: Scientists believe that abused children show elevated levels of depression To test this assertion, as random sample of 50 abused children were given a Profile of Moods States (POMS) test The results showed a mean depression score of 17.3 and standard deviation of 5.4 Test, at the 5% level, whether abused children have a higher mean depression that that of the general population (mean=15)

29 Example: A study titled “St. John’s Wort: Effect on CYP3A4 Activity” (Clinical Pharmacology and Therapeutics, 2000) reported a study that assesed urinary 6-beta-horoxycortisol/cortisol ratio in 12 subjects after 14 days of therapy with St. John’s Wort. The baseline mean ratio for the target population is 7.0 and the scientists wished to determine if the therapy resulted in increased a urinary 6-beta-horoxycortisol/cortisol ratio Using the data below, test this hypothesis


Download ppt "Today Today: Finish Chapter 9, start Chapter 10 Sections from Chapter 9: 9.1, 9.4, 9.5, 9.10 (know just class notes for these sections) Recommended Questions:"

Similar presentations


Ads by Google