Elementary Statistics

Size: px
Start display at page:

Download "Elementary Statistics"

Transcription

1 lementary Statistics Chap10 Dr. Ghamsary Page 1 lementary Statistics M. Ghamsary, Ph.D. Chapter 10 Chi-square Test for Goodness of fit and Contingency tables

2 lementary Statistics Chap10 Dr. Ghamsary Page Chi-Square Test Generally speaking, the chi-square test is a statistical test used to examine differences with categorical variables. The chi-square test is used in two similar but distinct circumstances: 1. for estimating how closely an observed distribution matches an expected distribution - we'll refer to this as the goodness-of-fit test. for estimating whether two random variables are independent (Contingency Tables) Goodness of Fit Test One of the more interesting goodness-of-fit applications of the chi-square test is to examine issues of fairness and cheating in games of chance, such as coins, cards, dice, and roulette. Since such games usually involve wagering, there is significant incentive for people to try to rig the games and allegations of missing cards, "loaded" dice, and "sticky" roulette wheels are all too common. So how can the goodness-of-fit test be used to examine cheating in gambling? It is easier to describe the process through an example. Take the example of dice. Most dice used in wagering have six sides, with each side having a value of one, two, three, four, five, or six. If the die being used is fair, then the chance of any particular number coming up is the same: 1 in 6. However, if the die is loaded, then certain numbers will have a greater likelihood of appearing, while others will have a lower likelihood So we would like to test and see if a given data set will match the hypothesized distribution. The following is the test statistics used for this purpose. where, χ = ( O ) O: is the observed data : the expected value.

3 lementary Statistics Chap10 Dr. Ghamsary Page 3 Clearly if the data matches the claimed distribution, this chi-square value will be small and we cannot reject the null hypothesis. Otherwise this value, χ, will be large and we must reject the H 0. xample 1: The simplest example is to flip a coin 100 times and record the outcomes. Suppose we observed 40 heads. Test the claim that the coin is fair, which means the outcomes are equally likely. Use 5% level of significance. Solution: Let us write the outcome in the following table. The expected number of heads is Step1: R S T 0.50(100)=50 H :The Coin isfair 0 H :The Coin isnot fair 1 Step: Calculate the test statistics as follows: Step3: Decision: So we reject H 0. Head Tail Observed xpected df=-1=1 α = 005. ( O ) ( 50) ( 50) by using Table III CV= χ = = + = Conclusion: This means the coin is biased..

4 lementary Statistics Chap10 Dr. Ghamsary Page 4 xample : The next simplest example is to roll a die 10 times and record the outcomes. Suppose we have observed 18 one s, 3 two s, 15 three s, four s, 17 five s, and 5 six s. Test the claim that the die is fair, which means the outcomes are equally likely again. Use 5% level of significance. Solution: Let us write the outcome in the following table. The expected number of outcomes is all equal 0, under the assumption of equality. So we have =10/6= Observed Step1: R S T xpected H :The Die isfair 0 H :The Die is not fair 1 Step: Calculate the test statistics as follows: df=6-1=5 α = 005. by using Table III CV=11.07 ( O ) χ = = ( 18 0) ( 3 0) ( 15 0) ( 0) ( 17 0) ( 5 0) + + = Step3: Decision: fail to reject H 0 Conclusion: This means the die is unbiased

5 lementary Statistics Chap10 Dr. Ghamsary Page 5 xample 3: An ice cream shop would like to know which flavor is preferred by the customers. The past record shows that 50% prefer vanilla, 0% prefer chocolate, 10% prefer vanilla fudge, 15% prefer strawberry, and 5% prefer other kinds. A random sample of 500 customers revealed the following results. Test the claim that the observed numbers and the percentage match. Flavor Vanilla Chocolate Strawberry Vanilla Fudge Others Customers Solution: Let us calculate the expected value as follows: Vanilla: 50% of 500 = 0.50*500=50 Chocolate: 0% of 500 = 0.0*500 =100 Strawberry: 15% of 500 = 0.15*500= 75 Vanilla Fudge: 10% of 500 = 0.10*500=50 Others: 5% of 500 = 0.05*500=5 Flavor Vanilla Chocolate Strawberry Vanilla Fudge Other Observed xpected Step1: H 0:The Observed and expected match H 1:TheObservedandexpected donot match df=5-1=4α = 005. CV=9.49 Step: Calculate the test statistics as follows: ( O ) χ = = ( 40 50) ( ) ( 70 75) ( ) ( 30 5 ) Step3: Decision: fail to reject H 0 Conclusion: This means the die is unbiased

6 lementary Statistics Chap10 Dr. Ghamsary Page 6 xample 4: Affirmative Action Problem A large organization in a city is accused of being racist in one or more race group. If in that city, there are 45% White, 15% Black, 0% Hispanic, 5% Asian, and the rest are others. A random sample of 50 from the whole corporation is collected with the following results. Test to see if the frequency of the observed and the percentage in the population are the same. H 0: The frequency observed matches the percentage of population Step1: H 1: The frequency observed does not match the percentage of population α = 005. df=5-1=4 CV=9.49 Race Observed xpected % White % 11.5 Black 30 15% 37.5 Hispanic 40 0% 50 Asian 0 5% 1.5 Other 60 15% 37.5 Total: 50 CV=9.49 Step: ( O ) χ = = ( ) ( ) ( 40 50) ( ) ( ) Step3: Decision: reject H 0 Conclusion: This means the frequency of observed and the % of the population do not match.

