1 Chi-square & T-test Comm 420.8 Fall 2007 Nan Yu.

Slides:



Advertisements
Similar presentations
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Advertisements

Statistical Inference for Frequency Data Chapter 16.
Chapter 13: The Chi-Square Test
Chi-square Basics. The Chi-square distribution Positively skewed but becomes symmetrical with increasing degrees of freedom Mean = k where k = degrees.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
UNDERSTANDING RESEARCH RESULTS: STATISTICAL INFERENCE.
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
CJ 526 Statistical Analysis in Criminal Justice
Chapter Goals After completing this chapter, you should be able to:
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Chi-Square and Analysis of Variance (ANOVA) Lecture 9.
Chi Square Test Dealing with categorical dependant variable.
Inferences About Means of Two Independent Samples Chapter 11 Homework: 1, 2, 4, 6, 7.
Inferential Statistics  Hypothesis testing (relationship between 2 or more variables)  We want to make inferences from a sample to a population.  A.
Psyc 235: Introduction to Statistics
Hypothesis Testing: Two Sample Test for Means and Proportions
The Two Sample t Review significance testing Review t distribution
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Independent t-tests.  Use when:  You are examining differences between groups  Each participant is tested once  Comparing two groups only.
Presentation 12 Chi-Square test.
AM Recitation 2/10/11.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Inferential Statistics: SPSS
Hypothesis Testing:.
Hypothesis Testing in SPSS Using the T Distribution
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.
Statistical Analysis Statistical Analysis
Single-Sample T-Test Quantitative Methods in HPELS 440:210.
CJ 526 Statistical Analysis in Criminal Justice
Chapter 9: Testing Hypotheses
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 11 Inferences About Population Variances n Inference about a Population Variance n.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
1 Analysis of Variance ANOVA COMM Fall, 2008 Nan Yu.
Difference Between Means Test (“t” statistic) Analysis of Variance (“F” statistic)
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
DIRECTIONAL HYPOTHESIS The 1-tailed test: –Instead of dividing alpha by 2, you are looking for unlikely outcomes on only 1 side of the distribution –No.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
ANOVA: Analysis of Variance.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Chapter 13 - ANOVA. ANOVA Be able to explain in general terms and using an example what a one-way ANOVA is (370). Know the purpose of the one-way ANOVA.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
I271B The t distribution and the independent sample t-test.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Statistics in IB Biology Error bars, standard deviation, t-test and more.
Chapter Outline Goodness of Fit test Test of Independence.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
Remember Playing perfect black jack – the probability of winning a hand is.498 What is the probability that you will win 8 of the next 10 games of blackjack?
Chapter 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
Review of Factorial ANOVA, correlations and reliability tests COMM Fall, 2007 Nan Yu.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Chi-Square X 2. Review: the “null” hypothesis Inferential statistics are used to test hypotheses Whenever we use inferential statistics the “null hypothesis”
Chi-Square X 2. Review: the “null” hypothesis Inferential statistics are used to test hypotheses Whenever we use inferential statistics the “null hypothesis”
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Difference Between Means Test (“t” statistic) Analysis of Variance (F statistic)
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
Sampling Distribution (a.k.a. “Distribution of Sample Outcomes”) – Based on the laws of probability – “OUTCOMES” = proportions, means, test statistics.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
1 Hypothesis testing & Chi-square COMM Nan Yu Fall 2007.
CHAPTER 10: ANALYSIS OF VARIANCE(ANOVA) Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Independent-Sample T-Test Lab16_10.14 Download two files from Canvas: 1. Excel data file: The link->lab files-> October 14th > lab16_data lab16_data 2.
Introduction to Statistics for the Social Sciences SBS200, COMM200, GEOG200, PA200, POL200, or SOC200 Lecture Section 001, Fall 2015 Room 150 Harvill.
Types of T-tests Independent T-tests Paired or correlated t-tests
The Chi-Square Distribution and Test for Independence
Chapter 10 Analyzing the Association Between Categorical Variables
Presentation transcript:

1 Chi-square & T-test Comm Fall 2007 Nan Yu

2 Warming up Please download practice 1, practice 1 answer, ChisquareData, Ttestdata Use ChisquareData to complete the questions of practice 1.

3 Effect Sizes  Statistical Significance vs. Strength of Effect Strength of Effect: 0 to 1 0 = Least Effect 1 = Maximum Effect

4 Strength of Association for Chi-Squares: Cramér’s V

5 Effect size for Chi-square

6 Influence of Sample Size on Statistical Significance (p-value) versus Strength of Association (Cramer ’ s V)  Sample size will not affect the strength of association, only significance level.

