INTRODUCTION TO FAST FOURIER TRANSFORM IN FINANCE A. CERNY

Size: px
Start display at page:

Download "INTRODUCTION TO FAST FOURIER TRANSFORM IN FINANCE A. CERNY"

Transcription

1 ISSN INTRODUCTION TO FAST FOURIER TRANSFORM IN FINANCE A. CERNY Taaka Busiess School Discussio Papers: TBS/DP04/19 Lodo: Taaka Busiess School, 2004

2 Itroductio to Fast Fourier Trasform i Fiace Aleš Čerý (a.cery@imperial.ac.uk) Taaka Busiess School, Imperial College Lodo First draft: July 2003, this versio 18th Jue 2004 Typo i eq. (39) corrected 29th September 2004 Abstract. The Fourier trasform is a importat tool i Fiacial Ecoomics. It delivers real time pricig while allowig for a realistic structure of asset returs, takig ito accout excess kurtosis ad stochastic volatility. Fourier trasform is also rather abstract ad therefore o-puttig to may practitioers. The purpose of this paper is to explai the workig of the fast Fourier trasform i the familiar biomial optio pricig model. We argue that a good uderstadig of FFT requires o more tha some high school mathematics ad familiarity with roulette, bicycle wheel, or a similar circular object divided ito equally sized segmets. The returs to such a small itellectual ivestmet are overwhelmig. Keywords: fast Fourier trasform, optio pricig, biomial lattice, chirp-z trasform,gauss,matlab JEL classificatio code: C63, G12 Mathematics subject classificatio: 65T50, 91B70, 91B24 Forthcomig i Joural of Derivatives. I would like to thak David Miles ad Joatha Waiwright for suggestig importat clarificatiosiaearlydraft.iam grateful to Peter Carr, Sajiv Das ad Stephe Figlewski, who provided helpful commets ad poiters to refereces. This is a abridged ad adapted versio of of Čerý [2004, Chapter 7]. GAUSS is a trademark of Aptech Systems, Ic.; MATLAB is a registered trademark of The MathWorks, Ic.

3 2 A. Čerý The Fourier trasform is becomig a icreasigly popular ad importat tool i Fiacial Ecoomics because it delivers real time pricig while allowig for importat properties of asset returs, such as excess kurtosis, stochastic volatility ad leverage eects, discussed i Hesto [1993], Carr ad Mada [1999], Carr ad Wu [2004]. These impressive results come at a price i the form of a cosiderable abstractio which ca be quite o-puttig to practitioers. The aim of this paper is to explai the workig of the discrete Fourier trasform (DFT) ad its fast implemetatio (FFT) i the familiar biomial optio pricig model. The biomial model serves two purposes. It highlights, i a accessible way, the usefuless of FFT, which is a importat computatioal tool i its ow right, ad has may other applicatios i Fiace. It also motivates the passage to cotiuous time thereby providig ituitio behid fast pricig formulae i a very rich class of models used i the idustry. The paper is divided ito three parts: I Discrete Fourier trasform ad biomial optio pricig; II Eciet implemetatio of DFT by meas of fast Fourier trasform, with examples i GAUSS ad MATLAB; III Fourier trasform ad cotiuous-time optio pricig. 1. Discrete Fourier trasform ad biomial optio pricig This sectio explais how ad why optio prices i the biomial model ca be computed via discrete Fourier trasform. We assume that the reader is familiar with the cocept of risk-eutral pricig. To begi with, we itroduce complex umbers ad discuss their geometric properties, especially as they regard the uit circle; the we defie the Discrete Fourier Trasform (DFT) ad highlight some of its properties. The followig sectio itroduces a simple biomial optio pricig example ad shows how the pricig procedure ca be performed o a circle. To coclude, we demostrate how to trasform circular covolutios usig DFT ad obtai the Fourier trasform pricig formula. The resultig formula is put to practice i part II, which shows how to accelerate DFT by meas of FFT algorithm ad provides simple GAUSS ad MATLAB codes for illustratio. Real-world applicatios of the Fourier trasform pricig formula are discussed i part III Itroductio to complex umbers The discrete Fourier trasform is about evely spaced poits o a circle. From the mathematical poit of view, evely distributed poits o a circle are most easily described by complex umbers. This sectio

4 Itroductio to FFT i Fiace 3 2i 1i 2+i Figure 1. reviews the geometry of those umbers, which i tur determie the properties of Fourier trasform. Complex umbers are a coveiet way of capturig vectors i a two-dimesioal space. For example, Exhibit 1 depicts a vector 2+i; it is a poit i the plae if we move two uits o the real (horizotal) axis ad oe uit o the imagiary (vertical) axis. This termiology is somewhat ufortuate; the imagiary axis is o less real tha the real axis. It would be more appropriate to talk about horizotal ad vertical umbers. The rules for additio of complex umbers are the same as with vectors, for example = traslated ito complex otatio would read (2 + i) + (3 4i) = 5 3i. Likewise, multiplicatio by a scalar (a real umber) works like for vectors; = 1 3 traslates ito complex umbers as 3(2+i)=6 3i.

5 4 A. Čerý 1.2. Complex multiplicatio Complex umbers are very good at describig the movemet aroud a uit circle. As show i Exhibit 2a, uit circle itersects the real axis at poits 1,1, ad the imagiary axis at poits i ad i. a) i b) i A cos + i si i si cos 1 -i Figure 2. ApoitA o the uit circle is uiquely characterized by its argumet the agle betwee the real axis ad the lie OA. More specifically, Exhibit 2b shows that the poit A cabeexpressedascos +isi. O most computers the fuctios si ad cos are implemeted i such a way that the agle must be give i radias. Radias measure the distace travelled o the perimeter of the uit circle. The etire perimeter of the uit circle has legth 2 which correspods to 360. The agle correspodig to i is 90 or 2, the agle correspodig to 1 is 180 or ad so o, as show i Exhibit III. Table III. Coversio table betwee degrees ad radias. Agleidegrees Agleiradias

6 Itroductio to FFT i Fiace 5 Facts: Multiplyig complex umbers o a uit circle meas addig agles. The agle of i is 90, the agle of i i will be = 180 which correspods to 1, see Exhibit 4a. I complex umber otatio this gives the famous formula i i=i 2 = 1. (1) With (1) i had the geeral defiitio of complex multiplicatio follows aturally (a 1 +ib 1 ) (a 2 +ib 2 ) = a 1 a 2 +i(b 1 a 2 + a 1 b 2 )+b 1 b 2 i 2 = = a 1 a 2 b 1 b 2 +i(b 1 a 2 + a 1 b 2 ). (2) It also follows that the multiplicatio is addig agles rule works quite geerally o the uit circle (cos 1 +isi 1 ) (cos 2 +isi 2 )= =cos( )+isi( ). (3) Oe ca express poits o the uit circle more elegatly usig the Euler formula cos +isi =e i, (4) whereby (3) becomes e i 1 e i 2 =e i( ), (5) see Exhibit 4b Geometry of spoked wheels It is very easy to costruct a wheel with evely placed spokes usig complex umbers. Suppose we wat to place five evely spaced poits o the uit circle. Oe fifth of the full circle is characterized by the agle 2 5, hece the first spoke will be placed at ei 2 5. Let us deote this umber by z 5 (fifth root of uity) z 5 e i 2 5. Sice the multiplicatio by z 5 causes aticlockwise rotatio by oe fifth of full circle the secod spoke will be (z 5 ) 2 thethirdspokeat(z 5 ) 3 ad so o, see Exhibit 5a.

7 6 A. Čerý a) b) i i exp(i 1 ) /2 exp(i 2 ) 2 1 i*i = exp(i( )) Figure 4. a) b) i z (z 5 ) /5 1 = (z 5 ) 0 = (z 5 ) (z 5 ) (z 5 ) Figure 5. This provides a atural umberig of the spokes, accordig to how may elemetary rotatios are eeded to reach the particular spoke. Note that sice we are movig i a circle we will come back to the startig poit after five rotatios aticlockwise (z 5 ) 0 = (z 5 ) 5 =(z 5 ) 10 =(z 5 ) 15 =... (z 5 ) 1 = (z 5 ) 6 =(z 5 ) 11 =(z 5 ) 16 =...etc.,

8 ad also after five rotatios clockwise Itroductio to FFT i Fiace 7 (z 5 ) 0 = (z 5 ) 5 =(z 5 ) 10 =(z 5 ) 15 =... (z 5 ) 1 = (z 5 ) 4 =(z 5 ) 9 =(z 5 ) 14 =...etc. Thus the umberig of spokes is ambiguous; for example idices 0, 5, 5 refer to the same spoke, see Exhibit 5b. The followig box summarizes the most importat properties of evely spaced poits o the uit circle. These properties are essetial for the uderstadig of the discrete Fourier trasform. Let z be a rotatio by oe th of a full circle z e i 2. The (z ) 0 +(z ) (z ) 1 =0 (6) for ay. This is because the poits (z ) 0, (z ) 1,...,(z ) 1 are evely distributed o a uit circle ad thus the result of summatio must ot chage if we rotate the set of poits by oe th of a full circle. The oly vector that remais uchaged after such rotatio is zero vector. Oe ca geeralize this result further. Let k be a iteger betwee 1 ad 1. The ³ z k 0 ³ + z k 1 ³ z 1 k =0 (7) for ay. The reaso for this result is agai rotatioal symmetry of ³ poits z k 0 ³, z k 1 ³,..., z 1. k The dierece from (6) is that i the sequece (z ) 0, (z ) 1,...,(z ) 1 each spoke occurs exactly oce, ³ whereas i z k 0 ³, z k 1 ³,..., z 1 k the same spoke ca occur several times (try =4,k=2). Thecasewithk =0requires special attetio. Sice z 0 j =1for all j we have ³ z k 0 ³ + z k 1 ³ z 1 k =. To summarize, ³ z k 0 ³ + z k 1 ³ z 1 k = for k =0, ±, ±2,...(8) ³ z k 0 ³ + z k 1 ³ z 1 k = 0 for k 6= 0, ±, ±2,...(9)