7 lementary Statistics Chap10 Dr. Ghamsary Page 7 xample5: In a study in Alameda County, California, researchers compared the demographic characteristics of members of grand juries to determine how closely these juries reflected the population of the county. If the juries were selected randomly or impartially, then the characteristics of the jurors should closely match those of the larger county; however, if attorneys were tilting the jury selection process, then the jurors' characteristics would be quite different from the county. (figures taken from UCLA Law Review, vol 0, as shown at: Age Country-Wide % # of Jurors > Questions Based on the figures shown in the table above, use the chi-square test to evaluate whether there is evidence of jury fixing in terms of the age of jurors in Alameda County. a. What is the null hypothesis? What is the alternative hypothesis? b. What figures do you need to calculate for this test? c. How many degrees of freedom are there? d. What is the value of the chi-square statistic for this table? What is the p-value of this statistic? e. From this value, what can you conclude about the age of jurors in Alameda County?

8 lementary Statistics Chap10 Dr. Ghamsary Page 8 Test of Independence The other primary use of the chi-square test is to examine whether two variables are independent or not. What does it mean to be independent, in this sense? It means that the two factors are not related. Typically in any research such as epidemiology and social science research, we're interested in finding factors that are related - education and income, occupation and prestige, age and voting behavior. In this case, the chi- square can be used to assess whether two variables are independent or not. More generally, we say that factor A is "not correlated with" or "independent of" the factor B if more of one is not associated with more of another. If two categorical variables are correlated their values tend to move together, either in the same direction or in the opposite. In practice there are many data comes in the following format. They are called two way frequency table and some other text book call it contingency tables. The test of dependency is a test to see if row factor and the column factor are related. Test Statistics: is the same as before, namely: χ ( O ) =, Where b the O is the observed cells and is the expected cells which is can be find from the following: Row Total gb Colunm Total g = Grand total Also we have degrees of freedom = (r-1)(c-1), Where, r = Number of rows, c = Number of column

9 lementary Statistics Chap10 Dr. Ghamsary Page 9 xample 6: Dr. Ghamsary and colleagues are testing to see if the habits of smoking and gender are independent. They have collected a random sample of 50 people as they appear in the following table. Test their claim by using the 0.05 level of significance. Sex Male Smoking Yes No Total Female 150 Total Solution: H 0: Sex and smoking are independent Step1: H 1: Sex and smoking are not independent df = ( 1)( 1) = 1 α = 005. CV= * * = = 56 1 = = * * = = 84 = = Smoking Total Yes No Sex Male Female Total Step: Calculate the test statistics as follows: ( O ) χ = = Step3: Decision: fail to reject H 0 ( 60 56) ( 40 44) ( 80 84) ( 70 66) Conclusion: This means the sex and smoking are independent.

10 lementary Statistics Chap10 Dr. Ghamsary Page 10 Cautionary Note It is important to keep in mind that the chi-square test only tests whether two variables are independent. It cannot address questions of which is greater or less. Using the chi-square test, we cannot evaluate directly the hypothesis that men smoke more than women; rather, the test (strictly speaking) can only test whether the two variables are independent or not. xample 7: Ghamsary and others have done some research (Kashan, Vol 1, ) on income and level of education. They are interested to know if people with more education have higher income. They collected a random sample of 00 people from a large population and they found the following results.test the claim that the education and income are independent factors. Use α = 001. Income\ducation None High School 4 year college Graduate School Less than 30K K-50K Above 50K Solution: Income\ducation N HS College Graduate Total Less than 30K K-50K Above 50K Total * 40 61* 60 61* * = = = = = = = = * 40 90* 60 90* * 50 1 = =14.40 = = = = = = * 40 99* 60 99* * = = = = = = = =

11 lementary Statistics Chap10 Dr. Ghamsary Page 11 Step1: H 0:Income and ducation are independent H 1:Income and ducation are not independent Step: Calculate the test statistics as follows: ( O ) χ = = ( ) ( ) ( ) ( 6 1.0) df = ( 3 1)( 4 1) = 6 at 0.01, CV= ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) MINITAB: Chi-Square Test xpected counts are printed below observed counts C1 C C3 C4 Total Total Chi-Sq = = DF = 6, P-Value = Step3: Decision: Reject H 0 Conclusion: This means the income and education are not independent.

12 lementary Statistics Chap10 Dr. Ghamsary Page 1 xample 8: In a recent research taken from a random sample of 500 student, show in the following table by two factors, Study on time for the tests and School areas. Is there an association between the type of school area and the student goals? School Area Study on time on the tests Rural Suburban Urban Total Always Some Times Never Total

13 lementary Statistics Chap10 Dr. Ghamsary Page 13 xample 9: A chocolate manufacturing company conducted a survey of 300 customers. The research question is: Is there a significant relationship between packaging preference (size of the bottle purchased) and economic status? There were four packaging sizes: small, medium, large, and jumbo. conomic status was: lower, middle, and upper. The following data was collected. Test the claim that the size of the packaging and economic status are independent by using 0.10 level of significance. conomic Status Size Lower Middle Upper Total Small Medium Large Jumbo Total

14 lementary Statistics Chap10 Dr. Ghamsary Page 14 xample 10: A random sample of 1500 persons is questioned regarding their political affiliation and opinion on the war in IRAQ. Test if the political affiliation and their opinion on the war in IRAQ are dependent using 5% level of significance. The observed data is given in the following table. War in IRAQ Party Affiliation Favor Indifferent Opposed Total Democrat Republican Independent Total

