1 Week of July 10.. 2 Week 2. 3 “oil” = oil is present “+” = a test for oil is positive “ - ” = a test for oil is negative oil no oil + + false negative.

Slides:



Advertisements
Similar presentations
Rules for Means and Variances
Advertisements

1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
1. Are Women Paid Less than Men? Intro and revision of basic statistics.
Random Variables “a random phenomenon (event) whose numerical outcome is unknown”
Chapter 4 Discrete Random Variables and Probability Distributions
Expected Value- Random variables Def. A random variable, X, is a numerical measure of the outcomes of an experiment.
DISCRETE RANDOM VARIABLES. RANDOM VARIABLES numericalA random variable assigns a numerical value to each simple event in the sample space Its value is.
Week 51 Theorem For g: R  R If X is a discrete random variable then If X is a continuous random variable Proof: We proof it for the discrete case. Let.
Chapter 16: Random Variables
Chris Morgan, MATH G160 February 3, 2012 Lecture 11 Chapter 5.3: Expectation (Mean) and Variance 1.
Review of Probability and Statistics
Variance Fall 2003, Math 115B. Basic Idea Tables of values and graphs of the p.m.f.’s of the finite random variables, X and Y, are given in the sheet.
Lecture 4 Rescaling, Sum and difference of random variables: simple algebra for mean and standard deviation (X+Y) 2 =X 2 + Y XY E (X+Y) 2 = EX 2.
Class 7 Portfolio Analysis. Risk and Uncertainty n Almost all business decisions are made in the face of risk and uncertainty. n So far we have side-stepped.
Albert Gatt Corpora and Statistical Methods. Probability distributions Part 2.
Investment Analysis and Portfolio management Lecture: 24 Course Code: MBF702.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
The Binomial Distribution
Expected values and variances. Formula For a discrete random variable X and pmf p(X): Expected value: Variance: Alternate formula for variance:  Var(x)=E(X^2)-[E(X)]^2.
AP Statistics Section 7.2 C Rules for Means & Variances.
COMP 170 L2 L18: Random Variables: Independence and Variance Page 1.
Lectures prepared by: Elchanan Mossel elena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
GrowingKnowing.com © Expected value Expected value is a weighted mean Example You put your data in categories by product You build a frequency.
1 Chapter 16 Random Variables. 2 Expected Value: Center A random variable assumes a value based on the outcome of a random event.  We use a capital letter,
The Standard Deviation of a Discrete Random Variable Lecture 24 Section Fri, Oct 20, 2006.
The Mean of a Discrete RV The mean of a RV is the average value the RV takes over the long-run. –The mean of a RV is analogous to the mean of a large population.
Probability & Statistics I IE 254 Summer 1999 Chapter 4  Continuous Random Variables  What is the difference between a discrete & a continuous R.V.?
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 11 Probability Models for Counts.
Mean and Standard Deviation of Discrete Random Variables.
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
6.3 THE CENTRAL LIMIT THEOREM. DISTRIBUTION OF SAMPLE MEANS  A sampling distribution of sample means is a distribution using the means computed from.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
Probability Refresher. Events Events as possible outcomes of an experiment Events define the sample space (discrete or continuous) – Single throw of a.
Lesson Discrete Random Variables. Objectives Distinguish between discrete and continuous random variables Identify discrete probability distributions.
Lecture 3 1 Recap Random variables Continuous random variable Sample space has infinitely many elements The density function f(x) is a continuous function.
Copyright © 2011 Pearson Education, Inc. Random Variables Chapter 9.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Active Learning Lecture Slides For use with Classroom Response Systems Chapter 9 Random Variables.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 9 Random Variables.
Review Know properties of Random Variables
The Variance of a Random Variable Lecture 35 Section Fri, Mar 26, 2004.
Mean and Standard Deviation Lecture 23 Section Fri, Mar 3, 2006.
7.2 Means & Variances of Random Variables AP Statistics.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Statistics 16 Random Variables. Expected Value: Center A random variable assumes a value based on the outcome of a random event. –We use a capital letter,
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
Discrete Probability Distributions
Probabilistic Cash Flow Analysis
Chapter 16 Random Variables.
Probability Models for Counts
STATISTICS AND PROBABILITY
Mean and Standard Deviation
Discrete Probability Distributions
Week 8 Chapter 14. Random Variables.
Chapter 3: Getting the Hang of Statistics
Probability Review for Financial Engineers
Probability Distribution – Example #2 - homework
Mean and Standard Deviation
Mean and Standard Deviation
Chebychev, Hoffding, Chernoff
Mean and Standard Deviation
Chapter 3: Getting the Hang of Statistics
AP Statistics Chapter 16 Notes.
STATISTICS AND PROBABILITY
Financial Econometrics Fin. 505
Combining Random Variables
Mean and Standard Deviation
The Mean Variance Standard Deviation and Z-Scores
Presentation transcript:

1 Week of July 10.

2 Week 2.

3 “oil” = oil is present “+” = a test for oil is positive “ - ” = a test for oil is negative oil no oil + + false negative false positive - -

4 P(oil) = 0.3 P(+ | oil) = 0.9 P(+ | no oil) = 0.4 oil no oil P(oil) = 0.3 P(+ | oil) = 0.9 P(oil +) = (0.3)(0.9) = 0.27