9 8 A. Čerý 1.4. Reverse order o a circle Give a sequece of umbers a =[a 0,a 1,...,a 1 ] we ca say that rev(a) [a 0,a 1,...,a 1 ] is a i reverse order. Ifa is writte aroud a circle i aticlockwise directio the rev(a) is foud by readig from a 0 i clockwise directio, see Exhibit 6. Note that rev(a) is ot equal to [a 1,...,a 1,a 0 ]. a 2 a 1 a 0 a -1 a -2 a rev(a ) Figure 6. ³ For ay k the sequece ³ 0 ³ 1 ³,,..., z k rev z k µ ³ z k 0 ³, ³ This is because z k z k z k z k 1,..., ³ 0 ³, z k 1 ³,..., z 1 k isthesameasthesequece 1 take i the reverse order: z k 1 j = z k+kj 1.5. Discrete Fourier Trasform (DFT) = ³ z k 0 ³, z k 1 ³,..., z 1 k. (10) ³ = z kj = z j k for ay j. As i the previous sectio take z e i 2 (this umber is called the th root of uity ). Let a 0,a 1,...,a 1 be a sequece of (i geeral complex) umbers. The discrete Fourier trasform of a 0,a 1,...,a 1 is the sequece b 0,b 1,...,b 1 such that ³ b k = a 0 z k 0 ³ + a1 z k 1 ³ a1 z k 1 = (11) = 1 1 X a j z jk = 1 1 X a j e i 2 jk j=0 j=0

10 Itroductio to FFT i Fiace 9 We write F (a) =b. Equatio (11) represets the forward trasform. The iverse trasform is b0 ³z l 0 ³ + b1 z l 1 ³ b1 z l 1 ã l = = (12) ad we write Facts: = 1 1 X bk z kl = 1 1 X bk e i 2 kl, k=0 k=0 1 ã = F ³ b. The iverse discrete Fourier trasform of sequece b 0, b 1,..., b 1 is the same as the forward trasform of the same sequece i reversed order ³ 1 F ³ b = F rev ³ b, (13) ad vice versa ³ F 1 rev ³ b = F ³ b. (14) This is a direct cosequece of (10). F 1 is ideed a iverse trasformatio to F, thatis ³ F 1 (F (a)) = F F 1 (a) = a. (15) This result relies o (8) ad (9); for a proof see Appedix Biomial optio pricig Cosider a mothly distributio of FTSE 100 retur calibrated to reflect market volatility of 4.4% a moth ad expected rate of retur 0.9% a moth: pr u +(1 p)r d = pru 2 +(1 p)rd 2 = Choosig the objective probability to be p = 1 2 we solve for R u ad R d R u = with p u = 1 2 (16) R d = with p d = 1 2. (17)

11 10 A. Čerý Assumig that the iitial value of FTSE Idex is poits, the evolutio of the idex i the three moths ahead is give by the lattice i Exhibit VII. Table VII. Biomial stock price lattice. umber of low returs S(0) S(1) S(2) S(3) Suppose we wish to price a call optio struck at K =5355(5% out of the moey), maturig 3 moths from ow. The itrisic value of the optio at maturity is C(3) = []. (18) Asset pricig theory tells us that the o-arbitrage price of the pay-o Cu is give as the risk-eutral expectatio of the discouted pay-o C d o-arbitrage value(c) = q uc u + q d C d, (19) R f where the risk-eutral probabilities q u ad q d are chose such that the risk-eutrally expected retur of all basis assets is equal to the risk-free retur q u + q d = 1 q u R u + q d R d = R f. The values q u /R f ad q d /R f are kow as state prices. Assumig a risk-free rate equivalet to 4% per aum the mothly risk-free retur is R f =1.04 1/12 = This gives coditioal risk-eutral probabilities of q u = R f R d = = , (20) R u R d q d = R u R f R u R d = = , (21)

12 ad the valuatio formula: Itroductio to FFT i Fiace 11 o-arbitrage value(c) = C u C d. (22) Recursive applicatio of (22) with termial value (18) leads to optio prices i Exhibit VIII. Table VIII. Optio prices i a biomial lattice. umber of low returs C(0) C(1) C(2) C(3) Optio pricig o a circle For ay two -dimesioal vectors a =[a 0,a 1,...,a 1 ],b=[b 0,b 1,...,b 1 ] we defie circular (cyclic) covolutio of a ad b to be a ew vector c, such that c j = c = a ~ b, 1 X k=0 a jk b k. (23) Oe will immediately ote that the idex j k ca be egative. If this occurs,wewillsimplyadd to get the result betwee 0 ad 1; this practice is cosistet with the spoke umberig itroduced i Sectio 1.3, ad it merely reflects movemet i a circle. Graphically oe ca evaluate the circular covolutio as follows: 1. Set up two cocetric circles divided ito equal segmets. Write a aroud the ier circle clockwise ad b aroud the outer circle aticlockwise. Exhibit 9 shows this for =4. 2. Perform a scalar multiplicatio betwee the two circles. I Exhibit 9 this would give The result is c 0. a 0 b 0 + a 3 b 1 + a 2 b 2 + a 1 b 3.

13 12 A. Čerý b 1 a 3 b 2 a 2 a 0 b 0 a 1 b 3 Figure Tur the ier circle aticlockwise by 1 th of a full circle. Repeat the scalar multiplicatio betwee the circles. The result is c 1. I Exhibit 10 c 1 = a 1 b 0 + a 0 b 1 + a 3 b 2 + a 2 b 3. b 1 a 0 b 2 a 3 a 1 b 0 a 2 b 3 Figure Repeat this procedure to compute c 2,...,c 1, each time givig the ier circle 1 th tur aticlockwise. How ca oe use the circular covolutio for optio pricig? If we write both the optio pay-o ad the pricig kerel i the clockwise

14 Itroductio to FFT i Fiace 13 directio ad the rotate the optio pay-o i the aticlockwise directio, we will obtai optio prices i the atural order from highest to lowest. To be specific, let us go back to the biomial optio pricig model. At maturity the optio ca have four dieret values: C(3) = Let vector q cotai the coditioal oe-period risk-eutral probabilities q u = , q d = Sice there are just two states over oe period the remaiig etries will be padded by zeros: q = q u q d Fially, recall that the risk-free retur is R f = Thus to compute optio prices at time t =2we eed to evaluate c = C(3) ~ rev(q/r f ). This operatio is depicted graphically i Exhibit 11, where the optio pay-os C(3) are o the ier circle ad the state prices q/r f are o the outer circle, both writte i clockwise directio. Numerically we obtai C(3) ~ rev(q/r f )= (24) Note that we oly eed the first three prices i (24). The last etry is meaigless it correspods to the o-arbitrage price of the pay-o [ ]. Optio pricig o a circle. Cosider a biomial model where C(j) is the vector of optio prices at date j =0, 1,..., N.Deote by q the vector cotaiig the risk-eutral probabilities q u ad q d, padded by zeros to have the same dimesio as C(N). By backward substitutio, C(N 1) = C(N) ~ rev(q)/r f, C(N 2) = C(N) ~ rev(q) ~ rev(q)/rf 2, (Nj) times z } { C(j) = C(N) ~ rev(q) ~ rev(q) ~...~ rev(q) /R j f, (25) The vectors C(j) computed i this maer have more etries tha eeded, the useful j +1etries are at the top ed of each vector. Numerical results are reported i Exhibit XII, the relevat etries are highlighted ad should be compared with those i Exhibit VIII.

15 14 A. Čerý a) 0 b) c) 0 d) Figure 11. Table XII. Optio prices obtaied from circular pricig formula (25). The useful etries are i bold. umber of low returs C(0) C(1) C(2) C(3) Circular pricig via discrete Fourier trasform I this sectio we will reformulate the circular pricig formula (25) usig the discrete Fourier trasform. Although we derive the Fourier pricig formula mechaically, i part III we will spell out its more ituitive probabilistic itepretatio.

16 Itroductio to FFT i Fiace 15 The discrete Fourier trasform has oe very useful property it turs circular covolutios ito products: F (a ~ b) = F (a) F (b), (26) F 1 (a ~ b) = F 1 (a) F 1 (b), (27) = dimesio of a; (28) see Appedix for a proof. This ca be used to a great advatage i pricig. Recall from the precedig sectio that N times z } { C 0 = C N ~ rev(q) ~ rev(q) ~...~ rev(q) /Rf N, where N is the umber of time periods to maturity. Now apply the iverse trasform F 1 to both sides, usig property (27) o the right had side F 1 (C 0 )=F 1 (C N ) ³p dimesio of CN F 1 (rev(q)) /R f N. (29) I a biomial model the dimesio of C N is N +1. Furthermore, recall from (14) that F 1 (rev(q)) = F (q) ad substitute this ito (29) F 1 (C 0 )=F 1 (C N ) ³ N +1F (q) /Rf N. Fially, apply the forward trasform to both sides agai ad use (15) o the left had side: µ ³ C 0 = F F 1 (C N ) N +1F (q) /Rf N. Optio pricig via discrete Fourier trasform. Cosider a model with IID stock returs ad costat iterest rate, represeted by a recombiig biomial tree with N periods ad N +1 tradig dates. Let the (N +1)-dimesioal vector C N be the pay-o of the optio at expiry. Let q cotai the oe-step risk-eutral probabilities as the first two etries, with the remaiig N 1 etries beig zeros. The the first elemet of (N +1)-dimesioal vector C 0, µ ³ C 0 = F F 1 (C N ) N +1F (q) /Rf N, (30) is the o-arbitrage price of the optio at time 0. The role of the forward ad iverse trasforms is symmetrical, that is we also have ³ C 0 = F µf 1 (C N ) N +1F 1 (q) /R f N. (31)

17 16 A. Čerý 2. Fast Fourier Trasform (FFT) This sectio deals with the implemetatio of the pricig formula (30) o a computer usig fast DFT routies, kow as FFTs. It is highly ulikely that the reader will wat to write his or her ow DFT code, for this would be couterproductive give the wealth ad the level of specializatio of ready-made algorithms. The use of prepackaged algorithms saves time, but with little documetatio at had implemetig otherwise soud mathematical formula may ot prove straightforward. This sectio provides guidelies that esure a trouble-free trasitio betwee the theoretical pricig formula (30) ad a computer code usig a DFT routie of reader s choice, with specific examples give i GAUSS ad MATLAB. Two mai issues arise i the use of (fast) DFT routies: 1) fidig out the mathematical defiitio of a specific DFT routie,ad 2) choosig the right iput legth to make the computatio fast. We ow address these two issues i tur. 1. Every textbook, ad ideed every computer laguage, defies the forward ad iverse trasforms slightly dieretly. Thus the first task of ay user is to fid out how a give computer routie, call it dft, is related to the theoretical trasforms F ad F 1 defied i (11) ad (12). To do so, oe proceeds i two simple steps: a) I the first step oe determies the ormalizatio factor. Defie a =[1000]ad compute ã = dft (a). Ifã 0 =0.25 the either dft = F/ or dft = F 1 / ; else if ã 0 =0.5 the either dft = F or dft = F 1 ; ad if ã 0 =1the either dft = F or dft = F 1. b) To ascertai whether oe is dealig with a forward or a iverse trasform, oe defies b =[0100]ad evaluates b = dft (b). If the imagiary part of b 1 is positive the dft is proportioal to F, otherwise it is proportioal to F 1.Ithecaseofthe lattice pricig formulae (30) ad (31) oe will use two routies, say dft ad dfti, which are iverse to each other. I this istace it does ot really matter which of the two trasforms is forward ad which is iverse. But there are other applicatios (see Sectio 3), where it is absolutely crucial to kow whether a give routie is proportioal to F or F 1.