Mind on Statistics. Chapter 15

Mind on Statistics. Chapter 15 Mind on Statistics Chapter 15 Section 15.1 1. A student survey was done to study the relationship between class standing (freshman, sophomore, junior, or senior) and major subject (English, Biology, French,

More information

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1) Spring 204 Class 9: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.) Big Picture: More than Two Samples In Chapter 7: We looked at quantitative variables and compared the

More information

Chi Square Distribution

Chi Square Distribution 17. Chi Square A. Chi Square Distribution B. One-Way Tables C. Contingency Tables D. Exercises Chi Square is a distribution that has proven to be particularly useful in statistics. The first section describes

More information

Math 58. Rumbos Fall 2008 1. Solutions to Review Problems for Exam 2

Math 58. Rumbos Fall 2008 1. Solutions to Review Problems for Exam 2 Math 58. Rumbos Fall 2008 1 Solutions to Review Problems for Exam 2 1. For each of the following scenarios, determine whether the binomial distribution is the appropriate distribution for the random variable

More information

Is it statistically significant? The chi-square test

Is it statistically significant? The chi-square test UAS Conference Series 2013/14 Is it statistically significant? The chi-square test Dr Gosia Turner Student Data Management and Analysis 14 September 2010 Page 1 Why chi-square? Tests whether two categorical

More information

Recommend Continued CPS Monitoring. 63 (a) 17 (b) 10 (c) 90. 35 (d) 20 (e) 25 (f) 80. Totals/Marginal 98 37 35 170

Recommend Continued CPS Monitoring. 63 (a) 17 (b) 10 (c) 90. 35 (d) 20 (e) 25 (f) 80. Totals/Marginal 98 37 35 170 Work Sheet 2: Calculating a Chi Square Table 1: Substance Abuse Level by ation Total/Marginal 63 (a) 17 (b) 10 (c) 90 35 (d) 20 (e) 25 (f) 80 Totals/Marginal 98 37 35 170 Step 1: Label Your Table. Label

More information

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test Bivariate Statistics Session 2: Measuring Associations Chi-Square Test Features Of The Chi-Square Statistic The chi-square test is non-parametric. That is, it makes no assumptions about the distribution

More information

Math 108 Exam 3 Solutions Spring 00

Math 108 Exam 3 Solutions Spring 00 Math 108 Exam 3 Solutions Spring 00 1. An ecologist studying acid rain takes measurements of the ph in 12 randomly selected Adirondack lakes. The results are as follows: 3.0 6.5 5.0 4.2 5.5 4.7 3.4 6.8

More information

Mind on Statistics. Chapter 4

Mind on Statistics. Chapter 4 Mind on Statistics Chapter 4 Sections 4.1 Questions 1 to 4: The table below shows the counts by gender and highest degree attained for 498 respondents in the General Social Survey. Highest Degree Gender

More information

CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS

CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS Hypothesis 1: People are resistant to the technological change in the security system of the organization. Hypothesis 2: information hacked and misused. Lack

More information

Use of the Chi-Square Statistic. Marie Diener-West, PhD Johns Hopkins University

Use of the Chi-Square Statistic. Marie Diener-West, PhD Johns Hopkins University This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this

More information

Contingency Tables and the Chi Square Statistic. Interpreting Computer Printouts and Constructing Tables

Contingency Tables and the Chi Square Statistic. Interpreting Computer Printouts and Constructing Tables Contingency Tables and the Chi Square Statistic Interpreting Computer Printouts and Constructing Tables Contingency Tables/Chi Square Statistics What are they? A contingency table is a table that shows

More information

Using Stata for Categorical Data Analysis

Using Stata for Categorical Data Analysis Using Stata for Categorical Data Analysis NOTE: These problems make extensive use of Nick Cox s tab_chi, which is actually a collection of routines, and Adrian Mander s ipf command. From within Stata,

More information

The Chi-Square Test. STAT E-50 Introduction to Statistics

The Chi-Square Test. STAT E-50 Introduction to Statistics STAT -50 Introduction to Statistics The Chi-Square Test The Chi-square test is a nonparametric test that is used to compare experimental results with theoretical models. That is, we will be comparing observed

More information

TABLE OF CONTENTS. About Chi Squares... 1. What is a CHI SQUARE?... 1. Chi Squares... 1. Hypothesis Testing with Chi Squares... 2

TABLE OF CONTENTS. About Chi Squares... 1. What is a CHI SQUARE?... 1. Chi Squares... 1. Hypothesis Testing with Chi Squares... 2 About Chi Squares TABLE OF CONTENTS About Chi Squares... 1 What is a CHI SQUARE?... 1 Chi Squares... 1 Goodness of fit test (One-way χ 2 )... 1 Test of Independence (Two-way χ 2 )... 2 Hypothesis Testing

More information

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails.

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails. Chi-square Goodness of Fit Test The chi-square test is designed to test differences whether one frequency is different from another frequency. The chi-square test is designed for use with data on a nominal

More information

CHAPTER 15 NOMINAL MEASURES OF CORRELATION: PHI, THE CONTINGENCY COEFFICIENT, AND CRAMER'S V

