Sorting. Data Structures LECTURE 4. Comparison-based sorting. Sorting algorithms. Quick-Sort. Example (1) Pivot
|
|
- Franklin Riley
- 6 years ago
- Views:
Transcription
1 Data Structures, Sprg 004. Joskowcz Data Structures ECUE 4 Comparso-based sortg Why sortg? Formal aalyss of Quck-Sort Comparso sortg: lower boud Summary of comparso-sortg algorthms Sortg Defto Iput: A seuece of umbers A = (a, a,, a ) Output: A permutato (reorderg) (a,, a ) such that a a Why sortg? Fudametal problem Computer Scece May algorthms use t as a key subroute Wde varety wth a rch set of techues Kow lower bouds, asymptotcally optmal May programmg ad mplemetato ssues come up! Data Structures, Sprg 004. Joskowcz Sortg algorthms wo types of sortg algorthms:. Comparso sortg: the basc operato s the comparso betwee two elemets: a a j Merge-Sort, Iserto-Sort, Bubble-Sort Quck-Sort: aalyss wth recurrece euatos ower bouds for comparso sortg: () = ( lg ) ad S() = () Heap Sort wth prorty ueues (later, after trees). No comparso-based: does use comparsos! eures addtoal assumptos Sortg lear tme: () = () ad S() = () Data Structures, Sprg 004. Joskowcz Quck-Sort Uses a Dvde-ad-Couer strategy: Splt A[eft..ght] to A[eft..Mddle ] ad A[Mddle+..ght] such that the elemets of A[eft..Mddle ] are smaller or eual tha those A[Mddle+..ght] Sort each part recursvely Quck-Sort(A, eft, ght). f eft < ght the do. Mddle Partto(A, eft, ght) 3. Quck-Sort(A, eft, Mddle ) 4. Quck-Sort(A, Mddle +, ght) Data Structures, Sprg 004. Joskowcz Partto earrages the array ad returs the parttog dex he partto s the leftmost elemet larger tha the last Partto(A, eft, ght). Pvot A[ght]. eft 3. for j eft to ght 4. do f (A[j] Pvot) 5. the + 6. Exchage(A[], A[j]) 7. Exchage (A[+], A[ght]) 8. retur + Data Structures, Sprg 004. Joskowcz j Example () Pvot j j j st terato Data Structures, Sprg 004. Joskowcz swapped wth tself
2 Data Structures, Sprg 004. Joskowcz Example () Pvot j j j ad 8 swapped 3 ad 7 swapped eft lst Example (3) eft lst A[] Pvot Pvot ght lst Pvot j ght lst A[] > Pvot Data Structures, Sprg 004. Joskowcz Urestrcted lst d terato geeral patter Quck-Sort complexty he complexty of Quck-Sort depeds o whether the parttog s balaced or ubalaced, whch depeds o whch elemets are used for parttog. Ubalaced partto: there s o partto, so the sub-problems are of sze ad 0.. Perfect partto: the partto s always the mddle, so the sub-problems are both of sze /. 3. Balaced partto: the partto s somewhere the mddle, so the sub-problems are of sze k ad k. et us study each case separately! Data Structures, Sprg 004. Joskowcz Ubalaced partto he recurrece euato s: () = ( ) + (0) + k ( k ) k () k Data Structures, Sprg 004. Joskowcz Data Structures, Sprg 004. Joskowcz Perfect partto he recurrece euato s: () (/) + (/) + () / lg Geeral case he recurrece euato s: ( ) max ( ) 0 Average case s somewhere betwee ubalaced ad perfect partto: whch oe domates? lg ( ) Data Structures, Sprg 004. Joskowcz
3 Example: 9-to- proportoal splt Suppose that the parttog algorthm always produces a 9-to- proportoal splt. he complexty s: () = (/0) + (9/0) + () At every level, the boudary codto s reached at depth log 0 wth cost (). he recurso termates at depth log 0/9 herefore, the complexty s () = O( lg ) I fact, ths s true for ay proportoal splt! Clam: Proof: Worst-case aalyss: proof () max ( ) c O Base of ducto:rue for =. Iducto step: Assume for <, ad prove for. ' max ( ) ' ' ' c c( ' ) d' c c( ') c' d' Data Structures, Sprg 004. Joskowcz Data Structures, Sprg 004. Joskowcz Worst-case aalyss: proof () o prove the clam, we eed to show that ths s smaller tha c('), or euvaletly that: d ' c ( ' ) Sce ( -) s always greater tha /, as ca be easly verfed by checkg the two cases: or we ca pck c such that the eualty holds. Data Structures, Sprg 004. Joskowcz Average case complexty We must frst defe what s a average case he behavor s determed by the relatve orderg of the elemets, ot by the elemets themselves. hus, we are terested the average of all permutatos, where each permutato s eually lkely to appear (uformly radom put). he average complexty s the umber of steps averaged over a uformly radom put. he complexty s determed by the umber of bad splts ad the umber of good splts. Data Structures, Sprg 004. Joskowcz Bad splts ad good splts -- tuto 0 ( )/ ( )/ Alterate bad splt Data Structures, Sprg 004. Joskowcz () ( )/ Good splt I both cases, the complexty s (). hus the bad splt was absorbed by a good oe! () ( )/ adomzato ad average complexty Oe way of studyg the average case aalyss s to aalyze the performace of a radomzed verso of the algorthm. I the radomzed verso, choces are made wth a uform probablty, ad ths mmcks put geeralty essetally, we reduce the chaces of httg the worst put! adomzato esures that the performace s good wthout makg assumptos o the put adomess s oe of the most mportat cocepts ad tools moder Computer Scece! Data Structures, Sprg 004. Joskowcz
4 adomzed Quck-Sort adomzed Complexty: he umber of steps, (for the WOS put!) averaged over the radom choces of the algorthm. For Quck-Sort, the pvot determes the umber of good ad bad splts We chose the leftmost elemet to select a pvot. What f we choose stead ay elemet radomly? I Partto, use Pvot A[adom(eft,ght)] stead of Pvot A[eft] Note that the algorthm remas correct! Data Structures, Sprg 004. Joskowcz adomzed complexty adomzed-case recurrece: he pvot s eually lkely to be ay place, ad sce there are places, each case occurs / of the puts. We get: ( ) hs s ecurrece wth Full Hstory, sce t depeds o all prevous szes of the problem. It ca be prove, usg methods whch we wll ot get to ths tme, that the soluto for ths recurrece satsfes: clg O( lg ) Data Structures, Sprg 004. Joskowcz Sortg wth comparsos he basc operato of all the sortg algorthms we have see so far s the comparso betwee two elemets: a a j he sorted order they determe s based oly o comparsos betwee the put elemets! We would lke to prove that ay comparso sortg algorthm must make ( lg ) comparsos the worst case to sort elemets (lower boud). Sortg wthout comparsos takes () the worst case, but we must make assumptos about the put. Comparso sortg lower boud We wat to prove a lower boud ( ) o the worst-case complexty sortg for ANY sortg algorthm that uses comparsos. We wll use the decso tree model to evaluate the umber of comparsos that are eeded the worst case. Every algorthm has ts ow decso tree, depedg o how t does the comparsos betwee elemets. he legth of the logest path from the root to the leaves ths tree wll determe the maxmum umber of comparsos that the algorthm must perform. Data Structures, Sprg 004. Joskowcz Data Structures, Sprg 004. Joskowcz Decso trees A decso tree s a full bary tree that represets the comparsos betwee elemets that are performed by a partcular algorthm. Decso tree for 3 elemets he tree has teral odes, leaves, ad braches: Iteral ode: two dces :j for, j eaf: a permutato of the put (), () Braches: result of a comparso a a j (left) or a > a j (rght) Data Structures, Sprg 004. Joskowcz Data Structures, Sprg 004. Joskowcz
5 Paths decso trees he executo of sortg algorthm o put I correspods to tracg a path from the root to a leaf Each teral ode s assocated wth a yes/o uesto, regardg the put, ad the two edges that are comg out of t are assocated wth oe of the two possble aswers to the uesto. he leaves are assocated wth oe possble outcome of the tree, ad o edge s comg out of them. At the leaf, the permutato s the oe that sorts the elemets! Data Structures, Sprg 004. Joskowcz Decso tree for 3 elemets ogest path: 3 (7,9,6) 7 9 (7,9,6) 9 > 6 (7,9,6) 7 > 6 (A)=(6,7,9) Data Structures, Sprg 004. Joskowcz Decso tree computato he computato for a put starts at the root, ad progresses dow the tree from oe ode to the ext accordg to the aswers to the uestos at the odes. he computato eds whe we get to a leaf. ANY correct algorthm MUS be able to produce each permutato of the put. here are at most! permutatos ad they must all appear the leafs of the tree. Worst case complexty he worst-case umber of comparsos s the legth of the logest root-to-leaf path the decso tree. he lower boud o the legth of the logest path for a gve algorthm gves a lower boud o the worstcase umber of comparsos the algorthm reures. hus, fdg a lower boud o the legth of the logest path for a decso tree based o comparsos provded a lower boud o the worst case complexty of comparso based sortg algorthms! Data Structures, Sprg 004. Joskowcz Data Structures, Sprg 004. Joskowcz Comparso-based sortg algorthms Ay comparso-based sortg algorthm ca be descrbed by a decso tree. he umber of leaves the tree of ay comparso based sortg algorthm must be at least!, sce the algorthm must gve a correct aswer to every possble put, ad there are! possble aswers. Why at least? Because there mght be more tha oe leaf wth the same aswer, correspodg to dfferet ways the algorthm treats dfferet puts. Data Structures, Sprg 004. Joskowcz egth of the logest path ()! dfferet possble aswers. Cosder all trees wth! leaves. I each oe, cosder the logest path. et d be the depth (heght) of the tree. he mmum legth of such logest path must be such that! d herefore, log (!) log ( d ) = d Quck check: (/) (/)! (/) log (/) log (!) log log (!) = ( log ) Data Structures, Sprg 004. Joskowcz
6 Clam: Proof: egth of the logest path () log(!) log(!) log( O the other had: ( log( )) for ) log( ) ( log( )). log( log( ) log(!) log( ) log( ). hs s the lower boud o the umber of comparsos ay comparso-based sortg algorthm. Data Structures, Sprg 004. Joskowcz ) Complexty of comparso-sortg algorthms Bubble-Sort Iserto-Sort Merge-Sort Quck-Sort Space O() O() O( lg ) O() Worst case O( ) O( ) O( lg ) O( ) Best case O() O() O( lg ) O( lg ) Average case O( ) O( ) O( lg ) O( lg ) adom. case O( ) O( ) O( lg ) ower bouds for comparso sortg s () = ( lg ) ad S() = () for worst ad average case, determstc ad radomzed algorthms. Data Structures, Sprg 004. Joskowcz ---
Algorithm Analysis. x is a member of the set P x is not a member of the set P The null or empty set. Cardinality: the number of members
Algorthm Aalyss Mathematcal Prelmares: Sets ad Relatos: A set s a collecto of dstgushable members or elemets. The members are usually draw from some larger collecto called the base type. Each member of
More informationConsult the following resources to familiarize yourself with the issues involved in conducting surveys:
Cofdece Itervals Learg Objectves: After completo of ths module, the studet wll be able to costruct ad terpret cofdece tervals crtcally evaluate the outcomes of surveys terpret the marg of error the cotext
More informationGene Expression Data Analysis (II) statistical issues in spotted arrays
STATC4 Sprg 005 Lecture Data ad fgures are from Wg Wog s computatoal bology course at Harvard Gee Expresso Data Aalyss (II) statstcal ssues spotted arrays Below shows part of a result fle from mage aalyss
More informationProbability and Statistical Methods. Chapter 8 Fundamental Sampling Distributions
Math 3 Probablty ad Statstcal Methods Chapter 8 Fudametal Samplg Dstrbutos Samplg Dstrbutos I the process of makg a ferece from a sample to a populato we usually calculate oe or more statstcs, such as
More informationProbability and Statistical Methods. Chapter 8 Fundamental Sampling Distributions
Math 3 Probablty ad Statstcal Methods Chapter 8 Fudametal Samplg Dstrbutos Samplg Dstrbutos I the process of makg a ferece from a sample to a populato we usually calculate oe or more statstcs, such as
More informationOptimal Reliability Allocation
Optmal Relablty Allocato Yashwat K. Malaya malaya@cs.colostate.edu Departmet of Computer Scece Colorado State Uversty Relablty Allocato Problem Allocato the relablty values to subsystems to mmze the total
More informationSTATIC GAMES OF INCOMPLETE INFORMATION
ECON 10/410 Decsos, Markets ad Icetves Lecture otes.11.05 Nls-Herk vo der Fehr SAIC GAMES OF INCOMPLEE INFORMAION Itroducto Complete formato: payoff fuctos are commo kowledge Icomplete formato: at least
More informationLecture 9 February 21
Math 239: Dscrete Mathematcs for the Lfe Sceces Sprg 2008 Lecture 9 February 21 Lecturer: Lor Pachter Scrbe/ Edtor: Sudeep Juvekar/ Alle Che 9.1 What s a Algmet? I ths lecture, we wll defe dfferet types
More informationOnline Encoding Algorithm for Infinite Set
Ole Ecodg Algorthm for Ifte Set Natthapo Puthog, Athast Surarers ELITE (Egeerg Laboratory Theoretcal Eumerable System) Departmet of Computer Egeerg Faculty of Egeerg, Chulalogor Uversty, Pathumwa, Bago,
More informationSample Survey Design
Sample Survey Desg A Hypotetcal Exposure Scearo () Assume we kow te parameters of a worker s exposure dstrbuto of 8-our TWAs to a cemcal. As t appes, te worker as four dfferet types of days wt regard to
More informationFINANCIAL MATHEMATICS : GRADE 12
FINANCIAL MATHEMATICS : GRADE 12 Topcs: 1 Smple Iterest/decay 2 Compoud Iterest/decay 3 Covertg betwee omal ad effectve 4 Autes 4.1 Future Value 4.2 Preset Value 5 Skg Fuds 6 Loa Repaymets: 6.1 Repaymets
More informationValuation of Asian Option
Mälardales Uversty västerås 202-0-22 Mathematcs ad physcs departmet Project aalytcal face I Valuato of Asa Opto Q A 90402-T077 Jgjg Guo89003-T07 Cotet. Asa opto------------------------------------------------------------------3
More informationMonetary fee for renting or loaning money.
Ecoomcs Notes The follow otes are used for the ecoomcs porto of Seor Des. The materal ad examples are extracted from Eeer Ecoomc alyss 6 th Edto by Doald. Newa, Eeer ress. Notato Iterest rate per perod.
More informationRandom Variables. Discrete Random Variables. Example of a random variable. We will look at: Nitrous Oxide Example. Nitrous Oxide Example
Radom Varables Dscrete Radom Varables Dr. Tom Ilveto BUAD 8 Radom Varables varables that assume umercal values assocated wth radom outcomes from a expermet Radom varables ca be: Dscrete Cotuous We wll
More informationThe Complexity of General Equilibrium
Prof. Ja Bhattachara Eco --Sprg 200 Welfare Propertes of Market Outcomes Last tme, we covered equlbrum oe market partal equlbrum. We foud that uder perfect competto, the equlbrum prce ad quatt mamzed the
More informationMathematics 1307 Sample Placement Examination
Mathematcs 1307 Sample Placemet Examato 1. The two les descrbed the followg equatos tersect at a pot. What s the value of x+y at ths pot of tersecto? 5x y = 9 x 2y = 4 A) 1/6 B) 1/3 C) 0 D) 1/3 E) 1/6
More information= 1. UCLA STAT 13 Introduction to Statistical Methods for the Life and Health Sciences. Parameters and Statistics. Measures of Centrality
UCLA STAT Itroducto to Statstcal Methods for the Lfe ad Health Sceces Istructor: Ivo Dov, Asst. Prof. of Statstcs ad Neurolog Teachg Assstats: Brad Shaata & Tffa Head Uverst of Calfora, Los Ageles, Fall
More informationChapter 4. More Interest Formulas
Chapter 4 More Iterest ormulas Uform Seres Compoud Iterest ormulas Why? May paymets are based o a uform paymet seres. e.g. automoble loas, house paymets, ad may other loas. 2 The Uform aymet Seres s 0
More informationApplication of Portfolio Theory to Support Resource Allocation Decisions for Biosecurity
Applcato of Portfolo Theory to Support Resource Allocato Decsos for Bosecurty Paul Mwebaze Ecoomst 11 September 2013 CES/BIOSECURITY FLAGSHIP Presetato outle The resource allocato problem What ca ecoomcs
More informationForecasting the Movement of Share Market Price using Fuzzy Time Series
Iteratoal Joural of Fuzzy Mathematcs ad Systems. Volume 1, Number 1 (2011), pp. 73-79 Research Ida Publcatos http://www.rpublcato.com Forecastg the Movemet of Share Market Prce usg Fuzzy Tme Seres B.P.
More informationTypes of Sampling Plans. Types of Sampling Plans. Sampling Procedures. Probability Samples -Simple Random sample -Stratified sample -Cluster sample
Samplg Procedures Defe the Populato Idetfy the Samplg Frame Select a Samplg Procedure Determe the Sample Sze Select the Sample Elemets Collect the Data Types of Samplg Plas o-probablty Samples -Coveece
More informationChapter 4. More Interest Formulas
Chapter 4 More Iterest ormulas Uform Seres Compoud Iterest ormulas Why? May paymets are based o a uform paymet seres. e.g. automoble loas, house paymets, ad may other loas. 2 The Uform aymet Seres s 0
More informationOverview. Linear Models Connectionist and Statistical Language Processing. Numeric Prediction. Example
Overvew Lear Models Coectost ad Statstcal Laguage Processg Frak Keller keller@col.u-sb.de Computerlgustk Uverstät des Saarlades classfcato vs. umerc predcto lear regresso least square estmato evaluatg
More informationThe Firm. The Firm. Maximizing Profits. Decisions. ECON 370: Microeconomic Theory Summer 2004 Rice University Stanley Gilbert
The Frm The Frm ECON 370: Mcroecoomc Theory Summer 004 Rce Uversty Staley Glbert A Frm s a mechasm for covertg labor, captal ad raw materals to desrable goods A frm s owed by cosumers ad operated for the
More informationGAUTENG DEPARTMENT OF EDUCATION SENIOR SECONDARY INTERVENTION PROGRAMME MATHEMATICS GRADE 12 SESSION 3 (LEARNER NOTES)
MATHEMATICS GRADE SESSION 3 (LEARNER NOTES) TOPIC 1: FINANCIAL MATHEMATICS (A) Learer Note: Ths sesso o Facal Mathematcs wll deal wth future ad preset value autes. A future value auty s a savgs pla for
More informationCHAPTER - IV STANDARDIZED CUSUM MEDIAN CONTROL CHART
A Study o Process Varablty usg CUSUM ad Fuzzy Cotrol Charts Ph.D Thess CHAPTER - IV STANDARDIZED CUSUM MEDIAN CONTROL CHART. Itroducto: I motorg e process mea, e Mea ( X ) cotrol charts, ad cumulatve sum
More informationInferential: methods using sample results to infer conclusions about a larger population.
Chapter 1 Def : Statstcs: 1) are commoly kow as umercal facts ) s a feld of dscple or study Here, statstcs s about varato. 3 ma aspects of statstcs: 1) Desg ( Thk ): Plag how to obta data to aswer questos.
More informationON MAXIMAL IDEAL OF SKEW POLYNOMIAL RINGS OVER A DEDEKIND DOMAIN
Far East Joural of Mathematcal Sceces (FJMS) Volume, Number, 013, Pages Avalable ole at http://pphmj.com/jourals/fjms.htm Publshed by Pushpa Publshg House, Allahabad, INDIA ON MAXIMAL IDEAL OF SKEW POLYNOMIAL
More informationLECTURE 5: Quadratic classifiers
LECURE 5: Quadratc classfers Bayes classfers for Normally dstrbuted classes Case : σ I Case : ( daoal) Case : ( o-daoal) Case : σ I Case 5: j eeral case Numercal example Lear ad quadratc classfers: coclusos
More information0.07 (12) i 1 1 (12) 12n. *Note that N is always the number of payments, not necessarily the number of years. Also, for
Chapter 3, Secto 2 1. (S13HW) Calculate the preset value for a auty that pays 500 at the ed of each year for 20 years. You are gve that the aual terest rate s 7%. 20 1 v 1 1.07 PV Qa Q 500 5297.01 0.07
More informationA Hierarchical Multistage Interconnection Network
A Herarchcal Multstage Itercoecto Networ Mohtar Aboelaze Dept. of Computer Scece Yor Uversty Toroto, ON. CANADA M3J P3 aboelaze@cs.yoru.ca Kashf Al Dept. of Computer Scece Yor Uversty Toroto, ON. CANADA
More informationMaking Even Swaps Even Easier
Mauscrpt (Jue 18, 2004) Makg Eve Swaps Eve Easer Jyr Mustaok * ad Ramo P. Hämäläe Helsk Uversty of Techology Systems Aalyss Laboratory P.O. Box 1100, FIN-02015 HUT, Flad E-mals: yr.mustaok@hut.f, ramo@hut.f
More information6. Loss systems. ELEC-C7210 Modeling and analysis of communication networks 1
ELEC-C72 Modelg ad aalyss of commucato etwors Cotets Refresher: Smple teletraffc model Posso model customers, servers Applcato to flow level modellg of streamg data traffc Erlag model customers, ; servers
More informationSupplemental notes for topic 9: April 4, 6
Sta-30: Probablty Sprg 017 Supplemetal otes for topc 9: Aprl 4, 6 9.1 Polyomal equaltes Theorem (Jese. If φ s a covex fucto the φ(ex Eφ(x. Theorem (Beaymé-Chebyshev. For ay radom varable x, ɛ > 0 P( x
More informationQualità del Servizio nei Sistemi Geograficamente Distribuiti. Roma, 9-10 Giugno Delay Bounds For FIFO Aggregates
Qualtà del Servzo e Sstem Geografcamete Dstrbut Roma, 9-10 Gugo 2004 Delay Bouds For FIFO Aggregates L. Lez, L. Martor, E. Mgozz, G. Stea Uverstà degl Stud d Psa Dpartmeto d Igegera dell Iformazoe Va Dotsalv,
More informationMay 2005 Exam Solutions
May 005 Exam Soluto 1 E Chapter 6, Level Autes The preset value of a auty-mmedate s: a s (1 ) v s By specto, the expresso above s ot equal to the expresso Choce E. Soluto C Chapter 1, Skg Fud The terest
More information- Inferential: methods using sample results to infer conclusions about a larger pop n.
Chapter 6 Def : Statstcs: are commoly kow as umercal facts. s a feld of dscple or study. I ths class, statstcs s the scece of collectg, aalyzg, ad drawg coclusos from data. The methods help descrbe ad
More informationDeriving & Understanding the Variance Formulas
Dervg & Uderstadg the Varace Formulas Ma H. Farrell BUS 400 August 28, 205 The purpose of ths hadout s to derve the varace formulas that we dscussed class ad show why take the form they do. I class we
More informationIEOR 130 Methods of Manufacturing Improvement Fall, 2017 Prof. Leachman Solutions to First Homework Assignment
IEOR 130 Methods of Maufacturg Improvemet Fall, 2017 Prof. Leachma Solutos to Frst Homework Assgmet 1. The scheduled output of a fab a partcular week was as follows: Product 1 1,000 uts Product 2 2,000
More informationFINANCIAL MATHEMATICS GRADE 11
FINANCIAL MATHEMATICS GRADE P Prcpal aout. Ths s the orgal aout borrowed or vested. A Accuulated aout. Ths s the total aout of oey pad after a perod of years. It cludes the orgal aout P plus the terest.
More informationMathematical Background and Algorithms
(Scherhet ud Zuverlässgket egebetteter Systeme) Fault Tree Aalyss Mathematcal Backgroud ad Algorthms Prof. Dr. Lggesmeyer, 0 Deftos of Terms Falure s ay behavor of a compoet or system that devates from
More informationTOPIC 7 ANALYSING WEIGHTED DATA
TOPIC 7 ANALYSING WEIGHTED DATA You do t have to eat the whole ox to kow that the meat s tough. Samuel Johso Itroducto dfferet aalyss for sample data Up utl ow, all of the aalyss techques have oly dealt
More informationPORTFOLIO OPTIMIZATION IN THE FRAMEWORK MEAN VARIANCE -VAR
Lecturer Floret SERBAN, PhD Professor Vorca STEFANESCU, PhD Departmet of Mathematcs The Bucharest Academy of Ecoomc Studes Professor Massmlao FERRARA, PhD Departmet of Mathematcs Uversty of Reggo Calabra,
More informationAPPENDIX M: NOTES ON MOMENTS
APPENDIX M: NOTES ON MOMENTS Every stats textbook covers the propertes of the mea ad varace great detal, but the hgher momets are ofte eglected. Ths s ufortuate, because they are ofte of mportat real-world
More information0.07. i PV Qa Q Q i n. Chapter 3, Section 2
Chapter 3, Secto 2 1. (S13HW) Calculate the preset value for a auty that pays 500 at the ed of each year for 20 years. You are gve that the aual terest rate s 7%. 20 1 v 1 1.07 PV Qa Q 500 5297.01 0.07
More informationAn Efficient Estimator Improving the Searls Normal Mean Estimator for Known Coefficient of Variation
ISSN: 2454-2377, A Effcet Estmator Improvg the Searls Normal Mea Estmator for Kow Coeffcet of Varato Ashok Saha Departmet of Mathematcs & Statstcs, Faculty of Scece & Techology, St. Auguste Campus The
More informationThe Consumer Price Index for All Urban Consumers (Inflation Rate)
The Cosumer Prce Idex for All Urba Cosumers (Iflato Rate) Itroducto: The Cosumer Prce Idex (CPI) s the measure of the average prce chage of goods ad servces cosumed by Iraa households. Ths measure, as
More informationA Test of Normality. Textbook Reference: Chapter 14.2 (eighth edition, pages 591 3; seventh edition, pages 624 6).
A Test of Normalty Textbook Referece: Chapter 4. (eghth edto, pages 59 ; seveth edto, pages 64 6). The calculato of p-values for hypothess testg typcally s based o the assumpto that the populato dstrbuto
More informationMathematical Multi-objective Model for the selection of a portfolio of investment in the Mexican Stock Market
Advaces Iformato Sceces ad Servce Sceces Volume, Number, Jue 00 Mathematcal Mult-objectve Model for the selecto of a portfolo of vestmet the Mexca Stock Market José Crspí Zavala-Díaz Marco Atoo Cruz-Chávez
More informationBinomial Model. Stock Price Dynamics. The Key Idea Riskless Hedge
Biomial Model Stock Price Dyamics The value of a optio at maturity depeds o the price of the uderlyig stock at maturity. The value of the optio today depeds o the expected value of the optio at maturity
More informationAn Entropy Method for Diversified Fuzzy Portfolio Selection
60 Iteratoal Joural of Fuzzy Systems, Vol. 4, No., March 0 A Etropy Method for Dversfed Fuzzy Portfolo Selecto Xaoxa Huag Abstract Ths paper proposes a etropy method for dversfed fuzzy portfolo selecto.
More information? Economical statistics
Probablty calculato ad statstcs Probablty calculato Mathematcal statstcs Appled statstcs? Ecoomcal statstcs populato statstcs medcal statstcs etc. Example: blood type Dstrbuto A AB B Elemetary evets: A,
More informationCS 840 Fall 2018 Self-Organizing Binary Search Trees: Unit 3
S 840 Fall 2018 Self-Orgag ar Search Trees: Ut 3 The sae questos ca be asked bar search trees. Gve a sequece of access queres, what s the best wa to orgae the search tree [referece: ore Leserso, Rvest
More informationCOMPARISON OF APPROACHES TO TESTING EQUALITY OF EXPECTATIONS AMONG SAMPLES FROM POISSON AND NEGATIVE BINOMIAL DISTRIBUTION
ACTA UNIVERSITATIS AGRICULTURAE ET SILVICULTURAE MENDELIANAE BRUNENSIS Volume 66 0 Number 4, 08 https://do.org/0.8/actau08660405 COMPARISON OF APPROACHES TO TESTING EQUALITY OF EXPECTATIONS AMONG SAMPLES
More informationThe Constrained Mean-Semivariance Portfolio Optimization Problem with the Support of a Novel Multiobjective Evolutionary Algorithm
Joural of Software Egeerg ad Applcatos, 013, 6, -9 do:10.436/jsea.013.67b005 Publshed Ole July 013 (http://www.scrp.org/joural/jsea) The Costraed Mea-Semvarace Portfolo Optmzato Problem wth the Support
More informationSelection of a correlated equilibrium in Markov stopping games
Europea Joural of Operatoal Research 84 (008) 85 06 Stochastcs ad Statstcs Selecto of a correlated equlbrum Markov stoppg games Davd M. Ramsey a,, Krzysztof Szajowsk a,b, * a Isttute of Mathematcs ad Computer
More informationMath 373 Fall 2013 Homework Chapter 4
Math 373 Fall 2013 Hoework Chapter 4 Chapter 4 Secto 5 1. (S09Q3)A 30 year auty edate pays 50 each quarter of the frst year. It pays 100 each quarter of the secod year. The payets cotue to crease aually
More informationMathematical Multi-objective Model for the selection of a portfolio of investment in the Mexican Stock Market
Advaces Iformato Sceces ad Servce Sceces Volume 2, Number 2, Jue 200 Mathematcal Mult-objectve Model for the selecto of a portfolo of vestmet the Mexca Stock Market José Crspí Zavala-Díaz Marco Atoo Cruz-Chávez
More informationAccounting 303 Exam 2, Chapters 4, 5, 6 Fall 2016
Accoutg 303 Exam 2, Chapters 4, 5, 6 Fall 2016 Name Row I. Multple Choce Questos. (2 pots each, 24 pots total) Read each questo carefully ad dcate your aswer by crclg the letter precedg the oe best aswer.
More informationScheduling of a Paper Mill Process Considering Environment and Cost
Schedulg of a Paper Mll Process Cosderg Evromet ad Cost M Park, Dogwoo Km, yog Km ad l Moo Departmet of Chemcal Egeerg, Yose Uversty, 34 Shchodog Seodaemooku, Seoul, 0-749, Korea Phoe: +8--363-9375 Emal:
More informationDesigning Incentives for Online Question-and-Answer Forums
Desgg Icetves for Ole Questo-ad-Aswer Forums Shal Ja a,, Ylg Che b, Davd C. Pares c a Computer Scece Departmet, Yale Uversty, New Have, CT 06520 b SEAS, Harvard Uversty, 33 Oxford St., Cambrdge MA 0238
More informationMOMENTS EQUALITIES FOR NONNEGATIVE INTEGER-VALUED RANDOM VARIABLES
MOMENTS EQUALITIES FOR NONNEGATIVE INTEGER-VALUED RANDOM VARIABLES MOHAMED I RIFFI ASSOCIATE PROFESSOR OF MATHEMATICS DEPARTMENT OF MATHEMATICS ISLAMIC UNIVERSITY OF GAZA GAZA, PALESTINE Abstract. We preset
More informationManagement Science Letters
Maagemet Scece Letters (0) 355 36 Cotets lsts avalable at GrowgScece Maagemet Scece Letters homepage: www.growgscece.com/msl A tellget techcal aalyss usg eural etwork Reza Rae a Shapour Mohammad a ad Mohammad
More informationTwo Approaches for Log-Compression Parameter Estimation: Comparative Study*
SERBAN JOURNAL OF ELECTRCAL ENGNEERNG Vol. 6, No. 3, December 009, 419-45 UDK: 61.391:61.386 Two Approaches for Log-Compresso Parameter Estmato: Comparatve Study* Mlorad Paskaš 1 Abstract: Stadard ultrasoud
More informationAMS Final Exam Spring 2018
AMS57.1 Fal Exam Sprg 18 Name: ID: Sgature: Istructo: Ths s a close book exam. You are allowed two pages 8x11 formula sheet (-sded. No cellphoe or calculator or computer or smart watch s allowed. Cheatg
More informationBy choosing to view this document, you agree to all provisions of the copyright laws protecting it.
Copyrght 203 IEEE. Reprted, wth permsso, from Dgzhou Cao, Yu Su ad Huaru Guo, Optmzg Mateace Polces based o Dscrete Evet Smulato ad the OCBA Mechasm, 203 Relablty ad Mataablty Symposum, Jauary, 203. Ths
More informationSTOCK PRICE PREDICTION BY USING A COMBINATION OF NEURAL NETWORKS AND GENETIC ALGORITHMS
Arth Prabadh: A Joural of Ecoomcs ad Maagemet STOCK PRICE PREDICTION BY USING A COMBINATION OF NEURAL NETWORKS AND GENETIC ALGORITHMS MAHMOUD MOUSAVISHIRI*; FATEMEH SAEIDI** *Departmet of Maagemet, Ecoomcs
More informationDEGRESSIVE PROPORTIONALITY IN THE EUROPEAN PARLIAMENT
M A T H E M A T I C A L E C O N O M I C S No. 7(4) 20 DEGRESSIVE PROPORTIONALITY IN THE EUROPEAN PARLIAMENT Katarzya Cegełka Abstract. The dvso of madates to the Europea Parlamet has posed dffcultes sce
More informationCREDIT MANAGEMENT 3 - (SWC) CRM33B3 FINAL ASSESSMENT OPPORTUNITY. Date of examination: 5 NOVEMBER 2015
Departmet of Commercal Accoutg CREDIT MANAGEMENT 3 - (SWC) CRM33B3 FINAL ASSESSMENT OPPORTUNITY Date of examato: 5 NOVEMBER 05 Tme: 3 hours Marks: 00 Assessor: Iteral Moderator: Exteral Moderator: Fred
More informationEstimating Proportions with Confidence
Aoucemets: Discussio today is review for midterm, o credit. You may atted more tha oe discussio sectio. Brig sheets of otes ad calculator to midterm. We will provide Scatro form. Homework: (Due Wed Chapter
More information8.0% E(R) 6.0% Lend. Borrow 4.0% 2.0% rf rf 0.0% 0.0% 1.0% 2.0% 3.0% 4.0% STD(R) E(R) Long A and Short B. Long A and Long B. Short A and Long B
F8000 Valuato of Facal ssets Sprg Semester 00 Dr. Isabel Tkatch ssstat Professor of Face Ivestmet Strateges Ledg vs. orrowg rsk-free asset) Ledg: a postve proporto s vested the rsk-free asset cash outflow
More informationThe Measurement and Control of Chinese Administrative Expenses: Perspective into Administrative Expenses
Joural of Poltcs ad Law Jue, 9 The Measuremet ad Cotrol of Chese Admstratve Epeses: Perspectve to Admstratve Epeses Xagzhou He Zhejag Uversty Hagzhou 38, Cha E-mal: hez5@6.com Natoal Natural Scece Foudato
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 informationOn the Speedup Required to Achieve 100% Throughput for Multicast over Crossbar Switches
O the Speedup Requred to Acheve % hroughput for Multcast over Crossbar Swtches Ca Emre Koksal Departmet of Electrcal ad Computer Egeerg he Oho State Uversty Columbus OH 43 e-mal: koksal@eceosuedu Abstract
More informationMODULE 1 LECTURE NOTES 3
Water Resources Systems Plag ad Maagemet: Itroducto ad Basc Cocepts: Optmzato ad Smulato MODULE LECTURE NOTES 3 OPTIMIZATION AND SIMULATION INTRODUCTION I the prevous lecture we studed the bascs of a optmzato
More informationIntegrating Mean and Median Charts for Monitoring an Outlier-Existing Process
Proceedgs of the Iteratoal MultCoferece of Egeers ad Computer Scetsts 8 Vol II IMECS 8 19-1 March 8 Hog Kog Itegratg Mea ad Meda Charts for Motorg a Outler-Exstg Process Lg Yag Suzae Pa ad Yuh-au Wag Abstract
More informationPortfolio Optimization: MAD vs. Markowitz
Rose-Hulma Udergraduate Mathematcs Joural Volume 6 Issue 2 Artcle 3 Portfolo Optmzato: MAD vs. Markowtz Beth Bower College of Wllam ad Mary, bebowe@wm.edu Pamela Wetz Mllersvlle Uversty, pamela037@hotmal.com
More informationFuzzy inferencing using single-antecedent fuzzy rules
Iteratoal Joural of Fuzzy Systems, Vol. 8, No., Jue 006 65 Fuzzy ferecg usg sgle-atecedet fuzzy rules Sebasta W. Khor, M. Shamm Kha, ad Ko Wa Wog Abstract The output of a fuzzy cogtve map (FCM) s the summato
More informationSolutions to Problems
Solutos to Problems ( Pt Pt + Ct) P5-. LG : Rate of retur: rt Pt Basc ($,000 $0,000 + $,500) a. Ivestmet X: Retur.50% $0,000 Ivestmet Y: Retur ($55,000 $55,000 + $6,800).36% $55,000 b. Ivestmet X should
More informationCOSC 6385 Computer Architecture. Performance Measurement
COSC 6385 Computer Archtecture Performace Measuremet Edgar Gabrel Sprg 204 Measurg performace (I) Respose tme: how log does t take to execute a certa applcato/a certa amout of work Gve two platforms X
More informationMean-Semivariance Optimization: A Heuristic Approach
Mea-Semvarace Optmzato: A Heurstc Approach Javer Estrada IESE Busess School, Aveda Pearso 1, 08034 Barceloa, Spa Tel: +34 93 53 400, Fax: +34 93 53 4343, Emal: jestrada@ese.edu Abstract Academcs ad practtoers
More informationATutorialonParticleFilteringandSmoothing: Fifteen years later
ATutoraloPartcleFltergadSmoothg: Fftee years later Araud Doucet The Isttute of Statstcal Mathematcs, 4-6-7 Mam-Azabu, Mato-ku, Tokyo 06-8569, Japa Emal: Araud@smacjp Adam M Johase Departmet of Statstcs,
More informationLinear regression II
CS 75 Mache Learg Lecture 9 Lear regresso II Mlos Hauskrecht mlos@cs.ptt.eu 539 Seott Square Lear regresso Fucto f : X Y Y s a lear combato of put compoets f ( w w w w w w, w, w k - parameters (weghts
More informationCHAPTER 8. r E( r ) m e. Reduces the number of inputs for diversification. Easier for security analysts to specialize
CHATE 8 Idex odels cgra-hll/ir Copyrght 0 by The cgra-hll Compaes, Ic. All rghts reserved. 8- Advatages of the Sgle Idex odel educes the umber of puts for dversfcato Easer for securty aalysts to specalze
More informationVariable weight combined forecast of China s energy demand based on grey model and BP neural network
Avalable ole www.jocpr.com Joural of Chemcal ad Pharmaceutcal Research, 2014, 6(4):303-308 Research Artcle ISSN : 0975-7384 CODEN(USA) : JCPRC5 Varable weght combed forecast of Cha s eergy demad based
More informationNon-life insurance mathematics. Nils F. Haavardsson, University of Oslo and DNB Skadeforsikring
No-lfe surace mathematcs Nls F. Haavardsso, Uversty of Oslo ad DNB Skadeforskrg Repetto clam se The cocept No parametrc modellg Scale famles of dstrbutos Fttg a scale famly Shfted dstrbutos Skewess No
More informationThe Merits of Pooling Claims Revisited
The Merts of Poolg Clams Revsted Nade Gatzert, Hato Schmeser Workg Paper Char for Isurace Ecoomcs Fredrch-Alexader-Uversty of Erlage-Nürberg Verso: August 2011 1 THE MERITS OF POOLING CLAIMS REVISITED
More informationDiscrete time-cost tradeoff model for optimizing multi-mode construction project resource allocation
Dscrete tme-cost tradeoff model for optmzg mult-mode costructo project resource allocato The project schedulg ad resource allocato problems have bee studed usg dfferet optmzato methods. The resource levelg
More informationSCEA CERTIFICATION EXAM: PRACTICE QUESTIONS AND STUDY AID
SCEA CERTIFICATION EAM: PRACTICE QUESTIONS AND STUDY AID Lear Regresso Formulas Cheat Sheet You ma use the followg otes o lear regresso to work eam questos. Let be a depedet varable ad be a depedet varable
More informationThe Research on Credit Risk Assessment Model of Agriculture-Related Organizations Based on Set of Theoretical
Maagemet Scece ad Egeerg Vol. 6, No. 4, 202, pp. 5-9 DOI:0.3968/j.mse.93035X2020604.805 ISSN 93-034 [Prt] ISSN 93-035X [Ole] www.cscaada.et www.cscaada.org The Research o Credt Rsk Assessmet Model of Agrculture-Related
More informationarxiv: v3 [cs.gt] 14 Feb 2018
} A udget Feasble Mechasm for Hrg Doctors E-Healthcare Vash Kumar Sgh Dept. of Computer Scece ad Egeerg Natoal Isttute of Techology Durgapur 7309, Ida vas.88@gmal.com Sajal Muhopadhyay Dept. of Computer
More informationThe Application of Asset Pricing to Portfolio Management
Clemso Ecoomcs The Applcato of Asset Prcg to Portfolo Maagemet The Nature of the Problem Portfolo maagers have two basc problems. Frst they must determe whch assets to hold a portfolo, ad secod, they must
More informationHow did you get to know that? A Traceable Word-of-Mouth Algorithm
How dd you get to kow that? Traceable Word-of-Mouth lgorthm Mauel Cebrá, Erque Frías-Martíez, Heath Hohwald, Rube Lara ad Nura Olver Data Mg ad User Modelg Group, Telefoca Research Emlo Vargas 6, 28043,
More informationA Coverage Probability on the Parameters of the Log-Normal Distribution in the Presence of Left-Truncated and Right- Censored Survival Data ABSTRACT
Malaysa Joural of Mathematcal Sceces 9(1): 17-144 (015) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES Joural homepage: http://espem.upm.edu.my/joural A Coverage Probablty o the Parameters of the Log-Normal
More informationb. (6 pts) State the simple linear regression models for these two regressions: Y regressed on X, and Z regressed on X.
Mat 46 Exam Sprg 9 Mara Frazer Name SOLUTIONS Solve all problems, ad be careful ot to sped too muc tme o a partcular problem. All ecessary SAS fles are our usual folder (P:\data\mat\Frazer\Regresso). You
More informationUsing Single-Antecedent Fuzzy Rules in Fuzzy Knowledge Map
Khor, S.W., Kha, M.S. ad Wog, K.W. (005) Usg sgle-atecedet fuzzy rules fuzzy kowledge map. I: TAAI Coferece o Artfcal Itellgece ad Applcatos (TAAI005), -3 December 005, Kaohsug, Tawa Usg Sgle-Atecedet
More informationActuarial principles of the cotton insurance in Uzbekistan
Actuaral prcples of the cotto surace Uzeksta Topc : Rsk evaluato Shamsuddov Bakhodr The Tashket rach of Russa ecoomc academy, the departmet of hgher mathematcs ad formato techology 763, Uzekstasky street
More informationEvaluation and ranking the companies of auto and spare parts industry accepted in Tehran Stock Exchange using FAHP and VIKOR
Iteratoal Research Joural of Appled ad Basc Sceces 03 Avalable ole at www.rabs.com ISSN 5-838X / Vol, 5 (7): 883-890 Scece Explorer Publcatos Evaluato ad rakg the compaes of auto ad spare parts dustry
More informationDetermining Optimal Production Program with Fuzzy Multiple Criteria Programming Method
Proceedgs o the Iteratoal MultCoerece o Egeers ad Computer Scetsts 9 Vol II IMECS 9 March - 9 Hog og Determg Optmal Producto Program wth Fuzzy Multple Crtera Programmg Method Tujo Perć Member IAENG Zora
More informationMEASURING THE FOREIGN EXCHANGE RISK LOSS OF THE BANK
Gabrel Bstrceau, It.J.Eco. es., 04, v53, 7 ISSN: 9658 MEASUING THE FOEIGN EXCHANGE ISK LOSS OF THE BANK Gabrel Bstrceau Ecoomst, Ph.D. Face Natoal Bak of omaa Bucharest, Moetary Polcy Departmet, 5 Lpsca
More information