Rolling the Dice Greg, Josia, Emeka. The Project n Roll a six-sided dice 120 times n Use a random number generator to generate 1000 1-digit numbers (0-9)

Slides:



Advertisements
Similar presentations
Ch8 Inference concerning variance
Advertisements

Chi-Square Test Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis.
Chi square.  Non-parametric test that’s useful when your sample violates the assumptions about normality required by other tests ◦ All other tests we’ve.
EXAMPLE 1 Construct a probability distribution
EXAMPLE 1 Construct a probability distribution Let X be a random variable that represents the sum when two six-sided dice are rolled. Make a table and.
Please turn in your signed syllabus. We will be going to get textbooks shortly after class starts. Homework: Reading Guide – Chapter 2: The Chemical Context.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Goodness-of-Fit Test.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
12.The Chi-square Test and the Analysis of the Contingency Tables 12.1Contingency Table 12.2A Words of Caution about Chi-Square Test.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
Chi-square notes. What is a Chi-test used for? Pronounced like kite, not like cheese! This test is used to check if the difference between expected and.
Chi-Square Test.
For testing significance of patterns in qualitative data Test statistic is based on counts that represent the number of items that fall in each category.
Statistics. Key statistics and their purposes Chi squared test: determines if a data set is random or accounted for by an unwanted variable Standard deviation:
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Chapter 16 – Categorical Data Analysis Math 22 Introductory Statistics.
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
Copyright © Cengage Learning. All rights reserved. 11 Applications of Chi-Square.
Chi-Square Test.
Statistics in Biology. Histogram Shows continuous data – Data within a particular range.
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
1 Chi-squared Test (1) H 0 : population follows distribution Divide the observations into k bins O i = observed frequency in i-th bin E i = expected frequency.
Non-parametric tests (chi-square test) Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Copyright © 2010 Pearson Education, Inc. Slide
Physics 270 – Experimental Physics. Let say we are given a functional relationship between several measured variables Q(x, y, …) x ±  x and x ±  y What.
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data “good” or not. In our fruit fly labs we are using laws.
Reasoning in Psychology Using Statistics Psychology
Chapter 11 Inferences about population proportions using the z statistic.
© Copyright McGraw-Hill 2004
Statistics 300: Elementary Statistics Section 11-2.
Science Practice 2: The student can use mathematics appropriately. Science Practice 5: The student can perform data analysis and evaluation of evidence.
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.
Chi-Square Goodness of Fit Test. In general, the chi-square test statistic is of the form If the computed test statistic is large, then the observed and.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
The Chi Square Equation Statistics in Biology. Background The chi square (χ 2 ) test is a statistical test to compare observed results with theoretical.
ANalysis Of VAriance (ANOVA) Used for continuous outcomes with a nominal exposure with three or more categories (groups) Result of test is F statistic.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Chi-Square (χ 2 ) Analysis Statistical Analysis of Genetic Data.
Chi Square Analysis. What is the chi-square statistic? The chi-square (chi, the Greek letter pronounced "kye”) statistic is a nonparametric statistical.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
AP Biology Probability & Genetics. AP Biology Genetics & Probability  Mendel’s laws:  segregation  independent assortment reflect.
Hypothesis Testing Hypothesis vs Theory  Hypothesis  An educated guess about outcome of an experiment  Theory  An explanation of observed facts that.
Statistical Analysis: Chi Square
I. CHI SQUARE ANALYSIS Statistical tool used to evaluate variation in categorical data Used to determine if variation is significant or instead, due to.
Inference concerning two population variances
Chapter 9: Non-parametric Tests
Chi Squared Test.
Chapter 4. Inference about Process Quality
Active Learning Lecture Slides
Chi-Square Test.
Chi-Squared test AP Biology.
Chi square.
Chi Square Review.
Chi-Square Test.
Probability & Genetics
Statistical Process Control
Overview and Chi-Square
P-VALUE.
Chi-Square Test.
Analyzing the Association Between Categorical Variables
Chi2 (A.K.A X2).
How do you know if the variation in data is the result of random chance or environmental factors? O is the observed value E is the expected value.
Chi square.
Math 10, Spring 2019 Introductory Statistics
MATH 2311 Section 8.5.
Presentation transcript:

Rolling the Dice Greg, Josia, Emeka

The Project n Roll a six-sided dice 120 times n Use a random number generator to generate digit numbers (0-9) n Test the Null Hypothesis that each digit is equally likely to have been selected and that each side of the dice is equally likely to be rolled. n Use a 5% significance level.

Modifications to the Project n 120 rolls of the dice gives an expected value of 20 for each side of the dice n The minimum for the Chi-squared statistic to be a close approximation is 5 n We rolled the six- sided dice 30, 120, 1200, and 9000 times

The Data (30 rolls)

Data (120 rolls)

Data (1200 rolls)

Data (9000 rolls)

Data (1000 random digits)

Comparison (A) n Bar Chart of Category vs. Number of observed values for 30 dice rolls

Comparison (B) n Bar Chart of Category vs. Number of observed values for 9000 dice rolls

Chi-Squared Statistic n Compares Observed and Expected numbers when the possible outcomes are divided into mutually exclusive categories n Obviously the Chi-squared statistic might reject the null hypothesis if there are too few rolls, even though a six-sided dice has equal probability of each side coming up.

Results

n We cannot reject the null hypothesis at the 5% level that each side of the dice has an equal probability of being rolled. n We cannot reject the null hypothesis at the 5% level that each digit has an equal probability of being selected.

Results n The more rolls of the dice, or the more trials of the test that we do, the more confident we can be when we reject or do not reject the null hypothesis when using the Chi- squared statistic to analyze our results.

Results n The more degrees of freedom that the test has, the more trials will be needed. This is because as the degrees of freedom increases the “expected” values go down.