Lecture 6.

Slides:



Advertisements
Similar presentations
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Advertisements

1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Random Variables.  A random variable assumes a value based on the outcome of a random event. ◦ We use a capital letter, like X, to denote a random variable.
Chapter 17 STA 200 Summer I Flipping Coins If you toss a coin repeatedly, you expect it to come up heads half the time. Suppose you toss a coin.
Random Variables. Definitions A random variable is a variable whose value is a numerical outcome of a random phenomenon,. A discrete random variable X.
AP STATISTICS Simulation “Statistics means never having to say you're certain.”
Section 5.1 and 5.2 Probability
CHAPTER 13: Binomial Distributions
From Randomness to Probability
Randomness, Probability, and Simulation
Section The Idea of Probability Statistics.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
CHAPTER 10: Introducing Probability
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 5 Section 1 – Slide 1 of 33 Chapter 5 Section 1 Probability Rules.
● Uncertainties abound in life. (e.g. What's the gas price going to be next week? Is your lottery ticket going to win the jackpot? What's the presidential.
From Randomness to Probability
Math 15 – Elementary Statistics Sections 7.1 – 7.3 Probability – Who are the Frequentists?
Outline Random processes Random variables Probability histograms
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Lecture 8. Random variables Random variables and probability distributions Discrete random variables (Continuous random variables)
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 From Randomness to Probability.
5.1 Probability in our Daily Lives.  Which of these list is a “random” list of results when flipping a fair coin 10 times?  A) T H T H T H T H T H 
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
Psychology 202a Advanced Psychological Statistics September 22, 2015.
Randomness, Probability, and Simulation
A General Discussion of Probability Some “Probability Rules” Some abstract math language too! (from various internet sources)
Aim: What is the importance of probability?. What is the language of Probability? “Random” is a description of a kind of order that emerges in the long.
Section The Idea of Probability AP Statistics
Probability Class Causation and Probability We are interested in finding the effect of Dr. Wong’s exploring teaching methodology on the statistics.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
The Practice of Statistics Third Edition Chapter 6: Probability and Simulation: The Study of Randomness 6.1 Simulation Copyright © 2008 by W. H. Freeman.
Chapter 7: Random Variables 7.2 – Means and Variance of Random Variables.
Statistics 14 From Randomness to Probability. Probability This unit will define the phrase “statistically significant This chapter will lay the ground.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
16.6 Expected Value.
AP STATISTICS LESSON THE IDEA OF PROBABILITY.
CHAPTER 5 Probability: What Are the Chances?
Section 5.1 and 5.2 Probability
From Randomness to Probability
Dealing with Random Phenomena
Expected values of games
Binomial and Geometric Random Variables
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
Lecture 8.
Lecture 5.
Brief General Discussion of Probability: Some “Probability Rules” Some abstract math language too! (from various internet sources)
Probability and Statistics Chapter 3 Notes
Chapter Randomness, Probability, and Simulation
From Randomness to Probability
5.1 Probability of Simple Events
PROBABILITY The probability of an event is a value that describes the chance or likelihood that the event will happen or that the event will end with.
From Randomness to Probability
From Randomness to Probability
Chapter 17 Thinking about Chance.
Probability: The study of Randomness
The Law of Large Numbers
CHAPTER 10: Introducing Probability
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
CHAPTER 5 Probability: What Are the Chances?
Brief General Discussion of Probability: Some “Probability Rules”
Section 6.1 The Idea of Probability
From Randomness to Probability
Randomness, Probability, and Simulation
From Randomness to Probability
Presentation transcript:

Lecture 6

Paper 1 Select an area of human endeavor (e.g., a particular sport, marketing, politics, car manufacturing …) and write a 5 page paper on how statistics influenced it. Due on Thursday 9/29. Make sure you clearly reference your sources (including websites)

Probability: the study of randomness Randomness Basic Probability models – language Simulations

Randomness Which is random? A lot more “structure than people give credit”

The language of probability In statistics, random means more than just unpredictable or haphazard. A random phenomenon is a situation in which the outcome is uncertain, but there would be a definite distribution of outcomes if the situation were repeated many times under identical conditions. (And the same distribution would result if it were repeated many times again.)

The language of probability Examples Toss a coin, note whether it comes up H or T Take a SRS from a population, find proportion who call themselves Unaffiliated Choose 40 days at random from the 365 days of the year, check whether any day is repeated Not a random phenomenon: UNC-Duke game, … In each example but the last, we can ask: what would we expect for the distribution of outcomes after many repetitions? (That’s what makes them random phenomena.)

Probability is expected long-run proportion Results of a simulated series of 10,000 tosses of a fair coin tosses results so far expected results so far discrepancy (observed – expected) proportion of heads 1-10 8 H, 2 T 5 H, 5 T +3 H .8 11-50 23 H, 27 T 25 H, 25 T – 2 H .46 51-100 49 H, 51 T 50 H, 50 T – 1 H .49 101-500 248 H, 252 T 250 H, 250 T .466 501-1000 475 H, 525 T 500 H, 500 T – 25 H .4750 1001-10000 4952 H, 5048 T 5000 H, 5000 T – 48 H .4952 The “law of averages” applies to the proportion of heads, not the numbers of heads and tails. It doesn’t operate by making up a discrepancy, but by swamping it.

R code n=10000 p=.5 set.seed(2013) u=runif(n) x=(u>p) y=cumsum(x) print(y[c(10,50,100,500,1000,10000)]) print(c(10,50,100,500,1000,10000)-y[c(10,50,100,500,1000,10000)]) print(y[c(10,50,100,500,1000,10000)]-c(10,50,100,500,1000,10000)/2) print(y[c(10,50,100,500,1000,10000)]/c(10,50,100,500,1000,10000)) #PLOT THE RESULTS par(mfrow=c(2,2)) plot(1:30,x[1:30]) plot(1:n,y,type='l') plot(1:n,2*y-1:n,type='l') lines(c(0,n),c(0,0),lty=2) plot(1:n,y/1:n,type='l') lines(c(0,n),c(p,p),lty=2)

Plotting in R Commands plot(x,y,type=“l”) lines(x,y) points(x,y) Creates a new plot (without the type=“l” plots dots) lines(x,y) points(x,y) Adds additional plot without erasing the old one

Probability is expected long-run proportion The “law of averages” applies to the proportion of heads, not the numbers of heads and tails. It doesn’t operate by making up a discrepancy, but by swamping it. Illustration to follow: a simulated coin-tossing game. On each toss, you win $1 if the coin lands heads, and you lose $1 if it lands tails. So, after a number of tosses, your net gain is number of heads – number of tails. (Net loss if this is negative.) Should this be near zero after many tosses? Not necessarily. The proportions of heads and tails will be near .5, but that doesn’t mean the difference between numbers of heads and tails will be near zero. Use cointossdemo2

Subjective probability The probability based on repeated sequence is objective – independent on a user. Probability that UNC will win ACC title. Not objective – only one observation. We all have our own beliefs about that event. The probability can be evaluated using bets. If I am willing to bet 1:9 on UNC (win $9 if UNC wins, loose $1 if they lose) my probability is >10%, If I am willing to offer 1:9 bet on UNC (loose $9 if UNC wins, win $1 if they lose) – my probability is <10% Can be objectified for an individual using a series of bets. The fact that people play lottery/casino is a proof that we are poor judges of subjective probabilities. This is especially true for small probability events.

Betting sights Trade on future outcome – at expiry 100 if happens/ 0 if it does not http://www.paddypower.com/bet/politics/ http://tippie.uiowa.edu/iem/markets/ In the past – intrade.com (closed by regulators)