Power. Week 8: Lecture 1 STAT: / 48

Size: px
Start display at page:

Download "Power. Week 8: Lecture 1 STAT: / 48"

Transcription

1 Power STAT:5201 Week 8: Lecture 1 1 / 48

2 Power We have already described Type I and II errors. Decision Reality/True state Accept H o Reject H o H o is true good Type I error H o is false Type II error good Power is the probability of rejecting the null when the null is false (something we really hope to do). We want high power. We commonly use α to represent the Type I error rate, and β to represent the Type II error rate. Then, power is 1 β. Power (or 1 β) is a bit more difficult to deal with than the type I error rate or α. 2 / 48

3 Power There is a trade-off between Type I and Type II errors. Decreasing our likelihood of a Type I error means we are less likely to make rejections. In designing experiments and choosing sample sizes, we should consider power... * If the power is too low, then you re wasting your time and resources running experiments with very little chance of detecting something interesting. * If the power is too high, then you are spending resources in this experiment that might be better spent somewhere else. Like hitting a fly with nuclear weapon, too much... In practice, we tend to be content with a power of 0.80 or This provides high likelihood to detect something interesting when it s really there. 3 / 48

4 Refresher: sample size calculation for one-sample test with σ 2 known, find n H o : µ = µ o vs. H A : µ > µ o (one-sided) Choose α type I error rate Choose β type II error rate (i.e. set power =1 β) Get cut-off to control type I error rate at α level: P(Ȳ > c H o true) = P( Ȳ µo σ/ n > c µo σ/ n H otrue) = P(z > c µ o σ/ ) = α n }{{} c = µ o + z α σ n z α 4 / 48

5 Refresher: sample size calculation for one-sample test with σ 2 known, find n Setting our cut-off for significance at c = µ o + z α σ n controls the Type I error rate at the α level. Now, for a chosen β and a given µ A under H A true, we have P(Ȳ > c H A true) = P( Ȳ µ A σ/ n > c µ A σ/ n H A true) So, z α = P(z > (µo+zα σ n ) µ A σ/ ) n = P(z > z α d σ/ ) = 1 β (where d = µ A µ o) n }{{} (to control Type II error) z 1 β d σ/ n = z 1 β n = ( ) σ(zα z1 β ) 2 d sample size 5 / 48

6 Refresher: sample size calculation for one-sample test with σ 2 known, find n Here, we can see the standardized threshold of z α controlling the Type I error rate at the α level for sample size n. Then, given the true mean of µ A, we see that if we reject for standardized values greater than z α error rate of β, or power of 1 β. d σ/ n, then we have a Type II Standardized Original scale Threshold for significance 6 / 48

7 Refresher: sample size calculation for one-sample test with σ 2 known, find n If using the unstandardized values, P(Ȳ > µ o + z α σ n H o true) = α P(Ȳ > µ o + z α σ n H A true) = 1 β Power is the area to the right of the critical value under the shifted-right normal curve. 7 / 48

8 Refresher: sample size calculation for one-sample test with σ 2 unknown, find n H o : µ = µ o vs. H A : µ > µ o (one-sided) Test utilizes a t-test, more complex because σ 2 not known. Get cut-off to control type I error rate at α level: P(Ȳ > c H o true) = P( Ȳ µo s/ n > c µo s/ n H otrue) = P(t > c µ o s/ ) = α n }{{} c = µ o + t α,n 1 s n t α,n 1 8 / 48

9 Refresher: sample size calculation for one-sample test with σ 2 unknown, find n Setting our cut-off for significance at c = µ o + t α,n 1 σ n controls the Type I error rate at the α level. Now, for a chosen β and a given µ A under H A true, we have P(Ȳ > c H A true) = P( Ȳ µ A s/ n > c µ A s/ n H A true) = 1 β P(t > (µo+t α,n 1 s n ) µ A s/ ) = 1 β n P(t > t α,n 1 (µ A µ o ) s/ ) = 1 β n }{{} t 1 β,n 1 So, t 1 β,n 1 = t α,n 1 d s/ n n = ( ) s(tα,n 1 t 1 β,n 1 ) 2 d Notice that n is on both sides of the equation 9 / 48

10 Refresher: sample size calculation for one-sample test with σ 2 unknown, find n One option is an iterative procedure... 0) We need a value for s, often this comes from a pilot study. 1) Assume we know σ and start by using z-values. n (0) = ( ) 2 s(zα z 1 β ) d 2) Plug into unknown σ 2 formula. n (1) = ( s(tα,n ) (0) 1 t 1 β,n (0) 1 ) 2 d 3) Continuing to use the formula in 2), iterate until convergence. 10 / 48

11 Refresher: sample size calculation for one-sample test with σ 2 unknown, using R Example (Sample size calculation in R) ############## one-sample hypothesis test ################# ## Use iterative process for a one-sided test: alpha < beta < # --> gives power of 90% m.0 <- 4 # --> null mean m.a <- 6 # --> alternative mean s <- 3 # --> sample standard deviation ## Get initial n based on a known sigma, so use z-dist instead of t-distribution: n.0 <- ((s*(qnorm(alpha,lower.tail=false)- qnorm(1-beta,lower.tail=false)))/(m.a-m.0))^2 n.0 [1] / 48

12 Refresher: sample size calculation for one-sample test with σ 2 unknown, using R Example (Sample size calculation in R) ############## one-sample hypothesis test ################# ## Utilize sample size equation for unknown sigma ## and t-distribution to get next n. n.1 <- ((s*(qt(alpha,n.0-1,lower.tail=false)-qt(1-beta,n.0-1,l n.1 [1] ## Iterate until convergence: n.old <- n.0 n.new <- n.1 iter < / 48

13 Refresher: sample size calculation for one-sample test with σ 2 unknown, using R Example (Sample size calculation in R) ############## one-sample hypothesis test ################# ## Iterate until convergence: while(abs(n.old-n.new)>=1){ cat("iteration = ",iter,"\n") n.old <- n.new n.new <- ((s*(qt(alpha,n.old-1,lower.tail=false)- qt(1-beta,n.old-1,lower.tail=false)))/(m.a-m.0))^2 print(n.new) iter <- iter+1 } #[1] Use n=21 as your sample size. This was an iterative process when σ 2 unknown. 13 / 48

