SlideShare a Scribd company logo
Chapter 7 Random Variables
7.1 Discrete and Continuous Random Variables
Random Variables 	A random variable is a variable whose value is a numerical outcome of a random phenomenon ex1 The sum of the pips on two dice ex2 The net gain or loss after a game of blackjack ex3 The amount of soda in a cup from a vending machine
Discrete Random Variable For a discrete random variable X, the number of outcomes is countable (finite) Ex3 (the soda from a vending machine) is not discrete.  Why?
Discrete Random Variable Discrete random variables are often displayed using a “probability distribution” 	Value of X:	x1	x2	x3 …	xn Probability:	p1	p2	p3…	pn
Discrete Random Variable Discrete random variables are often displayed using a “probability distribution” 	Value of X:	x1	x2	x3 …	xn Probability:	p1	p2	p3…	pn P(X=x1)=p1 “Probability that X = x1 is p1”
Discrete Random Variable Discrete random variables are often displayed using a “probability distribution” 	Value of X:	x1	x2	x3 …	xn Probability:	p1	p2	p3…	pn Must add to ‘1’ p1 + p2 + … + pn = 1
Discrete Random Variable A probability distribution for a 6-sided die This isn’t a fair die! X	1	2	3	4	5	6 P(X)	1/3	1/6	1/6	1/6	1/12	1/12
Discrete Random Variables Another method of displaying a distribution is with a probability histogram
Discrete Random Variables Another method of displaying a distribution is with a probability histogram Each bar is centered on the numerical outcome
Discrete Random Variables Another method of displaying a distribution is with a probability histogram The height of the bar is the probability of each outcome
Discrete Random Variables Another method of displaying a distribution is with a probability histogram This distribution does not favor any particular outcomes
Discrete Random Variables Another method of displaying a distribution is with a probability histogram This distribution ‘favors’ low outcomes
Discrete Random Variables STEPS  Define the random variable  List all possible event Compute the probability of each event  Display the distribution
Discrete Random Variables Let look at the probability distribution for the number of ‘heads’ produced by flipping two fair coins
Discrete Random Variables  Define the random variable 	“Let X = the number of heads produced by flipping two fair coins”
Discrete Random Variables (2) List all possible outcomes Remember that each coin is independent Tip: be systematic when listing outcomes Let’s look at the outcomes that have ‘0 heads’ 	TT		there’s only one of these
Discrete Random Variables How many outcomes have ‘1 heads’HTTHtwo outcomes!
Discrete Random Variables How many outcomes have ‘2 heads’HHonly one outcome There were 4 equally likely outcomes
Discrete Random Variables (3) Compute the probability of each event 	“# outcomes for event/# of outcomes 	P(X = 0) = ¼ 	P(X = 1) = 2/4 = ½  	P(X = 2) = ¼
Discrete Random Variables (4) Display the distribution Probability Distribution
Discrete Random Variables (4) Display the distribution Probability Histogram .6 .4 .2 0	1	2	3
Continuous Random Variables Unlike the discrete random variable, a continuous random variable has an uncountable number of outcomes A continuous random variable X takes on all values in an interval of numbers
Continuous Random Variables The probability distribution for a continuous rand var is described/ displayed with a density curve. The probability of an event is the area under the density curve and above the values of X that make up the event The area under a density curve is ‘1’ A density curve lies above the x-axis at all points.
Continuous Random Variables These distributions are called “uniform”
Continuous Random Variables
Continuous Random Variables Curiously, since there is no area above any single value of x, P(X = x) = 0 for all values of x
Continuous Random Variables The Normal distribution is also a density curve! P( - < z < ) = 1 If a random variable can be transformed into the Normal distribution, we can use methods we learned earlier to compute probability!
Continuous Random Variables EXAMPLE	 	A soda machine dispenses soda into a 12 oz paper cup.  The amount of soda dispensed  if Normal with  = 11.8 oz and  = 0.14 oz.  What proportion of cups dispensed are between 11.7 and 12 ozs?
Continuous Random Variables Remember these: State problem in terms of ‘x,’ the observed variable.  Draw and shade the distribution of ‘x.’ Standardize (find the z-score).  Use proper notation!Draw and shade the Normal distribution. Find the area using Table A or your calculator.Remember that the area under curve is ‘1.’ Write up a conclusion in context of the problem.
Continuous Random Variables (1) This time, we define our random variable X. “Let X = the amount of soda dispensed into a cup.” 		         11.66  	11.8     11.94 		 	11.7		  12
Continuous Random Variables (2)Standardize (find the z-score).  Draw and shade the Normal distribution. 		 	    -0.71		  1.43
Continuous Random Variables (3) Find the area using Table A or your calculator.Remember that the area under curve is ‘1.’ 	P(-0.71<z<1.43) = 0.6848 (4) Write up a conclusion in context of the problem. “The proportion of cups whose volume of soda is between 11.7 and 12 ozs is 0.6848”
7.2 Means and variances of random variables
Mean of a Random Variable Symbol is ‘mu’ (again) This mean is often called the “expected value” Ex The expected value does not have to be a possible value of X because it describes behavior over the long run
Mean of a Random Variable Discrete Random Variables:The mean is the sum of the products of the values and their probability X = x1p1 + x2p2 + x3p3 + … + xnpn X = xipi
Mean of a Random Variable Continuous Random Variables: We use techniques from chapter 2 to describe the relative location of the mean (depending on the shape of the density curve) Unless the curve is “well known” (i.e.Normal), we will not find the actual numerical value of the mean.
Variance of a Random Variable Discrete Random Variables X2 = (x1 - X)2·p1 + (x2 - X)2·p2 + (x3 - X)2·p3 + … + (xn - X)2·pn X2 = (xi - X)2·pi Yes, this formula is quite long and tiresome Calculator talk:If L1 = xi  and L2 = pi, then X2 = sum(L1 - X)2·L2
Statistical Estimation Here’s the problem:We would like to know the mean height of American males. BUT, we cannot have a census. Solution:take a sample of American males and compute the mean height of the sample.
Statistical Estimation Suppose we took many samples. The histogram for the means of the samples will have it’s own distribution remember, this is the distribution of the means of the samples, and not the distribution of the heights of American males This distribution of the samples is called a “sampling distribution”
The Law of Large Numbers For any distribution, as the number of observations increases in the sample, the sample mean (Xbar) will approach the population mean . This is true for all distributions, not just Normal distributions.
The Law of Large Numbers 	Remember the following for random behavior: Behavior in the short run is unpredictable Behavior in the long run is regular and predictable This is the Law of Large Numbers 	This begs the question, how many observations is “the long run?”
Transformations for Means If a random variable undergoes a linear transformation to form a new random variable,  Then the mean of the new random variable undergoes the same transformation. If:		 X2 = a + bX1 Then:	X2 = a + b X1
Combining Two Means If two random variables are added/subtracted to for a new random variable,  Then the mean of the new random variable is the two means added/subtracted IF: 		X = X1 ± X2 Then	X = X1± X2
Transformations for Variance If a random variable undergoes a linear transformation,  Then the variance of the new random variable is the product of the square of the multiplier and the old variance If:		 X2 = a + bX1 Then:	 (X2)2 = b2· (X1)2 Std Dev is the square root of variance
Combining Two Variances If two random variables are added/subtracted to for a new random variable,  Then the variance of the new random variable is the sum of the squares of the old variances IF: 		X = X1 ± X2 Then	 (X)2 = (X1)2+ (X2)2 ALWAYS ADD VARIANCES Std Dev is the square root of variance
Normal Random Variables Any linear combination or transformation of Normal random variables is also Normal. IMPORTANT: you must state that a distribution is Normal before you can use techniques for Normal density curves. Especially true after a linear combination or transformation.
WILSON!!!! It’s doubtful that this is Normal behavior

