Sampling Distributions:(6.4) 1) Sampling Distributions of sample Mean ๐ฅฬ 2) Sampling Distribution of the sample Proportion ๐ฬ : 3) Sampling Distribution of the two sample means ๐ฅฬ 1 − ๐ฅฬ 2 โซุงูู ุญุงุถุฑู ุงุงูุถุงูููโฌ 4) Sampling Distribution of the two sample Proportions ๐ฬ1 − ๐ฬ2 โซุงูู ุญุงุถุฑูโฌ โซุงุงูุถุงูููโฌ (ask about probability of sample statistics xฬ , pฬ , xฬ 1 − xฬ 2 , pฬ1 − pฬ2 )and give information about population parameters Steps to answer: ๏ท Compute means (๐๐ฅฬ , ๐๐ฅฬ 1−๐ฅฬ 2 , ๐๐ฬ , ๐๐ฬ1−๐ฬ2 ) ๏ท Compute variance (๐ 2 ๐ฅฬ , ๐ 2 ๐ฅฬ 1−๐ฅฬ 2 , ๐ 2 ๐ฬ , ๐ 2 ๐ฬ1−๐ฬ2 ) ๏ท Compute standard deviation or "sd" Standard error s.e "(๐๐ฅฬ , ๐๐ฅฬ 1−๐ฅฬ 2 , ๐๐ฬ , ๐๐ฬ1−๐ฬ2 ) ๏ท Use ๐ง = ๐ฃ๐๐๐ข๐−๐๐๐๐ ๐ ๐ก๐๐๐๐๐๐ ๐๐๐๐๐ ,(Standard deviation = Standard error) Symbol sample mean variance Standard deviation proportion ๐ฅฬ ๐ 2 s ๐ฬ population µ ๐๐ σ p Estimate population parameters ๏ท point estimate ๏ท interval estimate point estimate: Point estimate for Point estimate for Point estimate for Point estimate for Point estimate for (µ ) is ๐ฅฬ (σ ) is S ฬ (p ) is ๐ (µ๐ -๐๐ ) is ๐ฅฬ 1 − ๐ฅฬ 2 (๐๐ -๐๐ ) is ๐ฬ1 − ๐ฬ2 Interval estimate(ch6) 1) 2) 3) 4) 5) interval for population mean µ interval for two population means µ๐ -๐๐ (not related) interval for population proportion p interval for two population proportions ๐๐ -๐๐ interval for two population means µ๐ -๐๐ (related or paired)(in chapter 7) (ask about population parameters µ , µ๐ -๐๐ , p , ๐๐ -๐๐ and give information about sample statistics ) The general formula: point estimate ± (table value(z or t)) × √ ๐ฃ๐๐๐๐๐๐๐ ๐ ************************************************** ๐ ๐2 = ๐๐ ๐ก๐๐๐๐ก๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐ฃ๐๐๐๐๐๐๐ ๐ ๐ = ๐๐ ๐ก๐๐๐๐ก๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐ก๐๐๐๐๐๐ ๐๐๐ฃ๐๐๐ก๐๐๐ ๐ง1.๐ผ , ๐ก1.๐ผ = reliability coefficient , ๐ก๐๐๐๐ ๐ฃ๐๐๐ข๐ 2 2 ๐ฬ = pooled estimate proportion Test Hypotheses (ch7) 1) test for population mean µ 2) test for two population means µ๐ -๐๐ (not related) note: degree of freedom for T is (๐๐ = ๐1 + ๐2 − 2) (when use T-test) 3) test for population proportion p 4) test for two population proportions ๐๐ -๐๐ 5) test for two population means µ๐ -๐๐ (related or paired) note: degree of freedom for T is (๐๐ = ๐ − 1) ask about population parameters µ , µ๐ -๐๐ , p , ๐๐ -๐๐ and give information about sample statistics Steps 1) 2) 3) 4) 5) 6) data assumptions hypotheses test statistic decision conclusion โซุงูุฌุฏุงูู ู ู ุงูุชุนุฏูู ุงูุฐู ุฃุฑุณููุงู ููู โฌ Note : (1) example 7.3.1 p_value= 0.102 (โซ)ุฎุทุฃ ูู ุงูู ูุฒู ูโฌ :โซุงูุตุญูุญโฌ p_value= 0.012 (2) Example 7.3.2 P_value=-1.33( โซ)ุฎุทุฃ ูู ุงูู ูุฒู ูโฌ โซุงูุตุญูุญโฌ P_value=0.716 Paired Sample 1) Confidence interval 2) test hypotheses 1)Confidence interval(Paired or related population) Use ฬ ±๐ก ๐ผ ๐ท 1− ,๐−1 2 ๐ ๐ท √๐ (df=n-1) And ๐ ฬ = ∑๐=1 ๐ท๐ ๐ท ๐ ๐ ๐ท2 = ๐ ๐ท = √๐ ๐2 ( mean of difference) ฬ 2 ∑๐ ๐=1(๐ท๐ −๐ท ) ๐−1 (variance of difference) (๐ ๐ก๐๐๐๐๐๐ ๐๐๐ฃ๐๐๐ก๐๐๐ ๐๐ ๐๐๐๐๐๐๐๐๐๐) 2)Test hypotheses(Paired or related population) 1) data 2)Assumption: normal + paired 3)Hypotheses: we have three cases Case I : H0: μ 1 = μ2 → μ 1 - μ2 = 0 → ๐๐ = 0 HA: μ 1 ≠ μ 2 → μ 1 - μ 2 ≠ 0 → ๐๐ ≠ 0 e.g. we want to test that the mean for first population is different from second population mean. Case II : H0: μ 1 = μ2 → μ 1 - μ2 = 0 → ๐๐ = 0 HA: μ 1 > μ 2 → μ 1 - μ 2 > 0 → ๐๐ > 0 e.g. we want to test that the mean for first population is greater than second population mean. Case III : H0: μ 1 = μ2 → μ 1 - μ2 = 0 → ๐๐ = 0 HA: μ 1 < μ 2 → μ 1 - μ 2 < 0 → ๐๐ < 0 e.g. we want to test that the mean for first population is less than second population 4)๐๐๐ ๐ก: ๐= ฬ ๐ท ๐ ๐ √๐ 5)Decision Reject ๐ป0 if : Case1: ๐๐ < −๐1−๐ผ,๐−1 ๐๐ 2 Case2: ๐๐ > ๐1−๐ผ,๐−1 Case3: ๐๐ < −๐1−๐ผ,๐−1 ๐๐ > ๐1−๐ผ,๐−1 2 Example Page 146 Solution: 3)Hypotheses: H0: μ 1 = μ2 → μ 1 - μ2 = 0 → ๐๐ = 0 HA: μ 1 ≠ μ 2 → μ 1 - μ 2 ≠ 0 → ๐๐ ≠ 0 ฬ , ๐ ๐ โซ)ู ู ุงูู ุซุงู ุงูุณุงุจู ูุญุณุงุจ ูุชุฑุฉ ุงูุซูุฉโฌ 4)test statistic ( ๐ท ๐= ฬ ๐ท ๐ ๐ √๐ = 5.45 7.09 √10 = 2.43 5) Decision Reject ๐ป0 if : ๐๐ < −๐1−๐ผ,๐−1 2 ๐๐ ๐๐ > ๐1−๐ผ,๐−1 2 2.43 < −2.262 0r 2.43 > 2.262 โซุชุญููโฌ So Reject ๐ป0 and accept ๐ป1 We can conclude the diet program is effective at ๐ผ = 0.05