14 Sample size calculation for one-sample test with σ 2 unknown using Lenth applet U of Iowa Professor Russ Lenth has a widely used applet available for power and sample size calculations: rlenth/power/ Example (Lenth sample size website) We can use these same parameters from the previous example in the applet to see that n = / 48

15 Sample size calculation for one-sample test with σ 2 unknown using SAS Same sample size calculation done in SAS. Example (SAS sample size) 15 / 48

16 Sample size calculation for one-sample test with σ 2 unknown using SAS Example (SAS sample size) 16 / 48

17 Sample size calculation for Confidence Interval (CI) for one-sample scenario with σ 2 unknown s (1 α)100% CI for µ: x ± t α/2,n 1 n }{{} half-width of CI or MOE For a given MOE, n = ( ) tα/2,n 1 s 2 MOE We can again use an iterative process to get n. *round-up to get n at the end. 17 / 48

18 Sample size calculation for Confidence Interval (CI) for one-sample scenario with σ 2 unknown, using R Example (Sample size calculation in R for CI) ############# 95% confidence interval ############## alpha=0.05 s=0.5 w=0.1 #half-width n.0 <- (qnorm(alpha/2,lower.tail=false)*s/w)^2 n.0 [1] n.1 <- (qt(alpha/2,n.0-1,lower.tail=false)*s/w)^2 n.1 #[1] / 48

19 Sample size calculation for Confidence Interval (CI) for one-sample scenario with σ 2 unknown, using R Example (Sample size calculation in R for CI) ############# 95% confidence interval ############## n.old <- n.0 n.new <- n.1 while (abs(n.old-n.new)>=1){ n.old <- n.new n.new <- (qt(alpha/2,n.old-1,lower.tail=false)*s/w)^2 print(n.new) } [1] Use n=99 as your sample size. 19 / 48

20 Sample size calculation for Confidence Interval (CI) for one-sample scenario with σ 2 unknown, using Lenth website Example (Sample size calculation for CI using Lenth website) 20 / 48

21 Refresher: sample size calculation for two-sample t-test (equal sample sizes, constant variance) H o : µ 1 µ 2 = 0 vs. H A : µ 1 µ 2 > 0 (one-sided) Get cut-off to control type I error rate at α level: P(Ȳ 1 Ȳ 2 > c H o true) = α c P(t > ) = α S p 2/n }{{} t α,2n 2 c = t α,2n 2 S p 2/n Then for given β: P(Ȳ 1 Ȳ 2 > c H A true) = 1 β P(t > c d ) = 1 β (where d = µ 1 µ 2) S p 2/n }{{} t 1 β,2n 2 21 / 48

22 Refresher: sample size calculation for two-sample t-test (equal sample sizes, constant variance) t α,2n 2 S p 2/n d S p 2/n = t 1 β,2n 2 n = 2 ( ) Sp(tα,2n 2 t 1 β,2n 2 ) 2 d And again, an iterative procedure can be used. 22 / 48

23 Sample size calculation for two-sample t-test in R (equal sample sizes, constant variance) Example (Sample size calculation in R for 2-sample t-test) ############# two-sample hypothesis test ############# ## For a one-sided test: alpha < beta < #(gives power of 90%) d <- 2 ## difference between means. s <- 1 ## same for both groups (pooled) ## Get initial n based on a known sigma: n.0 <- 2*(s*(qnorm(alpha,lower.tail=FALSE)- qnorm((1-beta),lower.tail=false))/d)^2 n.0 [1] / 48

24 Sample size calculation for two-sample t-test in R (equal sample sizes, constant variance) Example (Sample size calculation in R for 2-sample t-test) ############# two-sample hypothesis test ############# ## Utilize equation for unknown sigma to get next n. n.1 <- 2*(s*(qt(alpha,2*n.0-2,lower.tail=FALSE)- qt((1-beta),2*n.0-2,lower.tail=false))/d)^2 n.1 [1] # Iterate until convergence: n.old <- n.0 n.new <- n.1 iter < / 48

25 Sample size calculation for two-sample t-test in R (equal sample sizes, constant variance) Example (Sample size calculation in R for 2-sample t-test) ############# two-sample hypothesis test ############# while (abs(n.old-n.new)>=1){ cat("iteration = ",iter,"\n") n.old <- n.new n.new <- 2*(s*(qt(alpha,2*n.old-2,lower.tail=FALSE)- qt((1-beta),2*n.old-2,lower.tail=false))/d)^2 print(n.new) iter=iter+1 } [1] Use n=6 as your sample size (6 in each group). 25 / 48

26 Sample size calculation for two-sample t-test, Lenth website (equal sample sizes, constant variance) Example (Sample size calculation for 2-sample t-test, Lenth website) For n = 6 power is , for n = 5 power is / 48

27 Sample size calculation for 2-sample t-test in SAS SAS allows you to consider a variety of differences in means and sample sizes at once to calculate power for each. Example (Sample size calculation for 2-sample t-test in SAS) 27 / 48

28 Sample size for Confidence Interval (CI) on a contrast Recall for our contrast γ = a i=1 c iµ i we have the estimate: a ˆγ = c i Ȳ i. i=1 95% CI for γ: ˆγ ± t α/2,n a MSE a i=1 c 2 i n i } {{ } MOE For a given half-width MOE, what sample size do we need? If we assume n i = n for all i (i.e. balanced design), then ( ) tα/2,n a 2 n = MOE MSE a i=1 c2 i where N = na. Again, you can use an iterative procedure to find n. 28 / 48

29 Power and Sample Size for 1-way ANOVA What about power for a 1-way ANOVA? We consider power in the overall F-test... H o : µ 1 = µ 2 =... = µ a vs. H A : not H o Test statistic F o = SSE red SSE full df MSE full = SStotal SSE full (a 1) MSE full = SStrt (a 1) MSE full = MStrt MSE full Reduced model: only 1 mean Full model: a means 29 / 48

30 Power and Sample Size for 1-way ANOVA Under H o true, F o follows a central F -distribution or F o F (a 1,N a,φ=0) where φ is the non-centrality parameter. This information sets us up with a cut-off for significance for controlling the Type I error rate at the α level / 48

31 Power and Sample Size for 1-way ANOVA What about the Type II error rate? What about power? As always, to compute power, we must provide the true state of the means under H A true. For the two-sample t-test, we only needed to state the difference between the two means. Now, with a means, there are many different configurations of the means where H o is false. This suggests we need to consider numerous configurations. 31 / 48

32 Power and Sample Size for 1-way ANOVA Under H A true, F o follows a non-central F -distribution or F o F (a 1,N a,φ) where φ > 0. We establish a cut-off for significance c = F (α,a 1,N a,φ=0) based on a given Type I error rate. Then, the power is the probability that F o is greater than or equal to c under H A true. 32 / 48

33 Power and Sample Size for 1-way ANOVA What is the value of φ? The non-centrality parameter? This depends on the particular configuration of a means. φ = a i=1 n i α 2 i σ 2 where α i = µ i µ and i n iα i = 0 The non-centrality parameter φ measures how far the treatment means are from being equal relative to the squared-standard error of a single mean or σ2 n i Recall, E[MS TRT ] = σ 2 + a i=1 n i α 2 a 1 With E[MSE] = σ 2 we can see how φ works with these values to form our F -statistic for Treatment. 33 / 48

34 Power and Sample Size for 1-way ANOVA φ = a i=1 n i α 2 i σ 2 Larger differences in means provides a larger φ and provides a larger power (all things being equal). In general... φ increases if you increase sample sizes. φ increases if the error variance is smaller. φ increases if the means µ i are farther apart. Central and non-central F(2,15,ncp=phi) F(2,15,ncp=0) 0.05 in upper tail of null F(2,15,ncp=51.09) x 34 / 48

35 Power and Sample Size for 1-way ANOVA Non-central F(2,15,ncp=phi) F(2,15,ncp=10) F(2,15,ncp=20) F(2,15,ncp=30) x 35 / 48

36 Power and Sample Size for 1-way ANOVA If there are three means, which configuration is easier to detect? Scenario 1 Scenario 2 µ 1 = 1 µ 1 = 0 µ 2 = 0 µ 2 = 0 µ 3 = 1 µ 3 = 2 φ = a i=1 n i (µ i µ) 2 σ 2 Assuming n i = n, φ 1 = n a i=1 (µ i 0) 2 = n 2 σ 2 σ 2 φ 2 = n a i=1 (µ i 2/3) 2 = n 2 2 σ 2 3 σ 2 Larger φ is easier to detect in scenario / 48

37 Power and Sample Size for 1-way ANOVA Example (Computing power for a given scenario) a = 3, n = 6, α = 0.05, σ 2 = µ 1 = 2.82 µ 2 = 3.89 µ 3 = 3.04 µ = 3.25 cut-off for significance is F (0.05,2,15,φ=0) = 3.68 α 1 = 0.43 α 2 = 0.64 α 3 = 0.21 φ = 6 3 i=1 α2 i = Power=P(F (2,15,φ=51.09) > 3.68) = *Very small MSE relative to α i s gave very large power. 37 / 48

38 Power and Sample Size for 1-way ANOVA Example (1-way ANOVA sample size in SAS) 38 / 48

39 Power and Sample Size for 1-way ANOVA Software will compute power for you. Depending on the software you use, it may ask for something that doesn t seem like the non-centrality parameter described above, but is actually a slight transformation of it. R will ask for between group variance and within group variance instead of the non-centrality parameter. ( (µi ) µ) 2 φ = n a i=1 α2 i σ 2 = n(a 1) a 1 σ 2 between group variance = n(a 1) within group variance So, between group variance = α 2 i a 1 and within group variance= σ2. 39 / 48

40 Power and Sample Size for 1-way ANOVA In the previous example, between group variance = α 2 i a 1 = , and within group variance= Example (1-way ANOVA sample size in R) ########### power in 1-way ANOVA ################# > power.anova.test(groups=3,n=6,between.var=0.3193, within.var=0.075,sig.level=0.05) Balanced one-way analysis of variance power calculation groups = 3 n = 6 between.var = within.var = sig.level = 0.05 power = NOTE: n is number in each group 40 / 48

41 Power and Sample Size for 1-way ANOVA The Lenth website requests SD[TREATMENT] which is between group variance and SD[WITHIN] which is within group variance. Example (1-way ANOVA sample size Lenth applet) 41 / 48

42 Power and Sample Size for 1-way ANOVA Example (1-way ANOVA power calculation) Another example... What power will I have with the following set-up? a = 4, n = 5, α = 0.05, σ 2 = 1.2 µ 1 = 9.5 µ 2 = 10.3 µ 3 = 11 µ 4 = 12.4 Get the non-centrality parameter... find power. 42 / 48

43 Power and Sample Size for 1-way ANOVA Checking with the Lenth applet: ˆσ = and α 2 i a 1 = Example (1-way ANOVA power calculation) 43 / 48

44 Power and Sample Size for 1-way ANOVA Checking with the R: σ 2 = 1.2 and α 2 i a 1 = 1.51 Example (1-way ANOVA power calculation in R) ############# power in 1-way ANOVA ################## > power.anova.test(groups=4,n=5,between.var=1.51, within.var=1.2,sig.level=0.05) Balanced one-way analysis of variance power calculation groups = 4 n = 5 between.var = 1.51 within.var = 1.2 sig.level = 0.05 power = NOTE: n is number in each group 44 / 48

45 Power and Sample Size for 1-way ANOVA φ = a i=1 n(µ i µ) 2 σ 2 In the previous example with 4 groups, we had µ 1 = 9.5, µ 2 = 10.3, µ 3 = 11, and µ 4 = 12.4 which lead to α 2 i = Actually, any configuration of means giving α 2 i = 4.54 with all the same other values (n, σ, type I error rate) will have the same power. When working with clients, they may be more comfortable hypothesizing what the range of µ i s is rather than specifically stating what each µ i is. Let D = µ max µ min and assume n i = n (balanced design). 45 / 48

46 Power and Sample Size for 1-way ANOVA φ = a i=1 n(µ i µ) 2 σ 2 Given that the range of the means is D, what do you think is the most favorable configuration of means? (i.e. the easiest to detect, or reject H o ). Given that the range of the means is D, what do you think is the least favorable configuration of means? (i.e. the hardest to detect, or lowest power). 46 / 48

47 Power and Sample Size for 1-way ANOVA To make power analysis useful, you must be able to specify some scientifically or practically meaningful set of alternative means, and you must be able to guess as to how large the error variance is σ 2. Perhaps the client can think about... If this were true, I would want to know about it, and then design for those interesting alternatives. Examples: The doubling of a mutation rate is practically significant, so I want to design for that. An increase in MPG of 1 is relevant, so I will design for that. A decrease in time-to-pain-relief of 20 minutes is meaningful to the patient, so I will design for that. Many granting agencies (NSF, NIH, etc.) require a power analysis before funding a proposal. 47 / 48

48 Power and Sample Size for a contrast of interest Rejection of the overall F-test can arise from any departure from the null hypothesis of equal means. In some situations, you may be interested in one or two particular contrasts (and less interested in others). You can design an experiment with the power of rejection of a given contrast in mind. H o : γ = 0 vs. H A : γ 0 where γ = a i=1 c iµ i and ˆγ = a i=1 c iȳi. Under H o true, F = SScontrast MSE F (1,N a) The non-centrality parameter under H A true is i=1 c i α i ) 2 σ 2 ( ) a c 2 = ( a i=1 c i µ i ) 2 i i=1 σ n 2 ( ) a c 2 i i i=1 n i φ = ( a And you find the power P(F (1,N a,φ) > F (α,1,n a) ). 48 / 48

Power & Sample Size Calculation

Power & Sample Size Calculation Chapter 7 Power & Sample Size Calculation Yibi Huang Chapter 7 Section 10.3 Power & Sample Size Calculation for CRDs Power & Sample Size for Factorial Designs Chapter 7-1 Power & Sample Size Calculation

More information

df=degrees of freedom = n - 1

df=degrees of freedom = n - 1 One sample t-test test of the mean Assumptions: Independent, random samples Approximately normal distribution (from intro class: σ is unknown, need to calculate and use s (sample standard deviation)) Hypotheses:

More information

Sampling Distributions: Central Limit Theorem

Sampling Distributions: Central Limit Theorem Review for Exam 2 Sampling Distributions: Central Limit Theorem Conceptually, we can break up the theorem into three parts: 1. The mean (µ M ) of a population of sample means (M) is equal to the mean (µ)

More information

Lecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2

Lecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2 Lecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2 Fall, 2013 Page 1 Random Variable and Probability Distribution Discrete random variable Y : Finite possible values {y

More information

16.3 One-Way ANOVA: The Procedure

16.3 One-Way ANOVA: The Procedure 16.3 One-Way ANOVA: The Procedure Tom Lewis Fall Term 2009 Tom Lewis () 16.3 One-Way ANOVA: The Procedure Fall Term 2009 1 / 10 Outline 1 The background 2 Computing formulas 3 The ANOVA Identity 4 Tom

More information

Hypothesis testing: Steps

Hypothesis testing: Steps Review for Exam 2 Hypothesis testing: Steps Repeated-Measures ANOVA 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region

More information

Hypothesis testing: Steps

Hypothesis testing: Steps Review for Exam 2 Hypothesis testing: Steps Exam 2 Review 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region 3. Compute

More information

STAT 401A - Statistical Methods for Research Workers

STAT 401A - Statistical Methods for Research Workers STAT 401A - Statistical Methods for Research Workers One-way ANOVA Jarad Niemi (Dr. J) Iowa State University last updated: October 10, 2014 Jarad Niemi (Iowa State) One-way ANOVA October 10, 2014 1 / 39

More information

Chapter 7 Comparison of two independent samples

Chapter 7 Comparison of two independent samples Chapter 7 Comparison of two independent samples 7.1 Introduction Population 1 µ σ 1 1 N 1 Sample 1 y s 1 1 n 1 Population µ σ N Sample y s n 1, : population means 1, : population standard deviations N

More information

Sociology 6Z03 Review II

Sociology 6Z03 Review II Sociology 6Z03 Review II John Fox McMaster University Fall 2016 John Fox (McMaster University) Sociology 6Z03 Review II Fall 2016 1 / 35 Outline: Review II Probability Part I Sampling Distributions Probability

More information

Lecture 3: Inference in SLR

Lecture 3: Inference in SLR Lecture 3: Inference in SLR STAT 51 Spring 011 Background Reading KNNL:.1.6 3-1 Topic Overview This topic will cover: Review of hypothesis testing Inference about 1 Inference about 0 Confidence Intervals

More information

Hypothesis testing. Data to decisions

Hypothesis testing. Data to decisions Hypothesis testing Data to decisions The idea Null hypothesis: H 0 : the DGP/population has property P Under the null, a sample statistic has a known distribution If, under that that distribution, the

More information

Hypothesis Testing. We normally talk about two types of hypothesis: the null hypothesis and the research or alternative hypothesis.

Hypothesis Testing. We normally talk about two types of hypothesis: the null hypothesis and the research or alternative hypothesis. Hypothesis Testing Today, we are going to begin talking about the idea of hypothesis testing how we can use statistics to show that our causal models are valid or invalid. We normally talk about two types

More information

Bias Variance Trade-off

Bias Variance Trade-off Bias Variance Trade-off The mean squared error of an estimator MSE(ˆθ) = E([ˆθ θ] 2 ) Can be re-expressed MSE(ˆθ) = Var(ˆθ) + (B(ˆθ) 2 ) MSE = VAR + BIAS 2 Proof MSE(ˆθ) = E((ˆθ θ) 2 ) = E(([ˆθ E(ˆθ)]

More information

Introduction to Statistical Data Analysis Lecture 5: Confidence Intervals

Introduction to Statistical Data Analysis Lecture 5: Confidence Intervals Introduction to Statistical Data Analysis Lecture 5: Confidence Intervals James V. Lambers Department of Mathematics The University of Southern Mississippi James V. Lambers Statistical Data Analysis 1

More information

STAT22200 Spring 2014 Chapter 5

STAT22200 Spring 2014 Chapter 5 STAT22200 Spring 2014 Chapter 5 Yibi Huang April 29, 2014 Chapter 5 Multiple Comparisons Chapter 5-1 Chapter 5 Multiple Comparisons Note the t-tests and C.I. s are constructed assuming we only do one test,

More information

Inference for Regression Simple Linear Regression

Inference for Regression Simple Linear Regression Inference for Regression Simple Linear Regression IPS Chapter 10.1 2009 W.H. Freeman and Company Objectives (IPS Chapter 10.1) Simple linear regression p Statistical model for linear regression p Estimating

More information

PHP2510: Principles of Biostatistics & Data Analysis. Lecture X: Hypothesis testing. PHP 2510 Lec 10: Hypothesis testing 1

PHP2510: Principles of Biostatistics & Data Analysis. Lecture X: Hypothesis testing. PHP 2510 Lec 10: Hypothesis testing 1 PHP2510: Principles of Biostatistics & Data Analysis Lecture X: Hypothesis testing PHP 2510 Lec 10: Hypothesis testing 1 In previous lectures we have encountered problems of estimating an unknown population

More information

Last week: Sample, population and sampling distributions finished with estimation & confidence intervals

Last week: Sample, population and sampling distributions finished with estimation & confidence intervals Past weeks: Measures of central tendency (mean, mode, median) Measures of dispersion (standard deviation, variance, range, etc). Working with the normal curve Last week: Sample, population and sampling

More information

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model Topic 17 - Single Factor Analysis of Variance - Fall 2013 One way ANOVA Cell means model Factor effects model Outline Topic 17 2 One-way ANOVA Response variable Y is continuous Explanatory variable is

More information

Summary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)

Summary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1) Summary of Chapter 7 (Sections 7.2-7.5) and Chapter 8 (Section 8.1) Chapter 7. Tests of Statistical Hypotheses 7.2. Tests about One Mean (1) Test about One Mean Case 1: σ is known. Assume that X N(µ, σ

More information

AMS 315/576 Lecture Notes. Chapter 11. Simple Linear Regression

AMS 315/576 Lecture Notes. Chapter 11. Simple Linear Regression AMS 315/576 Lecture Notes Chapter 11. Simple Linear Regression 11.1 Motivation A restaurant opening on a reservations-only basis would like to use the number of advance reservations x to predict the number

More information

On Assumptions. On Assumptions

On Assumptions. On Assumptions On Assumptions An overview Normality Independence Detection Stem-and-leaf plot Study design Normal scores plot Correction Transformation More complex models Nonparametric procedure e.g. time series Robustness

More information

Analysis of Variance

Analysis of Variance Statistical Techniques II EXST7015 Analysis of Variance 15a_ANOVA_Introduction 1 Design The simplest model for Analysis of Variance (ANOVA) is the CRD, the Completely Randomized Design This model is also

More information

Inference for Regression Inference about the Regression Model and Using the Regression Line

Inference for Regression Inference about the Regression Model and Using the Regression Line Inference for Regression Inference about the Regression Model and Using the Regression Line PBS Chapter 10.1 and 10.2 2009 W.H. Freeman and Company Objectives (PBS Chapter 10.1 and 10.2) Inference about

More information

One sample problem. sample mean: ȳ = . sample variance: s 2 = sample standard deviation: s = s 2. y i n. i=1. i=1 (y i ȳ) 2 n 1

One sample problem. sample mean: ȳ = . sample variance: s 2 = sample standard deviation: s = s 2. y i n. i=1. i=1 (y i ȳ) 2 n 1 One sample problem Population mean E(y) = µ, variance: Var(y) = σ 2 = E(y µ) 2, standard deviation: σ = σ 2. Normal distribution: y N(µ, σ 2 ). Standard normal distribution: z N(0, 1). If y N(µ, σ 2 ),

More information

Stat 529 (Winter 2011) Experimental Design for the Two-Sample Problem. Motivation: Designing a new silver coins experiment

Stat 529 (Winter 2011) Experimental Design for the Two-Sample Problem. Motivation: Designing a new silver coins experiment Stat 529 (Winter 2011) Experimental Design for the Two-Sample Problem Reading: 2.4 2.6. Motivation: Designing a new silver coins experiment Sample size calculations Margin of error for the pooled two sample

More information

STAT Chapter 8: Hypothesis Tests

STAT Chapter 8: Hypothesis Tests STAT 515 -- Chapter 8: Hypothesis Tests CIs are possibly the most useful forms of inference because they give a range of reasonable values for a parameter. But sometimes we want to know whether one particular

More information

We need to define some concepts that are used in experiments.

We need to define some concepts that are used in experiments. Chapter 0 Analysis of Variance (a.k.a. Designing and Analysing Experiments) Section 0. Introduction In Chapter we mentioned some different ways in which we could get data: Surveys, Observational Studies,

More information

STAT 506: Randomized complete block designs

STAT 506: Randomized complete block designs STAT 506: Randomized complete block designs Timothy Hanson Department of Statistics, University of South Carolina STAT 506: Introduction to Experimental Design 1 / 10 Randomized complete block designs

More information

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 1 Chapter 1: Research Design Principles The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 2 Chapter 2: Completely Randomized Design

More information

Introduction to Statistics

Introduction to Statistics MTH4106 Introduction to Statistics Notes 15 Spring 2013 Testing hypotheses about the mean Earlier, we saw how to test hypotheses about a proportion, using properties of the Binomial distribution It is

More information

Chapter 11 - Lecture 1 Single Factor ANOVA

Chapter 11 - Lecture 1 Single Factor ANOVA Chapter 11 - Lecture 1 Single Factor ANOVA April 7th, 2010 Means Variance Sum of Squares Review In Chapter 9 we have seen how to make hypothesis testing for one population mean. In Chapter 10 we have seen

More information

ANOVA: Comparing More Than Two Means

ANOVA: Comparing More Than Two Means 1 ANOVA: Comparing More Than Two Means 10.1 ANOVA: The Completely Randomized Design Elements of a Designed Experiment Before we begin any calculations, we need to discuss some terminology. To make this

More information

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing STAT 135 Lab 5 Bootstrapping and Hypothesis Testing Rebecca Barter March 2, 2015 The Bootstrap Bootstrap Suppose that we are interested in estimating a parameter θ from some population with members x 1,...,

More information

INTRODUCTION TO ANALYSIS OF VARIANCE

INTRODUCTION TO ANALYSIS OF VARIANCE CHAPTER 22 INTRODUCTION TO ANALYSIS OF VARIANCE Chapter 18 on inferences about population means illustrated two hypothesis testing situations: for one population mean and for the difference between two

More information

Outline. PubH 5450 Biostatistics I Prof. Carlin. Confidence Interval for the Mean. Part I. Reviews

Outline. PubH 5450 Biostatistics I Prof. Carlin. Confidence Interval for the Mean. Part I. Reviews Outline Outline PubH 5450 Biostatistics I Prof. Carlin Lecture 11 Confidence Interval for the Mean Known σ (population standard deviation): Part I Reviews σ x ± z 1 α/2 n Small n, normal population. Large

More information

Chapter 10: STATISTICAL INFERENCE FOR TWO SAMPLES. Part 1: Hypothesis tests on a µ 1 µ 2 for independent groups

Chapter 10: STATISTICAL INFERENCE FOR TWO SAMPLES. Part 1: Hypothesis tests on a µ 1 µ 2 for independent groups Chapter 10: STATISTICAL INFERENCE FOR TWO SAMPLES Part 1: Hypothesis tests on a µ 1 µ 2 for independent groups Sections 10-1 & 10-2 Independent Groups It is common to compare two groups, and do a hypothesis

More information

EXST Regression Techniques Page 1. We can also test the hypothesis H :" œ 0 versus H :"

EXST Regression Techniques Page 1. We can also test the hypothesis H : œ 0 versus H : EXST704 - Regression Techniques Page 1 Using F tests instead of t-tests We can also test the hypothesis H :" œ 0 versus H :" Á 0 with an F test.! " " " F œ MSRegression MSError This test is mathematically

More information

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI Introduction of Data Analytics Prof. Nandan Sudarsanam and Prof. B Ravindran Department of Management Studies and Department of Computer Science and Engineering Indian Institute of Technology, Madras Module

More information

ECO220Y Review and Introduction to Hypothesis Testing Readings: Chapter 12

ECO220Y Review and Introduction to Hypothesis Testing Readings: Chapter 12 ECO220Y Review and Introduction to Hypothesis Testing Readings: Chapter 12 Winter 2012 Lecture 13 (Winter 2011) Estimation Lecture 13 1 / 33 Review of Main Concepts Sampling Distribution of Sample Mean

More information

z and t tests for the mean of a normal distribution Confidence intervals for the mean Binomial tests

z and t tests for the mean of a normal distribution Confidence intervals for the mean Binomial tests z and t tests for the mean of a normal distribution Confidence intervals for the mean Binomial tests Chapters 3.5.1 3.5.2, 3.3.2 Prof. Tesler Math 283 Fall 2018 Prof. Tesler z and t tests for mean Math

More information

Binary Logistic Regression

Binary Logistic Regression The coefficients of the multiple regression model are estimated using sample data with k independent variables Estimated (or predicted) value of Y Estimated intercept Estimated slope coefficients Ŷ = b

More information

Hypothesis testing I. - In particular, we are talking about statistical hypotheses. [get everyone s finger length!] n =

Hypothesis testing I. - In particular, we are talking about statistical hypotheses. [get everyone s finger length!] n = Hypothesis testing I I. What is hypothesis testing? [Note we re temporarily bouncing around in the book a lot! Things will settle down again in a week or so] - Exactly what it says. We develop a hypothesis,

More information

DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya

DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Jurusan Teknik Industri Universitas Brawijaya Outline Introduction The Analysis of Variance Models for the Data Post-ANOVA Comparison of Means Sample

More information

Unbalanced Data in Factorials Types I, II, III SS Part 1

Unbalanced Data in Factorials Types I, II, III SS Part 1 Unbalanced Data in Factorials Types I, II, III SS Part 1 Chapter 10 in Oehlert STAT:5201 Week 9 - Lecture 2 1 / 14 When we perform an ANOVA, we try to quantify the amount of variability in the data accounted

More information

Ch 2: Simple Linear Regression

Ch 2: Simple Linear Regression Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component

More information

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS In our work on hypothesis testing, we used the value of a sample statistic to challenge an accepted value of a population parameter. We focused only

More information

Last two weeks: Sample, population and sampling distributions finished with estimation & confidence intervals

Last two weeks: Sample, population and sampling distributions finished with estimation & confidence intervals Past weeks: Measures of central tendency (mean, mode, median) Measures of dispersion (standard deviation, variance, range, etc). Working with the normal curve Last two weeks: Sample, population and sampling

More information

Week 12 Hypothesis Testing, Part II Comparing Two Populations

Week 12 Hypothesis Testing, Part II Comparing Two Populations Week 12 Hypothesis Testing, Part II Week 12 Hypothesis Testing, Part II Week 12 Objectives 1 The principle of Analysis of Variance is introduced and used to derive the F-test for testing the model utility

More information

Announcements. Unit 3: Foundations for inference Lecture 3: Decision errors, significance levels, sample size, and power.

Announcements. Unit 3: Foundations for inference Lecture 3: Decision errors, significance levels, sample size, and power. Announcements Announcements Unit 3: Foundations for inference Lecture 3:, significance levels, sample size, and power Statistics 101 Mine Çetinkaya-Rundel October 1, 2013 Project proposal due 5pm on Friday,

More information

STAT 511. Lecture : Simple linear regression Devore: Section Prof. Michael Levine. December 3, Levine STAT 511

STAT 511. Lecture : Simple linear regression Devore: Section Prof. Michael Levine. December 3, Levine STAT 511 STAT 511 Lecture : Simple linear regression Devore: Section 12.1-12.4 Prof. Michael Levine December 3, 2018 A simple linear regression investigates the relationship between the two variables that is not

More information

An inferential procedure to use sample data to understand a population Procedures

An inferential procedure to use sample data to understand a population Procedures Hypothesis Test An inferential procedure to use sample data to understand a population Procedures Hypotheses, the alpha value, the critical region (z-scores), statistics, conclusion Two types of errors

More information

Hypothesis Testing. Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true

Hypothesis Testing. Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true Hypothesis esting Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true Statistical Hypothesis: conjecture about a population parameter

More information

Review of Statistics 101

Review of Statistics 101 Review of Statistics 101 We review some important themes from the course 1. Introduction Statistics- Set of methods for collecting/analyzing data (the art and science of learning from data). Provides methods

More information

One-way ANOVA (Single-Factor CRD)

One-way ANOVA (Single-Factor CRD) One-way ANOVA (Single-Factor CRD) STAT:5201 Week 3: Lecture 3 1 / 23 One-way ANOVA We have already described a completed randomized design (CRD) where treatments are randomly assigned to EUs. There is

More information

ECO220Y Simple Regression: Testing the Slope

ECO220Y Simple Regression: Testing the Slope ECO220Y Simple Regression: Testing the Slope Readings: Chapter 18 (Sections 18.3-18.5) Winter 2012 Lecture 19 (Winter 2012) Simple Regression Lecture 19 1 / 32 Simple Regression Model y i = β 0 + β 1 x

More information

LECTURE 5. Introduction to Econometrics. Hypothesis testing

LECTURE 5. Introduction to Econometrics. Hypothesis testing LECTURE 5 Introduction to Econometrics Hypothesis testing October 18, 2016 1 / 26 ON TODAY S LECTURE We are going to discuss how hypotheses about coefficients can be tested in regression models We will

More information

CBA4 is live in practice mode this week exam mode from Saturday!

CBA4 is live in practice mode this week exam mode from Saturday! Announcements CBA4 is live in practice mode this week exam mode from Saturday! Material covered: Confidence intervals (both cases) 1 sample hypothesis tests (both cases) Hypothesis tests for 2 means as

More information

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X.

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X. Estimating σ 2 We can do simple prediction of Y and estimation of the mean of Y at any value of X. To perform inferences about our regression line, we must estimate σ 2, the variance of the error term.

More information

Formal Statement of Simple Linear Regression Model

Formal Statement of Simple Linear Regression Model Formal Statement of Simple Linear Regression Model Y i = β 0 + β 1 X i + ɛ i Y i value of the response variable in the i th trial β 0 and β 1 are parameters X i is a known constant, the value of the predictor

More information

Chapter 9 Inferences from Two Samples

Chapter 9 Inferences from Two Samples Chapter 9 Inferences from Two Samples 9-1 Review and Preview 9-2 Two Proportions 9-3 Two Means: Independent Samples 9-4 Two Dependent Samples (Matched Pairs) 9-5 Two Variances or Standard Deviations Review

More information

Confidence Intervals and Hypothesis Tests

Confidence Intervals and Hypothesis Tests Confidence Intervals and Hypothesis Tests STA 281 Fall 2011 1 Background The central limit theorem provides a very powerful tool for determining the distribution of sample means for large sample sizes.

More information

ST505/S697R: Fall Homework 2 Solution.

ST505/S697R: Fall Homework 2 Solution. ST505/S69R: Fall 2012. Homework 2 Solution. 1. 1a; problem 1.22 Below is the summary information (edited) from the regression (using R output); code at end of solution as is code and output for SAS. a)

More information

ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12,

ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12, ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12, 12.7-12.9 Winter 2012 Lecture 15 (Winter 2011) Estimation Lecture 15 1 / 25 Linking Two Approaches to Hypothesis Testing

More information

The Distribution of F

The Distribution of F The Distribution of F It can be shown that F = SS Treat/(t 1) SS E /(N t) F t 1,N t,λ a noncentral F-distribution with t 1 and N t degrees of freedom and noncentrality parameter λ = t i=1 n i(µ i µ) 2

More information

Chapter 3 Multiple Regression Complete Example

Chapter 3 Multiple Regression Complete Example Department of Quantitative Methods & Information Systems ECON 504 Chapter 3 Multiple Regression Complete Example Spring 2013 Dr. Mohammad Zainal Review Goals After completing this lecture, you should be

More information

Statistics: CI, Tolerance Intervals, Exceedance, and Hypothesis Testing. Confidence intervals on mean. CL = x ± t * CL1- = exp

Statistics: CI, Tolerance Intervals, Exceedance, and Hypothesis Testing. Confidence intervals on mean. CL = x ± t * CL1- = exp Statistics: CI, Tolerance Intervals, Exceedance, and Hypothesis Lecture Notes 1 Confidence intervals on mean Normal Distribution CL = x ± t * 1-α 1- α,n-1 s n Log-Normal Distribution CL = exp 1-α CL1-

More information

Multiple Regression. Inference for Multiple Regression and A Case Study. IPS Chapters 11.1 and W.H. Freeman and Company

Multiple Regression. Inference for Multiple Regression and A Case Study. IPS Chapters 11.1 and W.H. Freeman and Company Multiple Regression Inference for Multiple Regression and A Case Study IPS Chapters 11.1 and 11.2 2009 W.H. Freeman and Company Objectives (IPS Chapters 11.1 and 11.2) Multiple regression Data for multiple

More information

Multiple samples: Modeling and ANOVA

Multiple samples: Modeling and ANOVA Multiple samples: Modeling and Patrick Breheny April 29 Patrick Breheny Introduction to Biostatistics (171:161) 1/23 Multiple group studies In the latter half of this course, we have discussed the analysis

More information

1-Way ANOVA MATH 143. Spring Department of Mathematics and Statistics Calvin College

1-Way ANOVA MATH 143. Spring Department of Mathematics and Statistics Calvin College 1-Way ANOVA MATH 143 Department of Mathematics and Statistics Calvin College Spring 2010 The basic ANOVA situation Two variables: 1 Categorical, 1 Quantitative Main Question: Do the (means of) the quantitative

More information

STAT 3A03 Applied Regression With SAS Fall 2017

STAT 3A03 Applied Regression With SAS Fall 2017 STAT 3A03 Applied Regression With SAS Fall 2017 Assignment 2 Solution Set Q. 1 I will add subscripts relating to the question part to the parameters and their estimates as well as the errors and residuals.

More information

The Difference in Proportions Test

The Difference in Proportions Test Overview The Difference in Proportions Test Dr Tom Ilvento Department of Food and Resource Economics A Difference of Proportions test is based on large sample only Same strategy as for the mean We calculate

More information

WISE Power Tutorial Answer Sheet

WISE Power Tutorial Answer Sheet ame Date Class WISE Power Tutorial Answer Sheet Power: The B.E.A.. Mnemonic Select true or false for each scenario: (Assuming no other changes) True False 1. As effect size increases, power decreases.

More information

1 Introduction to One-way ANOVA

1 Introduction to One-way ANOVA Review Source: Chapter 10 - Analysis of Variance (ANOVA). Example Data Source: Example problem 10.1 (dataset: exp10-1.mtw) Link to Data: http://www.auburn.edu/~carpedm/courses/stat3610/textbookdata/minitab/

More information

Chapter 12 - Lecture 2 Inferences about regression coefficient

Chapter 12 - Lecture 2 Inferences about regression coefficient Chapter 12 - Lecture 2 Inferences about regression coefficient April 19th, 2010 Facts about slope Test Statistic Confidence interval Hypothesis testing Test using ANOVA Table Facts about slope In previous

More information

Lecture 15: Inference Based on Two Samples

Lecture 15: Inference Based on Two Samples Lecture 15: Inference Based on Two Samples MSU-STT 351-Sum17B (P. Vellaisamy: STT 351-Sum17B) Probability & Statistics for Engineers 1 / 26 9.1 Z-tests and CI s for (µ 1 µ 2 ) The assumptions: (i) X =

More information

Inferences for Regression

Inferences for Regression Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In

More information

F79SM STATISTICAL METHODS

F79SM STATISTICAL METHODS F79SM STATISTICAL METHODS SUMMARY NOTES 9 Hypothesis testing 9.1 Introduction As before we have a random sample x of size n of a population r.v. X with pdf/pf f(x;θ). The distribution we assign to X is

More information

Harvard University. Rigorous Research in Engineering Education

Harvard University. Rigorous Research in Engineering Education Statistical Inference Kari Lock Harvard University Department of Statistics Rigorous Research in Engineering Education 12/3/09 Statistical Inference You have a sample and want to use the data collected

More information

Chapter 11 - Lecture 1 Single Factor ANOVA

Chapter 11 - Lecture 1 Single Factor ANOVA April 5, 2013 Chapter 9 : hypothesis testing for one population mean. Chapter 10: hypothesis testing for two population means. What comes next? Chapter 9 : hypothesis testing for one population mean. Chapter

More information

Introductory Econometrics. Review of statistics (Part II: Inference)

Introductory Econometrics. Review of statistics (Part II: Inference) Introductory Econometrics Review of statistics (Part II: Inference) Jun Ma School of Economics Renmin University of China October 1, 2018 1/16 Null and alternative hypotheses Usually, we have two competing

More information

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur Lecture No. # 36 Sampling Distribution and Parameter Estimation

More information

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015 AMS7: WEEK 7. CLASS 1 More on Hypothesis Testing Monday May 11th, 2015 Testing a Claim about a Standard Deviation or a Variance We want to test claims about or 2 Example: Newborn babies from mothers taking

More information

Statistics for IT Managers

Statistics for IT Managers Statistics for IT Managers 95-796, Fall 2012 Module 2: Hypothesis Testing and Statistical Inference (5 lectures) Reading: Statistics for Business and Economics, Ch. 5-7 Confidence intervals Given the sample

More information

Applied Statistics for the Behavioral Sciences

Applied Statistics for the Behavioral Sciences Applied Statistics for the Behavioral Sciences Chapter 8 One-sample designs Hypothesis testing/effect size Chapter Outline Hypothesis testing null & alternative hypotheses alpha ( ), significance level,

More information

Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares

Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares K&W introduce the notion of a simple experiment with two conditions. Note that the raw data (p. 16)

More information

Notes for Week 13 Analysis of Variance (ANOVA) continued WEEK 13 page 1

Notes for Week 13 Analysis of Variance (ANOVA) continued WEEK 13 page 1 Notes for Wee 13 Analysis of Variance (ANOVA) continued WEEK 13 page 1 Exam 3 is on Friday May 1. A part of one of the exam problems is on Predictiontervals : When randomly sampling from a normal population

More information

Two-Sample Inferential Statistics

Two-Sample Inferential Statistics The t Test for Two Independent Samples 1 Two-Sample Inferential Statistics In an experiment there are two or more conditions One condition is often called the control condition in which the treatment is

More information

Comparing Several Means

Comparing Several Means Comparing Several Means Some slides from R. Pruim STA303/STA1002: Methods of Data Analysis II, Summer 2016 Michael Guerzhoy The Dating World of Swordtail Fish In some species of swordtail fish, males develop

More information

Last few slides from last time

Last few slides from last time Last few slides from last time Example 3: What is the probability that p will fall in a certain range, given p? Flip a coin 50 times. If the coin is fair (p=0.5), what is the probability of getting an

More information

Rejection regions for the bivariate case

Rejection regions for the bivariate case Rejection regions for the bivariate case The rejection region for the T 2 test (and similarly for Z 2 when Σ is known) is the region outside of an ellipse, for which there is a (1-α)% chance that the test

More information

Chapter 4: Regression Models

Chapter 4: Regression Models Sales volume of company 1 Textbook: pp. 129-164 Chapter 4: Regression Models Money spent on advertising 2 Learning Objectives After completing this chapter, students will be able to: Identify variables,

More information

Chapter 8 of Devore , H 1 :

Chapter 8 of Devore , H 1 : Chapter 8 of Devore TESTING A STATISTICAL HYPOTHESIS Maghsoodloo A statistical hypothesis is an assumption about the frequency function(s) (i.e., PDF or pdf) of one or more random variables. Stated in

More information

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples Objective Section 9.4 Inferences About Two Means (Matched Pairs) Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means

More information

STA441: Spring Multiple Regression. This slide show is a free open source document. See the last slide for copyright information.

STA441: Spring Multiple Regression. This slide show is a free open source document. See the last slide for copyright information. STA441: Spring 2018 Multiple Regression This slide show is a free open source document. See the last slide for copyright information. 1 Least Squares Plane 2 Statistical MODEL There are p-1 explanatory

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests 1999 Prentice-Hall, Inc. Chap. 8-1 Chapter Topics Hypothesis Testing Methodology Z Test

More information

W&M CSCI 688: Design of Experiments Homework 2. Megan Rose Bryant

W&M CSCI 688: Design of Experiments Homework 2. Megan Rose Bryant W&M CSCI 688: Design of Experiments Homework 2 Megan Rose Bryant September 25, 201 3.5 The tensile strength of Portland cement is being studied. Four different mixing techniques can be used economically.

More information

Inference for Single Proportions and Means T.Scofield

Inference for Single Proportions and Means T.Scofield Inference for Single Proportions and Means TScofield Confidence Intervals for Single Proportions and Means A CI gives upper and lower bounds between which we hope to capture the (fixed) population parameter

More information

HOW TO DETERMINE THE NUMBER OF SUBJECTS NEEDED FOR MY STUDY?

HOW TO DETERMINE THE NUMBER OF SUBJECTS NEEDED FOR MY STUDY? HOW TO DETERMINE THE NUMBER OF SUBJECTS NEEDED FOR MY STUDY? TUTORIAL ON SAMPLE SIZE AND POWER CALCULATIONS FOR INEQUALITY TESTS. John Zavrakidis j.zavrakidis@nki.nl May 28, 2018 J.Zavrakidis Sample and

More information