18 Itroductio to FFT i Fiace 17 EXAMPLE 1. I GAUSS the two DFT trasforms are called dfft ad dffti, respectively, ad they are related to F ad F 1 as follows: dfft(a) F 1 (a), dffti(a) F (a), where is the dimesio of vector a. Equatio (30) therefore becomes C 0 = dffti ³dfft (C N ) (dffti (b)) N. (32) Suppose the vectors C_ N ad b have already bee defied i GAUSS. To compute the optio price at t =0we would use the followig code: C_0 = dffti( dfft(c_n).*(dfft(b)^n) ); (33) prit o-arbitrage price at t=0 is C_0[1]; The. commad stads for elemet-by-elemet multiplicatio. The DFT algorithm is approximately three times faster tha the backward recursio i biomial model; the computatioal time for both algorithms grows quadratically with the umber of periods 1, see Exhibit XIII. Table XIII. Compariso of pricig speed i a biomial lattice betwee backward recursio ad discrete Fourier trasform formula (30). tradig iterval umber of executio time i secods i miutes periods DFT backward recursio Petium III 750MHz, 128Mb RAM, GAUSS 2. A aive implemetatio of DFT algorithm with -dimesioal iput requires 2 complex multiplicatios (see example above). A 1 GAUSS programes Biomial.gss ad DFT.gss available from my website.

19 18 A. Čerý eciet implemetatio of DFT, kow as the fast Fourier trasform (FFT), will oly require Kl operatios 2, but oe still has to choose carefully because the costat K ca be very large for some choices of. Some FFT implemetatios automatically restrict the trasform legth to the most suitable values of (typically =2 p or =2 p 3 q 5 r ), which is the case i GAUSS. Others, such as MATLAB, will compute FFT of ay legth; here it is particularly importat for the user to choose sesibly, otherwise the FFT algorithm may tur out to be very slow ideed. EXAMPLE 2. The forward ad iverse FFT i MATLAB are called fft ad ifft, respectively: fft(a) F 1 (a) (34) ifft(a) F (a), (35) where is the dimesio of vector a. The optio pricig equatio (30) therefore becomes C 0 = ifft ³fft (C N ) ((N +1) ifft (b)) N, which i terms of MATLAB code reads C_0 = ifft( fft(c_n).*(((n+1)*ifft(b)).^n) ); (36) spritf o-arbitrage price at t=0 is %0.2f C_0(1); The commads.* ad.^ stad for elemet-by-elemet multiplicatio ad expoetiatio, respectively. There are may istaces whe FFT of legth 1 is faster tha FFT of legth 2 eve though 1 > 2. This somewhat couterituitive pheomeo is illustrated i Exhibit XIV. To uderstad why some trasform legths are more suitable tha others we eed oe piece of termiology ad oe fact: i) FFT algorithm for legth =2 p is called radix-2 algorithm; ii) the higher 2 The fast Fourier trasform does ot appear i udergraduate textbooks o umerical mathematics ad the most useful refereces o the itroductory level are web based, see ad i particular the olie maual Hey [1999]. A eciet implemetatio of FFT for all trasform legths is suggested i Frigo ad Johso [1998]; it is used i Matlab. Eciet implemetatio of mixed 2, 3, 5-radix algorithm is due to Temperto [1992]; it is used i GAUSS. Duhamel ad Vetterli [1990] is a excellet survey of FFT algorithms.

20 Itroductio to FFT i Fiace 19 Table XIV. Executio time of FFT algorithm for dieret iput legths. factorizatio executio time i secods Petium III 750MHz, 128Mb RAM, MATLAB the b the slower the radix-b algorithm per output legth. There is oe otable exceptio: radix-4 is faster tha radix-2 by about 25%. I practice, oe uses trasforms of size =2 p 3 q 5 r. If the origial vector size is ot of this form, the a suciet umber of zeros is added. Ideally, q ad r should be small compared to p because of the fact ii) above. The advatage of usig mixed-radix algorithms is twofold: a) more trasform legths are available, which meas oe eed ot pad the iput with too may zeros; b) oe ca use the operatio-savig prime factor algorithm 3. To illustrate the item a), with vector size = 1025 the ext available size for radix-2 algorithm is = 2048 = 2 11 but with mixed 2,3,5-radix algorithm oe could use legth =1080= which is early twice as small ad cosequetly the Fourier trasform evaluatio is twice as fast compared to radix-2 algorithm. To illustrate property b), oe should otice that highly composite legths such as = evaluate faster tha simple powers of similar legth such as 2 20 = , see Exhibit XIV. Trasforms which are ot of the legth =2 p 3 q 5 r ca take very log to compute, especially if is a large prime, agai see Exhibit XIV. EXAMPLE 3. MATLAB will allow the user to perform FFT of ay legth; this is doe usig commads (34) ad (35). However, as we have oted above, it is emietly sesible to restrict trasform legths to =2 p 3 q 5 r with q ad r small relative to p to obtai the best performace. MATLAB provides fuctio extpow2 givig the ext bigger power of 2. I additio, MATLAB allows the user to 3 The prime factor algorithm (PFA) works faster because the factors 2, 3 ad 5 have o commo divisors, see Temperto [1992].

21 20 A. Čerý specify the trasform legth by icludig it as a secod optioal argumet of fft ad ifft. Hece a fast implemetatio of (36) i MATLAB would read: legth = 2^extpow2(N+1); C_0 = ifft( fft(c_n,legth).*((legth*ifft(b,legth)).^n) ); The paddig of the origial iput C_N by zeros to the dimesio legth is doe automatically. To fid the earest trasform legth of the form =2 p 3 q 5 r oe ca use the followig code: legth = N+1; while max(factor(legth)) > 5; legth = legth+1; ed; EXAMPLE 4. I GAUSS the fast Fourier forward ad iverse trasforms are performed by fuctios fft ad ffti. Thesefuc- tios use Temperto s [1992] mixed 2,3,5-radix algorithm, ad the paddig of iput vector by zeros to the earest available legth =2 p 3 q 5 r is doe automatically. If is the iput dimesio the output dimesio from fft ad ffti will be ext(). Iterms of GAUSS code oe writes similarly as i (33): C_0 = ffti( fft(c_n).*(ffti(b)^n) ); Oe ca icrease the speed further by choosig a composite legth =2 p 3 q 5 r where q ad r are o-zero but small relative to p. The optimal legth is give by GAUSS fuctio opt (N +1), ad the paddig by zeros to this dimesio must be performed by the user. The FFT implemetatio of biomial pricig algorithm 4 has a blisterig speed compared to the DFT, see Exhibit XV. Because it is so fast oe ca explore higher tradig frequecies ad see that the Black Scholes formula really does describe the limitig value, see Exhibit XVI. Note that the Black Scholes formula itself is still about times faster tha the FFT algorithm. 4 GAUSS code FFT.gss available from my website.

22 Itroductio to FFT i Fiace 21 Table XV. Speed of biomial pricig usig DFT ad FFT algorithms. tradig iterval umber of executio time i secods i miutes periods DFT FFT Petium III 750MHz, 128Mb RAM, GAUSS Table XVI. Optio price ad optio delta i cotiuous-time limit ad its biomial approximatio. Black Scholes 4t (secods) Optio price Optio delta Further applicatios of FFT i fiace Practical applicatios of DFT (FFT) i moder fiace go beyod the biomial model, but the essetial structure of the pricig formulae is that of equatio (30). To motivate the passage to cotiuous time, let us rewrite the DFT pricig equatio (30) to take explicit accout of the maturity date T ad the rebalacig frequecy 4t, with N 4t = T/4t tradig periods ad istataeous risk-free rate r: µ C 0 = F F 1 (C T,4t ) ³qN 4t +1F (q 4t )e r4t N 4t µ ³q = e rt F F 1 N4t (C T,4t ) N 4t +1F (q 4t ). (37) The quatity p N 4t +1F (q 4t ) N 4t is kow as the (risk-eutral) characteristic fuctio of log stock price, ad i practice oe is maily iterested i models where the cotiuous-time limit of (37) is available i closed form. This is the case i the class of expoetial Lévy models with ae stochastic volatility process, discussed i Carr ad Wu [2004]. This class cotais a large umber of popular models al-