More Related Content

What's hot

2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
MuhannadSaleh
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
nszakir
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
mandalina landy
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
Rohan Bhatkar
 
Random Variables
Random VariablesRandom Variables
Random Variables
Tomoki Tsuchida
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
Michael Ogoy
 
Random variable
Random variableRandom variable
Random variable
JalilAlih
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
April Palmes
 
Properties of discrete probability distribution
Properties of discrete probability distributionProperties of discrete probability distribution
Properties of discrete probability distribution
JACKIE MACALINTAL
 
Statistics and probability pp
Statistics and  probability ppStatistics and  probability pp
Statistics and probability pp
Ruby Vidal
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
numanmunir01
 
8 random variable
8 random variable8 random variable
8 random variable
Juan Apolinario Reyes
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notes
Rohan Bhatkar
 
Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis
Vijay Hemmadi
 
Discrete random variable.
Discrete random variable.Discrete random variable.
Discrete random variable.
Shakeel Nouman
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
rishi.indian
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
Balaji P
 
Discrete Random Variable (Probability Distribution)
Discrete Random Variable (Probability Distribution)Discrete Random Variable (Probability Distribution)
Discrete Random Variable (Probability Distribution)
LeslyAlingay
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
Cumberland County Schools
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
Sarabjeet Kaur
 

