Chapter 6: Variance, the law of large numbers and the MonteCarlo method


 Gregory Smith
 2 years ago
 Views:
Transcription
1 Chapter 6: Variace, the law of large umbers ad the MoteCarlo method Expected value, variace, ad Chebyshev iequality. If X is a radom variable recall that the expected value of X, E[X] is the average value of X Expected value of X : E[X] = α α P (X = α) The expected value measures oly the average of X ad two radom variables with the same mea ca have very differet behavior. For example the radom variable X with P (X = +1) = 1/2, P (X = 1) = 1/2 ad the radom variable Y with have the same mea [P (X = +100) = 1/2, P (X = 100) = 1/2 E[X] = E[Y ] = 0 To measure the spread of a radom variable X, that is how likely it is to have value of X very far away from the mea we itroduce the variace of X, deoted by var(x). Let us cosider the distace to the expected value i.e., X E[X]. It is more coveiet to look at the square of this distace (X E[X]) 2 to get rid of the absolute value ad the variace is the give by Variace of X : var(x) = E [ (X E[X]) 2] We summarize some elemetary properties of expected value ad variace i the followig Theorem 1. We have 1. For ay two radom variables X ad Y, E[X + Y ] = E[X] + E[Y ]. 2. For ay real umber a, E[aX] = ae[x]. 3. For ay real umber c, E[X + c] = E[X] + c. 1
2 4. For ay real umber a, var(ax) = a 2 var(x). 5. For ay real umber c, var(x + c) = var(x). Proof. 1. should be obvious, the sum of averages is the average of the sum. For 2. oe otes that if X takes the value α with some probability the the radom variable ax takes the value aα with the same probability. 3 is a special case of 1 if we realize that E[a] = a. For 4. we use 2 ad we have var(x) = E [ (ax E[aX]) 2] = E [ a 2 (X E[X]) 2] = a 2 E [ (X E[X]) 2] = a 2 var(x). Fially for 5. ot that X + a E[X + a] = X E[x] ad so the variace does ot chage. Usig this rule we ca derive aother formula for the variace. var(x) = E [ (X E[X]) 2] = E[X 2 2XE[X] + E[X] 2 = E[X 2 ] + E[ 2XE[X]] + E[E[X] 2 ] = E[X 2 ] 2E[X] 2 + E[X] 2 = E[X 2 ] E[X] 2 So we obtai Variace of X : var(x) = E [ (X E[X]) 2] = E[X 2 ] E[X] 2 Example: The 0 1 radom variable. Suppose A is a evet the radom variable X A is give by { 1 if A occurs X A = 0 otherwise ad let us write The we have p = P (A) E[X A ] = 0 P (X A = 0) + 1 P (X A = 1) = 0 (1 p) + 1 p = p. 2
3 To compute the variace ote that X A E[X A ] = { 1 p if A occurs p otherwise ad so var(x) = ( p) 2 P (X A = 0) + (1 p) 2 P (X A = 1) = p 2 (1 p) + (1 p) 2 p = p(1 p) I summary we have The 0 1 radom variable P (X = 1) = p, P (X = 0) = (1 p) E[X] = p, var(x) = p(1 p) Chebyshev iequality: The Chebyshev iequality is a simple iequality which allows you to extract iformatio about the values that X ca take if you kow oly the mea ad the variace of X. Theorem 2. We have 1. Markov iequality. If X 0, i.e. X takes oly oegative values, the for ay a > 0 we have P (X a) E[X] α 2. Chebyshev iequality. For ay radom variable X ad ay ɛ > 0 we have P ( X E[X] ɛ) var(x) ɛ 2 Proof. Let us prove first Markov iequality. Pick a positive umber a. Sice X takes oly oegative values all terms i the sum givig the expectatios are oegative we have E[X] = α αp (X = α) α a αp (X = α) a α a P (X = α) = ap (X a) 3
4 ad thus P (X a) E[X]. a To prove Chebyshev we will use Markov iequality ad apply it to the radom variable Y = (X E[X]) 2 which is oegative ad with expected value We have the E[Y ] = E [ (X E[X]) 2] = var(x). P ( X E[X] ɛ) = P ((X E[X]) 2 ɛ 2 ) = P (Y ɛ 2 ) E[Y ] ɛ 2 = var(x) ɛ 2 (1) Idepedece ad sum of radom variables: Two radom variables are idepedet idepedet if the kowledge of Y does ot ifluece the results of X ad vice versa. This ca be expressed i terms of coditioal probabilities: the (coditioal) probability that Y takes a certai value, say β, does ot chage if we kow that X takes a value, say α. I other words Y is idepedet of X if P (Y = β X = α) = P (Y = β) for all α, β But usig the defiitio of coditioal probability we fid that or P (Y = β X = α) = P (Y = β X = α) P (X = α) = P (Y = β) P (Y = β X = α) = P (X = α)p (Y = β). This formula is symmetric i X ad Y ad so if Y is idepedet of X the X is also idepedet of Y ad we just say that X ad Y are idepedet. 4
5 X ad Y are idepedet if P (Y = β X = α) = P (X = α)p (Y = β) for all α, β Theorem 3. Suppose X ad Y are idepedet radom variable. The we have 1. E[XY ] = E[X]E[Y ]. 2. var(x + Y ) = var(x) + var(y ). Proof. : If X ad Y are idepedet we have E[XY ] = α,β = α,β αβp (X = αy = β) αβp (X = α)p (Y = β) = α αp (X = α) β βp (Y = β) = E[X]E[Y ] To compute the variace of X + Y it is best to ote that by Theorem 1, part 5, the variace is uchaged if we traslate the the radom variable. So we have for example var(x) = var(x E[X]) ad similarly for Y ad X + Y. So without loss of geerality we may assume that E[X] = E[Y ] = E[X + Y ] = 0. The var(x) = E[X 2 ], etc... var(x + Y ) = E [ (X + Y ) 2] = E [ X 2 + 2XY + Y 2] = E [ X 2] + E [ Y 2] + 2E [XY ] = E [ X 2] + E [ Y 2] + 2E [X] E [Y ] (X, Y idepedet) = E [ X 2] + E [ Y 2] (sice E[X] = E[Y ] = 0) = var(x) + var(y ) The Law of Large umbers Suppose we perform a experimet ad a measuremet ecoded i the radom variable X ad that we repeat this experimet times each time i the same coditios ad each time idepedetly of each other. We thus obtai idepedet copies of the radom variable X which we deote X 1, X 2,, X 5
6 Such a collectio of radom variable is called a IID sequece of radom variables where IID stads for idepedet ad idetically distributed. This meas that the radom variables X i have the same probability distributio. I particular they have all the same meas ad variace E[X i ] = µ, var(x i ) = σ 2, i = 1, 2,, Each time we perform the experimet tiimes, the X i provides a (radom) measuremet ad if the average value X X is called the empirical average. The Law of Large Numbers states for large the empirical average is very close to the expected value µ with very high probability Theorem 4. Let X 1,, X IID radom variables with E[X i ] = µ ad var(x i ) for all i. The we have ( ) X 1 + X P µ ɛ σ2 ɛ 2 I particular the right had side goes to 0 has. Proof. The proof of the law of large umbers is a simple applicatio from Chebyshev iequality to the radom variable X 1+ X. Ideed by the properties of expectatios we have [ ] X1 + X E = 1 E [X 1 + X ] = 1 (E [X 1] + E [X ]) = 1 µ = µ For the variace we use that the X i are idepedet ad so we have ( ) X1 + X var = 1 var (X X ]) = 1 (var(x 1) + + var(x 2 )) = σ2 By Chebyshev iequality we obtai the ( X 1 + X P ) µ ɛ σ2 ɛ 2 Coi flip Suppose we flip a fair coi 100 times. How likely it is to obtai betwee 40% ad 60% heads? We cosider the radom variable X which is 1 if the coi lads o head 6
7 ad 0 otherwise. We have µ = E[X] = 1/2 ad σ 2 = var(x) = 1/4 ad by Chebyshev P (betwee 40 ad 60 heads) = P (40 X 1 + X ) ( 4 = P 10 X 1 + X ) ( X 1 + X 100 = P ) 10 ( X 1 + X 100 = 1 P ) 10 1/4 1 =.75 (2) 100(1/10) 2 If we ow flip a fair coi ow 1000 obtaithe probability to obtai betwee 40% ad 60% heads ca be estimated by ( X 1 + X 1000 P (betwee 400 ad 600 heads) = P ) 10 ( X 1 + X 100 = 1 P ) 10 1/4 1 =.975 (3) 1000(1/10) 2 Variace as a measure of risk: I may problems the variace ca be iterpreted as measurig how risky a ivestmet is. As a example let us put ourselves i the casio shoes ad try to figure out what is more risky for a casio? A player bettig o red/black at roulette or a player bettig o umbers? Suppose X is the expected wi o red or black. The we have E[X] = ad 38 E[X2 ] = = 1 so Var(X) = = Suppose Y is the expected wi o a umber. The E[X] = = 2, ad E[X 2 ] = (35) = so Var(X) = It is obvious that that the riskier bet is to bet o umbers. To estimate the risk take by the casio, let us estimate usig Chebyshev iequality that the casio actually loses moey o bets of say $1. This is P {X X > 0} 7
8 Usig Chebyshev we have P {X X > 0} = P {X X µ > µ} P { X X µ > µ } σ 2 µ 2 (4) So for bets o red/black the estimates o the probability that the casio is aroud 33 times smaller for for a bet umbers. But of course, i ay case the probability that the casio lose at all is tiy ad i additio Chebyshev grossly overestimates these umbers. Probabilistic algorithms ad the MoteCarlo method: Uder the ame Mote Carlo methods, oe uderstads a algorithm which uses radomess ad the LLN to compute a certai quatity which might have othig to do with radomess. Such algorithm are becomig ubiquitous i may applicatios i statistics, computer sciece, physics ad egieerig. We will illustrate the ideas here with some very simple test examples. We start with a probabilistic algorithm which do ot use the LLN at all but use probability i a surprisig maer to make a decisio. Guessig the largest of two umber: Suppose you pick two distict itegers A < B, let us say betwee 1 ad 100. You ca do this i ay way you wish. You write the the 2 umbers o two pieces of papers ad put them face dow. I the pick oe of the two pieces of paper ad look at the umber o it. I should the decide whether this umber is the largest of the 2 or ot. We will describe a algorithm which always retur the largest of 2 with probability greater tha 1/2, o matter how you picked the umber. To describe the algorithm we let O be the observed umber by me. The I pick a radom umber N betwee 1 ad 100, for example uiformly, that is P (N = ) = with = 1, 2, 100. I could pick N accordig to aother distributio ad it would still works. The my aswer is simply If O > N the I guess that O is the largest umber. if O N the I switch ad guess that the other uobserved umber is the largest. To see how this works we distiguish three cases 1. If N < A < B the N < 0 ad thus pickig O as the largest give me a probability 1/2 to pick the largest. 2. If N B > A, the I decide to switch ad agai I pick the largest with probability 1/2. 8
9 3. If A N < B it gets iterestig, sice if O = A, the N A ad so I switch ad pick B which is the largest. O the other had if O = B, the N < O ad so i guess that O = B is the largest ad wi. So I always wi. Usig coditioal probabilities, we fid that P (Wi) = P (Wi N < A)P (N < A) + P (Wi A N < B)P (A N < B) +P (Wi B N)P (B N) = 1 2 P (N < A) + P (A N < B) P (B N) > 1 2 (5) For example is N is uiformly distributed, we have P (Wi) = 1 A B A B = B A Radom umbers: A computer comes equipped with a radom umber geerator, (usually the commad rad, which produces a umber which is uiformly distributed i [0, 1]. We call such a umber U ad such a umber is characterized by the fact that P (U [a, b]) = b a for ay iterval [a, b] [0, 1]. Every MoteCarlo method should be i priciple costructed with radom umber so as to be easily implemetable. For example we ca geerate a 0 1 radom variable X with P (X = 1) = p ad P (X = 0) = 1 p by usig a radom umber. We simply set { 1 if U p X = 0 if U > p The we have P (X = 1) = P (U [0, p]) = p. A algorithm to compute the umber π: To compute the umber π we draw a square with side legth 1 ad iscribe i it a circle of radius 1/2. The area of the square of 1 while the area of the circle is π/4. To compute π we geerate a radom poit i the square. If the poit geerated is iside the circle we accept it, while if it is outside we reject it. The we repeat the same experimet may times ad expect by the LLN to have a proportio of accepted poits equal to π/4 More precisely the algorithm ow goes as follows 9
10 Geerate two radom umbers U 1 ad V 1, this is the same as geeratig a radom poit i the square [0, 1] [0, 1]. If U V the set X 1 = 1 while if U 2 + V 2 > 1 set X 1 = 0. Repeat to the two previous steps to geerate X 2, X 3,, X. We have P (X 1 = 1) = P (U V 2 1 1) = ad P (X = 0) = 1 π/4. We have the area of circle area of the square = π/4 1 E[X] = µ = π/4 var(x) = σ 2 = π/4(1 π/4) So usig the LLN ad Chebyshev we have ( X 1 + X P π ) 4 ɛ π/4(1 π/4) ɛ 2 I order to get quatitative iformatio suppose we wat to compute π with a accuracy of ±1/1000, that is we take ɛ = 1/000. This is the same as computig π/4 with a accuracy of 1/4000. O the right had side we have the variace π/4(1 π/4) which is a umber we do t kow. But we ote that the fuctio p(1 p) o [0, 1] has its maximum at p = 1/2 ad the maximum is 1/4 so we ca obtai ( X 1 + X P π ) 4 4/100 4, 000, 000 That we eed to compute ru the algorithm 80 millios times to make this probability 5/100. The Motecarlo method to compute the itegral b f(x) dx. We cosider a fuctio f o the iterval [a, b] ad we wish to a compute I = b a f(x) dx. for some bouded fuctio f. Without loss of geerality we ca assume that f 0, otherwise we replace f by f + c for some costat c. Next we ca also assume that f 1 otherwise we replace f by cf for a sufficietly small c. Fially we may assume that a = 0 10
11 ad b = 1 otherwise we make the chage of variable y = (x a)/(b a). For example suppose we wat to compute the itegral 1 0 e si(x3 ) 3(1 + 5x 8 ) dx This caot be doe by had ad so we eed a umerical method. A stadard method would be to use a Riema sum, i.e. we divide the iterval [0, 1] i subiterval ad set x i = i the we ca approximate the itegral by f(x)dx 1 f(x i ) that is we approximate the area uder the graph of f by the sum of areas of rectagles of base legth 1/ ad height f(i/). We use istead a MoteCarlo method. We ote that i=1 I = Area uder the graph of f ad we costruct a 0 1 radom variable X so that E[X] = I. computig π. More precisely the algorithm ow goes as follows We proceed as for Geerate two radom umbers U 1 ad V 1, this is the same as geeratig a radom poit i the square [0, 1] [0, 1]. If V 1 f(u 1 ) the set X 1 = 1 while if V 1 > f(u 1 ) set X 1 = 0. Repeat to the two previous steps to geerate X 2, X 3,, X. We have P (X = 1) = P (V f(u)) = Area uder the graph of f Area of [0, 1] [0, 1] = I = 1 0 f(x) dx ad so E[X] = I ad var(x) = I(1 I). 11
Properties of MLE: consistency, asymptotic normality. Fisher information.
Lecture 3 Properties of MLE: cosistecy, asymptotic ormality. Fisher iformatio. I this sectio we will try to uderstad why MLEs are good. Let us recall two facts from probability that we be used ofte throughout
More informationApproximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find
1.8 Approximatig Area uder a curve with rectagles 1.6 To fid the area uder a curve we approximate the area usig rectagles ad the use limits to fid 1.4 the area. Example 1 Suppose we wat to estimate 1.
More informationUniversity of California, Los Angeles Department of Statistics. Distributions related to the normal distribution
Uiversity of Califoria, Los Ageles Departmet of Statistics Statistics 100B Istructor: Nicolas Christou Three importat distributios: Distributios related to the ormal distributio Chisquare (χ ) distributio.
More informationOverview of some probability distributions.
Lecture Overview of some probability distributios. I this lecture we will review several commo distributios that will be used ofte throughtout the class. Each distributio is usually described by its probability
More informationCase Study. Normal and t Distributions. Density Plot. Normal Distributions
Case Study Normal ad t Distributios Bret Halo ad Bret Larget Departmet of Statistics Uiversity of Wiscosi Madiso October 11 13, 2011 Case Study Body temperature varies withi idividuals over time (it ca
More informationUC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006
Exam format UC Bereley Departmet of Electrical Egieerig ad Computer Sciece EE 6: Probablity ad Radom Processes Solutios 9 Sprig 006 The secod midterm will be held o Wedesday May 7; CHECK the fial exam
More informationA probabilistic proof of a binomial identity
A probabilistic proof of a biomial idetity Joatho Peterso Abstract We give a elemetary probabilistic proof of a biomial idetity. The proof is obtaied by computig the probability of a certai evet i two
More informationI. Chisquared Distributions
1 M 358K Supplemet to Chapter 23: CHISQUARED DISTRIBUTIONS, TDISTRIBUTIONS, AND DEGREES OF FREEDOM To uderstad tdistributios, we first eed to look at aother family of distributios, the chisquared distributios.
More informationRiemann Sums y = f (x)
Riema Sums Recall that we have previously discussed the area problem I its simplest form we ca state it this way: The Area Problem Let f be a cotiuous, oegative fuctio o the closed iterval [a, b] Fid
More informationHypothesis testing. Null and alternative hypotheses
Hypothesis testig Aother importat use of samplig distributios is to test hypotheses about populatio parameters, e.g. mea, proportio, regressio coefficiets, etc. For example, it is possible to stipulate
More informationMaximum Likelihood Estimators.
Lecture 2 Maximum Likelihood Estimators. Matlab example. As a motivatio, let us look at oe Matlab example. Let us geerate a radom sample of size 00 from beta distributio Beta(5, 2). We will lear the defiitio
More informationAsymptotic Growth of Functions
CMPS Itroductio to Aalysis of Algorithms Fall 3 Asymptotic Growth of Fuctios We itroduce several types of asymptotic otatio which are used to compare the performace ad efficiecy of algorithms As we ll
More informationIn nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008
I ite Sequeces Dr. Philippe B. Laval Keesaw State Uiversity October 9, 2008 Abstract This had out is a itroductio to i ite sequeces. mai de itios ad presets some elemetary results. It gives the I ite Sequeces
More information4.1 Sigma Notation and Riemann Sums
0 the itegral. Sigma Notatio ad Riema Sums Oe strategy for calculatig the area of a regio is to cut the regio ito simple shapes, calculate the area of each simple shape, ad the add these smaller areas
More information3. Continuous Random Variables
Statistics ad probability: 31 3. Cotiuous Radom Variables A cotiuous radom variable is a radom variable which ca take values measured o a cotiuous scale e.g. weights, stregths, times or legths. For ay
More informationJoint Probability Distributions and Random Samples
STAT5 Sprig 204 Lecture Notes Chapter 5 February, 204 Joit Probability Distributios ad Radom Samples 5. Joitly Distributed Radom Variables Chapter Overview Joitly distributed rv Joit mass fuctio, margial
More informationChapter 7 Methods of Finding Estimators
Chapter 7 for BST 695: Special Topics i Statistical Theory. Kui Zhag, 011 Chapter 7 Methods of Fidig Estimators Sectio 7.1 Itroductio Defiitio 7.1.1 A poit estimator is ay fuctio W( X) W( X1, X,, X ) of
More information8 The Poisson Distribution
8 The Poisso Distributio Let X biomial, p ). Recall that this meas that X has pmf ) p,p k) p k k p ) k for k 0,,...,. ) Agai, thik of X as the umber of successes i a series of idepedet experimets, each
More informationKey Ideas Section 81: Overview hypothesis testing Hypothesis Hypothesis Test Section 82: Basics of Hypothesis Testing Null Hypothesis
Chapter 8 Key Ideas Hypothesis (Null ad Alterative), Hypothesis Test, Test Statistic, Pvalue Type I Error, Type II Error, Sigificace Level, Power Sectio 81: Overview Cofidece Itervals (Chapter 7) are
More information0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5
Sectio 13 KolmogorovSmirov test. Suppose that we have a i.i.d. sample X 1,..., X with some ukow distributio P ad we would like to test the hypothesis that P is equal to a particular distributio P 0, i.e.
More informationWeek 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable
Week 3 Coditioal probabilities, Bayes formula, WEEK 3 page 1 Expected value of a radom variable We recall our discussio of 5 card poker hads. Example 13 : a) What is the probability of evet A that a 5
More informationSAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx
SAMPLE QUESTIONS FOR FINAL EXAM REAL ANALYSIS I FALL 006 3 4 Fid the followig usig the defiitio of the Riema itegral: a 0 x + dx 3 Cosider the partitio P x 0 3, x 3 +, x 3 +,......, x 3 3 + 3 of the iterval
More informationSection 11.3: The Integral Test
Sectio.3: The Itegral Test Most of the series we have looked at have either diverged or have coverged ad we have bee able to fid what they coverge to. I geeral however, the problem is much more difficult
More information1 Computing the Standard Deviation of Sample Means
Computig the Stadard Deviatio of Sample Meas Quality cotrol charts are based o sample meas ot o idividual values withi a sample. A sample is a group of items, which are cosidered all together for our aalysis.
More informationMath C067 Sampling Distributions
Math C067 Samplig Distributios Sample Mea ad Sample Proportio Richard Beigel Some time betwee April 16, 2007 ad April 16, 2007 Examples of Samplig A pollster may try to estimate the proportio of voters
More information7. Sample Covariance and Correlation
1 of 8 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 7. Sample Covariace ad Correlatio The Bivariate Model Suppose agai that we have a basic radom experimet, ad that X ad Y
More informationInfinite Sequences and Series
CHAPTER 4 Ifiite Sequeces ad Series 4.1. Sequeces A sequece is a ifiite ordered list of umbers, for example the sequece of odd positive itegers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29...
More informationORDERS OF GROWTH KEITH CONRAD
ORDERS OF GROWTH KEITH CONRAD Itroductio Gaiig a ituitive feel for the relative growth of fuctios is importat if you really wat to uderstad their behavior It also helps you better grasp topics i calculus
More informationTHE ABRACADABRA PROBLEM
THE ABRACADABRA PROBLEM FRANCESCO CARAVENNA Abstract. We preset a detailed solutio of Exercise E0.6 i [Wil9]: i a radom sequece of letters, draw idepedetly ad uiformly from the Eglish alphabet, the expected
More informationDiscrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13
EECS 70 Discrete Mathematics ad Probability Theory Sprig 2014 Aat Sahai Note 13 Itroductio At this poit, we have see eough examples that it is worth just takig stock of our model of probability ad may
More informationModule 4: Mathematical Induction
Module 4: Mathematical Iductio Theme 1: Priciple of Mathematical Iductio Mathematical iductio is used to prove statemets about atural umbers. As studets may remember, we ca write such a statemet as a predicate
More information5: Introduction to Estimation
5: Itroductio to Estimatio Cotets Acroyms ad symbols... 1 Statistical iferece... Estimatig µ with cofidece... 3 Samplig distributio of the mea... 3 Cofidece Iterval for μ whe σ is kow before had... 4 Sample
More informationOutput Analysis (2, Chapters 10 &11 Law)
B. Maddah ENMG 6 Simulatio 05/0/07 Output Aalysis (, Chapters 10 &11 Law) Comparig alterative system cofiguratio Sice the output of a simulatio is radom, the comparig differet systems via simulatio should
More informationSoving Recurrence Relations
Sovig Recurrece Relatios Part 1. Homogeeous liear 2d degree relatios with costat coefficiets. Cosider the recurrece relatio ( ) T () + at ( 1) + bt ( 2) = 0 This is called a homogeeous liear 2d degree
More information1. C. The formula for the confidence interval for a population mean is: x t, which was
s 1. C. The formula for the cofidece iterval for a populatio mea is: x t, which was based o the sample Mea. So, x is guarateed to be i the iterval you form.. D. Use the rule : pvalue
More informationA PROBABILISTIC VIEW ON THE ECONOMICS OF GAMBLING
A PROBABILISTIC VIEW ON THE ECONOMICS OF GAMBLING MATTHEW ACTIPES Abstract. This paper begis by defiig a probability space ad establishig probability fuctios i this space over discrete radom variables.
More information1 The Binomial Theorem: Another Approach
The Biomial Theorem: Aother Approach Pascal s Triagle I class (ad i our text we saw that, for iteger, the biomial theorem ca be stated (a + b = c a + c a b + c a b + + c ab + c b, where the coefficiets
More informationSimulation and Monte Carlo integration
Chapter 3 Simulatio ad Mote Carlo itegratio I this chapter we itroduce the cocept of geeratig observatios from a specified distributio or sample, which is ofte called Mote Carlo geeratio. The ame of Mote
More informationMeasures of Central Tendency
Measures of Cetral Tedecy A studet s grade will be determied by exam grades ( each exam couts twice ad there are three exams, HW average (couts oce, fial exam ( couts three times. Fid the average if the
More informationThe Stable Marriage Problem
The Stable Marriage Problem William Hut Lae Departmet of Computer Sciece ad Electrical Egieerig, West Virgiia Uiversity, Morgatow, WV William.Hut@mail.wvu.edu 1 Itroductio Imagie you are a matchmaker,
More informationif A S, then X \ A S, and if (A n ) n is a sequence of sets in S, then n A n S,
Lecture 5: Borel Sets Topologically, the Borel sets i a topological space are the σalgebra geerated by the ope sets. Oe ca build up the Borel sets from the ope sets by iteratig the operatios of complemetatio
More informationMath 113 HW #11 Solutions
Math 3 HW # Solutios 5. 4. (a) Estimate the area uder the graph of f(x) = x from x = to x = 4 usig four approximatig rectagles ad right edpoits. Sketch the graph ad the rectagles. Is your estimate a uderestimate
More informationThe second difference is the sequence of differences of the first difference sequence, 2
Differece Equatios I differetial equatios, you look for a fuctio that satisfies ad equatio ivolvig derivatives. I differece equatios, istead of a fuctio of a cotiuous variable (such as time), we look for
More information4.3. The Integral and Comparison Tests
4.3. THE INTEGRAL AND COMPARISON TESTS 9 4.3. The Itegral ad Compariso Tests 4.3.. The Itegral Test. Suppose f is a cotiuous, positive, decreasig fuctio o [, ), ad let a = f(). The the covergece or divergece
More informationUsing Excel to Construct Confidence Intervals
OPIM 303 Statistics Ja Stallaert Usig Excel to Costruct Cofidece Itervals This hadout explais how to costruct cofidece itervals i Excel for the followig cases: 1. Cofidece Itervals for the mea of a populatio
More informationChapter 7  Sampling Distributions. 1 Introduction. What is statistics? It consist of three major areas:
Chapter 7  Samplig Distributios 1 Itroductio What is statistics? It cosist of three major areas: Data Collectio: samplig plas ad experimetal desigs Descriptive Statistics: umerical ad graphical summaries
More informationDiscrete Random Variables and Probability Distributions. Random Variables. Chapter 3 3.1
UCLA STAT A Applied Probability & Statistics for Egieers Istructor: Ivo Diov, Asst. Prof. I Statistics ad Neurology Teachig Assistat: Neda Farziia, UCLA Statistics Uiversity of Califoria, Los Ageles, Sprig
More informationConvexity, Inequalities, and Norms
Covexity, Iequalities, ad Norms Covex Fuctios You are probably familiar with the otio of cocavity of fuctios. Give a twicedifferetiable fuctio ϕ: R R, We say that ϕ is covex (or cocave up) if ϕ (x) 0 for
More information15.075 Exam 3. Instructor: Cynthia Rudin TA: Dimitrios Bisias. November 22, 2011
15.075 Exam 3 Istructor: Cythia Rudi TA: Dimitrios Bisias November 22, 2011 Gradig is based o demostratio of coceptual uderstadig, so you eed to show all of your work. Problem 1 A compay makes highdefiitio
More informationGCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number.
GCSE STATISTICS You should kow: 1) How to draw a frequecy diagram: e.g. NUMBER TALLY FREQUENCY 1 3 5 ) How to draw a bar chart, a pictogram, ad a pie chart. 3) How to use averages: a) Mea  add up all
More informationMeasures of Spread and Boxplots Discrete Math, Section 9.4
Measures of Spread ad Boxplots Discrete Math, Sectio 9.4 We start with a example: Example 1: Comparig Mea ad Media Compute the mea ad media of each data set: S 1 = {4, 6, 8, 10, 1, 14, 16} S = {4, 7, 9,
More informationOur aim is to show that under reasonable assumptions a given 2πperiodic function f can be represented as convergent series
8 Fourier Series Our aim is to show that uder reasoable assumptios a give periodic fuctio f ca be represeted as coverget series f(x) = a + (a cos x + b si x). (8.) By defiitio, the covergece of the series
More informationPROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUSMALUS SYSTEM
PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical ad Mathematical Scieces 2015, 1, p. 15 19 M a t h e m a t i c s AN ALTERNATIVE MODEL FOR BONUSMALUS SYSTEM A. G. GULYAN Chair of Actuarial Mathematics
More informationLecture 16: Expected value, variance, independence and Chebyshev inequality
Lecture 16: Expected value, variance, independence and Chebyshev inequality Expected value, variance, and Chebyshev inequality. If X is a random variable recall that the expected value of X, E[X] is the
More informationEstimating the Mean and Variance of a Normal Distribution
Estimatig the Mea ad Variace of a Normal Distributio Learig Objectives After completig this module, the studet will be able to eplai the value of repeatig eperimets eplai the role of the law of large umbers
More informationNormal Distribution.
Normal Distributio www.icrf.l Normal distributio I probability theory, the ormal or Gaussia distributio, is a cotiuous probability distributio that is ofte used as a first approimatio to describe realvalued
More informationFourier Series and the Wave Equation Part 2
Fourier Series ad the Wave Equatio Part There are two big ideas i our work this week. The first is the use of liearity to break complicated problems ito simple pieces. The secod is the use of the symmetries
More informationLesson 17 Pearson s Correlation Coefficient
Outlie Measures of Relatioships Pearso s Correlatio Coefficiet (r) types of data scatter plots measure of directio measure of stregth Computatio covariatio of X ad Y uique variatio i X ad Y measurig
More information3. Covariance and Correlation
Virtual Laboratories > 3. Expected Value > 1 2 3 4 5 6 3. Covariace ad Correlatio Recall that by takig the expected value of various trasformatios of a radom variable, we ca measure may iterestig characteristics
More informationContinued Fractions continued. 3. Best rational approximations
Cotiued Fractios cotiued 3. Best ratioal approximatios We hear so much about π beig approximated by 22/7 because o other ratioal umber with deomiator < 7 is closer to π. Evetually 22/7 is defeated by 333/06
More informationConfidence Intervals for the Mean of Nonnormal Data Class 23, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom
Cofidece Itervals for the Mea of Noormal Data Class 23, 8.05, Sprig 204 Jeremy Orloff ad Joatha Bloom Learig Goals. Be able to derive the formula for coservative ormal cofidece itervals for the proportio
More informationChapter 5: Inner Product Spaces
Chapter 5: Ier Product Spaces Chapter 5: Ier Product Spaces SECION A Itroductio to Ier Product Spaces By the ed of this sectio you will be able to uderstad what is meat by a ier product space give examples
More informationZTEST / ZSTATISTIC: used to test hypotheses about. µ when the population standard deviation is unknown
ZTEST / ZSTATISTIC: used to test hypotheses about µ whe the populatio stadard deviatio is kow ad populatio distributio is ormal or sample size is large TTEST / TSTATISTIC: used to test hypotheses about
More informationMARTINGALES AND A BASIC APPLICATION
MARTINGALES AND A BASIC APPLICATION TURNER SMITH Abstract. This paper will develop the measuretheoretic approach to probability i order to preset the defiitio of martigales. From there we will apply this
More informationIncremental calculation of weighted mean and variance
Icremetal calculatio of weighted mea ad variace Toy Fich faf@cam.ac.uk dot@dotat.at Uiversity of Cambridge Computig Service February 009 Abstract I these otes I eplai how to derive formulae for umerically
More informationDerivation of the Poisson distribution
Gle Cowa RHUL Physics 1 December, 29 Derivatio of the Poisso distributio I this ote we derive the fuctioal form of the Poisso distributio ad ivestigate some of its properties. Cosider a time t i which
More informationSampling Distribution And Central Limit Theorem
() Samplig Distributio & Cetral Limit Samplig Distributio Ad Cetral Limit Samplig distributio of the sample mea If we sample a umber of samples (say k samples where k is very large umber) each of size,
More informationConfidence Intervals. CI for a population mean (σ is known and n > 30 or the variable is normally distributed in the.
Cofidece Itervals A cofidece iterval is a iterval whose purpose is to estimate a parameter (a umber that could, i theory, be calculated from the populatio, if measuremets were available for the whole populatio).
More informationMIDTERM EXAM  MATH 563, SPRING 2016
MIDTERM EXAM  MATH 563, SPRING 2016 NAME: SOLUTION Exam rules: There are 5 problems o this exam. You must show all work to receive credit, state ay theorems ad defiitios clearly. The istructor will NOT
More informationNPTEL STRUCTURAL RELIABILITY
NPTEL Course O STRUCTURAL RELIABILITY Module # 0 Lecture 1 Course Format: Web Istructor: Dr. Aruasis Chakraborty Departmet of Civil Egieerig Idia Istitute of Techology Guwahati 1. Lecture 01: Basic Statistics
More informationFactoring x n 1: cyclotomic and Aurifeuillian polynomials Paul Garrett <garrett@math.umn.edu>
(March 16, 004) Factorig x 1: cyclotomic ad Aurifeuillia polyomials Paul Garrett Polyomials of the form x 1, x 3 1, x 4 1 have at least oe systematic factorizatio x 1 = (x 1)(x 1
More information1. MATHEMATICAL INDUCTION
1. MATHEMATICAL INDUCTION EXAMPLE 1: Prove that for ay iteger 1. Proof: 1 + 2 + 3 +... + ( + 1 2 (1.1 STEP 1: For 1 (1.1 is true, sice 1 1(1 + 1. 2 STEP 2: Suppose (1.1 is true for some k 1, that is 1
More informationUniversal coding for classes of sources
Coexios module: m46228 Uiversal codig for classes of sources Dever Greee This work is produced by The Coexios Project ad licesed uder the Creative Commos Attributio Licese We have discussed several parametric
More information3. Greatest Common Divisor  Least Common Multiple
3 Greatest Commo Divisor  Least Commo Multiple Defiitio 31: The greatest commo divisor of two atural umbers a ad b is the largest atural umber c which divides both a ad b We deote the greatest commo gcd
More informationAn example of nonquenched convergence in the conditional central limit theorem for partial sums of a linear process
A example of oqueched covergece i the coditioal cetral limit theorem for partial sums of a liear process Dalibor Volý ad Michael Woodroofe Abstract A causal liear processes X,X 0,X is costructed for which
More information1 Hypothesis testing for a single mean
BST 140.65 Hypothesis Testig Review otes 1 Hypothesis testig for a sigle mea 1. The ull, or status quo, hypothesis is labeled H 0, the alterative H a or H 1 or H.... A type I error occurs whe we falsely
More informationSection IV.5: Recurrence Relations from Algorithms
Sectio IV.5: Recurrece Relatios from Algorithms Give a recursive algorithm with iput size, we wish to fid a Θ (best big O) estimate for its ru time T() either by obtaiig a explicit formula for T() or by
More informationIrreducible polynomials with consecutive zero coefficients
Irreducible polyomials with cosecutive zero coefficiets Theodoulos Garefalakis Departmet of Mathematics, Uiversity of Crete, 71409 Heraklio, Greece Abstract Let q be a prime power. We cosider the problem
More informationCHAPTER 7: Central Limit Theorem: CLT for Averages (Means)
CHAPTER 7: Cetral Limit Theorem: CLT for Averages (Meas) X = the umber obtaied whe rollig oe six sided die oce. If we roll a six sided die oce, the mea of the probability distributio is X P(X = x) Simulatio:
More informationChapter 5 Discrete Probability Distributions
Slides Prepared by JOHN S. LOUCKS St. Edward s Uiversity Slide Chapter 5 Discrete Probability Distributios Radom Variables Discrete Probability Distributios Epected Value ad Variace Poisso Distributio
More information5 Boolean Decision Trees (February 11)
5 Boolea Decisio Trees (February 11) 5.1 Graph Coectivity Suppose we are give a udirected graph G, represeted as a boolea adjacecy matrix = (a ij ), where a ij = 1 if ad oly if vertices i ad j are coected
More informationCenter, Spread, and Shape in Inference: Claims, Caveats, and Insights
Ceter, Spread, ad Shape i Iferece: Claims, Caveats, ad Isights Dr. Nacy Pfeig (Uiversity of Pittsburgh) AMATYC November 2008 Prelimiary Activities 1. I would like to produce a iterval estimate for the
More informationrepresented by 4! different arrangements of boxes, divide by 4! to get ways
Problem Set #6 solutios A juggler colors idetical jugglig balls red, white, ad blue (a I how may ways ca this be doe if each color is used at least oce? Let us preemptively color oe ball i each color,
More informationConfidence Intervals for One Mean
Chapter 420 Cofidece Itervals for Oe Mea Itroductio This routie calculates the sample size ecessary to achieve a specified distace from the mea to the cofidece limit(s) at a stated cofidece level for a
More informationThe following example will help us understand The Sampling Distribution of the Mean. C1 C2 C3 C4 C5 50 miles 84 miles 38 miles 120 miles 48 miles
The followig eample will help us uderstad The Samplig Distributio of the Mea Review: The populatio is the etire collectio of all idividuals or objects of iterest The sample is the portio of the populatio
More informationBinet Formulas for Recursive Integer Sequences
Biet Formulas for Recursive Iteger Sequeces Homer W. Austi Jatha W. Austi Abstract May iteger sequeces are recursive sequeces ad ca be defied either recursively or explicitly by use of Biettype formulas.
More informationDistributions of Order Statistics
Chapter 2 Distributios of Order Statistics We give some importat formulae for distributios of order statistics. For example, where F k: (x)=p{x k, x} = I F(x) (k, k + 1), I x (a,b)= 1 x t a 1 (1 t) b 1
More information1 Introduction to reducing variance in Monte Carlo simulations
Copyright c 007 by Karl Sigma 1 Itroductio to reducig variace i Mote Carlo simulatios 11 Review of cofidece itervals for estimatig a mea I statistics, we estimate a uow mea µ = E(X) of a distributio by
More informationMath 105: Review for Final Exam, Part II  SOLUTIONS
Math 5: Review for Fial Exam, Part II  SOLUTIONS. Cosider the fuctio fx) =x 3 l x o the iterval [/e, e ]. a) Fid the x ad ycoordiates of ay ad all local extrema ad classify each as a local maximum or
More informationLecture 4: Cauchy sequences, BolzanoWeierstrass, and the Squeeze theorem
Lecture 4: Cauchy sequeces, BolzaoWeierstrass, ad the Squeeze theorem The purpose of this lecture is more modest tha the previous oes. It is to state certai coditios uder which we are guarateed that limits
More information4 n. n 1. You shold think of the Ratio Test as a generalization of the Geometric Series Test. For example, if a n ar n is a geometric sequence then
SECTION 2.6 THE RATIO TEST 79 2.6. THE RATIO TEST We ow kow how to hadle series which we ca itegrate (the Itegral Test), ad series which are similar to geometric or pseries (the Compariso Test), but of
More informationSequences II. Chapter 3. 3.1 Convergent Sequences
Chapter 3 Sequeces II 3. Coverget Sequeces Plot a graph of the sequece a ) = 2, 3 2, 4 3, 5 + 4,...,,... To what limit do you thik this sequece teds? What ca you say about the sequece a )? For ǫ = 0.,
More information2.7 Sequences, Sequences of Sets
2.7. SEQUENCES, SEQUENCES OF SETS 67 2.7 Sequeces, Sequeces of Sets 2.7.1 Sequeces Defiitio 190 (sequece Let S be some set. 1. A sequece i S is a fuctio f : K S where K = { N : 0 for some 0 N}. 2. For
More informationLesson 12. Sequences and Series
Retur to List of Lessos Lesso. Sequeces ad Series A ifiite sequece { a, a, a,... a,...} ca be thought of as a list of umbers writte i defiite order ad certai patter. It is usually deoted by { a } =, or
More informationLecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009)
18.409 A Algorithmist s Toolkit October 27, 2009 Lecture 13 Lecturer: Joatha Keler Scribe: Joatha Pies (2009) 1 Outlie Last time, we proved the BruMikowski iequality for boxes. Today we ll go over the
More informationDescriptive Statistics
Descriptive Statistics We leared to describe data sets graphically. We ca also describe a data set umerically. Measures of Locatio Defiitio The sample mea is the arithmetic average of values. We deote
More informationMESSAGE TO TEACHERS: NOTE TO EDUCATORS:
MESSAGE TO TEACHERS: NOTE TO EDUCATORS: Attached herewith, please fid suggested lesso plas for term 1 of MATHEMATICS Grade 12. Please ote that these lesso plas are to be used oly as a guide ad teachers
More informationChapter 14 Nonparametric Statistics
Chapter 14 Noparametric Statistics A.K.A. distributiofree statistics! Does ot deped o the populatio fittig ay particular type of distributio (e.g, ormal). Sice these methods make fewer assumptios, they
More information3 Basic Definitions of Probability Theory
3 Basic Defiitios of Probability Theory 3defprob.tex: Feb 10, 2003 Classical probability Frequecy probability axiomatic probability Historical developemet: Classical Frequecy Axiomatic The Axiomatic defiitio
More informationx(x 1)(x 2)... (x k + 1) = [x] k n+m 1
1 Coutig mappigs For every real x ad positive iteger k, let [x] k deote the fallig factorial ad x(x 1)(x 2)... (x k + 1) ( ) x = [x] k k k!, ( ) k = 1. 0 I the sequel, X = {x 1,..., x m }, Y = {y 1,...,
More information