Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 When we free ourselves of desire, we will know serenity and freedom.

Similar presentations


Presentation on theme: "1 When we free ourselves of desire, we will know serenity and freedom."— Presentation transcript:

1 1 When we free ourselves of desire, we will know serenity and freedom.

2 2 Inferences about One Population Mean Estimation: z interval and t interval Statistical tests: z test and t test

3 3 Estimation To estimate a numerical summary in population (parameter): Point estimator — A (same) numerical summary in sample; a statistic Interval estimator — a “random” interval which includes the parameter most of time

4 Example: Serum Cholesterol Level Population: all 20- to 74-year-old male smokers in the U.S. X: serum cholesterol level Distribution: normal with unknown mean  Sample: 12 randomly selected male smokers with mean Question: what is the mean serum cholesterol level of adults U.S. male smokers? 4

5 5 Confidence Interval Ideally, a short interval with high confidence interval is preferred.

6 6

7 7 Estimation for  Point estimator: Confidence interval – Normality with known  or large sample (n > 30) :  interval – Normality with unknown  t interval

8 The t distribution The distribution of t, the standardized sample mean with estimated standard deviation for a normal population 8

9 9

10 10 One Population

11 11 Sample Size for Estimating  Where E is the largest tolerable error. if  is unknown, use s from prior data or the upper bound of 

12 Hypothesis Test The null hypothesis: The alternative hypothesis: Question: Should we reject or not reject Ho? 12

13 13 The Logic of Hypothesis Test “Assume the null hypothesis Ho is a (possible) truth until proven false” Analogical to “Presumed innocent until proven guilty” The logic of the US judicial system

14 Rejection Region When the observed test statistic is too “extreme” under Ho (i.e. in the opposite direction of Ho), the Ho should be rejected Rejection Region is the region when the observed test statistic falls in, we will reject Ho A test result is determined by its rejection region, while rejection region is determined by the significance level 14

15 15 Good! Good!(Correct!) H 0 trueH 0 false Type II Error, or “  Error” Type I Error, or “  Error” Good! Good!(Correct) we accept H 0 we reject H 0 Types of Errors

16 Terms  Type I error rate = probability of incorrectly rejecting Ho  Type II error rate = probability of incorrectly accepting Ho Significance level is the pre-set largest tolerable  level Power = probability of correctly rejecting Ho = 1-  16

17 17 Z Test Statistic For normal populations or large samples (n > 30): And the computed value of Z is denoted by Z*.

18 18 Types of Tests

19 19 Types of Tests

20 20 Types of Tests

21 21 Example: Serum Cholesterol Level Assuming the population S.D. is 46 mg/100ml, conduct the test at 5 % level What is the power of the test at the true  221 mg/100ml?

22 22

23 23 Steps in Hypothesis Test 1. Set up the null (Ho) and alternative (Ha) hypotheses 2. Find an appropriate test statistic (T.S.) 3. Find the rejection region (R.R.) 4. Reject Ho if the observed test statistic falls in R.R. 5. Report the result in the context of the situation

24 24 t Test Statistic For normal populations with unknown s the same formula for Z but replacing  by s

25 25 One Population

26 26 Sample Size for Testing  The type I, II error rates are controlled at  respectively and the maximum tolerable error is  One-tailed tests: Two-tailed tests:

27 27 P-value p-value is the probability of seeing what we observe as far as (or further) from Ho (in the direction of Ha) given Ho is true; the smallest  level to reject Ho p-value is computed by assuming Ho is true and then determining the probability of a result as extreme (or more extreme) as the observed test statistic in the direction of the Ha. The smaller p-value is, the less likely that what we observe will occur given Ho is true. Smaller p-value means stronger evidence against Ho.

28 28 Computing the p-Value for the Z-Test

29 29 Computing the p-Value for the Z-Test

30 30 Computing the p-Value for the Z-Test P-value = P(|Z| > |z*| )= 2 x P(Z > |z*|)

31 31 Hypothesis Test using p-Value 1. Set up the null (Ho) and alternative (Ha) hypotheses 2. Find an appropriate test statistic (T.S.) 3. Find the p-value 4. Reject Ho if the p-value <  5. Report the result in the context of the situation

32 32 Example: Serum Cholesterol Level Assuming the population S.D. is 46 mg/100ml, conduct the test at 5 % level


Download ppt "1 When we free ourselves of desire, we will know serenity and freedom."

Similar presentations


Ads by Google