7 Vote Yes No Yes No Organizations Chi-Square Value = 1.72 Degrees of Freedom = 1 Significant? No, p =.19 Cramér’s V =.17 Chi-Square Value = Degrees of Freedom = 1 Significant? Yes, p <.001 Cramér’s V =.17 Yes No Organizations Vote YesNo Note: The number in each cell is mean.

8 Run Chi-square to test the following question People from different race will have a different opinion on the selection of countries that represent a great danger to the U.S.. (race, q36). Chi-Square:_17.46_ DF _5_ p _<.01_ Cramer’s V: _.44_

9 The Chi-square test showed that people from different race have a different opinion on the selection of countries that represent a great danger to the U.S.,  2 (6, N=45) = 17.46, p<.01, Cramer’s V=.44.

10 T-test: Testing Differences in Means

11 I. The Issue of Variability withinbetween Variability within Groups Variability between Groups mean 1 mean 2

12 Different Groups:  Large Between-Group Variability  Small Within-Group Variability Similar Groups:  Small Between-Group Variability  Large Within-Group Variability

13 Which one represents similar groups?

14 Independent Sample t-test Independent Sample t-test is used to test differences between only 2 groups. Ex. Female test scores will differ from male test scores.

15 T-test assumptions IV is nominal and has two categories DV is interval/ratio DV is normally distributed. T-test will robust with larger samples Cases represent a random sample (representative). Cases are independent of one another.

16 Example: Males likes TV sports more than females Put the interval or ratio-level variable here. (DV) Put the variable representing the groups here. (IV) Click “Define Groups" IV? DV?

17 Define your groups by the values. In this case, it is “0” for males and “1” for females.

18 Compare the means. T-test statistic Degrees of freedomp-value

19 T-test statistic Degrees of freedom p-value Are these two groups similar or different (within-group) ? If p >.05, means they are similar, use the top row If p<.05, means they are different, use the bottom row.

20 Report: Males (M=3.04, SD=1.89) do like TV sports more than females (M=1.97, SD=.88), t(34)=2.66, p<.05. T-test statistic Degrees of freedomp-value

21 - Paired Sample t-test is used to test differences between 2 scores. - Variables must be interval or ratio-level and measured on the same metric. Ex. Aggression scores will be higher after viewing a violent film than before viewing a violent film. Variables: Before Film Stimulus After - Here, IV has only one level, but there are two DVs: before aggression, after aggression Paired Sample t-test

22 Paired Sample t-test Place your “before” and “after” variables here.

23 T-test statistic Degree of freedomP-value Report: Aggression scores after viewing the film (M=3.95, SD=.96) were significantly higher than were scores prior to viewing the film (M=2.55, SD=1.11), t(57)=6.89, p<.001.

24 Directional and non-directional hypotheses Females and males have different levels of liking toward dramas. Females likes to watch dramas more males. Liking toward dramas will be different as a result of gender. Which one is a directional hypothesis?

25 One-tailed or two-tailed test Non-directional hypothesis: one-tailed test Directional hypothesis: two-tailed test

26 Probability Distribution 95% of chances that we found the two means are different. 5% of chances that didn’t found the difference. Females and males have different levels of liking toward sitcom. Mean of females is not equal to mean of males

27 Two-tailed tests—split the alpha Females likes to watch sitcom more males. Mean of females > Mean of males 2.5% of chances that didn’t found means of females is higher than that of males. 2.5% of chances that didn’t found means of females is lower than that of males.

28 In-class practice 1 (Ttestdata.sav) H1: Males likes to watch TV reality crime more than females. (gender, tvrcrime) Please use t-test to test the H1 and answer the following questions: Males: Mean _____ SD _____ Females: Mean______ SD ______ t(__)=____, p______ Can we reject the null here?

29 Answers to practice 1 Males: Mean _2.58_ SD _1.17_ Females: Mean _3.32_ SD _1.49_ t(_55_)=_2.11_, p_<.05_ Can we reject the null here? No. We proposed males > females, but we found males < females

30 In-class practice 2 H2: Happiness scores will be higher after viewing a sad film than before viewing a sad film. Please use t-test to test the H2 and answer the following questions: Before: Mean _____ SD _____ After: Mean______ SD ______ t(__)=____, p______ Can we reject the null here?

31 Answers to practice 2 Before: Mean _2.53_ SD _1.13_ After: Mean _4.02_ SD _.83_ t(_57_)=_-7.70_, p_<.001_ Can we reject the null here? Yes