CS473-Algorithms I. Lecture 12b. Dynamic Tables. CS 473 Lecture X 1
|
|
- Shonda Lawson
- 5 years ago
- Views:
Transcription
1 CS473-Algorthm I Lecture b Dyamc Table CS 473 Lecture X
2 Why Dyamc Table? I ome applcato: We do't kow how may object wll be tored a table. We may allocate pace for a table But, later we may fd out that t ot eough. The, the table mut be reallocated wth a larger ze. All the object tored the orgal table Mut be coped over to the ew table. CS 473 Lecture X
3 Why Dyamc Table? Smlarly, f may object are deleted from the table: t may be worthwhle to reallocate the table wth a maller ze. Th problem called Dyamcally Expadg ad Cotractg a table. CS 473 Lecture X 3
4 Why Dyamc Table? Ug amortzed aaly we wll how that, The amortzed cot of erto ad deleto O(). Eve though the actual cot of a operato large whe t trgger a expao or a cotracto. We wll alo how how to guaratee that The uued pace a dyamc table ever exceed a cotat fracto of the total pace. CS 473 Lecture X 4
5 Operato TABLE-INSERT: Iert to the table a tem that occupe a gle lot. TABLE-DELETE: Remove a tem from the table & free t lot. CS 473 Lecture X 5
6 Load Factor Load Factor of a Dyamc Table T ( T) Number of tem tored the table ze( umber of lot ) of the table For a empty table by defto 0 ( T) 0 CS 473 Lecture X 6
7 Ierto-Oly Dyamc Table Table-Expao: Aumpto: Table allocated a a array of lot A table fll up whe all lot have bee ued equvaletly, whe t load factor become Table-Expao occur whe A tem to be erted to a full table CS 473 Lecture X 7
8 Ierto-Oly Dyamc Table A Commo Heurtc Allocate a ew table that ha twce a may lot a the old oe. Hece, erto are performed f oly / α(t) CS 473 Lecture X 8
9 Table Iert TABLE-INSERT (T, x) f ze[t] = 0 the allocate table[t] wth lot ze[t] f um[t] = ze[t] the allocate ew-table wth.ze[t] lot copy all tem table[t] to ew-table free table[t] table[t] ew-table[t] ze[t].ze[t] ert x to table[t] um[t] um[t] + ed table[t] : poter to block of table torage um[t] : umber of tem the table ze[t] : total umber of lot the table Itally, table empty, o um[t] = ze[t] = 0 CS 473 Lecture X 9
10 Table Expao Rug tme of TABLE-INSERT proportoal to the umber of elemetary ert operato. Ag a cot of to each elemetary erto Aalyze a equece of TABLE-INSERT operato o a tally empty table CS 473 Lecture X 0
11 Cot of Table Expao What cot c of the -th operato? If there room the curret table (or th the frt operato) c = (oly oe elemetary ert operato) If the curret table full, a expao occur, the the cot c =. for the elemetary erto of the ew tem - for the tem that mut be coped from the old table to the ew table. CS 473 Lecture X
12 Cot of Table Expao If operato are performed, The wort cae cot of a operato O() Therefore the total rug tme O( ) Th boud ot tght, becaue Expao doe ot occur o ofte the coure of operato. CS 473 Lecture X
13 Amortzed Aaly of Iert Table tally empty. Oberve: The Aggregate Method -th operato caue a expao oly whe - a power of. c f a exact power of otherwe CS 473 Lecture X 3
14 The Aggregate Method Therefore the total cot of TABLE-INSERT operato lg lg j j c 3 j0 j c Expao cot The amortzed cot of a gle operato 3/=3 = O() CS 473 Lecture X 4
15 The Accoutg Method Ag the followg amortzed cot Table-Expao : 0 Ierto of a ew tem : 3 Ierto of a ew tem a) (a a actual cot) for ertg telf to the table b) (a a credt) for movg telf the ext expao c) (a a credt) for movg aother tem ( the ext expao) that ha already moved the lat expao CS 473 Lecture X 5
16 Accoutg Method Example Sze of the table: M Immedately after a expao (jut before the erto) um[t] = M/ ad ze[t] = M where M a power of. Table cota o credt X X X X X X X X CS 473 Lecture X 6
17 Accoutg Method Example t erto X X X X X X X X Z $ $ (c) d erto (b) (a) $ for erto X X X X X X X X Z Z $ $ $ $ CS 473 Lecture X 7
18 Accoutg Method Example M/th Ierto X X X X X X X X Z Z Z Z Z Z Z Z $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ Thu, by the tme the table cota M tem ad full each tem the table ha $ of credt to pay for t move durg the ext expao CS 473 Lecture X 8
19 The Potetal Method Defe a potetal fucto Φ that 0 mmedately after a expao buld to the table ze by the tme table become full Next expao ca be pad for by the potetal. CS 473 Lecture X 9
20 Defto of Φ Oe poble Φ : Φ(T) = *um[t] ze[t] Immedately after a expao ze[t] = *um[t] Φ(T) = 0 Immedately before a expao ze[t] = um[t] Φ(T) = um[t] The tal value for the potetal 0 CS 473 Lecture X 0
21 Defto of Φ Sce the table at leat half full (.e. um[t] ze[t] / ) Φ(T) alway oegatve. Thu, the um of the amortzed cot of TABLE-INSERT operato a upper boud o the um of the actual cot. CS 473 Lecture X
22 Aaly of -th Table Iert : um[t] after the -th operato : ze[t] after the -th operato Φ : Potetal after the -th operato Itally we have = = Φ = 0 Note that, = - + alway hold. CS 473 Lecture X
23 CS 473 Lecture X 3 Iert wthout Expao If the -th TABLE-INSERT doe ot trgger a expao, = ; c = 3 ) ( ) ) (( ) ( ) ( ˆ c c
24 CS 473 Lecture X 4 Iert wth Expao If the -th TABLE-INSERT doe trgger a expao, the 3 ) ( ) ) (( ) ( ) ( ) ( ˆ ; ; c c c
25 CS 473 Lecture X 5
26 Addg Delete Operato TABLE-DELETE: Remove the pecfed tem from the table. It ofte derable to cotract the table. I table cotracto, we would lke to preerve two properte Load factor of dyamc table bouded below by a cotat Amortzed cot of a table operato bouded above by a cotat We aume that the cot ca be meaured term of elemetary erto ad deleto CS 473 Lecture X 6
27 Expao ad Cotracto A atural trategy for expao ad cotracto Double the table ze whe a tem erted to a full table Halve the ze whe a deleto would caue (T) < / Th trategy guaratee ( T) Ufortuately, t ca caue the amortzed cot of a operato to be qute large CS 473 Lecture X 7
28 Wort-Cae for α(t) ½ Coder the followg wort cae cearo We perform operato o a empty table where a power of Frt / operato are all erto, cot a total of Θ() at the ed: we have um[t] = ze[t] = / Secod / operato repeat the equece I D D I that I D D I I D D I I D D I... CS 473 Lecture X 8
29 Example: =6 Wort-Cae for α(t) ½ : oper: I I... I I I D D I I D D I I the ecod / operato E C E C The frt INSERT caue a expao Two further DELETE caue cotracto Two further INSERT caue expao... ad o o Hece there are /8 expao ad /8 cotracto The cot of each expao ad cotracto / CS 473 Lecture X 9
30 Wort-Cae for α(t) ½ Thu the total cot of operato Θ( ) ce Frt / operato : 3 Secod / operato : (/4)*(/)= /8 The amortzed cot of a operato Θ() The dffculty wth th trategy After a expao, we do ot perform eough deleto to pay for a cotracto After a cotracto, we do ot perform eough erto to pay for a expao CS 473 Lecture X 30
31 Improvg Expao Cotracto We ca mprove upo th trategy by allowg α(t) to drop below ½ We cotue to double the table ze whe a tem erted to a full table But, we halve the table ze (perform cotracto) whe a deleto caue α(t) < ¼ rather tha α(t) < ½, Therefore, ¼ α(t) CS 473 Lecture X 3
32 Improvg Expao Cotracto Hece after a expao, α(t) = ½, thu at leat half of the tem the table mut be deleted before a cotracto ca occur. Smlarly, after a cotracto α(t) = ½, thu the umber of tem the table mut be doubled by erto before a expao ca occur. CS 473 Lecture X 3
33 Potetal Method Defe the potetal fucto a follow Φ(T) = 0 mmedately after a expao or cotracto Recall that, α(t) = ½ mmedately after ad expao or cotracto, therefore the potetal hould buld up to um[t] a α(t) creae to or decreae to ¼ So that the ext expao or cotracto ca be pad by the potetal. CS 473 Lecture X 33
34 Φ(α) w.r.t. α(t) M=um[T] whe a expao or cotracto occur CS 473 Lecture X 34
35 Decrpto of New Φ Oe uch Φ or ( T) ( T) um[ T] ze[ T] ze[t] um[ T] um[ T]( / ) um[ T](/ ) f (T) f (T) f (T) f (T) CS 473 Lecture X 35
36 Decrpto of New Φ Φ = 0 whe α = ½ Φ = um[t] whe α = ¼ Φ = 0 for a empty table (um[t] = ze[t]=0, α[t] = 0) Φ alway oegatve CS 473 Lecture X 36
37 Amortzed Aaly Operato are: TABLE-INSERT TABLE-DELETE c : : Actual Cot um[ T] cˆ : : AmortzedCot ze[ T] : : ( T) ( T) after the -th operato CS 473 Lecture X 37
38 Table Iert = = Table cotracto may ot occur. α - ½ Aaly detcal to that for table expao Therefore, ĉ = 3 whether the table expad or ot. α - < ½ ad α < ½ Expao may ot occur (ĉ =, = - ) cˆ c (3 / ) ( / ) ( ) 0 CS 473 Lecture X 38
39 CS 473 Lecture X 39 Table Iert α - < ½ ad α ½ α = ½ Expao may ot occur (c = ; = - ; = / ) 3 / 3 / / / 3 3 ) ( / ) ( ) / ( ˆ c c Thu, amortzed cot of a TABLE-INSERT operato at mot 3.
40 CS 473 Lecture X 40 Table Delete = = + Table expao may ot occur. α - ½ ad ¼ α < ½ (It doe ot trgger a cotracto) = - ad c = ad α < ½ ) ( / / ) / ( ) / ( ˆ c c
41 CS 473 Lecture X 4 Table Delete α - = ¼ (It doe trgger a cotracto) = - / ; = - /; ad c = + α - > ½ (α ½ ) Cotracto may ot occur (c = ; = - ) / / ) / ( ) / ( ) ( ˆ c c ) ( ) ( ) ( ˆ c c
42 CS 473 Lecture X 4 Table Delete α - = ½ (α < ½) Cotracto may ot occur c = ; = - ; = - /; ad Φ - =0) ) ( / but / 0 ) / ( ˆ c c
43 Table Delete Thu, the amortzed cot of a TABLE-DELETE operato at mot Sce the amortzed cot of each operato bouded above by a cotat The actual tme for ay equece of operato o a Dyamc Table O() CS 473 Lecture X 43
Reaction Time VS. Drug Percentage Subject Amount of Drug Times % Reaction Time in Seconds 1 Mary John Carl Sara William 5 4
CHAPTER Smple Lear Regreo EXAMPLE A expermet volvg fve ubject coducted to determe the relatohp betwee the percetage of a certa drug the bloodtream ad the legth of tme t take the ubject to react to a tmulu.
More informationCollapsing to Sample and Remainder Means. Ed Stanek. In order to collapse the expanded random variables to weighted sample and remainder
Collapg to Saple ad Reader Mea Ed Staek Collapg to Saple ad Reader Average order to collape the expaded rado varable to weghted aple ad reader average, we pre-ultpled by ( M C C ( ( M C ( M M M ( M M M,
More information10.2 Series. , we get. which is called an infinite series ( or just a series) and is denoted, for short, by the symbol. i i n
0. Sere I th ecto, we wll troduce ere tht wll be dcug for the ret of th chpter. Wht ere? If we dd ll term of equece, we get whch clled fte ere ( or jut ere) d deoted, for hort, by the ymbol or Doe t mke
More informationPTAS for Bin-Packing
CS 663: Patter Matchg Algorthms Scrbe: Che Jag /9/00. Itroducto PTAS for B-Packg The B-Packg problem s NP-hard. If we use approxmato algorthms, the B-Packg problem could be solved polyomal tme. For example,
More information1. Linear second-order circuits
ear eco-orer crcut Sere R crcut Dyamc crcut cotag two capactor or two uctor or oe uctor a oe capactor are calle the eco orer crcut At frt we coer a pecal cla of the eco-orer crcut, amely a ere coecto of
More informationCHAPTER 17 Amortized Analysis
CHAPTER 7 Amortzed Analyss In an amortzed analyss, the tme requred to perform a sequence of data structure operatons s averaged over all the operatons performed. It can be used to show that the average
More informationCIS 800/002 The Algorithmic Foundations of Data Privacy October 13, Lecture 9. Database Update Algorithms: Multiplicative Weights
CIS 800/002 The Algorthmc Foudatos of Data Prvacy October 13, 2011 Lecturer: Aaro Roth Lecture 9 Scrbe: Aaro Roth Database Update Algorthms: Multplcatve Weghts We ll recall aga) some deftos from last tme:
More informationAssignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class)
Assgmet 5/MATH 7/Wter 00 Due: Frday, February 9 class (!) (aswers wll be posted rght after class) As usual, there are peces of text, before the questos [], [], themselves. Recall: For the quadratc form
More informationEconometric Methods. Review of Estimation
Ecoometrc Methods Revew of Estmato Estmatg the populato mea Radom samplg Pot ad terval estmators Lear estmators Ubased estmators Lear Ubased Estmators (LUEs) Effcecy (mmum varace) ad Best Lear Ubased Estmators
More informationProblem Set 3: Model Solutions
Ecoomc 73 Adaced Mcroecoomc Problem et 3: Model oluto. Coder a -bdder aucto wth aluato deedetly ad detcally dtrbuted accordg to F( ) o uort [,]. Let the hghet bdder ay the rce ( - k)b f + kb to the eller,
More informationREVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION
REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION I lear regreo, we coder the frequecy dtrbuto of oe varable (Y) at each of everal level of a ecod varable (X). Y kow a the depedet varable. The
More informationLinear Approximating to Integer Addition
Lear Approxmatg to Iteger Addto L A-Pg Bejg 00085, P.R. Cha apl000@a.com Abtract The teger addto ofte appled cpher a a cryptographc mea. I th paper we wll preet ome reult about the lear approxmatg for
More informationAmortized Analysis - Part 2 - Dynamic Tables. Objective: In this lecture, we shall explore Dynamic tables and its amortized analysis in detail.
Idia Istitute of Iformatio Techology Desig ad Maufacturig, Kacheepuram Cheai 600 17, Idia A Autoomous Istitute uder MHRD, Govt of Idia http://www.iiitdm.ac.i COM 501 Advaced Data Structures ad Algorithms
More informationThis lecture and the next. Why Sorting? Sorting Algorithms so far. Why Sorting? (2) Selection Sort. Heap Sort. Heapsort
Ths lecture ad the ext Heapsort Heap data structure ad prorty queue ADT Qucksort a popular algorthm, very fast o average Why Sortg? Whe doubt, sort oe of the prcples of algorthm desg. Sortg used as a subroute
More informationAlgorithms Design & Analysis. Hash Tables
Algorthms Desg & Aalyss Hash Tables Recap Lower boud Order statstcs 2 Today s topcs Drect-accessble table Hash tables Hash fuctos Uversal hashg Perfect Hashg Ope addressg 3 Symbol-table problem Symbol
More informationSimple Linear Regression Analysis
LINEAR REGREION ANALYSIS MODULE II Lecture - 5 Smple Lear Regreo Aaly Dr Shalabh Departmet of Mathematc Stattc Ida Ittute of Techology Kapur Jot cofdece rego for A jot cofdece rego for ca alo be foud Such
More informationInternational Journal of Pure and Applied Sciences and Technology
It J Pure Appl Sc Techol, () (00), pp 79-86 Iteratoal Joural of Pure ad Appled Scece ad Techology ISSN 9-607 Avalable ole at wwwjopaaat Reearch Paper Some Stroger Chaotc Feature of the Geeralzed Shft Map
More informationBasic Structures: Sets, Functions, Sequences, and Sums
ac Structure: Set, Fucto, Sequece, ad Sum CSC-9 Dcrete Structure Kotat uch - LSU Set et a uordered collecto o object Eglh alphabet vowel: V { a, e,, o, u} a V b V Odd potve teger le tha : elemet o et member
More informationCHAPTER 4 RADICAL EXPRESSIONS
6 CHAPTER RADICAL EXPRESSIONS. The th Root of a Real Number A real umber a s called the th root of a real umber b f Thus, for example: s a square root of sce. s also a square root of sce ( ). s a cube
More informationROOT-LOCUS ANALYSIS. Lecture 11: Root Locus Plot. Consider a general feedback control system with a variable gain K. Y ( s ) ( ) K
ROOT-LOCUS ANALYSIS Coder a geeral feedback cotrol yte wth a varable ga. R( Y( G( + H( Root-Locu a plot of the loc of the pole of the cloed-loop trafer fucto whe oe of the yte paraeter ( vared. Root locu
More informationQuiz 1- Linear Regression Analysis (Based on Lectures 1-14)
Quz - Lear Regreo Aaly (Baed o Lecture -4). I the mple lear regreo model y = β + βx + ε, wth Tme: Hour Ε ε = Ε ε = ( ) 3, ( ), =,,...,, the ubaed drect leat quare etmator ˆβ ad ˆβ of β ad β repectvely,
More informationLikewise, properties of the optimal policy for equipment replacement & maintenance problems can be used to reduce the computation.
Whe solvg a vetory repleshmet problem usg a MDP model, kowg that the optmal polcy s of the form (s,s) ca reduce the computatoal burde. That s, f t s optmal to replesh the vetory whe the vetory level s,
More informationmeans the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever.
9.4 Sequeces ad Seres Pre Calculus 9.4 SEQUENCES AND SERIES Learg Targets:. Wrte the terms of a explctly defed sequece.. Wrte the terms of a recursvely defed sequece. 3. Determe whether a sequece s arthmetc,
More information1. a. Houston Chronicle, Des Moines Register, Chicago Tribune, Washington Post
Homework Soluto. Houto Chrocle, De Moe Regter, Chcago Trbue, Wahgto Pot b. Captal Oe, Campbell Soup, Merrll Lych, Pultzer c. Bll Japer, Kay Reke, Hele Ford, Davd Meedez d..78,.44, 3.5, 3.04 5. No, the
More informationScheduling Jobs with a Common Due Date via Cooperative Game Theory
Amerca Joural of Operato Reearch, 203, 3, 439-443 http://dx.do.org/0.4236/ajor.203.35042 Publhed Ole eptember 203 (http://www.crp.org/joural/ajor) chedulg Job wth a Commo Due Date va Cooperatve Game Theory
More informationFor combinatorial problems we might need to generate all permutations, combinations, or subsets of a set.
Addtoal Decrease ad Coquer Algorthms For combatoral problems we mght eed to geerate all permutatos, combatos, or subsets of a set. Geeratg Permutatos If we have a set f elemets: { a 1, a 2, a 3, a } the
More informationSimulation Output Analysis
Smulato Output Aalyss Summary Examples Parameter Estmato Sample Mea ad Varace Pot ad Iterval Estmato ermatg ad o-ermatg Smulato Mea Square Errors Example: Sgle Server Queueg System x(t) S 4 S 4 S 3 S 5
More informationChapter 3 Sampling For Proportions and Percentages
Chapter 3 Samplg For Proportos ad Percetages I may stuatos, the characterstc uder study o whch the observatos are collected are qualtatve ature For example, the resposes of customers may marketg surveys
More informationFeature Selection: Part 2. 1 Greedy Algorithms (continued from the last lecture)
CSE 546: Mache Learg Lecture 6 Feature Selecto: Part 2 Istructor: Sham Kakade Greedy Algorthms (cotued from the last lecture) There are varety of greedy algorthms ad umerous amg covetos for these algorthms.
More informationIsolated Word Recogniser
Lecture 5 Iolated Word Recogitio Hidde Markov Model of peech State traitio ad aligmet probabilitie Searchig all poible aligmet Dyamic Programmig Viterbi Aligmet Iolated Word Recogitio 8. Iolated Word Recogier
More information1 Onto functions and bijections Applications to Counting
1 Oto fuctos ad bectos Applcatos to Coutg Now we move o to a ew topc. Defto 1.1 (Surecto. A fucto f : A B s sad to be surectve or oto f for each b B there s some a A so that f(a B. What are examples of
More informationMu Sequences/Series Solutions National Convention 2014
Mu Sequeces/Seres Solutos Natoal Coveto 04 C 6 E A 6C A 6 B B 7 A D 7 D C 7 A B 8 A B 8 A C 8 E 4 B 9 B 4 E 9 B 4 C 9 E C 0 A A 0 D B 0 C C Usg basc propertes of arthmetc sequeces, we fd a ad bm m We eed
More informationTHE PUBLISHING HOUSE PROCEEDINGS OF THE ROMANIAN ACADEMY, Series A, OF THE ROMANIAN ACADEMY Volume 6, Number 1/2005, pp
THE PUBLISHING HOUSE PROCEEDINGS OF THE ROANIAN ACADEY, Sere A, OF THE ROANIAN ACADEY Volume 6, Number /005,. 000-000 ON THE TRANSCENDENCE OF THE TRACE FUNCTION Vctor ALEXANDRU Faculty o athematc, Uverty
More informationHamilton Cycles in Random Lifts of Graphs
Hamlto Cycle Radom Lft of Grap K. Burg P. Cebolu C. Cooper A.M. Freze Marc 1, 005 Abtract A -lft of a grap K, a grap wt vertex et V K [] ad for eac edge, EK tere a perfect matcg betwee {} [] ad {} [].
More informationMATH 247/Winter Notes on the adjoint and on normal operators.
MATH 47/Wter 00 Notes o the adjot ad o ormal operators I these otes, V s a fte dmesoal er product space over, wth gve er * product uv, T, S, T, are lear operators o V U, W are subspaces of V Whe we say
More information{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution:
Chapter 4 Exercses Samplg Theory Exercse (Smple radom samplg: Let there be two correlated radom varables X ad A sample of sze s draw from a populato by smple radom samplg wthout replacemet The observed
More informationMultivariate Transformation of Variables and Maximum Likelihood Estimation
Marquette Uversty Multvarate Trasformato of Varables ad Maxmum Lkelhood Estmato Dael B. Rowe, Ph.D. Assocate Professor Departmet of Mathematcs, Statstcs, ad Computer Scece Copyrght 03 by Marquette Uversty
More informationExercises for Square-Congruence Modulo n ver 11
Exercses for Square-Cogruece Modulo ver Let ad ab,.. Mark True or False. a. 3S 30 b. 3S 90 c. 3S 3 d. 3S 4 e. 4S f. 5S g. 0S 55 h. 8S 57. 9S 58 j. S 76 k. 6S 304 l. 47S 5347. Fd the equvalece classes duced
More informationA Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010
Summato Operator A Prmer o Summato otato George H Olso Ph D Doctoral Program Educatoal Leadershp Appalacha State Uversty Sprg 00 The summato operator ( ) {Greek letter captal sgma} s a structo to sum over
More informationMultiple Regression. More than 2 variables! Grade on Final. Multiple Regression 11/21/2012. Exam 2 Grades. Exam 2 Re-grades
STAT 101 Dr. Kar Lock Morga 11/20/12 Exam 2 Grades Multple Regresso SECTIONS 9.2, 10.1, 10.2 Multple explaatory varables (10.1) Parttog varablty R 2, ANOVA (9.2) Codtos resdual plot (10.2) Trasformatos
More informationThe Selection Problem - Variable Size Decrease/Conquer (Practice with algorithm analysis)
We have covered: Selecto, Iserto, Mergesort, Bubblesort, Heapsort Next: Selecto the Qucksort The Selecto Problem - Varable Sze Decrease/Coquer (Practce wth algorthm aalyss) Cosder the problem of fdg the
More informationLebesgue Measure of Generalized Cantor Set
Aals of Pure ad Appled Mathematcs Vol., No.,, -8 ISSN: -8X P), -888ole) Publshed o 8 May www.researchmathsc.org Aals of Lebesgue Measure of Geeralzed ator Set Md. Jahurul Islam ad Md. Shahdul Islam Departmet
More informationDiscrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b
CS 70 Dscrete Mathematcs ad Probablty Theory Fall 206 Sesha ad Walrad DIS 0b. Wll I Get My Package? Seaky delvery guy of some compay s out delverg packages to customers. Not oly does he had a radom package
More information5 Short Proofs of Simplified Stirling s Approximation
5 Short Proofs of Smplfed Strlg s Approxmato Ofr Gorodetsky, drtymaths.wordpress.com Jue, 20 0 Itroducto Strlg s approxmato s the followg (somewhat surprsg) approxmato of the factoral,, usg elemetary fuctos:
More informationSummary of the lecture in Biostatistics
Summary of the lecture Bostatstcs Probablty Desty Fucto For a cotuos radom varable, a probablty desty fucto s a fucto such that: 0 dx a b) b a dx A probablty desty fucto provdes a smple descrpto of the
More informationThe Mathematical Appendix
The Mathematcal Appedx Defto A: If ( Λ, Ω, where ( λ λ λ whch the probablty dstrbutos,,..., Defto A. uppose that ( Λ,,..., s a expermet type, the σ-algebra o λ λ λ are defed s deoted by ( (,,...,, σ Ω.
More informationOn the energy of complement of regular line graphs
MATCH Coucato Matheatcal ad Coputer Chetry MATCH Cou Math Coput Che 60 008) 47-434 ISSN 0340-653 O the eergy of copleet of regular le graph Fateeh Alaghpour a, Baha Ahad b a Uverty of Tehra, Tehra, Ira
More informationPacking of graphs with small product of sizes
Joural of Combatoral Theory, Seres B 98 (008) 4 45 www.elsever.com/locate/jctb Note Packg of graphs wth small product of szes Alexadr V. Kostochka a,b,,gexyu c, a Departmet of Mathematcs, Uversty of Illos,
More informationA conic cutting surface method for linear-quadraticsemidefinite
A coc cuttg surface method for lear-quadratcsemdefte programmg Mohammad R. Osoorouch Calfora State Uversty Sa Marcos Sa Marcos, CA Jot wor wth Joh E. Mtchell RPI July 3, 2008 Outle: Secod-order coe: defto
More informationLecture 02: Bounding tail distributions of a random variable
CSCI-B609: A Theorst s Toolkt, Fall 206 Aug 25 Lecture 02: Boudg tal dstrbutos of a radom varable Lecturer: Yua Zhou Scrbe: Yua Xe & Yua Zhou Let us cosder the ubased co flps aga. I.e. let the outcome
More informationBounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy
Bouds o the expected etropy ad KL-dvergece of sampled multomal dstrbutos Brado C. Roy bcroy@meda.mt.edu Orgal: May 18, 2011 Revsed: Jue 6, 2011 Abstract Iformato theoretc quattes calculated from a sampled
More informationThird handout: On the Gini Index
Thrd hadout: O the dex Corrado, a tala statstca, proposed (, 9, 96) to measure absolute equalt va the mea dfferece whch s defed as ( / ) where refers to the total umber of dvduals socet. Assume that. The
More information(b) By independence, the probability that the string 1011 is received correctly is
Soluto to Problem 1.31. (a) Let A be the evet that a 0 s trasmtted. Usg the total probablty theorem, the desred probablty s P(A)(1 ɛ ( 0)+ 1 P(A) ) (1 ɛ 1)=p(1 ɛ 0)+(1 p)(1 ɛ 1). (b) By depedece, the probablty
More informationThe Occupancy and Coupon Collector problems
Chapter 4 The Occupacy ad Coupo Collector problems By Sarel Har-Peled, Jauary 9, 08 4 Prelmares [ Defto 4 Varace ad Stadard Devato For a radom varable X, let V E [ X [ µ X deote the varace of X, where
More information13.4 Scalar Kalman Filter
13.4 Scalar Kalma Filter Data Model o derive the Kalma filter we eed the data model: a 1 + u < State quatio > + w < Obervatio quatio > Aumptio 1. u i zero mea Gauia, White, u } σ. w i zero mea Gauia, White,
More informationLaboratory I.10 It All Adds Up
Laboratory I. It All Adds Up Goals The studet wll work wth Rema sums ad evaluate them usg Derve. The studet wll see applcatos of tegrals as accumulatos of chages. The studet wll revew curve fttg sklls.
More informationA tighter lower bound on the circuit size of the hardest Boolean functions
Electroc Colloquum o Computatoal Complexty, Report No. 86 2011) A tghter lower boud o the crcut sze of the hardest Boolea fuctos Masak Yamamoto Abstract I [IPL2005], Fradse ad Mlterse mproved bouds o the
More informationSome distances and sequences in a weighted graph
IOSR Joural of Mathematc (IOSR-JM) e-issn: 78-578 p-issn: 19 765X PP 7-15 wwworjouralorg Some dtace ad equece a weghted graph Jll K Mathew 1, Sul Mathew Departmet of Mathematc Federal Ittute of Scece ad
More informationParameter, Statistic and Random Samples
Parameter, Statstc ad Radom Samples A parameter s a umber that descrbes the populato. It s a fxed umber, but practce we do ot kow ts value. A statstc s a fucto of the sample data,.e., t s a quatty whose
More informationThe number of observed cases The number of parameters. ith case of the dichotomous dependent variable. the ith case of the jth parameter
LOGISTIC REGRESSION Notato Model Logstc regresso regresses a dchotomous depedet varable o a set of depedet varables. Several methods are mplemeted for selectg the depedet varables. The followg otato s
More informationAlgorithms Theory, Solution for Assignment 2
Juor-Prof. Dr. Robert Elsässer, Marco Muñz, Phllp Hedegger WS 2009/200 Algorthms Theory, Soluto for Assgmet 2 http://lak.formatk.u-freburg.de/lak_teachg/ws09_0/algo090.php Exercse 2. - Fast Fourer Trasform
More informationBayes (Naïve or not) Classifiers: Generative Approach
Logstc regresso Bayes (Naïve or ot) Classfers: Geeratve Approach What do we mea by Geeratve approach: Lear p(y), p(x y) ad the apply bayes rule to compute p(y x) for makg predctos Ths s essetally makg
More informationOn a Truncated Erlang Queuing System. with Bulk Arrivals, Balking and Reneging
Appled Mathematcal Scece Vol. 3 9 o. 3 3-3 O a Trucated Erlag Queug Sytem wth Bul Arrval Balg ad Reegg M. S. El-aoumy ad M. M. Imal Departmet of Stattc Faculty Of ommerce Al- Azhar Uverty. Grl Brach Egypt
More informationSolving Constrained Flow-Shop Scheduling. Problems with Three Machines
It J Cotemp Math Sceces, Vol 5, 2010, o 19, 921-929 Solvg Costraed Flow-Shop Schedulg Problems wth Three Maches P Pada ad P Rajedra Departmet of Mathematcs, School of Advaced Sceces, VIT Uversty, Vellore-632
More informationPPCP: The Proofs. 1 Notations and Assumptions. Maxim Likhachev Computer and Information Science University of Pennsylvania Philadelphia, PA 19104
PPCP: The Proofs Maxm Lkhachev Computer ad Iformato Scece Uversty of Pesylvaa Phladelpha, PA 19104 maxml@seas.upe.edu Athoy Stetz The Robotcs Isttute Carege Mello Uversty Pttsburgh, PA 15213 axs@rec.r.cmu.edu
More informationTo use adaptive cluster sampling we must first make some definitions of the sampling universe:
8.3 ADAPTIVE SAMPLING Most of the methods dscussed samplg theory are lmted to samplg desgs hch the selecto of the samples ca be doe before the survey, so that oe of the decsos about samplg deped ay ay
More informationu t u 0 ( 7) Intuitively, the maximum principles can be explained by the following observation. Recall
Oct. Heat Equatio M aximum priciple I thi lecture we will dicu the maximum priciple ad uiquee of olutio for the heat equatio.. Maximum priciple. The heat equatio alo ejoy maximum priciple a the Laplace
More informationThe expected value of a sum of random variables,, is the sum of the expected values:
Sums of Radom Varables xpected Values ad Varaces of Sums ad Averages of Radom Varables The expected value of a sum of radom varables, say S, s the sum of the expected values: ( ) ( ) S Ths s always true
More informationLecture 1. (Part II) The number of ways of partitioning n distinct objects into k distinct groups containing n 1,
Lecture (Part II) Materals Covered Ths Lecture: Chapter 2 (2.6 --- 2.0) The umber of ways of parttog dstct obects to dstct groups cotag, 2,, obects, respectvely, where each obect appears exactly oe group
More informationSTATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ " 1
STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS Recall Assumpto E(Y x) η 0 + η x (lear codtoal mea fucto) Data (x, y ), (x 2, y 2 ),, (x, y ) Least squares estmator ˆ E (Y x) ˆ " 0 + ˆ " x, where ˆ
More informationUnsupervised Learning and Other Neural Networks
CSE 53 Soft Computg NOT PART OF THE FINAL Usupervsed Learg ad Other Neural Networs Itroducto Mture Destes ad Idetfablty ML Estmates Applcato to Normal Mtures Other Neural Networs Itroducto Prevously, all
More information9 U-STATISTICS. Eh =(m!) 1 Eh(X (1),..., X (m ) ) i.i.d
9 U-STATISTICS Suppose,,..., are P P..d. wth CDF F. Our goal s to estmate the expectato t (P)=Eh(,,..., m ). Note that ths expectato requres more tha oe cotrast to E, E, or Eh( ). Oe example s E or P((,
More informationChapter 4 (Part 1): Non-Parametric Classification (Sections ) Pattern Classification 4.3) Announcements
Aoucemets No-Parametrc Desty Estmato Techques HW assged Most of ths lecture was o the blacboard. These sldes cover the same materal as preseted DHS Bometrcs CSE 90-a Lecture 7 CSE90a Fall 06 CSE90a Fall
More informationx z Increasing the size of the sample increases the power (reduces the probability of a Type II error) when the significance level remains fixed.
] z-tet for the mea, μ If the P-value i a mall or maller tha a pecified value, the data are tatitically igificat at igificace level. Sigificace tet for the hypothei H 0: = 0 cocerig the ukow mea of a populatio
More informationSection l h l Stem=Tens. 8l Leaf=Ones. 8h l 03. 9h 58
Secto.. 6l 34 6h 667899 7l 44 7h Stem=Tes 8l 344 Leaf=Oes 8h 5557899 9l 3 9h 58 Ths dsplay brgs out the gap the data: There are o scores the hgh 7's. 6. a. beams cylders 9 5 8 88533 6 6 98877643 7 488
More informationStatistical Inference Procedures
Statitical Iferece Procedure Cofidece Iterval Hypothei Tet Statitical iferece produce awer to pecific quetio about the populatio of iteret baed o the iformatio i a ample. Iferece procedure mut iclude a
More informationTI-83/84 Calculator Instructions for Math Elementary Statistics
TI-83/84 Calculator Itructio for Math 34- Elemetary Statitic. Eterig Data: Data oit are tored i Lit o the TI-83/84. If you have't ued the calculator before, you may wat to erae everythig that wa there.
More informationL5 Polynomial / Spline Curves
L5 Polyomal / Sple Curves Cotets Coc sectos Polyomal Curves Hermte Curves Bezer Curves B-Sples No-Uform Ratoal B-Sples (NURBS) Mapulato ad Represetato of Curves Types of Curve Equatos Implct: Descrbe a
More informationLecture 16: Backpropogation Algorithm Neural Networks with smooth activation functions
CO-511: Learg Theory prg 2017 Lecturer: Ro Lv Lecture 16: Bacpropogato Algorthm Dsclamer: These otes have ot bee subected to the usual scruty reserved for formal publcatos. They may be dstrbuted outsde
More informationLecture 25 Highlights Phys 402
Lecture 5 Hhlht Phy 40 e are ow o to coder the tattcal mechac of quatum ytem. I partcular we hall tudy the macrocopc properte of a collecto of may (N ~ 0 detcal ad dtuhable Fermo ad Boo wth overlapp wavefucto.
More informationMA/CSSE 473 Day 27. Dynamic programming
MA/CSSE 473 Day 7 Dyamc Programmg Bomal Coeffcets Warshall's algorthm (Optmal BSTs) Studet questos? Dyamc programmg Used for problems wth recursve solutos ad overlappg subproblems Typcally, we save (memoze)
More informationå 1 13 Practice Final Examination Solutions - = CS109 Dec 5, 2018
Chrs Pech Fal Practce CS09 Dec 5, 08 Practce Fal Examato Solutos. Aswer: 4/5 8/7. There are multle ways to obta ths aswer; here are two: The frst commo method s to sum over all ossbltes for the rak of
More informationA New Method for Decision Making Based on Soft Matrix Theory
Joural of Scetfc esearch & eports 3(5): 0-7, 04; rtcle o. JS.04.5.00 SCIENCEDOMIN teratoal www.scecedoma.org New Method for Decso Mag Based o Soft Matrx Theory Zhmg Zhag * College of Mathematcs ad Computer
More informationStatistics: Unlocking the Power of Data Lock 5
STAT 0 Dr. Kar Lock Morga Exam 2 Grades: I- Class Multple Regresso SECTIONS 9.2, 0., 0.2 Multple explaatory varables (0.) Parttog varablty R 2, ANOVA (9.2) Codtos resdual plot (0.2) Exam 2 Re- grades Re-
More information18.413: Error Correcting Codes Lab March 2, Lecture 8
18.413: Error Correctg Codes Lab March 2, 2004 Lecturer: Dael A. Spelma Lecture 8 8.1 Vector Spaces A set C {0, 1} s a vector space f for x all C ad y C, x + y C, where we take addto to be compoet wse
More informationLecture 2 - What are component and system reliability and how it can be improved?
Lecture 2 - What are compoet ad system relablty ad how t ca be mproved? Relablty s a measure of the qualty of the product over the log ru. The cocept of relablty s a exteded tme perod over whch the expected
More informationLecture 07: Poles and Zeros
Lecture 07: Poles ad Zeros Defto of poles ad zeros The trasfer fucto provdes a bass for determg mportat system respose characterstcs wthout solvg the complete dfferetal equato. As defed, the trasfer fucto
More informationLecture 3 Probability review (cont d)
STATS 00: Itroducto to Statstcal Iferece Autum 06 Lecture 3 Probablty revew (cot d) 3. Jot dstrbutos If radom varables X,..., X k are depedet, the ther dstrbuto may be specfed by specfyg the dvdual dstrbuto
More informationr y Simple Linear Regression How To Study Relation Between Two Quantitative Variables? Scatter Plot Pearson s Sample Correlation Correlation
Maatee Klled Correlato & Regreo How To Study Relato Betwee Two Quattatve Varable? Smple Lear Regreo 6.11 A Smple Regreo Problem 1 I there relato betwee umber of power boat the area ad umber of maatee klled?
More informationQR Factorization and Singular Value Decomposition COS 323
QR Factorzato ad Sgular Value Decomposto COS 33 Why Yet Aother Method? How do we solve least-squares wthout currg codto-squarg effect of ormal equatos (A T A A T b) whe A s sgular, fat, or otherwse poorly-specfed?
More informationNon-uniform Turán-type problems
Joural of Combatoral Theory, Seres A 111 2005 106 110 wwwelsevercomlocatecta No-uform Turá-type problems DhruvMubay 1, Y Zhao 2 Departmet of Mathematcs, Statstcs, ad Computer Scece, Uversty of Illos at
More informationComputational Geometry
Problem efto omputatoal eometry hapter 6 Pot Locato Preprocess a plaar map S. ve a query pot p, report the face of S cotag p. oal: O()-sze data structure that eables O(log ) query tme. pplcato: Whch state
More informationData Structures and Algorithm. Xiaoqing Zheng
Data Structures and Algorithm Xiaoqing Zheng zhengxq@fudan.edu.cn MULTIPOP top[s] = 6 top[s] = 2 3 2 8 5 6 5 S MULTIPOP(S, x). while not STACK-EMPTY(S) and k 0 2. do POP(S) 3. k k MULTIPOP(S, 4) Analysis
More informationIdeal multigrades with trigonometric coefficients
Ideal multgrades wth trgoometrc coeffcets Zarathustra Brady December 13, 010 1 The problem A (, k) multgrade s defed as a par of dstct sets of tegers such that (a 1,..., a ; b 1,..., b ) a j = =1 for all
More informationSPECIAL CONSIDERATIONS FOR VOLUMETRIC Z-TEST FOR PROPORTIONS
SPECIAL CONSIDERAIONS FOR VOLUMERIC Z-ES FOR PROPORIONS Oe s stctve reacto to the questo of whether two percetages are sgfcatly dfferet from each other s to treat them as f they were proportos whch the
More informationAhmed Elgamal. MDOF Systems & Modal Analysis
DOF Systems & odal Aalyss odal Aalyss (hese otes cover sectos from Ch. 0, Dyamcs of Structures, Al Chopra, Pretce Hall, 995). Refereces Dyamcs of Structures, Al K. Chopra, Pretce Hall, New Jersey, ISBN
More informationLecture 9: Tolerant Testing
Lecture 9: Tolerat Testg Dael Kae Scrbe: Sakeerth Rao Aprl 4, 07 Abstract I ths lecture we prove a quas lear lower boud o the umber of samples eeded to do tolerat testg for L dstace. Tolerat Testg We have
More informationRegression. Chapter 11 Part 4. More than you ever wanted to know about how to interpret the computer printout
Regreo Chapter Part 4 More tha you ever wated to kow about how to terpret the computer prtout February 7, 009 Let go back to the etrol/brthweght problem. We are ug the varable bwt00 for brthweght o brthweght
More informationINEQUALITIES USING CONVEX COMBINATION CENTERS AND SET BARYCENTERS
Joural of Mathematcal Scece: Advace ad Alcato Volume 24, 23, Page 29-46 INEQUALITIES USING CONVEX COMBINATION CENTERS AND SET BARYCENTERS ZLATKO PAVIĆ Mechacal Egeerg Faculty Slavok Brod Uverty of Ojek
More informationLECTURE - 4 SIMPLE RANDOM SAMPLING DR. SHALABH DEPARTMENT OF MATHEMATICS AND STATISTICS INDIAN INSTITUTE OF TECHNOLOGY KANPUR
amplg Theory MODULE II LECTURE - 4 IMPLE RADOM AMPLIG DR. HALABH DEPARTMET OF MATHEMATIC AD TATITIC IDIA ITITUTE OF TECHOLOGY KAPUR Estmato of populato mea ad populato varace Oe of the ma objectves after
More information