23 22 A. Čerý lowig for excess kurtosis, stochastic volatility ad leverage eects. It icludes, amog others, the stochastic volatility models of Hesto [1993], Due et al. [2000] ad all expoetial Lévy models (see, for example, Mada ad Seeta [1990] ad Eberlei et al. [1998]). For a exhaustive characterizatio of ae processes see Due et al. [2003]. I the cotiuous-time limit the discrete Fourier trasform is replaced by the (cotiuous) Fourier trasform: that is we wish to fid coeciets (v) such that C T (l S T )= Z +i i (v)e iv l S T dv (38) for some real costat 5. The recipe for obtaiig the coeciets (v) is kow it is give by the iverse Fourier trasform 6 : (v) = 1 Z +i C T (l S T )e iv l S T dv. (39) 2 i For example, a simple calculatio i Carr ad Mada [1999] shows that coeciets of a call optio with strike price e k take the form (v) = e(v1)k for Re v>1. 2v(v 1) Substitutig for C T from (38) the risk-eutral pricig formula reads C 0 (l S 0 ) = e rt E Q [C T (l S T )] " Z # +i = e rt E Q (v)e iv l S T dv i i Z +i h i = e rt (v)e Q e iv l S T dv, (40) where E Q [e iv l S T ] is the risk-eutral characteristic fuctio of log stock price. It is ow clear that the cotiuous-time pricig formula (40) is a direct aalogy of its discrete-time couterpart (37), whereby istead of the discrete characteristic fuctio p N 4t +1F (q 4t ) N 4t we use h i the cotiuous characteristic fuctio E Q e iv l S T ; istead of discrete Fourier coeciets F 1 (C T,4t ) we use the cotiuous coeciets, ad istead of summatio we use itegratio. 5 For the Fourier trasform to work C T (l S T )S T must be itegrable as a fuctio of l S T. There are derivative securities, such as call ad put optios, where oe eedstotake 6= 0to isure itegrability ( > 1 for the call, > 0 for the put). 6 Some urestrictive techical coditios must hold to make sure that for give i (39) equatio (38) holds for all values of l S T, see Chadrasekhara [1989].

24 Itroductio to FFT i Fiace 23 There is, evertheless, oe major dierece betwee (37) ad (40): whereas the former speds sigificat amout of time computig the characteristic fuctio of log returs ad Fourier coeciets of the optio, the latter has both quatities available i closed form. This makes the cotiuous-time pricig formula (40) eve faster tha the accelerated biomial formula (30). EXAMPLE 5. I the celebrated Hesto [1993] model, we have d 2 t = (a b 2 t )dt + t db Q 1 Ã! dls t = r 2 t dt + t db Q 2 2, h i Q (iv) = E Q e v l(s T /S 0 ) =e (v)+(v)2 0, (v) = rtv + ã Ã 1 c2 (v)e Ãb c!! 1(v)T 2 v 2l, 1 c 2 (v) (v) = (b v + c 1(v)) ³1 e c 1(v)T 2 1 c 2 (v)e c 1(v)T, q c 1 (v) = (b v) 2 2 (v + v 2 ), c 2 (v) = b v + c 1(v) b v c 1 (v), where = Corr(dB Q 1, dbq 2 ). Optio pricig therefore boils dow to evaluatio of itegrals of the type e (v1)(l S 0k) Z +i C 0 (l S 0 ) = S 0 e rt i 2v(v 1) Q (iv)dv Z Ã! +i e = 2S 0 e rt (v1)(l S 0 k) Re 2v(v 1) Q (iv) dv, (41) +i0 where both (v) ad Q (v) are kow. To evaluate (41) oe trucates the itegral at a high value of Im v ad the uses a umerical quadrature to approximate it by a sum, see Lee [2004] for a detailed expositio. This yields a expressio of the type 1 C 0 (l S 0 ) 2ReS 0 e rt X e (v j1)(l S 0 k) w j 2v j (v j 1) Q (iv j ), (42) j=0

25 24 A. Čerý where the itegratio weights w j ad abscissas v j deped o the quadrature rule. It is particularly coveiet to use Newto-Cotes rules, which employ equidistatly spaced abscissas. For example, a trapezoidal rule yields v j = +ij4v, (43) Im v max = ( 1)4v, w 0 = w = 1 2 4v, w 1 = w 2 =... = w 1 = 4v. I coclusio, if the characteristic fuctio of log returs is kow, oe eeds to evaluate a sigle sum (42) to fid the optio price. Cosequetly, there is o eed tousefftifoewishestoevaluatethe optio price for oe fixed log strike k FFT optio pricig with multiple strikes The situatio is very dieret if we wat to evaluate the optio price (42) for may dieret strikes simultaeously. Let us cosider m = 121 values of moeyess l =ls 0 k l ragig from 30% to 30% with icremet 4 =0.5% l = max l4, (44) max = 0.30, l=0,...,m 1. (45) The idea of usig FFT i this cotext is due to Carr ad Mada [1999], ad it has recetly bee improved upo by usig so-called z-trasform, see Chourdakis [2004]: DEFINITION 6. The umber a 0 z 0 + a 1 z a 1 z (1) is called the z-trasform of sequece a. The discrete Fourier trasform of sequece a is obtaied as a special case of z-trasform with specific values of z: z l =e i 2 l, l =0, 1,..., 1. Carr ad Mada have oted that with equidistatly spaced abscissas (43) oe ca write the optio pricig equatio (42) for dieret strike values (44, 45) as a z-trasform with z l =e i4v4l : C 0l 1 = 2S 0 e (1)lrT X Re e i4v4kl a j, (46) k=0 e ij4v max Q (iv j ) a j = w j. 2v j (v j 1)

26 Itroductio to FFT i Fiace 25 Settig 4v4 = 2 (47) Carr ad Mada obtai a discrete Fourier trasform i (46). Chourdakis [2004] poits out that there is a fast algorithm for the z-trasform which works eve whe 4v4 6= 2 ad m 6= : Chirp-z trasform Chirp-z trasform is a eciet algorithm for evaluatig the z-trasform for m dieret poits z of the form z k = Aw k,k=0, 1,...,m 1, where A ad w are arbitrary complex umbers. The chirp-z trasform works by rephrasig the origial z-trasform as a circular covolutio ad the computig this covolutio by meas of three FFTs as show i Part I, Sectio Circular pricig via DFT. For more details see Bluestei [1968], Rabier et al. [1969], ad Bailey ad Swartztrauber [1991]. Compared to the stadard -log FFT the chirp-z algorithm is approximately 6(l m+1)/ l times slower, for m. The MATLAB commad for chirp-z trasform of -log iput sequece a reads czt(a, m, w, A). A GAUSS procedure czt.gss is available from my website. The decisio whether to use the simple summatio (42) m times, or whether to apply the chirp-z trasform (46) depeds o the desired umber of strikes m. The speed of the former relative to the latter is roughly m/6/(log 2 m +1)times higher. As a rough guide, for m 36 the simple summatio (42) is as fast as the chirp-z formula (46), for m =8it is three times faster, ad for m = 150 it is three times slower. Oe also has to decide whether to force the FFT spacig of strike values (47); this is doe by boostig while keepig 4v fixed. Suppose that v max is chose sucietly high to achieve desired accuracy for a 2 Im v max sigle strike. As a rule of thumb, if the iitial spacig is six times coarser that the desired spacig of log strikes 4 oe should use the chirp-z trasform, otherwise it will be faster to icrease to satisfy (47) ad use the short FFT algorithm described i Bailey ad Schwarztrauber [2004, pp ]. The value of Im v max teds to be higher for short maturities, ad for parametric distributios with heavy tails, such as variace gamma or geeralized hyperbolic. I such circumstaces FFT formula (46)-(47) is preferable. No-parametric empirical equity retur distributios have

27 26 A. Čerý characterisitic fuctios that decay faster, leadig to lower values of Im v max, leavig the chirp-z trasform as the best optio. 4. Coclusios The preset paper makes three cotributios. It explais the workig of the discrete Fourier trasform i a o-techical laguage i the familiar biomial optio pricig model. Secodly, it highlights the commo perils i the computer implemetatio of fast DFT algorithms. Thirdly, it explais how the biomial pricig formula relates to more complex cotiuous-time models which allow for excess kurtosis, stochastic volatility ad leverage eects ad which are used routiely i the fiace idustry. The preset paper does ot give a exhaustive accout of DFT i Fiace. Oe ca quite easily exted the Fourier pricig formula from biomial lattice of Part I to multiomial lattices, see Čerý [2004, Chapter 12]. Further applicatios of FFT appear i Albaese et al [2004], Adreas et al. [2002], Behamou [2002], Chiarella ad El-Hassa [1997], Dempster ad Hog [2002], ad Reboato ad Cooper [1998]. For the most up-to-date developmets i optio pricig usig (cotiuous) Fourier trasform see Carr ad Wu [2004], ad for evalutio of hedgig errors refer to Čerý [2003] ad Hubalek et al [2004]. 5. Appedix 5.1. IverseDiscreteFourierTrasform To show F 1 (F (a)) = a we eed to prove that for b = F (a) defied i (11) we have F 1 (b) =a. Deote ã = F 1 (b) ad express ã from defiitio (12) ã l = 1 1 X k=0 Now substitute for b k from (11) ã l = 1 1 X 1 X k=0 j=0 b k z kl. a j z jk z kl, move z kl iside the ier summatio ã l = 1 1 X 1 X a j z k(jl), k=0 j=0