CHAPTER 15 NOMINAL MEASURES OF CORRELATION: PHI, THE CONTINGENCY COEFFICIENT, AND CRAMER'S V CHAPTER 15 NOMINAL MEASURES OF CORRELATION: PHI, THE CONTINGENCY COEFFICIENT, AND CRAMER'S V Chapters 13 and 14 introduced and explained the use of a set of statistical tools that researchers use to measure

More information

Chapter 23. Two Categorical Variables: The Chi-Square Test

Chapter 23. Two Categorical Variables: The Chi-Square Test Chapter 23. Two Categorical Variables: The Chi-Square Test 1 Chapter 23. Two Categorical Variables: The Chi-Square Test Two-Way Tables Note. We quickly review two-way tables with an example. Example. Exercise

More information

Solutions: Problems for Chapter 3. Solutions: Problems for Chapter 3

Solutions: Problems for Chapter 3. Solutions: Problems for Chapter 3 Problem A: You are dealt five cards from a standard deck. Are you more likely to be dealt two pairs or three of a kind? experiment: choose 5 cards at random from a standard deck Ω = {5-combinations of

More information

Simulating Chi-Square Test Using Excel

Simulating Chi-Square Test Using Excel Simulating Chi-Square Test Using Excel Leslie Chandrakantha John Jay College of Criminal Justice of CUNY Mathematics and Computer Science Department 524 West 59 th Street, New York, NY 10019 lchandra@jjay.cuny.edu

More information

Comparing Multiple Proportions, Test of Independence and Goodness of Fit

Comparing Multiple Proportions, Test of Independence and Goodness of Fit Comparing Multiple Proportions, Test of Independence and Goodness of Fit Content Testing the Equality of Population Proportions for Three or More Populations Test of Independence Goodness of Fit Test 2

More information

Association Between Variables

Association Between Variables Contents 11 Association Between Variables 767 11.1 Introduction............................ 767 11.1.1 Measure of Association................. 768 11.1.2 Chapter Summary.................... 769 11.2 Chi

More information

Crosstabulation & Chi Square

Crosstabulation & Chi Square Crosstabulation & Chi Square Robert S Michael Chi-square as an Index of Association After examining the distribution of each of the variables, the researcher s next task is to look for relationships among

More information

Adverse Impact Ratio for Females (0/ 1) = 0 (5/ 17) = 0.2941 Adverse impact as defined by the 4/5ths rule was not found in the above data.

Adverse Impact Ratio for Females (0/ 1) = 0 (5/ 17) = 0.2941 Adverse impact as defined by the 4/5ths rule was not found in the above data. 1 of 9 12/8/2014 12:57 PM (an On-Line Internet based application) Instructions: Please fill out the information into the form below. Once you have entered your data below, you may select the types of analysis

More information

Lecture 13. Understanding Probability and Long-Term Expectations

Lecture 13. Understanding Probability and Long-Term Expectations Lecture 13 Understanding Probability and Long-Term Expectations Thinking Challenge What s the probability of getting a head on the toss of a single fair coin? Use a scale from 0 (no way) to 1 (sure thing).

More information

statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals Summary sheet from last time: Confidence intervals Confidence intervals take on the usual form: parameter = statistic ± t crit SE(statistic) parameter SE a s e sqrt(1/n + m x 2 /ss xx ) b s e /sqrt(ss

More information

One-Way Analysis of Variance (ANOVA) Example Problem

One-Way Analysis of Variance (ANOVA) Example Problem One-Way Analysis of Variance (ANOVA) Example Problem Introduction Analysis of Variance (ANOVA) is a hypothesis-testing technique used to test the equality of two or more population (or treatment) means

More information

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test Introduction to Analysis of Variance (ANOVA) The Structural Model, The Summary Table, and the One- Way ANOVA Limitations of the t-test Although the t-test is commonly used, it has limitations Can only

More information

In the past, the increase in the price of gasoline could be attributed to major national or global

In the past, the increase in the price of gasoline could be attributed to major national or global Chapter 7 Testing Hypotheses Chapter Learning Objectives Understanding the assumptions of statistical hypothesis testing Defining and applying the components in hypothesis testing: the research and null

More information

CHAPTER 12. Chi-Square Tests and Nonparametric Tests LEARNING OBJECTIVES. USING STATISTICS @ T.C. Resort Properties

CHAPTER 12. Chi-Square Tests and Nonparametric Tests LEARNING OBJECTIVES. USING STATISTICS @ T.C. Resort Properties CHAPTER 1 Chi-Square Tests and Nonparametric Tests USING STATISTICS @ T.C. Resort Properties 1.1 CHI-SQUARE TEST FOR THE DIFFERENCE BETWEEN TWO PROPORTIONS (INDEPENDENT SAMPLES) 1. CHI-SQUARE TEST FOR

More information

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96 1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

More information

AMS 5 CHANCE VARIABILITY

AMS 5 CHANCE VARIABILITY AMS 5 CHANCE VARIABILITY The Law of Averages When tossing a fair coin the chances of tails and heads are the same: 50% and 50%. So if the coin is tossed a large number of times, the number of heads and

More information

Elementary Statistics

Elementary Statistics Elementary Statistics Chapter 1 Dr. Ghamsary Page 1 Elementary Statistics M. Ghamsary, Ph.D. Chap 01 1 Elementary Statistics Chapter 1 Dr. Ghamsary Page 2 Statistics: Statistics is the science of collecting,

More information

Chapter 16: law of averages

Chapter 16: law of averages Chapter 16: law of averages Context................................................................... 2 Law of averages 3 Coin tossing experiment......................................................

More information

Unit 12 Logistic Regression Supplementary Chapter 14 in IPS On CD (Chap 16, 5th ed.)

Unit 12 Logistic Regression Supplementary Chapter 14 in IPS On CD (Chap 16, 5th ed.) Unit 12 Logistic Regression Supplementary Chapter 14 in IPS On CD (Chap 16, 5th ed.) Logistic regression generalizes methods for 2-way tables Adds capability studying several predictors, but Limited to

More information

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Ch. 10 Chi SquareTests and the F-Distribution 10.1 Goodness of Fit 1 Find Expected Frequencies Provide an appropriate response. 1) The frequency distribution shows the ages for a sample of 100 employees.

More information

People like to clump things into categories. Virtually every research

People like to clump things into categories. Virtually every research 05-Elliott-4987.qxd 7/18/2006 5:26 PM Page 113 5 Analysis of Categorical Data People like to clump things into categories. Virtually every research project categorizes some of its observations into neat,

More information

Standard 12: The student will explain and evaluate the financial impact and consequences of gambling.

Standard 12: The student will explain and evaluate the financial impact and consequences of gambling. STUDENT MODULE 12.1 GAMBLING PAGE 1 Standard 12: The student will explain and evaluate the financial impact and consequences of gambling. Risky Business Simone, Paula, and Randy meet in the library every

More information

COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES.

COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES. 277 CHAPTER VI COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES. This chapter contains a full discussion of customer loyalty comparisons between private and public insurance companies

More information

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics Ms. Foglia Date AP: LAB 8: THE CHI-SQUARE TEST Probability, Random Chance, and Genetics Why do we study random chance and probability at the beginning of a unit on genetics? Genetics is the study of inheritance,

More information

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010 MONT 07N Understanding Randomness Solutions For Final Examination May, 00 Short Answer (a) (0) How are the EV and SE for the sum of n draws with replacement from a box computed? Solution: The EV is n times

More information

CHAPTER 11 CHI-SQUARE AND F DISTRIBUTIONS

CHAPTER 11 CHI-SQUARE AND F DISTRIBUTIONS CHAPTER 11 CHI-SQUARE AND F DISTRIBUTIONS CHI-SQUARE TESTS OF INDEPENDENCE (SECTION 11.1 OF UNDERSTANDABLE STATISTICS) In chi-square tests of independence we use the hypotheses. H0: The variables are independent

More information

Hypothesis Tests for 1 sample Proportions

Hypothesis Tests for 1 sample Proportions Hypothesis Tests for 1 sample Proportions 1. Hypotheses. Write the null and alternative hypotheses you would use to test each of the following situations. a) A governor is concerned about his "negatives"

