Illustrations using R B. Jones Dept. of Political Science UC-Davis.

Slides:



Advertisements
Similar presentations
Significance Testing.  A statistical method that uses sample data to evaluate a hypothesis about a population  1. State a hypothesis  2. Use the hypothesis.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Inference for Regression
Inferential Statistics
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Hypothesis testing Week 10 Lecture 2.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Mean for sample of n=10 n = 10: t = 1.361df = 9Critical value = Conclusion: accept the null hypothesis; no difference between this sample.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
The Scientific Study of Politics (POL 51) Professor B. Jones University of California, Davis.
Chapter 2 Simple Comparative Experiments
Chapter 11: Inference for Distributions
1 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: –Investors use variance.
Chapter 9 Hypothesis Testing.
Hypothesis Testing: Two Sample Test for Means and Proportions
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
1. Statistics: Learning from Samples about Populations Inference 1: Confidence Intervals What does the 95% CI really mean? Inference 2: Hypothesis Tests.
Lab 5 Hypothesis testing and Confidence Interval.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
ISE 352: Design of Experiments
Estimation and Confidence Intervals
Analysis & Interpretation: Individual Variables Independently Chapter 12.
Quantitative Research in Education Sohee Kang Ph.D., lecturer Math and Statistics Learning Centre.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
Inference for Means (C23-C25 BVD). * Unless the standard deviation of a population is known, a normal model is not appropriate for inference about means.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Statistics - methodology for collecting, analyzing, interpreting and drawing conclusions from collected data Anastasia Kadina GM presentation 6/15/2015.
Basics of Hypothesis Testing 8.2 Day 2. Homework Answers.
PY 603 – Advanced Statistics II TR 12:30-1:45pm 232 Gordon Palmer Hall Jamie DeCoster.
S-012 Testing statistical hypotheses The CI approach The NHST approach.
Foundations of Sociological Inquiry Statistical Analysis.
Review - Confidence Interval Most variables used in social science research (e.g., age, officer cynicism) are normally distributed, meaning that their.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
2 sample interval proportions sample Shown with two examples.
Chapter 10 The t Test for Two Independent Samples
Mystery 1Mystery 2Mystery 3.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Testing Hypotheses II Lesson 10. A Directional Hypothesis (1-tailed) n Does reading to young children increase IQ scores?  = 100,  = 15, n = 25 l sample.
Comparing Two Proportions. AP Statistics Chap 13-2 Two Population Proportions The point estimate for the difference is p 1 – p 2 Population proportions.
T tests comparing two means t tests comparing two means.
Introduction to Basic Statistical Methods Part 1: Statistics in a Nutshell UWHC Scholarly Forum May 21, 2014 Ismor Fischer, Ph.D. UW Dept of Statistics.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
1 Chapter 23 Inferences About Means. 2 Inference for Who? Young adults. What? Heart rate (beats per minute). When? Where? In a physiology lab. How? Take.
Comparing 2 populations. Placebo go to see a doctor.
Test Part VI Review Mr. Hardin AP STATS 2015.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Review Statistical inference and test of significance.
More about tests and intervals CHAPTER 21. Do not state your claim as the null hypothesis, instead make what you’re trying to prove the alternative. The.
Statistical principles: the normal distribution and methods of testing Or, “Explaining the arrangement of things”
 Confidence Intervals  Around a proportion  Significance Tests  Not Every Difference Counts  Difference in Proportions  Difference in Means.
Example 1 We wanted to know if the American League or National League had better pitching – many people believe the NL has stronger pitching (which means.
The Differences in Ticket Prices for Broadway Shows By Courtney Snow I wanted to find out whether there was a significant difference in the price of musicals,
Comparing Two Means Two Proportions Two Means: Independent Samples Two Means: Dependent Samples.
Review of Hypothesis Testing: –see Figures 7.3 & 7.4 on page 239 for an important issue in testing the hypothesis that  =20. There are two types of error.
Stat 251 (2009, Summer) Final Lab TA: Yu, Chi Wai.
Statistical Inference for the Mean Confidence Interval
Inference about Two Means: Independent Samples
Confidence Interval.
Statistical Inference for the Mean: t-test
Presentation transcript:

Illustrations using R B. Jones Dept. of Political Science UC-Davis

Data: Evaluations of African- American House Members  Dep. Variable: Feeling thermometer  Independent Variables: Race/Ethnicity  Theory: Descriptive Representation  Some Basic Statistics

Box Plots

Some Statistics > mean(imputed_if[race_respondent==1], na="TRUE") [1] (White) > mean(imputed_if[race_respondent==2], na="TRUE") [1] (Af. Am.) > mean(imputed_if[race_respondent==3], na="TRUE") [1] (Latino)

Simple t-tests: mu=50 > t.test(imputed_if, mu=50, alt="greater") One Sample t-test data: imputed_if t = , df = 1080, p-value < 2.2e-16 alternative hypothesis: true mean is greater than percent confidence interval: Inf sample estimates: mean of x > t.test(imputed_if, mu=50, alt="less") One Sample t-test data: imputed_if t = , df = 1080, p-value = 1 alternative hypothesis: true mean is less than percent confidence interval: -Inf sample estimates: mean of x > t.test(imputed_if, mu=50, alt="two.sided") One Sample t-test data: imputed_if t = , df = 1080, p-value < 2.2e-16 alternative hypothesis: true mean is not equal to percent confidence interval: sample estimates: mean of x

Difference-in-Means Tests  Test 1: Af.-American survey respondents compared to Latino respondents.  Hypothesis? 1-tail 2-tail  Theory suggests 1-tail Null: mean ratings for the two groups are the same. 1-sided alternative: Af.-Am. respondents will have higher ratings than Latino.

Difference-in-Means > t.test(imputed_if[race_respondent==2], imputed_if[race_respondent==3], alt="greater") Welch Two Sample t-test data: imputed_if[race_respondent == 2] and imputed_if[race_respondent == 3] t = , df = , p-value = 4.075e-05 alternative hypothesis: true difference in means is greater than 0 95 percent confidence interval: Inf sample estimates: mean of x mean of y

Interpretation  There is a significant difference between the two groups.  The probability of a t-score of 4.05 or greater is nearly 0.  Suggests the difference-in-means is probably not due to random chance alone.

Other Contrasts  African-American vs. White 1-tail test?  Whites vs. Latinos What is the alternative here? What is your theory underlying this hypothesis?

Difference-in-Means: Af.-Am. vs. White Respondents > t.test(imputed_if[race_respondent==2], imputed_if[race_respondent==1], alt="greater") Welch Two Sample t-test data: imputed_if[race_respondent == 2] and imputed_if[race_respondent == 1] t = , df = , p-value < 2.2e-16 alternative hypothesis: true difference in means is greater than 0 95 percent confidence interval: Inf sample estimates: mean of x mean of y

Difference-in-Means: White vs. Latino > t.test(imputed_if[race_respondent==1], imputed_if[race_respondent==3], alt="two.sided") Welch Two Sample t-test data: imputed_if[race_respondent == 1] and imputed_if[race_respondent == 3] t = , df = , p-value = alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: sample estimates: mean of x mean of y > t.test(imputed_if[race_respondent==1], imputed_if[race_respondent==3], alt="less") Welch Two Sample t-test data: imputed_if[race_respondent == 1] and imputed_if[race_respondent == 3] t = , df = , p-value = alternative hypothesis: true difference in means is less than 0 95 percent confidence interval: -Inf sample estimates: mean of x mean of y