2 Statistical Principles

Size: px
Start display at page:

Download "2 Statistical Principles"

Transcription

1 2 Statistical Priciples This lecture will serve two mai goals. First we will itroduce ad the tool of radom hash fuctios. Secod we itroduce a radomized/probabilistic view of algorithms ad data aalysis. This will iclude revisitig ideas about cocetratio of measure, ad also probably approximate correct (PAC error bouds. We will study these properties through three pheomeo of radom processes: Birthday Paradox: To measure the expected collisio of radom evets. A radom group of 23 people has about a 50% chace of havig a pair with the same birthday. Coupo Collectors: radom variable. To measure the expectatio for seeig all possible outcomes of a discrete Cosider a lottery where o each trial you receive oe of possible coupos at radom. It takes i expectatio about ( l trials to collect them all. Cetral Limit Theorem: To boud the leakage from the expected value of repeated radom trials. Cosider drawig ages (i 0 to 125 from a ukow distributio of people, how far is the sample average from the true average age. From aother perspective, these describe the effects of radom variatio. The first describes collisio evets, the secod coverig evets, ad the third cocetratio evets Idepedet ad Idetically Distributed What is data? A simplified view is a set X = {x 1, x 2,..., x }, ad i particular where each x i D(θ; that is each item is iid from some (probably ukow distributio D(θ. The abbreviatio iid meas idepedetly ad idetically distributed. I this cotext this meas each x i is (idetical draw from the same distributio (i this case D(θ ad (idepedet that the value of x i is ot affected by ay other value x j (for i j. This will ot hold for all data sets. But its ot ucommo for some aspect of the data to fit this model, or at least be close eough to this model. Ad for may problems without such a assumptio, its impossible to try to recover the true uderlyig pheomeo that is the data miig objective. This is represeted by the parameter(s θ of the distributio D(θ. I other settigs, we will create a (radomized algorithm that geerates data which precisely follows this patter (we ca do this, sice we desig the algorithm!. Such a algorithm desig is beeficial sice we kow a lot about iid data, this is the focus of most of the the classical part of the field of statistics! I both cases, this is idicative of the very powerful big data paradigm: Create a complex/accurate estimate by combiig may small ad simple observatios. Model. For the settig of this lecture there is a commo model of radom elemets draw from a discrete uiverse. The uiverse has possible objects; we represet this as [] ad let i [] represet oe elemet (idexed by i from {1, 2, 3,..., } i this uiverse. The objects may be IP addresses, days of the year, words i a dictioary, but for otatioal ad implemetatio simplicity, we ca always have each elemet (IP address, day, word map to a distict iteger i where 0 < i. The we study the properties of drawig k items uiformly at radom from [] with replacemet. 1

2 2.1 (Radom Hash Fuctios A key tool, perhaps the tool, i probabilistic algorithms is a hash fuctio. There are two mai types of hash fuctios. The secod (which we defie i Lecture 5 is locality-preservig. But ofte oe wats a hash fuctios which is ucorrelated, like i a hash table data structure. A radom hash fuctio h H maps from oe set A to aother B (usually B = [m] so that coditioed o the radom choice h H, the locatio h(x B for ay x A is equally likely. Ad for ay two (or more strogly, but harder to achieve, all x x A the h(x ad h(x are idepedet (coditioed o the radom choice of h H. For a fixed h H, the map h(x is determiistic, so o matter how may times we call h o argumet x, it always returs the same result. The full idepedece requiremet is ofte hard to achieve i theory, but i practice this differece is usually safe to igore. For the purposes of this class, most built-i hash fuctios should work sufficietly well. Assume we wat to costruct a hash fuctio h : Σ k [m] where m is a power of two (so we ca represet it as log 2 m bits ad Σ k is a strig of k of characters (lets say a strig of umbers Σ = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. So x Σ k ca also be iterpreted as a k-digit umber. 1. SHA-1: See This secure hash fuctio takes i a strig of bits so Σ = {0, 1} ad k is the umber of bits (but may frot eds exists that ca let Σ be all ASCII characters, ad determiistically outputs a set of 160 bits, so m = If oe desired a smaller value of m, oe ca simply use ay cosistet subset of the bits. To create a family of hash fuctios H parameterized by some seed a (the salt, oe ca simply cocateate a to all iputs, to obtai a hash h a H. So h a (x = SHA-1(cocat(a, x. Fuctioality for this (or other similar hash fuctios should be built i or available as stadard packages for may programmig laguages. These built i fuctios ofte ca take i strigs ad other various iputs which are the iterally coverted to bits. 2. Multiplicative Hashig: h a (x = m frac(x a a is a real umber (it should be large with biary represetatio a good mix of 0s ad 1s, frac( takes the fractioal part of a umber, e.g. frac( = 0.234, ad takes the iteger part of a umber, roudig dow so = 15. Ca sometimes be more efficietly implemeted as (xa/2 q mod m where q is essetially replacig the frac( operatio ad determiig the umber of bits precisio. If you wat somethig simple ad fast to implemet yourself, this is a fie choice. I this case the radomess is the choice of a. Oce that is chose (radomly, the the fuctio h a ( is determiistic. 3. Modular Hashig: h(x = x mod m (This is ot recommeded, but is a commo first approach. It is listed here to advise agaist it. This roughly evely distributes a umber x to [m], but umbers that are both the same mod m always hash to the same locatio. Oe ca alleviate this problem by usig a radom large prime m < m. This will leave bi {m + 1, m + 1,..., m 1, m} always empty, but has less regularity. 2.2 Birthday Paradox First, let us cosider the famous situatio of birthdays. Lets make formal the settig. Cosider a room of k people, chose at radom from the populatio, ad assume each perso is equally likely to have ay birthday (excludig February 29th, so there are = 365 possible birthdays.

3 The probability that ay two (i.e. k = 2 people (ALICE ad BOB have the same birthday is 1/ = 1/ The birthday of ALICE could be aythig, but oce it is kow by ALICE, the BOB has probability 1/365 of matchig it. To measure that at least oe pair of people have the same birthday, it is easier to measure the probability that o pair is the same. For k = 2 the aswer is 1 1/ ad for = 365 that is about For a geeral umber k (say k = 23 there are ( k 2 = k (k 1/2 (read as k choose 2 pairs. For k = 23, the ( ( 23 2 = 253. Note that k 2 = Θ(k 2. We eed for each of these evets that the birthdays do ot match. Assumig idepedece we have (1 1/ (k 2 or = Ad the probability there is a match is thus 1 mius this umber just over 50%. 1 (1 1/ (k 2 or = 0.532, What are the problems with this? First, the birthdays may ot be idepedetly distributed. More people are bor i sprig. There may be o-egligible occurrece of twis. Sometimes this is really a problem, but ofte it is egligible. Other times this aalysis will describe a algorithm we create, ad we ca cotrol idepedece. Secod, what happes whe k = +1, the we should always have some pair with the same birthday. But for k = 366 ad = 365 the 1 (1 1/ (k 2 = 1 (364/365 ( = 1 ( = < 1. Yes, it is very small, but it is less tha 1, ad hece must be wrog. Really, the probability should be ( 1 1 ( 2 ( 3... = 1 k 1 ( i.

4 Iductively, i the first roud (the secod perso (i = 2 there is a ( 1/ chace of havig o collisio. If this is true, we ca go to the ext roud, where there are the two distict items see, ad so the third perso has ( 2/ chace of havig a distict birthday. I geeral, iductively, after the ith roud, there is a ( i/ chace of o collisio (if there were o collisios already, sice there are i distict evets already witessed. As a simple saity check, i the ( + 1th term ( /( = 0/ = 0; thus the probability of some collisio of birthdays is 1 0 = 1. Take away message. There are collisios i radom data! More precisely, if you have equi-probability radom evets, the expect after about k = 2 evets to get a collisio. Note , a bit more tha 23. Note that (1 + α t t e α for large eough t. So settig k = 2 the 1 (1 1/ (k 2 1 (1 1/ 1 e 1.63 This is ot exactly 1/2, ad we used a buch of tricks, but it shows roughly what happes. This is fairly accurate, but has oticeable variace. Note for = 365 ad k = 18 the ad whe k = 28 the 1 (1 1/ (k 2 = 1 (364/ (1 1/ (k 2 = 1 (364/ This meas that if you keep addig (radom people to the room, the first matchig of birthdays happes 30% (= 64% 34% of the time betwee the 18th ad 28th perso. Whe k = 50 people are i the room, the 1 (1 1/ (k 2 = 1 (364/ , ad so oly about 3.5% percet of the time are there o pair with the same birthday. 2.3 Coupo Collectors Lets ow formalize the famous coupo lottery. There are types of coupos, ad we participate i a series of idepedet trials, ad o each trial we have equal probability (1/ of gettig each coupo. We wat to collect all toys available i a McDoald s Happy Meal. How may trials (k should we expect to partake i before we collect all coupos? Let r i be the expected umber of trials we eed to take before receivig exactly i distict coupos. Let r 0 = 0, ad set t i = r i r i 1 to measure the expected umber of trials betwee gettig i 1 distict coupos ad i distict coupos. Clearly, r 1 = t 1 = 1, ad it has o variace. Our first trials always yields a ew coupo. The the expected umber of trials to get all coupos is T = t i. To measure t i we will defie p i as the probability that we get a ew coupo after already havig i 1 distict coupos. Thus t i = 1/p i. Ad p i = ( i + 1/. We are ow ready for some algebra: T = t i = i + 1 = 1 i.

5 Now we just eed to boud the quatity (1/i. This is kow at the th Harmoic Number H. It is kow that H = γ + l + o(1/ where l( is the atural log (that is l e = 1 ad γ is the Euler-Masheroi costat. Thus we eed, i expectatio, trials to obtai all distict coupos. k = T = H (γ + l Extesios. What if some coupos are more likely tha others. McDoalds offers three toys: Alvi, Simo, ad Theodore, ad for every 10 toys, there are 6 Alvis, 3 Simos, ad 1 Theodore. How may trials do we expect before we collect them all? I this case, there are = 3 probabilities {p 1 = 6/10, p 2 = 3/10, p 3 = 1/10} so that p i = 1. The aalysis ad tight bouds here is a bit more complicated, but the key isight is that it is domiated by the smallest probability evet. Let p = mi i p i. The we eed about radom trials to obtai all coupos. k ( 1 p (γ + l These properties ca be geeralized to a family of evets from a cotiuous domai. Here there ca be evets with arbitrarily small probability of occurrig, ad so the umber of trials we eed to get all evets becomes arbitrarily large (followig the above o-uiform aalysis. So typically we set some probability ε [0, 1]. (Typically we cosider ε as somethig like {0.01, 0.001} so 1/ε somethig like {100, 1000}. Now we wat to cosider ay set of evets with combied probability greater tha ε. (We ca t cosider all such subsets, but we ca restrict to all, say, cotiguous sets itervals if the evets have a atural orderig. The we eed k 1 ε log 1 ε radom trials to have at least oe radom trial i ay subset with probability at least ε. Such a set is called a ε-et.

6 Take away message. It takes about l trials to get all items at radom from a set of size, ot. That is we eed a extra about l factor to probabilistically guaratee we hit all evets. Whe probabilities are ot equal, it is the smallest probability item that domiates everythig! To hit all (icely shaped regios of size ε we eed about (1/ε log(1/ε samples, eve if they ca be covered by 1/ε items. 2.4 Probably Approximately Correct (PAC The above discussios are startig to hit at a probability approximate correct (PAC boud. There are radom evets that produce a estimate ˆX (which is a radom variable that is probably close to its expected value µ = E[ ˆX]. The tricky part of about describig this is that we do t wat to say ˆX is always close to µ. Because it is a radom process, sometimes thigs go (horribly! wrog. So we wat to provide a term δ (0, 1 which is a probability of failure. Sometimes (with say δ = 0.01 probability of failure, or 1% of the time X is ot close to µ. Moreover, we also do t wat to talk about the probability that X = µ. Sice this may occur with very small probability (we eed exactly the right umber of happy meas, maybe 1000 to collect all 100 or so coupos. Rather we would like to allow some error threshold, usig a parameter ε > 0. So we eed two parameters to describe the error δ (probably ad ε (approximate. Ultimately most bouds look of the form: Pr[ ˆX µ ε] δ. That is, the probability that ˆX (which is some radom variable, ofte a sum of iid radom variables is further tha ε to its expected value µ, is at most δ. Or equivaletly (perhaps more optimistically Pr[ ˆX µ < ε] > 1 δ. I like to thik of ε as the error tolerace ad δ as the probability of failure i.e., that we exceed the error tolerace. However, ofte these bouds will allow us to write the required sample size i terms of ε ad δ. This allows us to trade these two terms off for ay fixed kow ; we ca allow less error tolerace if we are willig to allow more probability of failure, ad vice-versa. 2.5 Cetral Limit Theorem ad Cheroff-Hoeffdig Boud Whe dealig with moder big data sets, a very commo theme is reducig the set through a radom process. These geerally work by makig may simple estimates of the full data set, ad the judgig them as a whole. Perhaps magically, these may simple estimates ca provide a very accurate ad small represetatio of the large data set. I statistics, this pheomeo is usually referred to as the Cetral Limit Theorem. The key tool i showig how may of these simple estimates are eeded for a fixed accuracy trade-off, ad formulatig the Cetral Limit Theorem as a PAC boud, is the Cheroff-Hoeffdig iequality. We cosider a specific form of the Cheroff-Hoeffdig iequality. It is ot the strogest form of the boud, but is for may applicatios asymptotically equivalet, ad it also fairly straight-forward to use. It is more similar to the form of Azuma s iequality which deals with Martigales that have more complicated depedece structure.

7 Theorem Cosider a set of r idepedet idetically distributed (iid radom variables {X 1,..., X r } such that X i for each i [r]. Let A = 1 r r X i (average of X i s. The for ay α > 0 ( rα 2 Pr[ A E[A] > α] 2 exp 2 2. This requires us to kow two thigs about the radom variables. First, we should kow the expected value of E[X i ] for all X i ; sice they are iid, its the same for all of them. Secod, we eed to kow a upper boud o the rage of these radom variables. For istace, if its someoes age, we ca probably boud = 125 sice o oe is older tha 125 years old, ad all ages are positive so 0 > = 125. This tells us how far we ca reasoably expect our sample estimate A of the average age i a set to be from the true average. Thus, we may ot eve eed to kow E[A], the true expected age, but just wat to kow how likely it is that we are very far from it. For istace, if we fid A = 30, ad r = 1000, the the probability that E[A] [20, 40] (so α = 10 is at most 2 exp( /( So (at most about 8% of the time we would have a estimate ot withi 10 years. (Note, this souds very pessimistic, sice it could cotai the high variace case where p fractio of the the perso is 125 ad (1 p fractio they are 125. Its importat to try to get a tight estimate o the actual rage of deviatio. More geeral form. This is a slightly more geeral form that I ofte fid very useful as well. Theorem Cosider a set of r idepedet radom variables {X 1,..., X r }. If we kow a i X i b i, the let i = b i a i. Let M = r X i. The for ay α > 0 ( 2α 2 Pr[ M E[M] > α] 2 exp r. 2 i For the same problem above, sice we ca use ow each i = 125 reveals a probability of at most that the estimate is ot withi 10 years of the true value. Hashig. These bouds map back to the hashig problem, to uderstad the case whe all of the buckets have roughly the same umber of items that fall i them. This requires roughly k = (1/ε 2 log(1/δ to be hashed so that each bucket is withi εk/ of all other buckets, with probability at least 1 δ.

CS 330 Discussion - Probability

CS 330 Discussion - Probability CS 330 Discussio - Probability March 24 2017 1 Fudametals of Probability 11 Radom Variables ad Evets A radom variable X is oe whose value is o-determiistic For example, suppose we flip a coi ad set X =

More information

1 Hash tables. 1.1 Implementation

1 Hash tables. 1.1 Implementation Lecture 8 Hash Tables, Uiversal Hash Fuctios, Balls ad Bis Scribes: Luke Johsto, Moses Charikar, G. Valiat Date: Oct 18, 2017 Adapted From Virgiia Williams lecture otes 1 Hash tables A hash table is a

More information

Hashing and Amortization

Hashing and Amortization Lecture Hashig ad Amortizatio Supplemetal readig i CLRS: Chapter ; Chapter 7 itro; Sectio 7.. Arrays ad Hashig Arrays are very useful. The items i a array are statically addressed, so that isertig, deletig,

More information

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparig Two Proportios Copyright 2010, 2007, 2004 Pearso Educatio, Ic. Comparig Two Proportios Read the first two paragraphs of pg 504. Comparisos betwee two percetages are much more commo

More information

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc. Chapter 22 Comparig Two Proportios Copyright 2010 Pearso Educatio, Ic. Comparig Two Proportios Comparisos betwee two percetages are much more commo tha questios about isolated percetages. Ad they are more

More information

Lecture 2: Concentration Bounds

Lecture 2: Concentration Bounds CSE 52: Desig ad Aalysis of Algorithms I Sprig 206 Lecture 2: Cocetratio Bouds Lecturer: Shaya Oveis Ghara March 30th Scribe: Syuzaa Sargsya Disclaimer: These otes have ot bee subjected to the usual scrutiy

More information

6.3 Testing Series With Positive Terms

6.3 Testing Series With Positive Terms 6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial

More information

Lecture 2: April 3, 2013

Lecture 2: April 3, 2013 TTIC/CMSC 350 Mathematical Toolkit Sprig 203 Madhur Tulsiai Lecture 2: April 3, 203 Scribe: Shubhedu Trivedi Coi tosses cotiued We retur to the coi tossig example from the last lecture agai: Example. Give,

More information

Infinite Sequences and Series

Infinite Sequences and Series Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet

More information

Frequentist Inference

Frequentist Inference Frequetist Iferece The topics of the ext three sectios are useful applicatios of the Cetral Limit Theorem. Without kowig aythig about the uderlyig distributio of a sequece of radom variables {X i }, for

More information

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10 DS 00: Priciples ad Techiques of Data Sciece Date: April 3, 208 Name: Hypothesis Testig Discussio #0. Defie these terms below as they relate to hypothesis testig. a) Data Geeratio Model: Solutio: A set

More information

Understanding Samples

Understanding Samples 1 Will Moroe CS 109 Samplig ad Bootstrappig Lecture Notes #17 August 2, 2017 Based o a hadout by Chris Piech I this chapter we are goig to talk about statistics calculated o samples from a populatio. We

More information

HOMEWORK 2 SOLUTIONS

HOMEWORK 2 SOLUTIONS HOMEWORK SOLUTIONS CSE 55 RANDOMIZED AND APPROXIMATION ALGORITHMS 1. Questio 1. a) The larger the value of k is, the smaller the expected umber of days util we get all the coupos we eed. I fact if = k

More information

Lecture 19: Convergence

Lecture 19: Convergence Lecture 19: Covergece Asymptotic approach I statistical aalysis or iferece, a key to the success of fidig a good procedure is beig able to fid some momets ad/or distributios of various statistics. I may

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

Discrete Mathematics for CS Spring 2008 David Wagner Note 22

Discrete Mathematics for CS Spring 2008 David Wagner Note 22 CS 70 Discrete Mathematics for CS Sprig 2008 David Wager Note 22 I.I.D. Radom Variables Estimatig the bias of a coi Questio: We wat to estimate the proportio p of Democrats i the US populatio, by takig

More information

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n.

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n. Jauary 1, 2019 Resamplig Methods Motivatio We have so may estimators with the property θ θ d N 0, σ 2 We ca also write θ a N θ, σ 2 /, where a meas approximately distributed as Oce we have a cosistet estimator

More information

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22 CS 70 Discrete Mathematics for CS Sprig 2007 Luca Trevisa Lecture 22 Aother Importat Distributio The Geometric Distributio Questio: A biased coi with Heads probability p is tossed repeatedly util the first

More information

Lecture 2: Monte Carlo Simulation

Lecture 2: Monte Carlo Simulation STAT/Q SCI 43: Itroductio to Resamplig ethods Sprig 27 Istructor: Ye-Chi Che Lecture 2: ote Carlo Simulatio 2 ote Carlo Itegratio Assume we wat to evaluate the followig itegratio: e x3 dx What ca we do?

More information

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES Peter M. Maurer Why Hashig is θ(). As i biary search, hashig assumes that keys are stored i a array which is idexed by a iteger. However, hashig attempts to bypass

More information

0, otherwise. EX = E(X 1 + X n ) = EX j = np and. Var(X j ) = np(1 p). Var(X) = Var(X X n ) =

0, otherwise. EX = E(X 1 + X n ) = EX j = np and. Var(X j ) = np(1 p). Var(X) = Var(X X n ) = PROBABILITY MODELS 35 10. Discrete probability distributios I this sectio, we discuss several well-ow discrete probability distributios ad study some of their properties. Some of these distributios, lie

More information

Posted-Price, Sealed-Bid Auctions

Posted-Price, Sealed-Bid Auctions Posted-Price, Sealed-Bid Auctios Professors Greewald ad Oyakawa 207-02-08 We itroduce the posted-price, sealed-bid auctio. This auctio format itroduces the idea of approximatios. We describe how well this

More information

An Introduction to Randomized Algorithms

An Introduction to Randomized Algorithms A Itroductio to Radomized Algorithms The focus of this lecture is to study a radomized algorithm for quick sort, aalyze it usig probabilistic recurrece relatios, ad also provide more geeral tools for aalysis

More information

Basics of Probability Theory (for Theory of Computation courses)

Basics of Probability Theory (for Theory of Computation courses) Basics of Probability Theory (for Theory of Computatio courses) Oded Goldreich Departmet of Computer Sciece Weizma Istitute of Sciece Rehovot, Israel. oded.goldreich@weizma.ac.il November 24, 2008 Preface.

More information

Math 216A Notes, Week 5

Math 216A Notes, Week 5 Math 6A Notes, Week 5 Scribe: Ayastassia Sebolt Disclaimer: These otes are ot early as polished (ad quite possibly ot early as correct) as a published paper. Please use them at your ow risk.. Thresholds

More information

Discrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions

Discrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions CS 70 Discrete Mathematics for CS Sprig 2005 Clacy/Wager Notes 21 Some Importat Distributios Questio: A biased coi with Heads probability p is tossed repeatedly util the first Head appears. What is the

More information

Module 1 Fundamentals in statistics

Module 1 Fundamentals in statistics Normal Distributio Repeated observatios that differ because of experimetal error ofte vary about some cetral value i a roughly symmetrical distributio i which small deviatios occur much more frequetly

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

Lecture 3: August 31

Lecture 3: August 31 36-705: Itermediate Statistics Fall 018 Lecturer: Siva Balakrisha Lecture 3: August 31 This lecture will be mostly a summary of other useful expoetial tail bouds We will ot prove ay of these i lecture,

More information

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2016 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

MA131 - Analysis 1. Workbook 2 Sequences I

MA131 - Analysis 1. Workbook 2 Sequences I MA3 - Aalysis Workbook 2 Sequeces I Autum 203 Cotets 2 Sequeces I 2. Itroductio.............................. 2.2 Icreasig ad Decreasig Sequeces................ 2 2.3 Bouded Sequeces..........................

More information

Chapter 6 Sampling Distributions

Chapter 6 Sampling Distributions Chapter 6 Samplig Distributios 1 I most experimets, we have more tha oe measuremet for ay give variable, each measuremet beig associated with oe radomly selected a member of a populatio. Hece we eed to

More information

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman: Math 224 Fall 2017 Homework 4 Drew Armstrog Problems from 9th editio of Probability ad Statistical Iferece by Hogg, Tais ad Zimmerma: Sectio 2.3, Exercises 16(a,d),18. Sectio 2.4, Exercises 13, 14. Sectio

More information

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Convergence of random variables. (telegram style notes) P.J.C. Spreij Covergece of radom variables (telegram style otes).j.c. Spreij this versio: September 6, 2005 Itroductio As we kow, radom variables are by defiitio measurable fuctios o some uderlyig measurable space

More information

CS284A: Representations and Algorithms in Molecular Biology

CS284A: Representations and Algorithms in Molecular Biology CS284A: Represetatios ad Algorithms i Molecular Biology Scribe Notes o Lectures 3 & 4: Motif Discovery via Eumeratio & Motif Represetatio Usig Positio Weight Matrix Joshua Gervi Based o presetatios by

More information

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018) Radomized Algorithms I, Sprig 08, Departmet of Computer Sciece, Uiversity of Helsiki Homework : Solutios Discussed Jauary 5, 08). Exercise.: Cosider the followig balls-ad-bi game. We start with oe black

More information

Lecture 2. The Lovász Local Lemma

Lecture 2. The Lovász Local Lemma Staford Uiversity Sprig 208 Math 233A: No-costructive methods i combiatorics Istructor: Ja Vodrák Lecture date: Jauary 0, 208 Origial scribe: Apoorva Khare Lecture 2. The Lovász Local Lemma 2. Itroductio

More information

Discrete Mathematics and Probability Theory Spring 2012 Alistair Sinclair Note 15

Discrete Mathematics and Probability Theory Spring 2012 Alistair Sinclair Note 15 CS 70 Discrete Mathematics ad Probability Theory Sprig 2012 Alistair Siclair Note 15 Some Importat Distributios The first importat distributio we leared about i the last Lecture Note is the biomial distributio

More information

REGRESSION WITH QUADRATIC LOSS

REGRESSION WITH QUADRATIC LOSS REGRESSION WITH QUADRATIC LOSS MAXIM RAGINSKY Regressio with quadratic loss is aother basic problem studied i statistical learig theory. We have a radom couple Z = X, Y ), where, as before, X is a R d

More information

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara Poit Estimator Eco 325 Notes o Poit Estimator ad Cofidece Iterval 1 By Hiro Kasahara Parameter, Estimator, ad Estimate The ormal probability desity fuctio is fully characterized by two costats: populatio

More information

Lecture 11: Pseudorandom functions

Lecture 11: Pseudorandom functions COM S 6830 Cryptography Oct 1, 2009 Istructor: Rafael Pass 1 Recap Lecture 11: Pseudoradom fuctios Scribe: Stefao Ermo Defiitio 1 (Ge, Ec, Dec) is a sigle message secure ecryptio scheme if for all uppt

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 15

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 15 CS 70 Discrete Mathematics ad Probability Theory Summer 2014 James Cook Note 15 Some Importat Distributios I this ote we will itroduce three importat probability distributios that are widely used to model

More information

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight)

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight) Tests of Hypotheses Based o a Sigle Sample Devore Chapter Eight MATH-252-01: Probability ad Statistics II Sprig 2018 Cotets 1 Hypothesis Tests illustrated with z-tests 1 1.1 Overview of Hypothesis Testig..........

More information

This is an introductory course in Analysis of Variance and Design of Experiments.

This is an introductory course in Analysis of Variance and Design of Experiments. 1 Notes for M 384E, Wedesday, Jauary 21, 2009 (Please ote: I will ot pass out hard-copy class otes i future classes. If there are writte class otes, they will be posted o the web by the ight before class

More information

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4 MATH 30: Probability ad Statistics 9. Estimatio ad Testig of Parameters Estimatio ad Testig of Parameters We have bee dealig situatios i which we have full kowledge of the distributio of a radom variable.

More information

Lecture 6: Coupon Collector s problem

Lecture 6: Coupon Collector s problem Radomized Algorithms Lecture 6: Coupo Collector s problem Sotiris Nikoletseas Professor CEID - ETY Course 2017-2018 Sotiris Nikoletseas, Professor Radomized Algorithms - Lecture 6 1 / 16 Variace: key features

More information

Regression with quadratic loss

Regression with quadratic loss Regressio with quadratic loss Maxim Ragisky October 13, 2015 Regressio with quadratic loss is aother basic problem studied i statistical learig theory. We have a radom couple Z = X,Y, where, as before,

More information

Rates of Convergence by Moduli of Continuity

Rates of Convergence by Moduli of Continuity Rates of Covergece by Moduli of Cotiuity Joh Duchi: Notes for Statistics 300b March, 017 1 Itroductio I this ote, we give a presetatio showig the importace, ad relatioship betwee, the modulis of cotiuity

More information

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test.

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test. Math 308 Sprig 018 Classes 19 ad 0: Aalysis of Variace (ANOVA) Page 1 of 6 Itroductio ANOVA is a statistical procedure for determiig whether three or more sample meas were draw from populatios with equal

More information

Problem Set 2 Solutions

Problem Set 2 Solutions CS271 Radomess & Computatio, Sprig 2018 Problem Set 2 Solutios Poit totals are i the margi; the maximum total umber of poits was 52. 1. Probabilistic method for domiatig sets 6pts Pick a radom subset S

More information

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 19

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 19 CS 70 Discrete Mathematics ad Probability Theory Sprig 2016 Rao ad Walrad Note 19 Some Importat Distributios Recall our basic probabilistic experimet of tossig a biased coi times. This is a very simple

More information

Lecture 2 February 8, 2016

Lecture 2 February 8, 2016 MIT 6.854/8.45: Advaced Algorithms Sprig 206 Prof. Akur Moitra Lecture 2 February 8, 206 Scribe: Calvi Huag, Lih V. Nguye I this lecture, we aalyze the problem of schedulig equal size tasks arrivig olie

More information

Statisticians use the word population to refer the total number of (potential) observations under consideration

Statisticians use the word population to refer the total number of (potential) observations under consideration 6 Samplig Distributios Statisticias use the word populatio to refer the total umber of (potetial) observatios uder cosideratio The populatio is just the set of all possible outcomes i our sample space

More information

Seunghee Ye Ma 8: Week 5 Oct 28

Seunghee Ye Ma 8: Week 5 Oct 28 Week 5 Summary I Sectio, we go over the Mea Value Theorem ad its applicatios. I Sectio 2, we will recap what we have covered so far this term. Topics Page Mea Value Theorem. Applicatios of the Mea Value

More information

1 Review and Overview

1 Review and Overview CS9T/STATS3: Statistical Learig Theory Lecturer: Tegyu Ma Lecture #6 Scribe: Jay Whag ad Patrick Cho October 0, 08 Review ad Overview Recall i the last lecture that for ay family of scalar fuctios F, we

More information

Lecture 4 February 16, 2016

Lecture 4 February 16, 2016 MIT 6.854/18.415: Advaced Algorithms Sprig 16 Prof. Akur Moitra Lecture 4 February 16, 16 Scribe: Be Eysebach, Devi Neal 1 Last Time Cosistet Hashig - hash fuctios that evolve well Radom Trees - routig

More information

Problem Set 4 Due Oct, 12

Problem Set 4 Due Oct, 12 EE226: Radom Processes i Systems Lecturer: Jea C. Walrad Problem Set 4 Due Oct, 12 Fall 06 GSI: Assae Gueye This problem set essetially reviews detectio theory ad hypothesis testig ad some basic otios

More information

Induction: Solutions

Induction: Solutions Writig Proofs Misha Lavrov Iductio: Solutios Wester PA ARML Practice March 6, 206. Prove that a 2 2 chessboard with ay oe square removed ca always be covered by shaped tiles. Solutio : We iduct o. For

More information

Simulation. Two Rule For Inverting A Distribution Function

Simulation. Two Rule For Inverting A Distribution Function Simulatio Two Rule For Ivertig A Distributio Fuctio Rule 1. If F(x) = u is costat o a iterval [x 1, x 2 ), the the uiform value u is mapped oto x 2 through the iversio process. Rule 2. If there is a jump

More information

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering CEE 5 Autum 005 Ucertaity Cocepts for Geotechical Egieerig Basic Termiology Set A set is a collectio of (mutually exclusive) objects or evets. The sample space is the (collectively exhaustive) collectio

More information

Approximations and more PMFs and PDFs

Approximations and more PMFs and PDFs Approximatios ad more PMFs ad PDFs Saad Meimeh 1 Approximatio of biomial with Poisso Cosider the biomial distributio ( b(k,,p = p k (1 p k, k λ: k Assume that is large, ad p is small, but p λ at the limit.

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 12

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 12 CS 70 Discrete Mathematics ad Probability Theory Fall 2009 Satish Rao,David Tse Note 12 Two Killer Applicatios I this lecture, we will see two killer apps of elemetary probability i Computer Sciece. 1.

More information

Lecture 12: November 13, 2018

Lecture 12: November 13, 2018 Mathematical Toolkit Autum 2018 Lecturer: Madhur Tulsiai Lecture 12: November 13, 2018 1 Radomized polyomial idetity testig We will use our kowledge of coditioal probability to prove the followig lemma,

More information

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to: STA 2023 Module 10 Comparig Two Proportios Learig Objectives Upo completig this module, you should be able to: 1. Perform large-sample ifereces (hypothesis test ad cofidece itervals) to compare two populatio

More information

Exercise 4.3 Use the Continuity Theorem to prove the Cramér-Wold Theorem, Theorem. (1) φ a X(1).

Exercise 4.3 Use the Continuity Theorem to prove the Cramér-Wold Theorem, Theorem. (1) φ a X(1). Assigmet 7 Exercise 4.3 Use the Cotiuity Theorem to prove the Cramér-Wold Theorem, Theorem 4.12. Hit: a X d a X implies that φ a X (1) φ a X(1). Sketch of solutio: As we poited out i class, the oly tricky

More information

Random Variables, Sampling and Estimation

Random Variables, Sampling and Estimation Chapter 1 Radom Variables, Samplig ad Estimatio 1.1 Itroductio This chapter will cover the most importat basic statistical theory you eed i order to uderstad the ecoometric material that will be comig

More information

On Random Line Segments in the Unit Square

On Random Line Segments in the Unit Square O Radom Lie Segmets i the Uit Square Thomas A. Courtade Departmet of Electrical Egieerig Uiversity of Califoria Los Ageles, Califoria 90095 Email: tacourta@ee.ucla.edu I. INTRODUCTION Let Q = [0, 1] [0,

More information

CS 171 Lecture Outline October 09, 2008

CS 171 Lecture Outline October 09, 2008 CS 171 Lecture Outlie October 09, 2008 The followig theorem comes very hady whe calculatig the expectatio of a radom variable that takes o o-egative iteger values. Theorem: Let Y be a radom variable that

More information

Distribution of Random Samples & Limit theorems

Distribution of Random Samples & Limit theorems STAT/MATH 395 A - PROBABILITY II UW Witer Quarter 2017 Néhémy Lim Distributio of Radom Samples & Limit theorems 1 Distributio of i.i.d. Samples Motivatig example. Assume that the goal of a study is to

More information

Quantum Computing Lecture 7. Quantum Factoring

Quantum Computing Lecture 7. Quantum Factoring Quatum Computig Lecture 7 Quatum Factorig Maris Ozols Quatum factorig A polyomial time quatum algorithm for factorig umbers was published by Peter Shor i 1994. Polyomial time meas that the umber of gates

More information

Intro to Learning Theory

Intro to Learning Theory Lecture 1, October 18, 2016 Itro to Learig Theory Ruth Urer 1 Machie Learig ad Learig Theory Comig soo 2 Formal Framework 21 Basic otios I our formal model for machie learig, the istaces to be classified

More information

Sequences I. Chapter Introduction

Sequences I. Chapter Introduction Chapter 2 Sequeces I 2. Itroductio A sequece is a list of umbers i a defiite order so that we kow which umber is i the first place, which umber is i the secod place ad, for ay atural umber, we kow which

More information

Lecture 9: Expanders Part 2, Extractors

Lecture 9: Expanders Part 2, Extractors Lecture 9: Expaders Part, Extractors Topics i Complexity Theory ad Pseudoradomess Sprig 013 Rutgers Uiversity Swastik Kopparty Scribes: Jaso Perry, Joh Kim I this lecture, we will discuss further the pseudoradomess

More information

Lecture 6 Chi Square Distribution (χ 2 ) and Least Squares Fitting

Lecture 6 Chi Square Distribution (χ 2 ) and Least Squares Fitting Lecture 6 Chi Square Distributio (χ ) ad Least Squares Fittig Chi Square Distributio (χ ) Suppose: We have a set of measuremets {x 1, x, x }. We kow the true value of each x i (x t1, x t, x t ). We would

More information

4.3 Growth Rates of Solutions to Recurrences

4.3 Growth Rates of Solutions to Recurrences 4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.

More information

Rademacher Complexity

Rademacher Complexity EECS 598: Statistical Learig Theory, Witer 204 Topic 0 Rademacher Complexity Lecturer: Clayto Scott Scribe: Ya Deg, Kevi Moo Disclaimer: These otes have ot bee subjected to the usual scrutiy reserved for

More information

1 of 7 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 6. Order Statistics Defiitios Suppose agai that we have a basic radom experimet, ad that X is a real-valued radom variable

More information

Empirical Process Theory and Oracle Inequalities

Empirical Process Theory and Oracle Inequalities Stat 928: Statistical Learig Theory Lecture: 10 Empirical Process Theory ad Oracle Iequalities Istructor: Sham Kakade 1 Risk vs Risk See Lecture 0 for a discussio o termiology. 2 The Uio Boud / Boferoi

More information

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen) Goodess-of-Fit Tests ad Categorical Data Aalysis (Devore Chapter Fourtee) MATH-252-01: Probability ad Statistics II Sprig 2019 Cotets 1 Chi-Squared Tests with Kow Probabilities 1 1.1 Chi-Squared Testig................

More information

Lecture 1 Probability and Statistics

Lecture 1 Probability and Statistics Wikipedia: Lecture 1 Probability ad Statistics Bejami Disraeli, British statesma ad literary figure (1804 1881): There are three kids of lies: lies, damed lies, ad statistics. popularized i US by Mark

More information

Math F215: Induction April 7, 2013

Math F215: Induction April 7, 2013 Math F25: Iductio April 7, 203 Iductio is used to prove that a collectio of statemets P(k) depedig o k N are all true. A statemet is simply a mathematical phrase that must be either true or false. Here

More information

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence Chapter 3 Strog covergece As poited out i the Chapter 2, there are multiple ways to defie the otio of covergece of a sequece of radom variables. That chapter defied covergece i probability, covergece i

More information

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 5

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 5 CS434a/54a: Patter Recogitio Prof. Olga Veksler Lecture 5 Today Itroductio to parameter estimatio Two methods for parameter estimatio Maimum Likelihood Estimatio Bayesia Estimatio Itroducto Bayesia Decisio

More information

Econ 325/327 Notes on Sample Mean, Sample Proportion, Central Limit Theorem, Chi-square Distribution, Student s t distribution 1.

Econ 325/327 Notes on Sample Mean, Sample Proportion, Central Limit Theorem, Chi-square Distribution, Student s t distribution 1. Eco 325/327 Notes o Sample Mea, Sample Proportio, Cetral Limit Theorem, Chi-square Distributio, Studet s t distributio 1 Sample Mea By Hiro Kasahara We cosider a radom sample from a populatio. Defiitio

More information

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING Lectures MODULE 5 STATISTICS II. Mea ad stadard error of sample data. Biomial distributio. Normal distributio 4. Samplig 5. Cofidece itervals

More information

Lecture 4: Unique-SAT, Parity-SAT, and Approximate Counting

Lecture 4: Unique-SAT, Parity-SAT, and Approximate Counting Advaced Complexity Theory Sprig 206 Lecture 4: Uique-SAT, Parity-SAT, ad Approximate Coutig Prof. Daa Moshkovitz Scribe: Aoymous Studet Scribe Date: Fall 202 Overview I this lecture we begi talkig about

More information

PRACTICE PROBLEMS FOR THE FINAL

PRACTICE PROBLEMS FOR THE FINAL PRACTICE PROBLEMS FOR THE FINAL Math 36Q Fall 25 Professor Hoh Below is a list of practice questios for the Fial Exam. I would suggest also goig over the practice problems ad exams for Exam ad Exam 2 to

More information

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01 ENGI 44 Cofidece Itervals (Two Samples) Page -0 Two Sample Cofidece Iterval for a Differece i Populatio Meas [Navidi sectios 5.4-5.7; Devore chapter 9] From the cetral limit theorem, we kow that, for sufficietly

More information

Lecture 6 Chi Square Distribution (χ 2 ) and Least Squares Fitting

Lecture 6 Chi Square Distribution (χ 2 ) and Least Squares Fitting Lecture 6 Chi Square Distributio (χ ) ad Least Squares Fittig Chi Square Distributio (χ ) Suppose: We have a set of measuremets {x 1, x, x }. We kow the true value of each x i (x t1, x t, x t ). We would

More information

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample. Statistical Iferece (Chapter 10) Statistical iferece = lear about a populatio based o the iformatio provided by a sample. Populatio: The set of all values of a radom variable X of iterest. Characterized

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Desig ad Aalysis of Algorithms Probabilistic aalysis ad Radomized algorithms Referece: CLRS Chapter 5 Topics: Hirig problem Idicatio radom variables Radomized algorithms Huo Hogwei 1 The hirig problem

More information

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function. MATH 532 Measurable Fuctios Dr. Neal, WKU Throughout, let ( X, F, µ) be a measure space ad let (!, F, P ) deote the special case of a probability space. We shall ow begi to study real-valued fuctios defied

More information

Advanced Stochastic Processes.

Advanced Stochastic Processes. Advaced Stochastic Processes. David Gamarik LECTURE 2 Radom variables ad measurable fuctios. Strog Law of Large Numbers (SLLN). Scary stuff cotiued... Outlie of Lecture Radom variables ad measurable fuctios.

More information

The standard deviation of the mean

The standard deviation of the mean Physics 6C Fall 20 The stadard deviatio of the mea These otes provide some clarificatio o the distictio betwee the stadard deviatio ad the stadard deviatio of the mea.. The sample mea ad variace Cosider

More information

Machine Learning Theory (CS 6783)

Machine Learning Theory (CS 6783) Machie Learig Theory (CS 6783) Lecture 2 : Learig Frameworks, Examples Settig up learig problems. X : istace space or iput space Examples: Computer Visio: Raw M N image vectorized X = 0, 255 M N, SIFT

More information

Lecture 9: Pseudo-random generators against space bounded computation,

Lecture 9: Pseudo-random generators against space bounded computation, Lecture 9: Pseudo-radom geerators agaist space bouded computatio, Primality Testig Topics i Pseudoradomess ad Complexity (Sprig 2018) Rutgers Uiversity Swastik Kopparty Scribes: Harsha Tirumala, Jiyu Zhag

More information

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f.

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f. Lecture 5 Let us give oe more example of MLE. Example 3. The uiform distributio U[0, ] o the iterval [0, ] has p.d.f. { 1 f(x =, 0 x, 0, otherwise The likelihood fuctio ϕ( = f(x i = 1 I(X 1,..., X [0,

More information

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ. 2 5. Weighted umber of late jobs 5.1. Release dates ad due dates: maximimizig the weight of o-time jobs Oce we add release dates, miimizig the umber of late jobs becomes a sigificatly harder problem. For

More information

CS / MCS 401 Homework 3 grader solutions

CS / MCS 401 Homework 3 grader solutions CS / MCS 401 Homework 3 grader solutios assigmet due July 6, 016 writte by Jāis Lazovskis maximum poits: 33 Some questios from CLRS. Questios marked with a asterisk were ot graded. 1 Use the defiitio of

More information