What's hot (20)

2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
 
Random Variables
Random VariablesRandom Variables
Random Variables
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
 
Random variable
Random variableRandom variable
Random variable
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
 
Properties of discrete probability distribution
Properties of discrete probability distributionProperties of discrete probability distribution
Properties of discrete probability distribution
 
Statistics and probability pp
Statistics and  probability ppStatistics and  probability pp
Statistics and probability pp
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
8 random variable
8 random variable8 random variable
8 random variable
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notes
 
Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis
 
Discrete random variable.
Discrete random variable.Discrete random variable.
Discrete random variable.
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
 
Discrete Random Variable (Probability Distribution)
Discrete Random Variable (Probability Distribution)Discrete Random Variable (Probability Distribution)
Discrete Random Variable (Probability Distribution)
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 

Similar to Stats chapter 7

Chapter7
Chapter7Chapter7
lecture4.ppt
lecture4.pptlecture4.ppt
lecture4.ppt
Anbalagan G.
 
Mba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsMba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributions
Rai University
 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
AlfredNavea1
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
BhartiYadav316049
 
Machine Learning - Probability Distribution.pdf
Machine Learning - Probability Distribution.pdfMachine Learning - Probability Distribution.pdf
Machine Learning - Probability Distribution.pdf
Maleeshapathirana
 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
WeihanKhor2
 
Mathematics with awesome example.pdf
Mathematics with awesome example.pdfMathematics with awesome example.pdf
Mathematics with awesome example.pdf
elistemidayo
 
Mathematics with nice undestand.pdf
Mathematics with nice undestand.pdfMathematics with nice undestand.pdf
Mathematics with nice undestand.pdf
elistemidayo
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
Nilanjan Bhaumik
 
PSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptxPSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptx
HarshithSai17
 
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
RYANCENRIQUEZ
 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributions
Antonio F. Balatar Jr.
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
Long Beach City College
 
04 random-variables-probability-distributionsrv
04 random-variables-probability-distributionsrv04 random-variables-probability-distributionsrv
04 random-variables-probability-distributionsrv
Pooja Sakhla
 
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
elistemidayo
 
Distribution of random numbers
Distribution of random numbersDistribution of random numbers
Distribution of random numbers
neeta1995
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
Selvin Hadi
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
Long Beach City College
 
Principles of Actuarial Science Chapter 2
Principles of Actuarial Science Chapter 2Principles of Actuarial Science Chapter 2
Principles of Actuarial Science Chapter 2
ssuser8226b2
 

Similar to Stats chapter 7 (20)

Chapter7
Chapter7Chapter7
Chapter7
 
lecture4.ppt
lecture4.pptlecture4.ppt
lecture4.ppt
 
Mba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsMba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributions
 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
 
Machine Learning - Probability Distribution.pdf
Machine Learning - Probability Distribution.pdfMachine Learning - Probability Distribution.pdf
Machine Learning - Probability Distribution.pdf
 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
 
