Mathematics and Statistics Boot Camp II David Siroky Duke University.

Slides:



Advertisements
Similar presentations
Let X 1, X 2,..., X n be a set of independent random variables having a common distribution, and let E[ X i ] = . then, with probability 1 Strong law.
Advertisements

CS433: Modeling and Simulation
Random Variables ECE460 Spring, 2012.
Chapter 2 Appendix Basic Statistics and the Law of Large Numbers.
Chapter 4 Probability and Probability Distributions
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
Chapter 2 Discrete Random Variables
Discrete Probability Distributions
Review of Basic Probability and Statistics
Probability Densities
SUMS OF RANDOM VARIABLES Changfei Chen. Sums of Random Variables Let be a sequence of random variables, and let be their sum:
Chapter 5: Probability Concepts
Statistics. Large Systems Macroscopic systems involve large numbers of particles.  Microscopic determinism  Macroscopic phenomena The basis is in mechanics.
Probability Distributions Random Variables: Finite and Continuous A review MAT174, Spring 2004.
Continuous Random Variables and Probability Distributions
Discrete Random Variables and Probability Distributions
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Joint Distribution of two or More Random Variables
Review of Probability.
Discrete Probability Distributions A sample space can be difficult to describe and work with if its elements are not numeric.A sample space can be difficult.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 2nd Mathematical Preparations (1): Probability and statistics Kazuyuki Tanaka Graduate.
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.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Discrete Random Variables Chapter 4.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
PBG 650 Advanced Plant Breeding
Week 41 Continuous Probability Spaces Ω is not countable. Outcomes can be any real number or part of an interval of R, e.g. heights, weights and lifetimes.
Random Variables & Probability Distributions Outcomes of experiments are, in part, random E.g. Let X 7 be the gender of the 7 th randomly selected student.
K. Shum Lecture 16 Description of random variables: pdf, cdf. Expectation. Variance.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
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.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
Mean and Standard Deviation of Discrete Random Variables.
Discrete 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)
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
A Review of Some Fundamental Mathematical and Statistical Concepts UnB Mestrado em Ciências Contábeis Prof. Otávio Medeiros, MSc, PhD.
Math b (Discrete) Random Variables, Binomial Distribution.
Exam 1 next Thursday (March 7 th ) in class 15% of your grade Covers chapters 1-6 and the central limit theorem I will put practice problems, old exams,
Appendix : Probability Theory Review Each outcome is a sample point. The collection of sample points is the sample space, S. Sample points can be aggregated.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
Lecture V Probability theory. Lecture questions Classical definition of probability Frequency probability Discrete variable and probability distribution.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Random Variables Example:
Lesson Discrete Random Variables. Objectives Distinguish between discrete and continuous random variables Identify discrete probability distributions.
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)
11.7 Continued Probability. Independent Events ► Two events are independent if the occurrence of one has no effect on the occurrence of the other ► Probability.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
7.2 Means & Variances of Random Variables AP Statistics.
Sums of Random Variables and Long-Term Averages Sums of R.V. ‘s S n = X 1 + X X n of course.
Final Exam Information These slides and more detailed information will be posted on the webpage later…
Random Variables By: 1.
Topic Overview and Study Checklist. From Chapter 7 in the white textbook: Modeling with Differential Equations basic models exponential logistic modified.
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
Virtual University of Pakistan
Basic Statistics and the Law of Large Numbers
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
Chapter 2 Discrete Random Variables
Appendix A: Probability Theory
Graduate School of Information Sciences, Tohoku University
Probability Review for Financial Engineers
Probability and Statistics
Probability and Statistics
Further Topics on Random Variables: 1
Experiments, Outcomes, Events and Random Variables: A Revisit
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Presentation transcript:

Mathematics and Statistics Boot Camp II David Siroky Duke University

Agenda The Language of Mathematics The Language of Mathematics Algebra Review Algebra Review Exponents Exponents Logarithms Logarithms Problem Set Review Problem Set Review Probability Review Probability Review Will most likely end here…  Will most likely end here…  Limits and Continuity Limits and Continuity Differential Calculus (Tangents, Differentiation, Extrema) Differential Calculus (Tangents, Differentiation, Extrema) Integral Calculus (Integration Rules, Definite Integrals) Integral Calculus (Integration Rules, Definite Integrals) Matrix Algebra (Determinants, Inverses, Eigenvalues and Eigenvectors) Matrix Algebra (Determinants, Inverses, Eigenvalues and Eigenvectors)