28 chage the order of summatio Itroductio to FFT i Fiace 27 ã l = 1 1 X j=0 Ã 1 X k=0 a j z k(jl) ad take a j i frot of the ier sum (it does ot deped o k) ã l = 1 1 X j=0 Ã 1 X a j k=0 ³ z jl!,! k. By virtue of (8)-(9) the ier sum P ³ 1 k=0 z jl k equals 0 for j 6= l ad for j = l it equals. Cosequetly ã l = 1 1 X j=0 Ã 1 X a j k=0 ³ z jl for all l which proves that F 1 (F (a)) = a.! k = a l 5.2. Discrete Fourier Trasform of Covolutios We wish to show F(a ~ b) = F(a)F(b). Let us begi by computig c = a ~ b. From the defiitio (23) c j = 1 X k=0 a jk b k. (48) By d deote the Fourier trasform of c, d = F(a ~ b) ad use the defiitio (11) to evaluate d l Now substitute for c j from (48), d l = 1 1 X c j z jl. j=0 d l = 1 Ã 1 X 1 X j=0 k=0 a jk b k! z jl, move z jl iside the ier bracket, writig it as a product z jl = z (jk)l z kl, d l = 1 1 X 1 X j=0 k=0 a jk z (jk)l b k z kl,

29 28 A. Čerý chage the order of summatio, d l = 1 1 X 1 X k=0 j=0 a jk z (jk)l b k z kl, ad take b k z kl i frot of the ier summatio (it does ot deped o j), d l = 1 1 X 1 b k z kl X a jk z (jk)l. (49) k=0 It is easy to realize that the ier sum does ot deped o k, becauseit always adds the same elemets; oly the order i which these elemets are added depeds o k (we are completig oe full tur aroud the circle, startig at kth spoke). Hece we have: 1 X j=0 a jk z (jk)l = j=0 1 X j=0 a j z jl for all k, ad substitutig this ito (49) we fially obtai d l = Ã! 1 1 X b k z kl 1 1 X a j z jl. k=0 j=0 {z } {z } bl ã l From the defiitio of the forward trasform (11) ã = F(a) ad b = F(b), which completes the proof. Refereces Albaese, C., K. Jackso, ad P. Wiberg (2004). A ew Fourier trasform algorithm for value at risk. Quatitative Fiace 4, Adreas, A., B. Egelma, P. Schweder, ad U. Wystup (2002). Fast Fourier method for the valuatio of optios o several correlated currecies. I J. Hakala ad U. Wystup (Eds.), Foreig Exchage Risk. Risk Publicatios. Bailey, D. H. ad P. N. Swartztrauber (1991). The fractioal Fourier trasform ad applicatios. SIAM Review 33 (3), Behamou, E. (2002). Fast Fourier trasform for discrete Asia optios. Joural of Computatioal Fiace 6 (1).

30 Itroductio to FFT i Fiace 29 Bluestei, L. I. (1968). A liear filterig approach to the computatio of the discrete Fourier trasform. IEEE Northeast Electroics Research ad Egieerig Meetig 10, Carr, P. ad D. B. Mada (1999). Optio valuatio usig the fast Fourier trasform. Joural of Computatioal Fiace 2, Carr, P. ad L. Wu (2004). Time-chaged Lévy processes ad optio pricig. Joural of Fiacial Ecoomics 71 (1), Čerý, A. (2003). The risk of optimal, cotiuously rebalaced hedgig strategies ad its eciet evaluatio via Fourier trasform. Techical report, The Busiess School, Imperial College Lodo. Čerý, A. (2004). Mathematical Techiques i Fiace: Tools for Icomplete Markets. Priceto Uiversity Press. Chadrasekhara, K. (1989). Classical Fourier Trasforms. Spriger. Chiarella, C. ad N. El-Hassa (1997). Evaluatio of derivative security prices i the heath-jarrow-morto framework as path itegrals usig fast Fourier trasform techiques. Joural of Fiacial Egieerig 6 (2), Chourdakis, K. (2004). Optio pricig usig the fractioal FFT. Workig paper available from Dempster, M. A. H. ad S. S. G. Hog (2002). Spread optio valuatioadthefastfouriertrasform.ih.gema,d.mada, S. R. Pliska, ad T. Vorst (Eds.), Mathematical Fiace Bachelier Cogress 2000, pp Spriger. Due, D., D. Filipović, ad W. Schachermayer (2003). Ae processes ad applicatios i fiace. The Aals of Applied Probability 13 (3), Due, D., J. Pa, ad K. Sigleto (2000). Trasform aalysis ad asset pricig for ae jump diusios. Ecoometrica 68, Duhamel, P. ad M. Vetterli (1990). Fast Fourier trasforms: A tutorial review ad a state of the art. Sigal Processig 19, Eberlei, E., U. Keller, ad K. Prause (1998). New isights ito smile, mispricig ad value at risk: The hyperbolic model. Joural of Busiess 71 (3), Frigo, M. ad S. G. Johso (1998). FFTW: A adaptive software architecture for the FFT. I Proc. IEEE Itl. Cof. O Acoustics, Speech, ad Sigal Processig, Volume 3, Seattle, WA, pp

31 30 A. Čerý Hesto, S. (1993). A closed-form solutio for optios with stochastic volatility with applicatios to bod ad currecy optios. Review of Fiacial Studies 6, Hey, A. (1999). FFT Demystified. Hubalek, F., J. Kallse, ad L. Krawczyk (2004). Variace-optimal hedgig ad Markowitz-eciet portfolios for processes with statioary idepedet icremets. Workig paper. Lee, R. W. (2004). Optio pricig by trasform methods: Extesios, uificatio ad error cotrol. Joural of Computatioal Fiace 7 (3). Mada, D. ad E. Seeta (1990). The variace gamma model for stock market returs. Joural of Busiess 63 (4), Rabier, L. R., R. W. Schafer, ad C. M. Rader (1969). The chirp z-trasform algorithm ad its applicatio. Bell Systems Techical Joural 48 (5), Reboato, R. ad I. Cooper (1998). Couplig backward iductio with mote carlo simulatios: A fast Fourier trasform (FFT) approach. Applied Mathematical Fiace 5 (2), Temperto, C. (1992). A geeralized prime factor FFT algorithm for ay =2 p 3 q 5 s. SIAM Joural o Scietific adstatistical Computig 13,

Cooley-Tukey. Tukey FFT Algorithms. FFT Algorithms. Cooley