Mathematics with awesome example.pdf
Mathematics with awesome example.pdfMathematics with awesome example.pdf
Mathematics with awesome example.pdf
 
Mathematics with nice undestand.pdf
Mathematics with nice undestand.pdfMathematics with nice undestand.pdf
Mathematics with nice undestand.pdf
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
 
PSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptxPSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptx
 
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributions
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
04 random-variables-probability-distributionsrv
04 random-variables-probability-distributionsrv04 random-variables-probability-distributionsrv
04 random-variables-probability-distributionsrv
 
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
 
Distribution of random numbers
Distribution of random numbersDistribution of random numbers
Distribution of random numbers
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Principles of Actuarial Science Chapter 2
Principles of Actuarial Science Chapter 2Principles of Actuarial Science Chapter 2
Principles of Actuarial Science Chapter 2
 

More from Richard Ferreria

Chapter6
Chapter6Chapter6
Chapter2
Chapter2Chapter2
Chapter3
Chapter3Chapter3
Chapter8
Chapter8Chapter8
Chapter1
Chapter1Chapter1
Chapter4
Chapter4Chapter4
Chapter5
Chapter5Chapter5
Chapter9
Chapter9Chapter9
Chapter14
Chapter14Chapter14
Chapter14
Richard Ferreria
 
Chapter15
Chapter15Chapter15
Chapter15
Richard Ferreria
 
Chapter11
Chapter11Chapter11
Chapter11
Richard Ferreria
 
Chapter12
Chapter12Chapter12
Chapter12
Richard Ferreria
 
Chapter10
Chapter10Chapter10
Chapter10
Richard Ferreria
 
Chapter13
Chapter13Chapter13
Chapter13
Richard Ferreria
 
Adding grades to your google site v2 (dropbox)
Adding grades to your google site v2 (dropbox)Adding grades to your google site v2 (dropbox)
Adding grades to your google site v2 (dropbox)
Richard Ferreria
 
Stats chapter 14
Stats chapter 14Stats chapter 14
Stats chapter 14
Richard Ferreria
 
Stats chapter 15
Stats chapter 15Stats chapter 15
Stats chapter 15
Richard Ferreria
 
Stats chapter 13
Stats chapter 13Stats chapter 13
Stats chapter 13
Richard Ferreria
 
Stats chapter 12
Stats chapter 12Stats chapter 12
Stats chapter 12
Richard Ferreria
 
Stats chapter 11
Stats chapter 11Stats chapter 11
Stats chapter 11
Richard Ferreria
 

More from Richard Ferreria (20)

Chapter6
Chapter6Chapter6
Chapter6
 
Chapter2
Chapter2Chapter2
Chapter2
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter8
Chapter8Chapter8
Chapter8
 
Chapter1
Chapter1Chapter1
Chapter1
 
Chapter4
Chapter4Chapter4
Chapter4
 
Chapter5
Chapter5Chapter5
Chapter5
 
Chapter9
Chapter9Chapter9
Chapter9
 
Chapter14
Chapter14Chapter14
Chapter14
 
Chapter15
Chapter15Chapter15
Chapter15
 
Chapter11
Chapter11Chapter11
Chapter11
 
Chapter12
Chapter12Chapter12
Chapter12
 
Chapter10
Chapter10Chapter10
Chapter10
 
Chapter13
Chapter13Chapter13
Chapter13
 
Adding grades to your google site v2 (dropbox)
Adding grades to your google site v2 (dropbox)Adding grades to your google site v2 (dropbox)
Adding grades to your google site v2 (dropbox)
 
Stats chapter 14
Stats chapter 14Stats chapter 14
Stats chapter 14
 
Stats chapter 15
Stats chapter 15Stats chapter 15
Stats chapter 15
 
Stats chapter 13
Stats chapter 13Stats chapter 13
Stats chapter 13
 
Stats chapter 12
Stats chapter 12Stats chapter 12
Stats chapter 12
 
Stats chapter 11
Stats chapter 11Stats chapter 11
Stats chapter 11
 

