PHYS 275 Experiment 2 Of Dice and Distributions

Similar documents
New Topic. PHYS 1021: Chap. 10, Pg 2. Page 1

Purpose: Materials: WARNING! Section: Partner 2: Partner 1:

Chapter 18. Sampling Distribution Models /51

PHY 123 Lab 1 - Error and Uncertainty and the Simple Pendulum

Probably About Probability p <.05. Probability. What Is Probability?

Sampling Distributions

MITOCW ocw-18_02-f07-lec17_220k

Conservation of Momentum

We're in interested in Pr{three sixes when throwing a single dice 8 times}. => Y has a binomial distribution, or in official notation, Y ~ BIN(n,p).

STA Module 4 Probability Concepts. Rev.F08 1

Electric Potential. Electric field from plane of charge (Serway Example 24.5)

Assignment 5 SOLUTIONS. Part A Getting a 3 or less on a single roll of a 10-Sided Die. 2. Printout of the first 50 lines of your four data columns.

Experiment 1: The Same or Not The Same?

Lesson 5b Solving Quadratic Equations

Experiment A12 Monte Carlo Night! Procedure

Introduction to Uncertainty and Treatment of Data

Computer simulation of radioactive decay

Determination of Density 1

Electric Potential. Electric field from plane of charge (Serway Example 24.5)

Experiment 2 Random Error and Basic Statistics

Lesson 3: Advanced Factoring Strategies for Quadratic Expressions

MATH2206 Prob Stat/20.Jan Weekly Review 1-2

Please bring the task to your first physics lesson and hand it to the teacher.

Experiment 2 Random Error and Basic Statistics

Argyle Magnet Middle School Summer Math Packet ANSWERS

Some Statistics. V. Lindberg. May 16, 2007

PRACTICE PROBLEMS FOR EXAM 2

Introductory Probability

Section 4.6 Negative Exponents

Basic Concepts of Probability