More information

THE ASSOCIATED PRESS POLL CONDUCTED BY IPSOS PUBLIC AFFAIRS RELEASE DATE: DECEMEBER 16, 2005 PROJECT #81-5139-71 REGISTERED VOTERS/ PARTY AFFILIATION

THE ASSOCIATED PRESS POLL CONDUCTED BY IPSOS PUBLIC AFFAIRS RELEASE DATE: DECEMEBER 16, 2005 PROJECT #81-5139-71 REGISTERED VOTERS/ PARTY AFFILIATION 1101 Connecticut Avenue NW, Suite 200 Washington, DC 20036 (202) 463-7300 Interview dates: December 13-15, 2005 Interviews 1,006 adults, 813 registered voters Margin of error: +3.1 for all adults, +3.5

More information

Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table

Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table ANALYSIS OF DISCRT VARIABLS / 5 CHAPTR FIV ANALYSIS OF DISCRT VARIABLS Discrete variables are those which can only assume certain fixed values. xamples include outcome variables with results such as live

More information

11. Analysis of Case-control Studies Logistic Regression

11. Analysis of Case-control Studies Logistic Regression Research methods II 113 11. Analysis of Case-control Studies Logistic Regression This chapter builds upon and further develops the concepts and strategies described in Ch.6 of Mother and Child Health:

More information

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS The Islamic University of Gaza Faculty of Commerce Department of Economics and Political Sciences An Introduction to Statistics Course (ECOE 130) Spring Semester 011 Chapter 10- TWO-SAMPLE TESTS Practice

More information

CONTINGENCY TABLES ARE NOT ALL THE SAME David C. Howell University of Vermont

CONTINGENCY TABLES ARE NOT ALL THE SAME David C. Howell University of Vermont CONTINGENCY TABLES ARE NOT ALL THE SAME David C. Howell University of Vermont To most people studying statistics a contingency table is a contingency table. We tend to forget, if we ever knew, that contingency

More information

Topic 8. Chi Square Tests

Topic 8. Chi Square Tests BE540W Chi Square Tests Page 1 of 5 Topic 8 Chi Square Tests Topics 1. Introduction to Contingency Tables. Introduction to the Contingency Table Hypothesis Test of No Association.. 3. The Chi Square Test

More information

Chapter 26: Tests of Significance

Chapter 26: Tests of Significance Chapter 26: Tests of Significance Procedure: 1. State the null and alternative in words and in terms of a box model. 2. Find the test statistic: z = observed EV. SE 3. Calculate the P-value: The area under

More information

LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics Period Date LAB : THE CHI-SQUARE TEST Probability, Random Chance, and Genetics Why do we study random chance and probability at the beginning of a unit on genetics? Genetics is the study of inheritance,