Stats chapter 7

  • 1. Chapter 7 Random Variables
  • 2. 7.1 Discrete and Continuous Random Variables
  • 3. Random Variables A random variable is a variable whose value is a numerical outcome of a random phenomenon ex1 The sum of the pips on two dice ex2 The net gain or loss after a game of blackjack ex3 The amount of soda in a cup from a vending machine
  • 4. Discrete Random Variable For a discrete random variable X, the number of outcomes is countable (finite) Ex3 (the soda from a vending machine) is not discrete. Why?
  • 5. Discrete Random Variable Discrete random variables are often displayed using a “probability distribution” Value of X: x1 x2 x3 … xn Probability: p1 p2 p3… pn
  • 6. Discrete Random Variable Discrete random variables are often displayed using a “probability distribution” Value of X: x1 x2 x3 … xn Probability: p1 p2 p3… pn P(X=x1)=p1 “Probability that X = x1 is p1”
  • 7. Discrete Random Variable Discrete random variables are often displayed using a “probability distribution” Value of X: x1 x2 x3 … xn Probability: p1 p2 p3… pn Must add to ‘1’ p1 + p2 + … + pn = 1
  • 8. Discrete Random Variable A probability distribution for a 6-sided die This isn’t a fair die! X 1 2 3 4 5 6 P(X) 1/3 1/6 1/6 1/6 1/12 1/12
  • 9. Discrete Random Variables Another method of displaying a distribution is with a probability histogram
  • 10. Discrete Random Variables Another method of displaying a distribution is with a probability histogram Each bar is centered on the numerical outcome
  • 11. Discrete Random Variables Another method of displaying a distribution is with a probability histogram The height of the bar is the probability of each outcome
  • 12. Discrete Random Variables Another method of displaying a distribution is with a probability histogram This distribution does not favor any particular outcomes
  • 13. Discrete Random Variables Another method of displaying a distribution is with a probability histogram This distribution ‘favors’ low outcomes
  • 14. Discrete Random Variables STEPS Define the random variable List all possible event Compute the probability of each event Display the distribution
  • 15. Discrete Random Variables Let look at the probability distribution for the number of ‘heads’ produced by flipping two fair coins
  • 16. Discrete Random Variables Define the random variable “Let X = the number of heads produced by flipping two fair coins”
  • 17. Discrete Random Variables (2) List all possible outcomes Remember that each coin is independent Tip: be systematic when listing outcomes Let’s look at the outcomes that have ‘0 heads’ TT there’s only one of these
  • 18. Discrete Random Variables How many outcomes have ‘1 heads’HTTHtwo outcomes!
  • 19. Discrete Random Variables How many outcomes have ‘2 heads’HHonly one outcome There were 4 equally likely outcomes
  • 20. Discrete Random Variables (3) Compute the probability of each event “# outcomes for event/# of outcomes P(X = 0) = ¼ P(X = 1) = 2/4 = ½ P(X = 2) = ¼
  • 21. Discrete Random Variables (4) Display the distribution Probability Distribution
  • 22. Discrete Random Variables (4) Display the distribution Probability Histogram .6 .4 .2 0 1 2 3
  • 23. Continuous Random Variables Unlike the discrete random variable, a continuous random variable has an uncountable number of outcomes A continuous random variable X takes on all values in an interval of numbers
  • 24. Continuous Random Variables The probability distribution for a continuous rand var is described/ displayed with a density curve. The probability of an event is the area under the density curve and above the values of X that make up the event The area under a density curve is ‘1’ A density curve lies above the x-axis at all points.
  • 25. Continuous Random Variables These distributions are called “uniform”
  • 27. Continuous Random Variables Curiously, since there is no area above any single value of x, P(X = x) = 0 for all values of x
  • 28. Continuous Random Variables The Normal distribution is also a density curve! P( - < z < ) = 1 If a random variable can be transformed into the Normal distribution, we can use methods we learned earlier to compute probability!
  • 29. Continuous Random Variables EXAMPLE A soda machine dispenses soda into a 12 oz paper cup. The amount of soda dispensed if Normal with  = 11.8 oz and  = 0.14 oz. What proportion of cups dispensed are between 11.7 and 12 ozs?
  • 30. Continuous Random Variables Remember these: State problem in terms of ‘x,’ the observed variable. Draw and shade the distribution of ‘x.’ Standardize (find the z-score). Use proper notation!Draw and shade the Normal distribution. Find the area using Table A or your calculator.Remember that the area under curve is ‘1.’ Write up a conclusion in context of the problem.
  • 31. Continuous Random Variables (1) This time, we define our random variable X. “Let X = the amount of soda dispensed into a cup.” 11.66 11.8 11.94 11.7 12
  • 32. Continuous Random Variables (2)Standardize (find the z-score). Draw and shade the Normal distribution. -0.71 1.43
  • 33. Continuous Random Variables (3) Find the area using Table A or your calculator.Remember that the area under curve is ‘1.’ P(-0.71<z<1.43) = 0.6848 (4) Write up a conclusion in context of the problem. “The proportion of cups whose volume of soda is between 11.7 and 12 ozs is 0.6848”
  • 34. 7.2 Means and variances of random variables
  • 35. Mean of a Random Variable Symbol is ‘mu’ (again) This mean is often called the “expected value” Ex The expected value does not have to be a possible value of X because it describes behavior over the long run
  • 36. Mean of a Random Variable Discrete Random Variables:The mean is the sum of the products of the values and their probability X = x1p1 + x2p2 + x3p3 + … + xnpn X = xipi
  • 37. Mean of a Random Variable Continuous Random Variables: We use techniques from chapter 2 to describe the relative location of the mean (depending on the shape of the density curve) Unless the curve is “well known” (i.e.Normal), we will not find the actual numerical value of the mean.
  • 38. Variance of a Random Variable Discrete Random Variables X2 = (x1 - X)2·p1 + (x2 - X)2·p2 + (x3 - X)2·p3 + … + (xn - X)2·pn X2 = (xi - X)2·pi Yes, this formula is quite long and tiresome Calculator talk:If L1 = xi and L2 = pi, then X2 = sum(L1 - X)2·L2
  • 39. Statistical Estimation Here’s the problem:We would like to know the mean height of American males. BUT, we cannot have a census. Solution:take a sample of American males and compute the mean height of the sample.
  • 40. Statistical Estimation Suppose we took many samples. The histogram for the means of the samples will have it’s own distribution remember, this is the distribution of the means of the samples, and not the distribution of the heights of American males This distribution of the samples is called a “sampling distribution”
  • 41. The Law of Large Numbers For any distribution, as the number of observations increases in the sample, the sample mean (Xbar) will approach the population mean . This is true for all distributions, not just Normal distributions.
  • 42. The Law of Large Numbers Remember the following for random behavior: Behavior in the short run is unpredictable Behavior in the long run is regular and predictable This is the Law of Large Numbers This begs the question, how many observations is “the long run?”
  • 43. Transformations for Means If a random variable undergoes a linear transformation to form a new random variable, Then the mean of the new random variable undergoes the same transformation. If: X2 = a + bX1 Then: X2 = a + b X1
  • 44. Combining Two Means If two random variables are added/subtracted to for a new random variable, Then the mean of the new random variable is the two means added/subtracted IF: X = X1 ± X2 Then X = X1± X2
  • 45. Transformations for Variance If a random variable undergoes a linear transformation, Then the variance of the new random variable is the product of the square of the multiplier and the old variance If: X2 = a + bX1 Then: (X2)2 = b2· (X1)2 Std Dev is the square root of variance
  • 46. Combining Two Variances If two random variables are added/subtracted to for a new random variable, Then the variance of the new random variable is the sum of the squares of the old variances IF: X = X1 ± X2 Then (X)2 = (X1)2+ (X2)2 ALWAYS ADD VARIANCES Std Dev is the square root of variance
  • 47. Normal Random Variables Any linear combination or transformation of Normal random variables is also Normal. IMPORTANT: you must state that a distribution is Normal before you can use techniques for Normal density curves. Especially true after a linear combination or transformation.
  • 48. WILSON!!!! It’s doubtful that this is Normal behavior