Cooley-Tukey. Tukey FFT Algorithms. FFT Algorithms. Cooley Cooley Cooley-Tuey Tuey FFT Algorithms FFT Algorithms Cosider a legth- sequece x[ with a -poit DFT X[ where Represet the idices ad as +, +, Cooley Cooley-Tuey Tuey FFT Algorithms FFT Algorithms Usig these

More information

Trigonometric Form of a Complex Number. The Complex Plane. axis. ( 2, 1) or 2 i FIGURE 6.44. The absolute value of the complex number z a bi is

Trigonometric Form of a Complex Number. The Complex Plane. axis. ( 2, 1) or 2 i FIGURE 6.44. The absolute value of the complex number z a bi is 0_0605.qxd /5/05 0:45 AM Page 470 470 Chapter 6 Additioal Topics i Trigoometry 6.5 Trigoometric Form of a Complex Number What you should lear Plot complex umbers i the complex plae ad fid absolute values

More information

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008 I ite Sequeces Dr. Philippe B. Laval Keesaw State Uiversity October 9, 2008 Abstract This had out is a itroductio to i ite sequeces. mai de itios ad presets some elemetary results. It gives the I ite Sequeces

More information

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth Questio 1: What is a ordiary auity? Let s look at a ordiary auity that is certai ad simple. By this, we mea a auity over a fixed term whose paymet period matches the iterest coversio period. Additioally,

More information

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method Chapter 6: Variace, the law of large umbers ad the Mote-Carlo method Expected value, variace, ad Chebyshev iequality. If X is a radom variable recall that the expected value of X, E[X] is the average value

More information

Soving Recurrence Relations

Soving Recurrence Relations Sovig Recurrece Relatios Part 1. Homogeeous liear 2d degree relatios with costat coefficiets. Cosider the recurrece relatio ( ) T () + at ( 1) + bt ( 2) = 0 This is called a homogeeous liear 2d degree

More information

Incremental calculation of weighted mean and variance

Incremental calculation of weighted mean and variance Icremetal calculatio of weighted mea ad variace Toy Fich faf@cam.ac.uk dot@dotat.at Uiversity of Cambridge Computig Service February 009 Abstract I these otes I eplai how to derive formulae for umerically

More information

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES Read Sectio 1.5 (pages 5 9) Overview I Sectio 1.5 we lear to work with summatio otatio ad formulas. We will also itroduce a brief overview of sequeces,

More information

Department of Computer Science, University of Otago

Department of Computer Science, University of Otago Departmet of Computer Sciece, Uiversity of Otago Techical Report OUCS-2006-09 Permutatios Cotaiig May Patters Authors: M.H. Albert Departmet of Computer Sciece, Uiversity of Otago Micah Colema, Rya Fly

More information

Sequences and Series

Sequences and Series CHAPTER 9 Sequeces ad Series 9.. Covergece: Defiitio ad Examples Sequeces The purpose of this chapter is to itroduce a particular way of geeratig algorithms for fidig the values of fuctios defied by their

More information

I. Chi-squared Distributions

I. Chi-squared Distributions 1 M 358K Supplemet to Chapter 23: CHI-SQUARED DISTRIBUTIONS, T-DISTRIBUTIONS, AND DEGREES OF FREEDOM To uderstad t-distributios, we first eed to look at aother family of distributios, the chi-squared distributios.

More information

A probabilistic proof of a binomial identity

A probabilistic proof of a binomial identity A probabilistic proof of a biomial idetity Joatho Peterso Abstract We give a elemetary probabilistic proof of a biomial idetity. The proof is obtaied by computig the probability of a certai evet i two

More information

Modified Line Search Method for Global Optimization

Modified Line Search Method for Global Optimization Modified Lie Search Method for Global Optimizatio Cria Grosa ad Ajith Abraham Ceter of Excellece for Quatifiable Quality of Service Norwegia Uiversity of Sciece ad Techology Trodheim, Norway {cria, ajith}@q2s.tu.o

More information

Chapter 5 Unit 1. IET 350 Engineering Economics. Learning Objectives Chapter 5. Learning Objectives Unit 1. Annual Amount and Gradient Functions

Chapter 5 Unit 1. IET 350 Engineering Economics. Learning Objectives Chapter 5. Learning Objectives Unit 1. Annual Amount and Gradient Functions Chapter 5 Uit Aual Amout ad Gradiet Fuctios IET 350 Egieerig Ecoomics Learig Objectives Chapter 5 Upo completio of this chapter you should uderstad: Calculatig future values from aual amouts. Calculatig

More information

Chapter 5: Inner Product Spaces

Chapter 5: Inner Product Spaces Chapter 5: Ier Product Spaces Chapter 5: Ier Product Spaces SECION A Itroductio to Ier Product Spaces By the ed of this sectio you will be able to uderstad what is meat by a ier product space give examples

More information

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here).

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here). BEGINNING ALGEBRA Roots ad Radicals (revised summer, 00 Olso) Packet to Supplemet the Curret Textbook - Part Review of Square Roots & Irratioals (This portio ca be ay time before Part ad should mostly

More information

CHAPTER 3 THE TIME VALUE OF MONEY

CHAPTER 3 THE TIME VALUE OF MONEY CHAPTER 3 THE TIME VALUE OF MONEY OVERVIEW A dollar i the had today is worth more tha a dollar to be received i the future because, if you had it ow, you could ivest that dollar ad ear iterest. Of all

More information

Swaps: Constant maturity swaps (CMS) and constant maturity. Treasury (CMT) swaps

Swaps: Constant maturity swaps (CMS) and constant maturity. Treasury (CMT) swaps Swaps: Costat maturity swaps (CMS) ad costat maturity reasury (CM) swaps A Costat Maturity Swap (CMS) swap is a swap where oe of the legs pays (respectively receives) a swap rate of a fixed maturity, while

More information

Asymptotic Growth of Functions

Asymptotic Growth of Functions CMPS Itroductio to Aalysis of Algorithms Fall 3 Asymptotic Growth of Fuctios We itroduce several types of asymptotic otatio which are used to compare the performace ad efficiecy of algorithms As we ll

More information

Institute of Actuaries of India Subject CT1 Financial Mathematics

Institute of Actuaries of India Subject CT1 Financial Mathematics Istitute of Actuaries of Idia Subject CT1 Fiacial Mathematics For 2014 Examiatios Subject CT1 Fiacial Mathematics Core Techical Aim The aim of the Fiacial Mathematics subject is to provide a groudig i

More information

2-3 The Remainder and Factor Theorems

2-3 The Remainder and Factor Theorems - The Remaider ad Factor Theorems Factor each polyomial completely usig the give factor ad log divisio 1 x + x x 60; x + So, x + x x 60 = (x + )(x x 15) Factorig the quadratic expressio yields x + x x

More information

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed. This documet was writte ad copyrighted by Paul Dawkis. Use of this documet ad its olie versio is govered by the Terms ad Coditios of Use located at http://tutorial.math.lamar.edu/terms.asp. The olie versio

More information

PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM

PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical ad Mathematical Scieces 2015, 1, p. 15 19 M a t h e m a t i c s AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM A. G. GULYAN Chair of Actuarial Mathematics

More information

Escola Federal de Engenharia de Itajubá

Escola Federal de Engenharia de Itajubá Escola Federal de Egeharia de Itajubá Departameto de Egeharia Mecâica Pós-Graduação em Egeharia Mecâica MPF04 ANÁLISE DE SINAIS E AQUISÇÃO DE DADOS SINAIS E SISTEMAS Trabalho 02 (MATLAB) Prof. Dr. José

More information

A Guide to the Pricing Conventions of SFE Interest Rate Products

A Guide to the Pricing Conventions of SFE Interest Rate Products A Guide to the Pricig Covetios of SFE Iterest Rate Products SFE 30 Day Iterbak Cash Rate Futures Physical 90 Day Bak Bills SFE 90 Day Bak Bill Futures SFE 90 Day Bak Bill Futures Tick Value Calculatios

More information

CHAPTER 3 DIGITAL CODING OF SIGNALS

CHAPTER 3 DIGITAL CODING OF SIGNALS CHAPTER 3 DIGITAL CODING OF SIGNALS Computers are ofte used to automate the recordig of measuremets. The trasducers ad sigal coditioig circuits produce a voltage sigal that is proportioal to a quatity

More information

Rainbow options. A rainbow is an option on a basket that pays in its most common form, a nonequally

Rainbow options. A rainbow is an option on a basket that pays in its most common form, a nonequally Raibow optios INRODUCION A raibow is a optio o a basket that pays i its most commo form, a oequally weighted average of the assets of the basket accordig to their performace. he umber of assets is called

More information

Convexity, Inequalities, and Norms

Convexity, Inequalities, and Norms Covexity, Iequalities, ad Norms Covex Fuctios You are probably familiar with the otio of cocavity of fuctios. Give a twicedifferetiable fuctio ϕ: R R, We say that ϕ is covex (or cocave up) if ϕ (x) 0 for

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE MATHEMATICS P EXEMPLAR 04 MARKS: 50 TIME: 3 hours This questio paper cosists of 8 pages ad iformatio sheet. Please tur over Mathematics/P DBE/04 NSC Grade Eemplar INSTRUCTIONS

More information

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations CS3A Hadout 3 Witer 00 February, 00 Solvig Recurrece Relatios Itroductio A wide variety of recurrece problems occur i models. Some of these recurrece relatios ca be solved usig iteratio or some other ad

More information

Theorems About Power Series

Theorems About Power Series Physics 6A Witer 20 Theorems About Power Series Cosider a power series, f(x) = a x, () where the a are real coefficiets ad x is a real variable. There exists a real o-egative umber R, called the radius

More information

INVESTMENT PERFORMANCE COUNCIL (IPC)

INVESTMENT PERFORMANCE COUNCIL (IPC) INVESTMENT PEFOMANCE COUNCIL (IPC) INVITATION TO COMMENT: Global Ivestmet Performace Stadards (GIPS ) Guidace Statemet o Calculatio Methodology The Associatio for Ivestmet Maagemet ad esearch (AIM) seeks

More information

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies ( 3.1.1) Limitations of Experiments. Pseudocode ( 3.1.2) Theoretical Analysis

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies ( 3.1.1) Limitations of Experiments. Pseudocode ( 3.1.2) Theoretical Analysis Ruig Time ( 3.) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13 EECS 70 Discrete Mathematics ad Probability Theory Sprig 2014 Aat Sahai Note 13 Itroductio At this poit, we have see eough examples that it is worth just takig stock of our model of probability ad may

More information

5.4 Amortization. Question 1: How do you find the present value of an annuity? Question 2: How is a loan amortized?

5.4 Amortization. Question 1: How do you find the present value of an annuity? Question 2: How is a loan amortized? 5.4 Amortizatio Questio 1: How do you fid the preset value of a auity? Questio 2: How is a loa amortized? Questio 3: How do you make a amortizatio table? Oe of the most commo fiacial istrumets a perso

More information

Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find

Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find 1.8 Approximatig Area uder a curve with rectagles 1.6 To fid the area uder a curve we approximate the area usig rectagles ad the use limits to fid 1.4 the area. Example 1 Suppose we wat to estimate 1.

More information

Subject CT5 Contingencies Core Technical Syllabus

Subject CT5 Contingencies Core Technical Syllabus Subject CT5 Cotigecies Core Techical Syllabus for the 2015 exams 1 Jue 2014 Aim The aim of the Cotigecies subject is to provide a groudig i the mathematical techiques which ca be used to model ad value

More information

Simple Annuities Present Value.

Simple Annuities Present Value. Simple Auities Preset Value. OBJECTIVES (i) To uderstad the uderlyig priciple of a preset value auity. (ii) To use a CASIO CFX-9850GB PLUS to efficietly compute values associated with preset value auities.

More information

Time Value of Money. First some technical stuff. HP10B II users

Time Value of Money. First some technical stuff. HP10B II users Time Value of Moey Basis for the course Power of compoud iterest $3,600 each year ito a 401(k) pla yields $2,390,000 i 40 years First some techical stuff You will use your fiacial calculator i every sigle

More information

where: T = number of years of cash flow in investment's life n = the year in which the cash flow X n i = IRR = the internal rate of return

where: T = number of years of cash flow in investment's life n = the year in which the cash flow X n i = IRR = the internal rate of return EVALUATING ALTERNATIVE CAPITAL INVESTMENT PROGRAMS By Ke D. Duft, Extesio Ecoomist I the March 98 issue of this publicatio we reviewed the procedure by which a capital ivestmet project was assessed. The

More information

Irreducible polynomials with consecutive zero coefficients

Irreducible polynomials with consecutive zero coefficients Irreducible polyomials with cosecutive zero coefficiets Theodoulos Garefalakis Departmet of Mathematics, Uiversity of Crete, 71409 Heraklio, Greece Abstract Let q be a prime power. We cosider the problem

More information

Tradigms of Astundithi and Toyota

Tradigms of Astundithi and Toyota Tradig the radomess - Desigig a optimal tradig strategy uder a drifted radom walk price model Yuao Wu Math 20 Project Paper Professor Zachary Hamaker Abstract: I this paper the author iteds to explore

More information

Properties of MLE: consistency, asymptotic normality. Fisher information.

Properties of MLE: consistency, asymptotic normality. Fisher information. Lecture 3 Properties of MLE: cosistecy, asymptotic ormality. Fisher iformatio. I this sectio we will try to uderstad why MLEs are good. Let us recall two facts from probability that we be used ofte throughout

More information

INFINITE SERIES KEITH CONRAD

INFINITE SERIES KEITH CONRAD INFINITE SERIES KEITH CONRAD. Itroductio The two basic cocepts of calculus, differetiatio ad itegratio, are defied i terms of limits (Newto quotiets ad Riema sums). I additio to these is a third fudametal

More information

Class Meeting # 16: The Fourier Transform on R n

Class Meeting # 16: The Fourier Transform on R n MATH 18.152 COUSE NOTES - CLASS MEETING # 16 18.152 Itroductio to PDEs, Fall 2011 Professor: Jared Speck Class Meetig # 16: The Fourier Trasform o 1. Itroductio to the Fourier Trasform Earlier i the course,

More information

Basic Elements of Arithmetic Sequences and Series

Basic Elements of Arithmetic Sequences and Series MA40S PRE-CALCULUS UNIT G GEOMETRIC SEQUENCES CLASS NOTES (COMPLETED NO NEED TO COPY NOTES FROM OVERHEAD) Basic Elemets of Arithmetic Sequeces ad Series Objective: To establish basic elemets of arithmetic

More information

Non-life insurance mathematics. Nils F. Haavardsson, University of Oslo and DNB Skadeforsikring

Non-life insurance mathematics. Nils F. Haavardsson, University of Oslo and DNB Skadeforsikring No-life isurace mathematics Nils F. Haavardsso, Uiversity of Oslo ad DNB Skadeforsikrig Mai issues so far Why does isurace work? How is risk premium defied ad why is it importat? How ca claim frequecy

More information

MARTINGALES AND A BASIC APPLICATION

MARTINGALES AND A BASIC APPLICATION MARTINGALES AND A BASIC APPLICATION TURNER SMITH Abstract. This paper will develop the measure-theoretic approach to probability i order to preset the defiitio of martigales. From there we will apply this

More information

THE ARITHMETIC OF INTEGERS. - multiplication, exponentiation, division, addition, and subtraction

THE ARITHMETIC OF INTEGERS. - multiplication, exponentiation, division, addition, and subtraction THE ARITHMETIC OF INTEGERS - multiplicatio, expoetiatio, divisio, additio, ad subtractio What to do ad what ot to do. THE INTEGERS Recall that a iteger is oe of the whole umbers, which may be either positive,

More information

Lecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009)

Lecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009) 18.409 A Algorithmist s Toolkit October 27, 2009 Lecture 13 Lecturer: Joatha Keler Scribe: Joatha Pies (2009) 1 Outlie Last time, we proved the Bru-Mikowski iequality for boxes. Today we ll go over the

More information

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER?

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER? WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER? JÖRG JAHNEL 1. My Motivatio Some Sort of a Itroductio Last term I tought Topological Groups at the Göttige Georg August Uiversity. This

More information

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling Taig DCOP to the Real World: Efficiet Complete Solutios for Distributed Multi-Evet Schedulig Rajiv T. Maheswara, Milid Tambe, Emma Bowrig, Joatha P. Pearce, ad Pradeep araatham Uiversity of Souther Califoria

More information

Entropy of bi-capacities

Entropy of bi-capacities Etropy of bi-capacities Iva Kojadiovic LINA CNRS FRE 2729 Site école polytechique de l uiv. de Nates Rue Christia Pauc 44306 Nates, Frace iva.kojadiovic@uiv-ates.fr Jea-Luc Marichal Applied Mathematics

More information

Vladimir N. Burkov, Dmitri A. Novikov MODELS AND METHODS OF MULTIPROJECTS MANAGEMENT

Vladimir N. Burkov, Dmitri A. Novikov MODELS AND METHODS OF MULTIPROJECTS MANAGEMENT Keywords: project maagemet, resource allocatio, etwork plaig Vladimir N Burkov, Dmitri A Novikov MODELS AND METHODS OF MULTIPROJECTS MANAGEMENT The paper deals with the problems of resource allocatio betwee

More information

Case Study. Normal and t Distributions. Density Plot. Normal Distributions