More information

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS 0 400 800 1200 1600 NUMBER OF TOSSES

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS 0 400 800 1200 1600 NUMBER OF TOSSES INTRODUCTION TO CHANCE VARIABILITY WHAT DOES THE LAW OF AVERAGES SAY? 4 coins were tossed 1600 times each, and the chance error number of heads half the number of tosses was plotted against the number

More information

Categorical Data Analysis

Categorical Data Analysis Richard L. Scheaffer University of Florida The reference material and many examples for this section are based on Chapter 8, Analyzing Association Between Categorical Variables, from Statistical Methods

More information

Common Univariate and Bivariate Applications of the Chi-square Distribution

Common Univariate and Bivariate Applications of the Chi-square Distribution Common Univariate and Bivariate Applications of the Chi-square Distribution The probability density function defining the chi-square distribution is given in the chapter on Chi-square in Howell's text.

More information

Mind on Statistics. Chapter 13

Mind on Statistics. Chapter 13 Mind on Statistics Chapter 13 Sections 13.1-13.2 1. Which statement is not true about hypothesis tests? A. Hypothesis tests are only valid when the sample is representative of the population for the question

More information

Regression Analysis: A Complete Example

Regression Analysis: A Complete Example Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

More information

Chi-square test Fisher s Exact test

Chi-square test Fisher s Exact test Lesson 1 Chi-square test Fisher s Exact test McNemar s Test Lesson 1 Overview Lesson 11 covered two inference methods for categorical data from groups Confidence Intervals for the difference of two proportions

More information

A probability experiment is a chance process that leads to well-defined outcomes. 3) What is the difference between an outcome and an event?

A probability experiment is a chance process that leads to well-defined outcomes. 3) What is the difference between an outcome and an event? Ch 4.2 pg.191~(1-10 all), 12 (a, c, e, g), 13, 14, (a, b, c, d, e, h, i, j), 17, 21, 25, 31, 32. 1) What is a probability experiment? A probability experiment is a chance process that leads to well-defined

More information

STATISTICS 8, FINAL EXAM. Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4

STATISTICS 8, FINAL EXAM. Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4 STATISTICS 8, FINAL EXAM NAME: KEY Seat Number: Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4 Make sure you have 8 pages. You will be provided with a table as well, as a separate

More information

Chapter 20: chance error in sampling

Chapter 20: chance error in sampling Chapter 20: chance error in sampling Context 2 Overview................................................................ 3 Population and parameter..................................................... 4

More information

Solutions to Homework 10 Statistics 302 Professor Larget

Solutions to Homework 10 Statistics 302 Professor Larget s to Homework 10 Statistics 302 Professor Larget Textbook Exercises 7.14 Rock-Paper-Scissors (Graded for Accurateness) In Data 6.1 on page 367 we see a table, reproduced in the table below that shows the

More information

3. Analysis of Qualitative Data

3. Analysis of Qualitative Data 3. Analysis of Qualitative Data Inferential Stats, CEC at RUPP Poch Bunnak, Ph.D. Content 1. Hypothesis tests about a population proportion: Binomial test 2. Chi-square testt for goodness offitfit 3. Chi-square

More information

CONTINGENCY (CROSS- TABULATION) TABLES

CONTINGENCY (CROSS- TABULATION) TABLES CONTINGENCY (CROSS- TABULATION) TABLES Presents counts of two or more variables A 1 A 2 Total B 1 a b a+b B 2 c d c+d Total a+c b+d n = a+b+c+d 1 Joint, Marginal, and Conditional Probability We study methods

More information

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

12.5: CHI-SQUARE GOODNESS OF FIT TESTS 125: Chi-Square Goodness of Fit Tests CD12-1 125: CHI-SQUARE GOODNESS OF FIT TESTS In this section, the χ 2 distribution is used for testing the goodness of fit of a set of data to a specific probability

More information

Chi Squared and Fisher's Exact Tests. Observed vs Expected Distributions

Chi Squared and Fisher's Exact Tests. Observed vs Expected Distributions BMS 617 Statistical Techniques for the Biomedical Sciences Lecture 11: Chi-Squared and Fisher's Exact Tests Chi Squared and Fisher's Exact Tests This lecture presents two similarly structured tests, Chi-squared

More information

MATH 140 Lab 4: Probability and the Standard Normal Distribution

MATH 140 Lab 4: Probability and the Standard Normal Distribution MATH 140 Lab 4: Probability and the Standard Normal Distribution Problem 1. Flipping a Coin Problem In this problem, we want to simualte the process of flipping a fair coin 1000 times. Note that the outcomes

More information

Mind on Statistics. Chapter 12

Mind on Statistics. Chapter 12 Mind on Statistics Chapter 12 Sections 12.1 Questions 1 to 6: For each statement, determine if the statement is a typical null hypothesis (H 0 ) or alternative hypothesis (H a ). 1. There is no difference

More information

NATION OK WITH SPORTS BETTING; ONLINE GAMBLING A DIFFERENT STORY

NATION OK WITH SPORTS BETTING; ONLINE GAMBLING A DIFFERENT STORY Embargoed for release 5am, Friday, December 21, 2012 6 pp. Contact: Krista Jenkins Office: 973.443.8390 Cell: 908.328.8967 kjenkins@fdu.edu Dan Cassino 973.896.7072 dcassino@fdu.edu @dancassino NATION

