Psychology 202a Advanced Psychological Statistics December 1, 2015.

Slides:



Advertisements
Similar presentations
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Chapter 10 Hypothesis Testing Using Analysis of Variance (ANOVA)
PTP 560 Research Methods Week 9 Thomas Ruediger, PT.
Inferential Statistics
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
1 Analysis of Variance This technique is designed to test the null hypothesis that three or more group means are equal.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Chapter Seventeen HYPOTHESIS TESTING
DATA ANALYSIS I MKT525. Plan of analysis What decision must be made? What are research objectives? What do you have to know to reach those objectives?
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
Hypothesis testing & Inferential Statistics
Understanding Statistics in Research
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
Chapter 9 Hypothesis Testing.
Today Concepts underlying inferential statistics
The t Tests Independent Samples.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Osama A Samarkandi, PhD-RN, NIAC BSc, GMD, BSN, MSN.
The t-test Inferences about Population Means when population SD is unknown.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Psyc 235: Introduction to Statistics DON’T FORGET TO SIGN IN FOR CREDIT!
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Psy B07 Chapter 8Slide 1 POWER. Psy B07 Chapter 8Slide 2 Chapter 4 flashback  Type I error is the probability of rejecting the null hypothesis when it.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
- Interfering factors in the comparison of two sample means using unpaired samples may inflate the pooled estimate of variance of test results. - It is.
Statistical Power The ability to find a difference when one really exists.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Chapter 9: Testing Hypotheses
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
1.State your research hypothesis in the form of a relation between two variables. 2. Find a statistic to summarize your sample data and convert the above.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
General Linear Model 2 Intro to ANOVA.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Stats Lunch: Day 3 The Basis of Hypothesis Testing w/ Parametric Statistics.
Mystery 1Mystery 2Mystery 3.
© Copyright McGraw-Hill 2004
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Ch8.2 Ch8.2 Population Mean Test Case I: A Normal Population With Known Null hypothesis: Test statistic value: Alternative Hypothesis Rejection Region.
The Analysis of Variance ANOVA
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Psychology 202a Advanced Psychological Statistics November 24, 2015.
EDUC 200C week10 December 7, Two main ideas… Describing a sample – Individual variables (mean and spread of data) – Relationships between two variables.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Inferential Statistics Psych 231: Research Methods in Psychology.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Chapter 9 Introduction to the t Statistic
Effect Size 10/15.
Lecture Nine - Twelve Tests of Significance.
Chapter 4. Inference about Process Quality
Hypothesis Testing: Preliminaries
Effect Size.
Central Limit Theorem, z-tests, & t-tests
Hypothesis Testing: Hypotheses
Inference on Mean, Var Unknown
Chapter 9 Hypothesis Testing.
Introduction to ANOVA.
Hypothesis Testing.
Statistical Power.
Presentation transcript:

Psychology 202a Advanced Psychological Statistics December 1, 2015

The plan for today Continuing discussion of power Power for t tests Power for ANOVA G*power

Consider that in tabular form: H 0 TrueH 0 False H 0 Rejected Type I error (p =  Great! H 0 RetainedNo problem Type II error (p = 

What is power? In that scenario, power = 1 –  In other words, power is the probability that we will avoid a Type II error, given that the null hypothesis is actually false.

What affects power? To understand what affects power, consider the simplest possible situation for testing a hypothesis about means: –Hypothesis about a single mean; –The population standard deviation is known to be 15; –The sample size is 25; –The null hypothesis is that  = 100. –The truth is that  = 105.

When will we reject the null? We’ll be doing a Z test. We’ll reject the null if Z 1.96.

But the null hypothesis isn’t true! We stipulated that  is really 105. In that case, the expected value of the Z statistic is really ( )/3 = 5/3, not 0.

What is the power? What is the probability that a single draw from a normal distribution with mean 5/3 and standard deviation 1 will be 1.96? pnorm(-1.96,5/3,1) + (1-pnorm(1.96,5/3,1)) So the power is about 0.38.

What affects power? Power will be increased by: –anything that tends to make the test statistic large; –anything that tends to make the critical value small.

Things that make the statistic large: Big effect Small variability Big sample size

Things that make the critical value small: Less stringent alpha level One-tailed tests In most cases, bigger sample size (because for more complicated statistics, the critical value depends on degrees of freedom)

But when will we ever do a Z test? Noncentral distributions. Noncentrality parameter expresses exactly how the null hypothesis is false (with a bit of sample size thrown in). delta <- ( )/3 tcrit <- qt(.975,24) pt(-tcrit,24,delta) + (1-pt(tcrit,24,delta)) So power would really be a bit lower:.36 rather than.38.

Power in more complex testing situations Two-sample t test Calculation in R: delta <- ( )/15 * sqrt(12*13/25) tcrit <- qt(.975,23) pt(-tcrit,23,delta) + (1-pt(tcrit,23,delta))

Using G*power Obtaining and installing Power calculations in G*power –power for a given situation –required n for a given power –minimum detectable effect size

Power analysis for ANOVA If your main interest is in a contrast, do the power analysis for that contrast (as if it were a t test using MS e in place of the pooled variance estimate. Power analysis for the omnibus F test:

ANOVA power example Suppose we are planning an experiment with five groups, and we expect the means to be spread over a ± one standard deviation range. Pick an arbitrary standard deviation (say, 10). So the means might be (40, 45, 50, 55, 60).

ANOVA power example So how large does n need to be to give power of, say,.9?

ANOVA power example In R: n <- seq(2,15,1) dfn <- 4 dfd <- 5*(n-1) fcrit <- qf(.95, dfn, dfd) lambda <- 2.5*n power <- 1-pf(fcrit,dfn,dfd,lambda) cbind(n,power)

ANOVA power example Illustration in G*power

Next time Two-way ANOVA