Case Study. Normal and t Distributions. Density Plot. Normal Distributions Case Study Normal ad t Distributios Bret Halo ad Bret Larget Departmet of Statistics Uiversity of Wiscosi Madiso October 11 13, 2011 Case Study Body temperature varies withi idividuals over time (it ca

More information

1. MATHEMATICAL INDUCTION

1. MATHEMATICAL INDUCTION 1. MATHEMATICAL INDUCTION EXAMPLE 1: Prove that for ay iteger 1. Proof: 1 + 2 + 3 +... + ( + 1 2 (1.1 STEP 1: For 1 (1.1 is true, sice 1 1(1 + 1. 2 STEP 2: Suppose (1.1 is true for some k 1, that is 1

More information

INVESTMENT PERFORMANCE COUNCIL (IPC) Guidance Statement on Calculation Methodology

INVESTMENT PERFORMANCE COUNCIL (IPC) Guidance Statement on Calculation Methodology Adoptio Date: 4 March 2004 Effective Date: 1 Jue 2004 Retroactive Applicatio: No Public Commet Period: Aug Nov 2002 INVESTMENT PERFORMANCE COUNCIL (IPC) Preface Guidace Statemet o Calculatio Methodology

More information

0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5

0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5 Sectio 13 Kolmogorov-Smirov test. Suppose that we have a i.i.d. sample X 1,..., X with some ukow distributio P ad we would like to test the hypothesis that P is equal to a particular distributio P 0, i.e.

More information

3. Greatest Common Divisor - Least Common Multiple

3. Greatest Common Divisor - Least Common Multiple 3 Greatest Commo Divisor - Least Commo Multiple Defiitio 31: The greatest commo divisor of two atural umbers a ad b is the largest atural umber c which divides both a ad b We deote the greatest commo gcd

More information

Annuities Under Random Rates of Interest II By Abraham Zaks. Technion I.I.T. Haifa ISRAEL and Haifa University Haifa ISRAEL.

Annuities Under Random Rates of Interest II By Abraham Zaks. Technion I.I.T. Haifa ISRAEL and Haifa University Haifa ISRAEL. Auities Uder Radom Rates of Iterest II By Abraham Zas Techio I.I.T. Haifa ISRAEL ad Haifa Uiversity Haifa ISRAEL Departmet of Mathematics, Techio - Israel Istitute of Techology, 3000, Haifa, Israel I memory

More information

Data Analysis and Statistical Behaviors of Stock Market Fluctuations

Data Analysis and Statistical Behaviors of Stock Market Fluctuations 44 JOURNAL OF COMPUTERS, VOL. 3, NO. 0, OCTOBER 2008 Data Aalysis ad Statistical Behaviors of Stock Market Fluctuatios Ju Wag Departmet of Mathematics, Beijig Jiaotog Uiversity, Beijig 00044, Chia Email:

More information

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets BENEIT-CST ANALYSIS iacial ad Ecoomic Appraisal usig Spreadsheets Ch. 2: Ivestmet Appraisal - Priciples Harry Campbell & Richard Brow School of Ecoomics The Uiversity of Queeslad Review of basic cocepts

More information

How To Solve The Homewor Problem Beautifully

How To Solve The Homewor Problem Beautifully Egieerig 33 eautiful Homewor et 3 of 7 Kuszmar roblem.5.5 large departmet store sells sport shirts i three sizes small, medium, ad large, three patters plaid, prit, ad stripe, ad two sleeve legths log

More information

5 Boolean Decision Trees (February 11)

5 Boolean Decision Trees (February 11) 5 Boolea Decisio Trees (February 11) 5.1 Graph Coectivity Suppose we are give a udirected graph G, represeted as a boolea adjacecy matrix = (a ij ), where a ij = 1 if ad oly if vertices i ad j are coected

More information

Chapter 7 Methods of Finding Estimators

Chapter 7 Methods of Finding Estimators Chapter 7 for BST 695: Special Topics i Statistical Theory. Kui Zhag, 011 Chapter 7 Methods of Fidig Estimators Sectio 7.1 Itroductio Defiitio 7.1.1 A poit estimator is ay fuctio W( X) W( X1, X,, X ) of

More information

NEW HIGH PERFORMANCE COMPUTATIONAL METHODS FOR MORTGAGES AND ANNUITIES. Yuri Shestopaloff,

NEW HIGH PERFORMANCE COMPUTATIONAL METHODS FOR MORTGAGES AND ANNUITIES. Yuri Shestopaloff, NEW HIGH PERFORMNCE COMPUTTIONL METHODS FOR MORTGGES ND NNUITIES Yuri Shestopaloff, Geerally, mortgage ad auity equatios do ot have aalytical solutios for ukow iterest rate, which has to be foud usig umerical

More information

Infinite Sequences and Series

Infinite Sequences and Series CHAPTER 4 Ifiite Sequeces ad Series 4.1. Sequeces A sequece is a ifiite ordered list of umbers, for example the sequece of odd positive itegers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29...

More information

Estimating Probability Distributions by Observing Betting Practices

Estimating Probability Distributions by Observing Betting Practices 5th Iteratioal Symposium o Imprecise Probability: Theories ad Applicatios, Prague, Czech Republic, 007 Estimatig Probability Distributios by Observig Bettig Practices Dr C Lych Natioal Uiversity of Irelad,

More information

Present Value Factor To bring one dollar in the future back to present, one uses the Present Value Factor (PVF): Concept 9: Present Value

Present Value Factor To bring one dollar in the future back to present, one uses the Present Value Factor (PVF): Concept 9: Present Value Cocept 9: Preset Value Is the value of a dollar received today the same as received a year from today? A dollar today is worth more tha a dollar tomorrow because of iflatio, opportuity cost, ad risk Brigig

More information

THE ABRACADABRA PROBLEM

THE ABRACADABRA PROBLEM THE ABRACADABRA PROBLEM FRANCESCO CARAVENNA Abstract. We preset a detailed solutio of Exercise E0.6 i [Wil9]: i a radom sequece of letters, draw idepedetly ad uiformly from the Eglish alphabet, the expected

More information

Nr. 2. Interpolation of Discount Factors. Heinz Cremers Willi Schwarz. Mai 1996

Nr. 2. Interpolation of Discount Factors. Heinz Cremers Willi Schwarz. Mai 1996 Nr 2 Iterpolatio of Discout Factors Heiz Cremers Willi Schwarz Mai 1996 Autore: Herausgeber: Prof Dr Heiz Cremers Quatitative Methode ud Spezielle Bakbetriebslehre Hochschule für Bakwirtschaft Dr Willi

More information

Normal Distribution.

Normal Distribution. Normal Distributio www.icrf.l Normal distributio I probability theory, the ormal or Gaussia distributio, is a cotiuous probability distributio that is ofte used as a first approimatio to describe realvalued

More information

LECTURE 13: Cross-validation

LECTURE 13: Cross-validation LECTURE 3: Cross-validatio Resampli methods Cross Validatio Bootstrap Bias ad variace estimatio with the Bootstrap Three-way data partitioi Itroductio to Patter Aalysis Ricardo Gutierrez-Osua Texas A&M

More information

Fast Fourier Transform

Fast Fourier Transform 18.310 lecture otes November 18, 2013 Fast Fourier Trasform Lecturer: Michel Goemas I these otes we defie the Discrete Fourier Trasform, ad give a method for computig it fast: the Fast Fourier Trasform.

More information

Research Article Sign Data Derivative Recovery

Research Article Sign Data Derivative Recovery Iteratioal Scholarly Research Network ISRN Applied Mathematics Volume 0, Article ID 63070, 7 pages doi:0.540/0/63070 Research Article Sig Data Derivative Recovery L. M. Housto, G. A. Glass, ad A. D. Dymikov

More information

Confidence Intervals for One Mean

Confidence Intervals for One Mean Chapter 420 Cofidece Itervals for Oe Mea Itroductio This routie calculates the sample size ecessary to achieve a specified distace from the mea to the cofidece limit(s) at a stated cofidece level for a

More information

A Recursive Formula for Moments of a Binomial Distribution

A Recursive Formula for Moments of a Binomial Distribution A Recursive Formula for Momets of a Biomial Distributio Árpád Béyi beyi@mathumassedu, Uiversity of Massachusetts, Amherst, MA 01003 ad Saverio M Maago smmaago@psavymil Naval Postgraduate School, Moterey,

More information

AP Calculus AB 2006 Scoring Guidelines Form B

AP Calculus AB 2006 Scoring Guidelines Form B AP Calculus AB 6 Scorig Guidelies Form B The College Board: Coectig Studets to College Success The College Board is a ot-for-profit membership associatio whose missio is to coect studets to college success

More information

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006 Exam format UC Bereley Departmet of Electrical Egieerig ad Computer Sciece EE 6: Probablity ad Radom Processes Solutios 9 Sprig 006 The secod midterm will be held o Wedesday May 7; CHECK the fial exam

More information

Solutions to Selected Problems In: Pattern Classification by Duda, Hart, Stork

Solutions to Selected Problems In: Pattern Classification by Duda, Hart, Stork Solutios to Selected Problems I: Patter Classificatio by Duda, Hart, Stork Joh L. Weatherwax February 4, 008 Problem Solutios Chapter Bayesia Decisio Theory Problem radomized rules Part a: Let Rx be the

More information

Measures of Spread and Boxplots Discrete Math, Section 9.4

Measures of Spread and Boxplots Discrete Math, Section 9.4 Measures of Spread ad Boxplots Discrete Math, Sectio 9.4 We start with a example: Example 1: Comparig Mea ad Media Compute the mea ad media of each data set: S 1 = {4, 6, 8, 10, 1, 14, 16} S = {4, 7, 9,

More information

5: Introduction to Estimation

5: Introduction to Estimation 5: Itroductio to Estimatio Cotets Acroyms ad symbols... 1 Statistical iferece... Estimatig µ with cofidece... 3 Samplig distributio of the mea... 3 Cofidece Iterval for μ whe σ is kow before had... 4 Sample

More information

Efficient tree methods for pricing digital barrier options

Efficient tree methods for pricing digital barrier options Efficiet tree methods for pricig digital barrier optios arxiv:1401.900v [q-fi.cp] 7 Ja 014 Elisa Appolloi Sapieza Uiversità di Roma MEMOTEF elisa.appolloi@uiroma1.it Abstract Adrea igori Uiversità di Roma

More information

7.1 Finding Rational Solutions of Polynomial Equations

7.1 Finding Rational Solutions of Polynomial Equations 4 Locker LESSON 7. Fidig Ratioal Solutios of Polyomial Equatios Name Class Date 7. Fidig Ratioal Solutios of Polyomial Equatios Essetial Questio: How do you fid the ratioal roots of a polyomial equatio?

More information

Chapter 7: Confidence Interval and Sample Size

Chapter 7: Confidence Interval and Sample Size Chapter 7: Cofidece Iterval ad Sample Size Learig Objectives Upo successful completio of Chapter 7, you will be able to: Fid the cofidece iterval for the mea, proportio, ad variace. Determie the miimum

More information

Output Analysis (2, Chapters 10 &11 Law)

Output Analysis (2, Chapters 10 &11 Law) B. Maddah ENMG 6 Simulatio 05/0/07 Output Aalysis (, Chapters 10 &11 Law) Comparig alterative system cofiguratio Sice the output of a simulatio is radom, the comparig differet systems via simulatio should

More information

*The most important feature of MRP as compared with ordinary inventory control analysis is its time phasing feature.

*The most important feature of MRP as compared with ordinary inventory control analysis is its time phasing feature. Itegrated Productio ad Ivetory Cotrol System MRP ad MRP II Framework of Maufacturig System Ivetory cotrol, productio schedulig, capacity plaig ad fiacial ad busiess decisios i a productio system are iterrelated.

More information

THE REGRESSION MODEL IN MATRIX FORM. For simple linear regression, meaning one predictor, the model is. for i = 1, 2, 3,, n

THE REGRESSION MODEL IN MATRIX FORM. For simple linear regression, meaning one predictor, the model is. for i = 1, 2, 3,, n We will cosider the liear regressio model i matrix form. For simple liear regressio, meaig oe predictor, the model is i = + x i + ε i for i =,,,, This model icludes the assumptio that the ε i s are a sample

More information

Automatic Tuning for FOREX Trading System Using Fuzzy Time Series

Automatic Tuning for FOREX Trading System Using Fuzzy Time Series utomatic Tuig for FOREX Tradig System Usig Fuzzy Time Series Kraimo Maeesilp ad Pitihate Soorasa bstract Efficiecy of the automatic currecy tradig system is time depedet due to usig fixed parameters which

More information

The analysis of the Cournot oligopoly model considering the subjective motive in the strategy selection

The analysis of the Cournot oligopoly model considering the subjective motive in the strategy selection The aalysis of the Courot oligopoly model cosiderig the subjective motive i the strategy selectio Shigehito Furuyama Teruhisa Nakai Departmet of Systems Maagemet Egieerig Faculty of Egieerig Kasai Uiversity

More information

Project Deliverables. CS 361, Lecture 28. Outline. Project Deliverables. Administrative. Project Comments

Project Deliverables. CS 361, Lecture 28. Outline. Project Deliverables. Administrative. Project Comments Project Deliverables CS 361, Lecture 28 Jared Saia Uiversity of New Mexico Each Group should tur i oe group project cosistig of: About 6-12 pages of text (ca be loger with appedix) 6-12 figures (please

More information

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable Week 3 Coditioal probabilities, Bayes formula, WEEK 3 page 1 Expected value of a radom variable We recall our discussio of 5 card poker hads. Example 13 : a) What is the probability of evet A that a 5

More information

1 Computing the Standard Deviation of Sample Means

1 Computing the Standard Deviation of Sample Means Computig the Stadard Deviatio of Sample Meas Quality cotrol charts are based o sample meas ot o idividual values withi a sample. A sample is a group of items, which are cosidered all together for our aalysis.

More information

CS103X: Discrete Structures Homework 4 Solutions

CS103X: Discrete Structures Homework 4 Solutions CS103X: Discrete Structures Homewor 4 Solutios Due February 22, 2008 Exercise 1 10 poits. Silico Valley questios: a How may possible six-figure salaries i whole dollar amouts are there that cotai at least

More information

FOUNDATIONS OF MATHEMATICS AND PRE-CALCULUS GRADE 10

FOUNDATIONS OF MATHEMATICS AND PRE-CALCULUS GRADE 10 FOUNDATIONS OF MATHEMATICS AND PRE-CALCULUS GRADE 10 [C] Commuicatio Measuremet A1. Solve problems that ivolve liear measuremet, usig: SI ad imperial uits of measure estimatio strategies measuremet strategies.

More information

Chapter 7 - Sampling Distributions. 1 Introduction. What is statistics? It consist of three major areas:

Chapter 7 - Sampling Distributions. 1 Introduction. What is statistics? It consist of three major areas: Chapter 7 - Samplig Distributios 1 Itroductio What is statistics? It cosist of three major areas: Data Collectio: samplig plas ad experimetal desigs Descriptive Statistics: umerical ad graphical summaries

More information

GCE Further Mathematics (6360) Further Pure Unit 2 (MFP2) Textbook. Version: 1.4

GCE Further Mathematics (6360) Further Pure Unit 2 (MFP2) Textbook. Version: 1.4 GCE Further Mathematics (660) Further Pure Uit (MFP) Tetbook Versio: 4 MFP Tetbook A-level Further Mathematics 660 Further Pure : Cotets Chapter : Comple umbers 4 Itroductio 5 The geeral comple umber 5

More information

GCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number.

GCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number. GCSE STATISTICS You should kow: 1) How to draw a frequecy diagram: e.g. NUMBER TALLY FREQUENCY 1 3 5 ) How to draw a bar chart, a pictogram, ad a pie chart. 3) How to use averages: a) Mea - add up all

More information

Valuing Firms in Distress

Valuing Firms in Distress Valuig Firms i Distress Aswath Damodara http://www.damodara.com Aswath Damodara 1 The Goig Cocer Assumptio Traditioal valuatio techiques are built o the assumptio of a goig cocer, I.e., a firm that has

More information

Maximum Likelihood Estimators.

Maximum Likelihood Estimators. Lecture 2 Maximum Likelihood Estimators. Matlab example. As a motivatio, let us look at oe Matlab example. Let us geerate a radom sample of size 00 from beta distributio Beta(5, 2). We will lear the defiitio

More information