More information

Testing Hypotheses About Proportions

Testing Hypotheses About Proportions Chapter 11 Testing Hypotheses About Proportions Hypothesis testing method: uses data from a sample to judge whether or not a statement about a population may be true. Steps in Any Hypothesis Test 1. Determine

More information

Elementary Statistics Sample Exam #3

Elementary Statistics Sample Exam #3 Elementary Statistics Sample Exam #3 Instructions. No books or telephones. Only the supplied calculators are allowed. The exam is worth 100 points. 1. A chi square goodness of fit test is considered to

More information

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Odds ratio, Odds ratio test for independence, chi-squared statistic. Odds ratio, Odds ratio test for independence, chi-squared statistic. Announcements: Assignment 5 is live on webpage. Due Wed Aug 1 at 4:30pm. (9 days, 1 hour, 58.5 minutes ) Final exam is Aug 9. Review

More information

Release #2301 Release Date and Time: 6:00 a.m., Tuesday, March 10, 2009

Release #2301 Release Date and Time: 6:00 a.m., Tuesday, March 10, 2009 THE FIELD POLL THE INDEPENDENT AND NON-PARTISAN SURVEY OF PUBLIC OPINION ESTABLISHED IN 1947 AS THE CALIFORNIA POLL BY MERVIN FIELD Field Research Corporation 601 California Street, Suite 900 San Francisco,

More information

- - Each Split Sample = ± 5.6 percentage points

- - Each Split Sample = ± 5.6 percentage points - - Interview Dates: February 11 to 21, 2012 Sample Frame: Registered Voters Sample Size: TENNESSEE = 606 Split Sample Sizes: Split A = 303; Split B = 303 Margin of Error: TENNESSEE = ± 4.0 percentage

More information

AP Statistics 7!3! 6!

AP Statistics 7!3! 6! Lesson 6-4 Introduction to Binomial Distributions Factorials 3!= Definition: n! = n( n 1)( n 2)...(3)(2)(1), n 0 Note: 0! = 1 (by definition) Ex. #1 Evaluate: a) 5! b) 3!(4!) c) 7!3! 6! d) 22! 21! 20!

More information

Basic Probability Theory II

Basic Probability Theory II RECAP Basic Probability heory II Dr. om Ilvento FREC 408 We said the approach to establishing probabilities for events is to Define the experiment List the sample points Assign probabilities to the sample

More information

Statistics 2014 Scoring Guidelines

Statistics 2014 Scoring Guidelines AP Statistics 2014 Scoring Guidelines College Board, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks of the College Board. AP Central is the official online home

More information

CHAPTER 5 COMPARISON OF DIFFERENT TYPE OF ONLINE ADVERTSIEMENTS. Table: 8 Perceived Usefulness of Different Advertisement Types

CHAPTER 5 COMPARISON OF DIFFERENT TYPE OF ONLINE ADVERTSIEMENTS. Table: 8 Perceived Usefulness of Different Advertisement Types CHAPTER 5 COMPARISON OF DIFFERENT TYPE OF ONLINE ADVERTSIEMENTS 5.1 Descriptive Analysis- Part 3 of Questionnaire Table 8 shows the descriptive statistics of Perceived Usefulness of Banner Ads. The results

More information

Online Appendix: Thar SHE blows? Gender, Competition, and Bubbles in Experimental Asset Markets, by Catherine C. Eckel and Sascha C.

Online Appendix: Thar SHE blows? Gender, Competition, and Bubbles in Experimental Asset Markets, by Catherine C. Eckel and Sascha C. Online Appendix: Thar SHE blows? Gender, Competition, and Bubbles in Experimental Asset Markets, by Catherine C. Eckel and Sascha C. Füllbrunn A1. META-ANALYSIS Treatment TABLE A1. BUBBLE MEASURES FOR

More information

FINDINGS OF THE CALIFORNIA SENATE BASELINE SURVEY

FINDINGS OF THE CALIFORNIA SENATE BASELINE SURVEY FINDINGS OF THE CALIFORNIA SENATE BASELINE SURVEY Jerald G. Schutte Professor, Department of Sociology Director, Center for Survey Research California State University, Northridge Faculty Fellows Program

More information

Chapter 5 Section 2 day 1 2014f.notebook. November 17, 2014. Honors Statistics

Chapter 5 Section 2 day 1 2014f.notebook. November 17, 2014. Honors Statistics Chapter 5 Section 2 day 1 2014f.notebook November 17, 2014 Honors Statistics Monday November 17, 2014 1 1. Welcome to class Daily Agenda 2. Please find folder and take your seat. 3. Review Homework C5#3

More information

An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA

An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA ABSTRACT An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA Often SAS Programmers find themselves in situations where performing

More information

Betting systems: how not to lose your money gambling

Betting systems: how not to lose your money gambling Betting systems: how not to lose your money gambling G. Berkolaiko Department of Mathematics Texas A&M University 28 April 2007 / Mini Fair, Math Awareness Month 2007 Gambling and Games of Chance Simple

More information

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING CHAPTER 5. A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING 5.1 Concepts When a number of animals or plots are exposed to a certain treatment, we usually estimate the effect of the treatment

More information

Section 12 Part 2. Chi-square test

Section 12 Part 2. Chi-square test Section 12 Part 2 Chi-square test McNemar s Test Section 12 Part 2 Overview Section 12, Part 1 covered two inference methods for categorical data from 2 groups Confidence Intervals for the difference of