The Language of Mathematics X  = > < | x | | x |  Addition Addition Subtraction Subtraction Multiplication Multiplication Division Division Equality Equality Greater than Greater than Less than Less than Absolute value of x Absolute value of x Square Root Square Root

The Language of Mathematics I     |   - There exists - There exists - For all - For all - Therefore - Therefore - Implies - Implies - Such that, Given - Such that, Given - Change - Change - Element (  ) - Element (  )

The Language of Mathematics II        - Exactly equal - Exactly equal - Roughly equal - Roughly equal - Not equal - Not equal - Summation - Summation - Product - Product - Partial Derivative - Partial Derivative - Integral - Integral

The Language of Mathematics III ln ln log b log b    2  2   Natural Log Natural Log Log to Base b Log to Base b Mu = mean Mu = mean Sigma = Std Dev. Sigma = Std Dev. Sigma sq. = Var. Sigma sq. = Var. Union Union Intersection Intersection

Quick Review  [e.g.,  X i ]  [e.g.,  X i ]  [e.g.,  y/  x]  [e.g.,  y/  x] | [e.g., Pr (Y | X)] | [e.g., Pr (Y | X)]  [e.g., A U B]  [e.g., A U B]  [e.g.,  x ]  [e.g.,  x ]

Algebra Review – 10 Commandments of Exponents 1. A m x A n = A m + n 1. A m x A n = A m + n 2. (A m ) n = A m x n 2. (A m ) n = A m x n 3. (A x B) n = A n + B n 3. (A x B) n = A n + B n 4. (A/B) n =(A n /B n )  B  0 4. (A/B) n =(A n /B n )  B  0 5. (1/A n ) = A -n 5. (1/A n ) = A -n 6. (A m /A n ) = A m – n 6. (A m /A n ) = A m – n =1/A n - m =1/A n - m 7. A ½ =  A 7. A ½ =  A 8. A 1/n = n  A 8. A 1/n = n  A 9. A m/n = (A 1/n ) m 9. A m/n = (A 1/n ) m = (A m ) 1/n = n  A m = (A m ) 1/n = n  A m 10. A 0 = 1 b/c A A 0 = 1 b/c A 0 = A n – n = A n – n = A n /A n = 1 = A n /A n = 1