MATH 10 INTRODUCTORY STATISTICS

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Static Equilibrium. Torque - also known as moment of force. (Serway Sec. 11.1) Rigid objects in static equilibrium. (Serway Secs. 12.1, 12.

Poisson distribution and χ 2 (Chap 11-12)

Exam Two. Phu Vu. test Two. Take home group test April 13 ~ April 18. Your group alias: Your group members: Student name

Physics 8 Monday, September 16, 2013

MAT Mathematics in Today's World

COMP6053 lecture: Sampling and the central limit theorem. Jason Noble,

So far we discussed random number generators that need to have the maximum length period.

P (A) = P (B) = P (C) = P (D) =

Simple Harmonic Motion

Math 90 Lecture Notes Chapter 1

Course Project. Physics I with Lab

Elastic and Inelastic Collisions

A Scientific Model for Free Fall.

Experiment 2: Projectile motion and conservation of energy

STAT 345 Spring 2018 Homework 4 - Discrete Probability Distributions

CSCI2244-Randomness and Computation First Exam with Solutions

Using Microsoft Excel

Physics 115 Experiment 1. Introduction to Measurement and Error Analysis (PHY 115 and 117)

Exercises. Class choose one. 1.11: The birthday problem. 1.12: First to fail: Weibull.

STA 247 Solutions to Assignment #1

Senior Math Circles November 19, 2008 Probability II

What is Crater Number Density?

Physics 1140 Lecture 6: Gaussian Distributions

MATH 56A SPRING 2008 STOCHASTIC PROCESSES

Activity Title: It s Either Very Hot or Very Cold Up There!

Principles and Problems. Chapter 1: A Physics Toolkit

Chapter 9: Equations and Inequalities

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Banneker Middle School. Summer Math Packet C2.0 Algebra 1

CMPSCI 240: Reasoning Under Uncertainty

Modeling the Motion of a Projectile in Air

MATH 10 INTRODUCTORY STATISTICS

A Primer on Statistical Inference using Maximum Likelihood

Motion II. Goals and Introduction

Math 5a Reading Assignments for Sections

Homework Assignment - Chapter 4 - Fall 2011

Chapter 3. Estimation of p. 3.1 Point and Interval Estimates of p

Chapter 5: Probability in Our Daily Lives

Before this course is over we will see the need to split up a fraction in a couple of ways, one using multiplication and the other using addition.

Copyright, Nick E. Nolfi MPM1D9 Unit 6 Statistics (Data Analysis) STA-1

Statistical Analysis of Data

Chi-Squared Tests. Semester 1. Chi-Squared Tests

In a radioactive source containing a very large number of radioactive nuclei, it is not

AQA Statistics 1. Probability. Section 1: Introducing Probability. Notation

A Collection of Dice Problems

Aditya Bhaskara CS 5968/6968, Lecture 1: Introduction and Review 12 January 2016

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

OCR Statistics 1 Probability. Section 1: Introducing probability

Introduction to Algebra: The First Week

LAB 2 - ONE DIMENSIONAL MOTION

Elastic and Inelastic Collisions

Student s guide CESAR Science Case Rotation period of the Sun and the sunspot activity

CIS 2033 Lecture 5, Fall

Math 493 Final Exam December 01

Lecture #13 Tuesday, October 4, 2016 Textbook: Sections 7.3, 7.4, 8.1, 8.2, 8.3

Experiment 0 ~ Introduction to Statistics and Excel Tutorial. Introduction to Statistics, Error and Measurement

Civil Engineering Computation. Initial Meeting and Class Setup EXCEL Review Problems

Radioactivity 1. How: We randomize and spill a large set of dice, remove those showing certain numbers, then repeat.

Final Exam. Math Su10. by Prof. Michael Cap Khoury

The First Derivative Test

# of 6s # of times Test the null hypthesis that the dice are fair at α =.01 significance

Lesson 7: The Mean as a Balance Point

Moment of Inertia: Rotational Energy

Natural Language Processing Prof. Pawan Goyal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Probability and Inference. POLI 205 Doing Research in Politics. Populations and Samples. Probability. Fall 2015

Irreversibility. Have you ever seen this happen? (when you weren t asleep or on medication) Which stage never happens?

Discrete Probability. Chemistry & Physics. Medicine

Transcription:

PHYS 275 Experiment 2 Of Dice and Distributions

Experiment Summary Today we will study the distribution of dice rolling results Two types of measurement, not to be confused: frequency with which we obtain a certain roll, and frequency with which we obtain a certain score They answer to the following type of questions: how often do I get my die to show the face 2? If I roll two dice, how often do I get a result of 10 or larger? We will study the probability distribution of dice rolls, and compare them with the expected theory We can (and will!) calculate analytically the theoretical probability distribution The comparison between theory and experimental results will tell us clues about our dice (are they fair?) PHYS 275 - Experiment 2 2

What should we learn today? Learn concepts of probability What is probability? How can I quantify random phenomena? Power of probability: give indications on the outcome of a specific event Practice uncertainty analysis Average of measurement, standard deviation, uncertainty on averages (see that repeating measurements you can make a better determination of a quantity) Error propagation Test of c 2 Learn how to present your data Organize your spreadsheet in a way that it is easier for the TA to understand your analysis and results PHYS 275 - Experiment 2 3

Theory of Dice Rolling Let us start with 1 die If the die is fair, each side has equal probability of appearing, at each roll Let us indicate with P n the probability that the die will show the face with n dots We find that P n = 1/6 exploiting two trivial properties: P 1 = P 2 = = P 6 : probability of falling on each side is the same, whichever the side 6 P n = 1: the probability that the die falls on any side is 1; n=1 i.e., the die rolls, with probability 1, a number between 1 and 6 The (discrete) function P n is the parent distribution It is the theoretical probability distribution for one die PHYS 275 - Experiment 2 4

Using the parent distribution The parent distribution is useful to define many properties of our system (one die) Here are some of them, which you will encounter in this experiment Frequency distribution f n : number of times we see the n face What is f(n), the expected number of times we see the n face if we throw the die N times? f n = N P(n) PHYS 275 - Experiment 2 5

More on using P(n) Expected statistical fluctuation on f(n): σ f (n) This has to depend on N: the more times you through the die, the closer your f(n) should approach f(n) Formula: σ f n = N P n (1 P n ) E.g.: if I throw my die 180 times, I expect to obtain n = 6 for f n ± n = 30 ± 5 times (try the math!) σ f Also note that since P n = 1 (i.e., it is a constant), neither f n nor 6 σ f (n) actually depend on n: they are both constant Where is that formula coming out from? Let us imagine that we threw a die N times, and want to study the probability of having it land on the n face for m times. What is the distribution of m? It is a Binomial distribution B m, N : B m, N = N m P(n)m (1 P n ) N m = N!P(n)m (1 P n ) N m m! N m! PHYS 275 - Experiment 2 6

Yet more on using P(n) Expected average face value and standard deviation This is the average score we expect to obtain if we throw our die. E.g., if I throw my die twice and obtain 4 and 1, my average face value is 2.5 Let us throw our die N times Since each side has equal probability of appearing, on average I will obtain 1 N/6 times, 2 N/6 times, and so on. Then, what is the expected average result? 6 n = n=1 n P(n) = 1 1 + 2 1 + 3 1 + 4 1 + 5 1 + 6 6 6 6 6 6 1 = 3.5 6 PHYS 275 - Experiment 2 7

And yet more on using P(n) What is the standard deviation? Let us use its definition: σ 2 = n n 2 6 = n=1 (n n ) 2 P(n) = 2.917 Finally, if I throw a die once, what is the average score I expect to obtain? n ± σ = 3.5 ± 1.7 What is the uncertainty on the average if I throw the die many times? σ n = σ N = 1.7 N Please read the manual carefully Do not confuse when you are asked to measure the frequency distribution and the average face value PHYS 275 - Experiment 2 8

Rolling two dice Now P 2dice (n) gets complicate: n varies between 2 and 12, and its probability distribution is not flat anymore It is more likely to obtain a score of 6 (1+5, 2+4, 3+3, 4+2, 5+1) than 2 (1+1 only) One can sit down and build a table P 2dice n : n = 2: 1+1; one combination out of 36 achieves this result n = 3: 1+2, 2+1; two combinations out of 36 work n = 4: 1+3, 2+2, 3+1; three combinations out of 36 work PHYS 275 - Experiment 2 9

More on two dice It is easy to convince ourselves that we get: P 2dice 2 = P 2dice 12 = 1 36 P 2dice 3 = P 2dice 11 = 2 36 P 2dice 4 = P 2dice 10 = 3 36 P 2dice 5 = P 2dice 9 = 4 36 P 2dice 6 = P 2dice 8 = 5 36 P 2dice 7 = 6 36 9 8 7 6 5 4 3 2 1 0 f(n) vs n (N=36) 0 2 4 6 8 10 12 14 PHYS 275 - Experiment 2 10

Last slide on two dice What is the average face value of two dice? n 2dice = 12 n=2 n P n = 7 σ 2dice = 2σ 1die = 2.415 What is the expected frequency distribution? I.e., if I throw the two dice N times, how many times do I expect to see the score n? f 2dice n = N P 2dice n σ f 2dice n = N P 2dice n (1 P 2dice n ) Note that now P 2dice n does depend on n, hence f 2dice n and σ f 2dice n also depend on n PHYS 275 - Experiment 2 11

f(n) f(n) ± σ f(n) vs n ± σ 9 8 7 6 5 4 f(5) ± σ f(5) 3 2 1 0 0 2 4 6 8 10 12 14 n ± σ Frequency Score f n = N P n n = n n P(n) σ f(n) = N P n (1 P n ) σ = n (n n ) 2 P(n) n PHYS 275 - Experiment 2 12

What will we be doing today? We reviewed what we expect to obtain when we throw a die or two dice Let us do the experiment, and compare the theory with our experimental results How do we compare our results? We perform a χ 2 test: χ 2 f = data n f(n) n σ f (n) Careful with n: from 1 to 6 in the 1-die case, from 2 to 12 in the 2-dice case Please read discussion on degrees of freedom in the manual What if we obtain a result that has a very low probability of happening? We are authorized to be suspicious. Today you will receive a die that may be loaded; find a way to decide if it is fair or not 2 PHYS 275 - Experiment 2 13

Suggestions Plot B1 Make sure to put the theoretical distribution on the same graph as your measured distribution The manual suggest to use Data Analysis to build the distribution of die rolls; I prefer to use the formula COUNTIF(<range>,<value>) Use a Line/Scatter plot (please no Bar plots!) Questions B1-B3 Make sure it is clear what a χ 2 represents, and how to interpret P(χ 2, ν) Part D Decide how to choose N, the number of times you need to throw a die to decide whether it is fair or not PHYS 275 - Experiment 2 14

More suggestions Questions B2, C3, C4, D1 (the χ 2 test) Prepare a table similar to the following to calculate χ 2 : Experimental Die Theory χ 2 Bin Measured f(n) f(n) σ f(n) (f n f n ) 2 (f n f n ) 2 σ f(n) 2 Running average in Excel: AVERAGE($B$1:B1): keep first cell of range fixed, and increase the other range delimiter PHYS 275 - Experiment 2 15

Today s experiments Probability distribution of one fair die Probability distribution of two fair dice Roll and collect data of two dice together, then analyze the behavior of the first die, and the behavior of the two dice Probability distribution of a probably loaded die Discuss with us before moving on to this part Important reminders Submit your Excel spreadsheet on ELMS and turn in your check sheet before leaving the lab Complete the final version of your report by 1pm next week Finish the homework set in Expert-TA by 2pm next week Save your data on the local disk frequently! PHYS 275 - Experiment 2 16

Critical Points Make sure you do roll your dice before leaving the laboratory In particular, you need to roll a weird dice in part D: make sure to roll that dice before leaving the laboratory If you have not reached part D by 5:30pm, skip questions B and C, jump to D and roll the dice, submit your draft report, then complete B and C in your final report Pay attention to what the manual asks you to do Main source of confusion: sometimes you are counting how many times the die shows a certain face, and sometimes you are counting the score Make a clear distinction between averages, standard deviations, uncertainty on averages PHYS 275 - Experiment 2 17