Simulation allows us to perform “experiments” without actually having to do the experiments in real life...this is done through the use of random numbers.

Slides:



Advertisements
Similar presentations
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
Advertisements

AP STATISTICS Simulation “Statistics means never having to say you're certain.”
AP STATISTICS Simulating Experiments. Steps for simulation Simulation: The imitation of chance behavior, based on a model that accurately reflects the.
Mathematics in Today's World
Probability Mass Function Expectation 郭俊利 2009/03/16
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 5.2.
Week71 Discrete Random Variables A random variable (r.v.) assigns a numerical value to the outcomes in the sample space of a random phenomenon. A discrete.
Chapter 7 Random Variables I can find the probability of a discrete random variable. 6.1a Discrete and Continuous Random Variables and Expected Value h.w:
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Unit 5 Section 5-4 – Day : The Binomial Distribution  The mean, variance, and standard deviation of a variable that has the binomial distribution.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
You are familiar with the term “average”, as in arithmetical average of a set of numbers (test scores for example) – we used the symbol to stand for this.
Created by Tom Wegleitner, Centreville, Virginia Section 3-6 Probabilities Through Simulations.
What are the 4 conditions for Binomial distributions?
Unit 11 Binomial Distribution IT Disicipline ITD1111 Discrete Mathematics & Statistics STDTLP 1 Unit 11 Binomial Distribution.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
Probability Basics Section Starter Roll two dice and record the sum shown. Repeat until you have done 20 rolls. Write a list of all the possible.
Probability –classical approach P(event E) = N e /N, where N = total number of possible outcomes, N e = total number of outcomes in event E assumes equally.
4.3a Simulating Experiments Target Goal: I can use simulation to represent an experiment. In class FR.
Random Variables Learn how to characterize the pattern of the distribution of values that a random variable may have, and how to use the pattern to find.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
A statistic from a random sample or randomized experiment is a random variable. The probability distribution of this random variable is called its sampling.
MATH 2311 Section 3.2. Bernoulli Trials A Bernoulli Trial is a random experiment with the following features: 1.The outcome can be classified as either.
Lesson 10: Using Simulation to Estimate a Probability Simulation is a procedure that will allow you to answer questions about real problems by running.
Warm-up What is the best way to answer each of the questions below: an experiment, a sample survey, or an observational study that is not a sample survey?
Chapter 7. Section 7.1 Finite probability  In a lottery, players win a large prize when they pick four digits that match, in the correct order, four.
PROBABILITY AND STATISTICS WEEK 2 Onur Doğan. Introduction to Probability The Classical Interpretation of Probability The Frequency Interpretation of.
Fundamentals of Probability
Sampling Distributions
Each child born to a particular set of parents has probability of 0
Copyright © 2009 Pearson Education, Inc.
ICS 253: Discrete Structures I
Theoretical Probability
Probability – part 1 Prof. Carla Gomes Rosen 1 1.
Probability Axioms and Formulas
Binomial and Geometric Random Variables
Experimental Probability vs. Theoretical Probability
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
Chapter 2 Discrete Random Variables
5.3 The Central Limit Theorem
Introduction to Probability
Some (Pseudo-) Random Number Stuff in R
Lesson Objective Be able to calculate probabilities for Binomial situations Begin to recognise the conditions necessary for a Random variable to have a.
Section 5.1 Basic Ideas.
The probability of event P happening is 0. 34
Sampling Distribution Models
PROBABILITY AND STATISTICS
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
MATH 2311 Section 3.2.
Distributions and expected value
Binomial Distributions
Review for test Ch. 6 ON TUESDAY:
Chapter 6: Random Variables
COUNTING AND PROBABILITY
Section 6.2 Probability Models
Warm Up 1) A t-shirt company makes shirts in sizes S, M, L, XL and XXL and in the colors chartreuse, burgundy, fuchsia and mauve. How many different types.
Probability Simulations
6.2 Basics of Probability LEARNING GOAL
MATH 2311 Section 3.2.
Homework: pg. 398 #4, 5 pg. 402 #10, 11 4.) A. A single random digit simulates one shot, 1-7 represents a made shot 8-10 represents a miss. Then 5 consecutive.
Section Simulation AP Statistics.
5.3 The Central Limit Theorem
Probability.
Section 1 – Discrete and Continuous Random Variables
Chapter 4 Probability.
Random Variables Binomial and Hypergeometric Probabilities
A statistic from a random sample or randomized experiment is a random variable. The probability distribution of this random variable is called its sampling.
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Chapter 11 Probability.
Presentation transcript:

Simulation allows us to perform “experiments” without actually having to do the experiments in real life...this is done through the use of random numbers either generated from a random number table or from a computer program (such as R). random number tables have many thousands of digits (0-9) all occurring in approximately equal numbers in the table – thus when choosing a digit at random it can be done with the uniform distribution (Prob(any one digit is chosen)=.1 ) Then these digits can be used to simulate other distributions like the Bernoulli, binomial, etc. try some examples simulate the toss of a fair coin once; 5 times; etc. simulate a B(5,.5) r.v. (see the bottom of p.139 for a better way) “one son” policy in a country – can we simulate it to answer: what would be the average number of children in a family? what would be the ratio of births of girls to births of boys? show the same methods in R using the r functions...

HW: Read section and try #4. 77 and 4. 78. Notice that 4 HW: Read section and try #4.77 and 4.78. Notice that 4.77 asks you to simulate 120 rolls of a balanced die. Using the random number table is a possibility, but let’s try R also... try the following code: #the sample function allows you to randomly sample from #a set of numbers with equal probability assigned to each #number. thus in the line below we get a sample of 100 #of the digits 1-6, replace=T making sure of equal probs. x<-sample(c(1,2,3,4,5,6),100, replace=T) table(x) #the table function gives a frequency distribution of the #vector x – in this case shows how many 1’s, 2’s, etc. #were randomly selected. to handle the example on p.140 #create a vector of probs to go with the vector of values prvect<-c(.082,.205,.256,.214,.134,.067,.028,.01,.003,.001) y<-c(0:9) x<-sample(y,size=100,replace=T,prob=prvect)