5 P(oil) = 0.3 P(+ | oil) = 0.9 P(+ | no oil) = oil 0.7 no oil

6 P(oil) = 0.3 P(+ | oil) = 0.9 P( - | oil) = 0.1 P(+ | no oil) = 0.4 oil no oil

7 P(oil) = 0.3 P(+ | oil) = 0.9 P(+ | no oil) = 0.4 oil no oil oil oil oil oil-

8 oil no oil oil+ oil- oil+ oil- S oil

9 oil no oil oil+ Oil contributes 0.27 to the total P(+) = 0.55.

oil+ S oil Oil contributes 0.27 of the total P(+) =

disease The test for this infrequent disease seems to be reliable having only 3% false positives and 2% false negatives. What if we test positive? 0.99 no disease

disease We need to calculate P(diseased | +), the conditional probability that we have this disease GIVEN we’ve tested positive for it no disease

disease P(+) = = P(disease | +) = P(disease+) / P(+) =.0098 / = no disease

disease EVEN FOR THIS ACCURATE TEST: P(diseased | +) is only around 25% because the non-diseased group is so predominant that most positives come from it no disease

disease WHEN THE DISEASE IS TRULY RARE: P(diseased | +) is a mere 3.2% because the huge non-diseased group has completely over- whelmed the test, which no longer has value no disease

16 FOR MEDICAL PRACTICE: Good diagnostic tests will be of little use if the system is over- whelmed by lots of healthy people taking the test. Screen patients first. FOR BUSINESS: Good sales people capably focus their efforts on likely buyers, leading to increased sales. They can be rendered ineffective by feeding them too many false leads, as with massive un-targeted sales promotions.

17 probability total 1 (3-17 of text)

18 P(oil) = 0.3 oil no oil Cost to drill 130 Reward for oil net return “just drill” = 270 drill oil drill no oil = -130 A random variable is just a numerical function over the outcomes of a probability experiment.

19 Definition of E X E X = sum of value times probability x p(x). Key properties E(a X + b) = a E(X) + b E(X + Y) = E(X) + E(Y) (always, if such exist) a. E(sum of 13 dice) = 13 E(one die) = 13(3.5). b. E(0.82 Ford US + Ford Germany - 20M) = 0.82 E(Ford US) + E(Ford Germany) - 20M regardless of any possible dependence.

20 probability product 2 1/36 2/36 3 2/36 6/36 4 3/36 12/36 5 4/36 20/36 6 5/36 30/36 7 6/36 42/36 8 5/36 40/36 9 4/36 36/ /36 30/ /36 22/ /36 12/36 sum 1 252/36 = 7 (3-15) of text

21 probability product total (3-17 of text)

22 oil no oil net return from policy“just drill.” = 270 drill oil drill no-oil = -130 E(X) = -10 Expected return from policy “just drill” is the probability weighted average (NET) return E(NET) = (0.3) (270) + (0.7) (-130) = = -10.

23 oil no oil A test costing 20 is available. This test has: P(test + | oil) = 0.9 P(test + | no-oil) = “costs” TEST 20 DRILL 130 OIL 400 Is it worth 20 to test first?

24 oil+ = = oil- = = no oil+ = = no oil- = = total E(NET) =.27 (250) -.03 (20) -.28 (150) -.42 (20) = 16.5 (for the “test first” policy). This average return is much preferred over the E(NET) = -10 of the “just drill” policy.

25 x p(x) x p(x) x 2 p(x) (x-4.05) 2 p(x) total quantity E X E X 2 E (X - E X) 2 terminology mean mean of squares variance = mean of sq dev s.d. = root(2.7474) = root( ) = (3-17) of text

26 Var(X) = def E (X - E X) 2 = comp E (X 2 ) - (E X) 2 i.e. Var(X) is the expected square deviation of r.v. X from its own expectation. Caution: The computing formula (right above), although perfectly accurate mathematically, is sensitive to rounding errors. Key properties: Var(a X + b) = a 2 Var(X) (b has no effect). sd(a X + b) = |a| sd(X). VAR(X + Y) = Var(X) + VAR(Y) if X ind of Y.

27 Random variables X, Y are INDEPENDENT if p(x, y) = p(x) p(y) for all possible values x, y. If random variables X, Y are INDEPENDENT E (X Y) = (E X) (E Y) echoing the above. Var( X + Y ) = Var( X ) + Var( Y ).

28 Venture one returns random variable X per $1 investment. This X is termed the “price relative.” This random X may in turn be reinvested in venture two which returns random random variable Y per $1 investment. The return from $1 invested at the outset is the product random variable XY. If INDEPENDENT, E( X Y ) = (E X) (E Y).

29 EXAMPLE: x p(x) x p(x) $1 X E(X) = 1.14 BUT YOU WILL NOT EARN 14%. Simply put, the average is not a reliable guide to real returns in the case of exponential growth.

30 EXAMPLE: x p(x) Log[x] p(x) $1 X E Log 10 [X] = = With INDEPENDENT plays your RANDOM return will compound at 11.1% not 14%. (more about this later in the course)

31

32