Algebra Review – Some Examples of Exponents Definition: 6 3 Definition: 6 3 = 6 x 6 x 6 = 216 = 6 x 6 x 6 = 216 [#2] (5 2 ) 2 [#2] (5 2 ) 2 = 5 2 x 2 = 5 4 = 625 = 5 2 x 2 = 5 4 = 625 [#3] (3 x 4) 2 [#3] (3 x 4) 2 = 3 2 x 4 2 = 9 x 16 = 144 = 3 2 x 4 2 = 9 x 16 = 144 [#4] (1/16) 1/4 [#4] (1/16) 1/4 = (1 1/4 /16 1/4 ) = [# 9] (1 1/4 /(2 4 ) 1/4 ) = (1 1/4 /2 4/4 ) = ½ = (1 1/4 /16 1/4 ) = [# 9] (1 1/4 /(2 4 ) 1/4 ) = (1 1/4 /2 4/4 ) = ½ Examples from Problem Set 1. Examples from Problem Set 1.

Problem Set Exponent Examples

Problem Set Exponents

Algebra Review – Some of the Rules for Logarithms Log (A x B) Log (A x B) Log (A/B) Log (A/B) Log (A n ) Log (A n ) Ln e x Ln e x e ln x e ln x = log (A) + log (B) = log (A) + log (B) = log (A) – log (B) = log (A) – log (B) = n log A = n log A = x = x

An Example of the First Rule for Logarithms log log 400 log log 400 [#1] Log 40,000 = log (10,000 x 4) = log 10,000 + log 4 =log log 4 =  4.6 [#1] Log 40,000 = log (10,000 x 4) = log 10,000 + log 4 =log log 4 =  4.6 [#1] Log log (4 x 10 2 ) = log log 4 + log 10 2 = 2 + log  4.6 [#1] Log log (4 x 10 2 ) = log log 4 + log 10 2 = 2 + log  4.6

Problem Set 1 Logarithms: 4a

Problem Set 1 Logarithms: 4b

Problem Set 1 Logarithms: 4c

Last Questions from Problem Set 1

Other Problem Set Topics: Graphing

ProbabilityTheory Probabilities and Outcomes Probabilities and Outcomes Sample space: set of all possible outcomes Sample space: set of all possible outcomes Event: subset of sample space Event: subset of sample space Random Variables Random Variables Probability Distribution Probability Distribution An Example An Example

Probability Distribution of Discrete Random variable List of all possible values of the variable List of all possible values of the variable And the probability that each will occur. And the probability that each will occur. Must sum to 1 Must sum to 1

For example Let M be the number of times your computer crashes using Windows. Let M be the number of times your computer crashes using Windows. Probability that M=0 is Pr (M=0) Probability that M=0 is Pr (M=0) Probability that M=1 is Pr (M=1) etc. Probability that M=1 is Pr (M=1) etc.

Windows Crash Table Crashes01234 Probability Distribution Cumulative Distribution

Windows Crash Probability Distribution: A Histogram

Cumulative Probability Distribution (CDF)

Bernoulli Distribution For Discrete Dichotomous Variables For Discrete Dichotomous Variables Let G be the gender of next person you meet, where G= 0 if male and G = 1 if female. Let G be the gender of next person you meet, where G= 0 if male and G = 1 if female. The outcomes and probabilities are: The outcomes and probabilities are: G = 1 with probability p G = 0 with probability 1-p

Values of Interest Probabilities, First Differences Probabilities, First Differences Expected Value of a Random Variable Expected Value of a Random Variable E (Y) is the long run average of many repeated trials or occurrences. Also called the expectation of Y Also called the mean of Y, e.g., (  y ) = Mu Y

For Example You loan a friend $100 at 10 % interest. You loan a friend $100 at 10 % interest. If repaid in full you get $110 If repaid in full you get $110 But there is a risk of 1% that your friend will default and you get nothing.  But there is a risk of 1% that your friend will default and you get nothing.  So the amount you get is a random variable that equal 110 with probability.99 and 0 with probability.01. So the amount you get is a random variable that equal 110 with probability.99 and 0 with probability.01. On average, , what you get = 110 x x.01 = On average, , what you get = 110 x x.01 = 108.9

Back to Windows Crashes E (M) = 0 (.8) + 1 (.1) + 2 (.06) + 3 (.03) + 4 (.01) =.35 E (M) = 0 (.8) + 1 (.1) + 2 (.06) + 3 (.03) + 4 (.01) =.35 This is the expected number of crashes while working on your Windows OS. This is the expected number of crashes while working on your Windows OS. Of course the actual number is an integer Of course the actual number is an integer

Expectation for Bernoulli RV E (G) = 1 x p + 0 (1-p) = p E (G) = 1 x p + 0 (1-p) = p Or the probability that the value assumed in 1 (female). Or the probability that the value assumed in 1 (female).

Expectation of Continuous RV E (Y) = y 1 p 1 + y 2 p 2 + … + y k p k E (Y) = y 1 p 1 + y 2 p 2 + … + y k p k K =  y i p i =  y i p i i=1 i=1

Other topics Variance, St. Dev., Moments Variance, St. Dev., Moments Condition Expectation Condition Expectation Independence Independence Standard Normal Standard Normal Law of Large Numbers Law of Large Numbers Central Limit Theorem Central Limit Theorem

Review Outcomes Outcomes Probability Probability Sample Space Sample Space Event Event Discrete RV Discrete RV Continuous RV Continuous RV Bernoulli RV Bernoulli RV CDF CDF Expected Value Expected Value Moments Moments Conditional Expectation Conditional Expectation Law of Iterated Expectations Law of Iterated Expectations Law of Large Numbers Law of Large Numbers