More information

II. DISTRIBUTIONS distribution normal distribution. standard scores

II. DISTRIBUTIONS distribution normal distribution. standard scores Appendix D Basic Measurement And Statistics The following information was developed by Steven Rothke, PhD, Department of Psychology, Rehabilitation Institute of Chicago (RIC) and expanded by Mary F. Schmidt,

More information

1) The table lists the smoking habits of a group of college students. Answer: 0.218

1) The table lists the smoking habits of a group of college students. Answer: 0.218 FINAL EXAM REVIEW Name ) The table lists the smoking habits of a group of college students. Sex Non-smoker Regular Smoker Heavy Smoker Total Man 5 52 5 92 Woman 8 2 2 220 Total 22 2 If a student is chosen

More information

MAINE K-12 & SCHOOL CHOICE SURVEY What Do Voters Say About K-12 Education?

MAINE K-12 & SCHOOL CHOICE SURVEY What Do Voters Say About K-12 Education? MAINE K-12 & SCHOOL CHOICE SURVEY What Do Voters Say About K-12 Education? Interview Dates: January 30 to February 6, 2013 Sample Frame: Registered Voters Sample Sizes: MAINE = 604 Split Sample Sizes:

More information

Medicare Advantage National Senior Survey 600 Senior Registered Voters in the Medicare Advantage Program February 24-28, 2015

Medicare Advantage National Senior Survey 600 Senior Registered Voters in the Medicare Advantage Program February 24-28, 2015 Medicare Advantage National Senior Survey 600 Senior Registered Voters in the Medicare Advantage Program February 24-28, 2015 1. In what year were you born? 1. Before 1950 (CONTINUE TO QUESTION 2) 100

More information

Nonparametric Statistics

Nonparametric Statistics Nonparametric Statistics J. Lozano University of Goettingen Department of Genetic Epidemiology Interdisciplinary PhD Program in Applied Statistics & Empirical Methods Graduate Seminar in Applied Statistics

More information

STT 200 LECTURE 1, SECTION 2,4 RECITATION 7 (10/16/2012)

STT 200 LECTURE 1, SECTION 2,4 RECITATION 7 (10/16/2012) STT 200 LECTURE 1, SECTION 2,4 RECITATION 7 (10/16/2012) TA: Zhen (Alan) Zhang zhangz19@stt.msu.edu Office hour: (C500 WH) 1:45 2:45PM Tuesday (office tel.: 432-3342) Help-room: (A102 WH) 11:20AM-12:30PM,

More information

17% of cell phone owners do most of their online browsing on their phone, rather than a computer or other device

17% of cell phone owners do most of their online browsing on their phone, rather than a computer or other device JUNE 26, 2012 17% of cell phone owners do most of their online browsing on their phone, rather than a computer or other device Most do so for convenience, but for some their phone is their only option

More information

2.5 Conditional Probabilities and 2-Way Tables

2.5 Conditional Probabilities and 2-Way Tables 2.5 Conditional Probabilities and 2-Way Tables Learning Objectives Understand how to calculate conditional probabilities Understand how to calculate probabilities using a contingency or 2-way table It

More information

Statistical Impact of Slip Simulator Training at Los Alamos National Laboratory

Statistical Impact of Slip Simulator Training at Los Alamos National Laboratory LA-UR-12-24572 Approved for public release; distribution is unlimited Statistical Impact of Slip Simulator Training at Los Alamos National Laboratory Alicia Garcia-Lopez Steven R. Booth September 2012

More information

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1. General Method: Difference of Means 1. Calculate x 1, x 2, SE 1, SE 2. 2. Combined SE = SE1 2 + SE2 2. ASSUMES INDEPENDENT SAMPLES. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n

More information

MATH 2200 PROBABILITY AND STATISTICS M2200FL083.1

MATH 2200 PROBABILITY AND STATISTICS M2200FL083.1 MATH 2200 PROBABILITY AND STATISTICS M2200FL083.1 In almost all problems, I have given the answers to four significant digits. If your answer is slightly different from one of mine, consider that to be

More information

Poisson Models for Count Data

Poisson Models for Count Data Chapter 4 Poisson Models for Count Data In this chapter we study log-linear models for count data under the assumption of a Poisson error structure. These models have many applications, not only to the

More information

MUHLENBERG COLLEGE /MORNING CALL. 2008 Presidential Tracking Poll

MUHLENBERG COLLEGE /MORNING CALL. 2008 Presidential Tracking Poll MUHLENBERG COLLEGE /MORNING CALL 2008 Presidential Tracking Poll RELEASE #20 October 16, 2008 FIELDING PERIOD October 11-15, 2008 SAMPLE 595 Likely Voters in Pennsylvania MARGIN OF ERROR - +/- 4.0% at

More information

Chapter 19 The Chi-Square Test

Chapter 19 The Chi-Square Test Tutorial for the integration of the software R with introductory statistics Copyright c Grethe Hystad Chapter 19 The Chi-Square Test In this chapter, we will discuss the following topics: We will plot

More information

AP STATISTICS (Warm-Up Exercises)

AP STATISTICS (Warm-Up Exercises) AP STATISTICS (Warm-Up Exercises) 1. Describe the distribution of ages in a city: 2. Graph a box plot on your calculator for the following test scores: {90, 80, 96, 54, 80, 95, 100, 75, 87, 62, 65, 85,

More information