GG313 GEOLOGICAL DATA ANALYSIS

Size: px
Start display at page:

Download "GG313 GEOLOGICAL DATA ANALYSIS"

Transcription

1 GG33 GEOLOGICAL DATA ANALYSIS 3 GG33 GEOLOGICAL DATA ANALYSIS LECTURE NOTES PAUL WESSEL SECTION 3 LINEAR (MATRIX ALGEBRA OVERVIEW OF MATRIX ALGEBRA (or All you ever wated to kow about Lear Algebra but were afrad to ask... A matrx s smply a rectagular array of "elemets" arraged a seres of m rows ad colums. The order of a matrx s the specfcato of the umber of rows by the umber of colums. Elemets of a matrx are gve as aj, where the value of specfes the row posto ad the value of j specfes the colum posto; so a j detfes the elemet at posto,j. A elemet ca be a umber (real or complex, algebrac expresso, or (wth some restrctos a matrx or matrx expresso. For example: A a a 3 a 3 a 3 a 33 a 4 a 4 a 43 Ths matrx, A, has order 4 x 3, the elemet a 3, 3 0, etc. The otato for matrces s ot always cosstet but s usually oe of the followg schemes: matrx - desgated by a bold letter (most commo; captal letter; or letter wth uder-score, brackets or hat (^. Order s also sometmes gve: A (4,3 A s 4 x 3. order - always gve as row x colum but uses letters,m,p dfferetly: (row xm(colum or m(row x (colum elemet - most commoly a j wth row; j colum; (sometmes k,l,p Advatages of matrx algebra maly les the fact that t provdes a cocse ad smple method for mapulatg large sets of umbers or computatos, makg t deal for computers. Also (l Compact form of matrces allows coveet otato for descrbg large tables of data; ( Operatos allow complex relatoshps to be see whch would otherwse be obscured by the shear sze of the data (.e., t ads clarfcato; ad (3 Most matrx mapulato volves just a few stadard operatos for whch stadard subroutes are readly avalable. As a coveto wth data matrces (.e., the elemets represet data values, the colums usually represet the dlferet varables (e.g., oe colum cotas temperatures, aother salty, etc. whle rows cota the samples (e.g., the values of the varable at each depth or tme. Sce there are usually more samples tha varables, such data matrces are usually rectagular havg more rows (m tha colums ( - order m x where m >. Colum vector s a matrx cotag oly a sgle colum of elemets:

2 GG33 GEOLOGICAL DATA ANALYSIS 3 a a a Row vector s a matrx cotag oly a sgle row of elemets: a T a...a Sze of a vector s smply the umber of elemets t cota (, both examples above. Null matrx, wrtte as 0 or 0 (m, has all elemets equal to 0 - t plays the role of zero matrx algebra. Square matrx has the same umbers of rows as colums, so order s x. Dagoal matrx s a square matrx wth zero all postos except alog the prcpal (or leadg dagoal: or D d j 0 for j o zero for j Ths type of matrx s mportat for scalg rows or colums of other matrces. The Idetty matrx (I s a dagoal matrx wth all of the ozero elemets equal to oe. Wrtte as I or I; t plays the role of matrx algebra (A I I A A. A Lower tragular matrx (L s a square matrx wth all elemets equal to zero above the prcpal dagoal: or L j 0 for < j o zero for j A Upper tragular matrx s a square matrx wth all elemets equal to zero below the prcpal dagoal u j 0 for < j o zero for j (If oe multples tragular matrces of the same form, the result s a thrd matrx of the same form. We also have Fullv populated matrx whch s a matrx wth all of ts elemets ozero, Sparse matrx whch s a matrx wth oly a small proporto of ts elemets ozero, ad Scalar whch smply s a umber (.e., matrx wth a sgle elemet.

3 GG33 GEOLOGICAL DATA ANALYSIS 3 3 Matrx traspose (or traspose of a matrx s obtaed by terchagg the rows ad colums of a matrx. So row becomes colum ad colum j becomes row j (also the order of the matrx s reversed. A ; A T A dagoal matrx s ts ow traspose: D T D. I geeral, we fd a j a j Symmetrc matrx s a square matrx whch s symmetrcal about ts prcpal dagoal, so a j a j. Therefore a symmetrcal matrx s equal to ts ow traspose. Skew symmetrc matrx s a matrx whch: A A T symmetrc a j a j So A T A a 0(prcpaldagoal elemetsare zero A skew symmetrc Ay square matrx ca be splt to the sum of a symmetrc ad skew symmetrc matrx: A A + A T + A A T Basc Matrx Operatos: Matrx addto ad subtracto requres matrces of the same order sce ths operato smply volves addto or subtracto of correspodg elemets. So, f A + B C, A a a b b + b + b a ; B b b ; C + b a + b a 3 a 3 b 3 b 3 a 3 + b 3 a 3 + b 3 ad ( A + B B + A ((A + B+ C A +(B +C where all matrces are the same order. Scalar multplcato of a matrx s multplyg a matrx by a costat (scalar:

4 GG33 GEOLOGICAL DATA ANALYSIS 3 4 A a a 3 a 3 a a 3 a 3 where s a scalar. Every elemet s multpled by the scalar. Scalar product (or dot product or er product s the product of vectors of the same sze. a b where a s a row vector (or the traspose of a colum vector of legth, b s a colum vector (or the traspose of a row vector, also of legth, ad s the scalar product of a b. The: a a a 3 ; b b b b 3 ad b + a b + a 3 b 3 Some people lke to vsualze ths multplcato as: x x x x 3 4 b Fg. 3-. Dot product of two vectors. a [ 4 5 ] [ 3 ] Coceptually, ths product ca be thought of as multplyg the legth of oe vector by the compoet of the other vector whch s parallel to the frst: b a b cos Fg. 3-. Graphcal meag of the dot product of two vectors. Thk of b as a force ad a as the magtude of dsplacemet whch s equal to work the drecto of a. Thus: where a b a b cos( a

5 GG33 GEOLOGICAL DATA ANALYSIS 3 5 x x + x x The maxmum prcple says that the ut vector ( makg a a maxmum s that ut vector potg the same drecto as a: If a the cos( cos(0 ad a a cos ( a a. Ths s equally true where d s ay vector of a gve magtude - that vector whch parallels d wll gve the largest scalar product. Parallel vectors thus have cos(, the a b a b ad a b (.e., vectors are parallel f oe s smply a scalar multple of the other - ths property comes from equatg drecto coses where: a b Perpedcular vectors have cos( cos 90 0, so a b 0, where a b. Squarg vectors s smply: a a a T forrowvectors a a T a forcolumvectors Matrx multplcato requres "coformable" matrces. Coformable matrces are oes whch there are as may colums the frst as there are rows the secod: C (m, A (m,p B (p, So, the product matrx C s of order m x ad has elemets cj: p c j a k b kj k Ths s exteso of scalar product - ths case, each elemet of C s the scalar product of a row vector A ad colum vector B. c c c c a a a b b 3 a a b b 3 b 3 b 3 I "box form": c b + b + 3 b 3

6 GG33 GEOLOGICAL DATA ANALYSIS 3 6 Elemets of C are scalar products of correspodg vectors as show here. p B m A m C Fg The matrx product of two matrces. p Order of multplcato s mportat usually A B B A ad uless A ad B are square matrces or the order of A T s the same as the order of B (or vce versa, oe of the two products ca ot eve be formed. Order s specfed by statg: A s pre -multpled by B (for B A Multple products: A s post -multpled by B (for A B D A B C A B C (The order whch the pars are multpled s ot mportat mathematcally. Computatoal cosderatos: C (m A (m,p B (p, volves m p multplcatos ad m (p - addtos, so: E (m, [A (m, p B (p, q ] C (q, gves m p q multplcatos [D (m, q ] C (q, gves m q multplcatos ad E (m, A (m,p [B (p,q C (q, ] gves p q multplcatos A (m,p [D (p, ] gves m p multplcatos

7 GG33 GEOLOGICAL DATA ANALYSIS 3 7 Therefore: (A B C mq(p + totalmultplcatos A (B C p(m + qtotal multplcatos If both A ad B are 00 x 00 matrces ad C s 00 x, the m 00, p 00, q 00, ad. Multplyg usg form l volves ~l x 0 6 multplcatos, whereas form volves x 0 4 ; so computg B C frst, the pre-multplyg by A saves almost a mllo multplcatos ad almost a equal umber of addtos ths example. Therefore order s extremely mportat computatoally for both speed ad accuracy (more operatos lead to a greater accumulato of roud-off errors. Traspose of matrx product s smply multplcato by traspose of the dvdual matrces reverse order: D A B C D T C T B T A T Multplcato bv I leaves the matrx uchaged: A I I A A :I A: :AI Pre-multplcato bv a dagoal matrx: C D A, where D s a dagoal matrx. C s the A matrx wth each row scaled by a dagoal elemet of D: D d d d 33 ; A 3 a a 3 a 3 a 3 a 33 C d d 3 d d a d a 3 d a 3 d 33 a 3 d 33 a 33 d 33 each elemet d each elemet d each elemet d 33 Post-multplcato bv a dagoal matrx produces a matrx whch each colum has bee scaled by a dagoal elemet. C A D C d d 3 d 33 d a d a 3 d 33 a 3 d a 3 d a 33 d 33 where each colum A has bee scaled by the correspodg dagoal matrx elemets, d. The determat of a matrx s a sgle umber represetg a property of a square matrx

8 GG33 GEOLOGICAL DATA ANALYSIS 3 8 (depedet upo what the matrx represets. The ma use here s for fdg the verse of a matrx or solvg smultaeous equatos. Symbolcally, the determat s usually gve as det A, A or A (to dfferetate from magtude. Calculato of a x determat s gve by: A a a Ths s the dfferece of the cross products. The calculato of a x determat s gve by A m m + 3 m 3 ( m where m s the determat wth the frst row ad colum mssg; m s the determat wth the frst row ad secod colum mssg; etc. (The determat of matrx s just the partcular elemet. A example of a 3 x 3 determat follows. A 3 a a 3 a 3 a 3 a 33 m 3 a a 3 a 3 a 3 a 33 a a 33 a 3 a 3 m 3 a a 3 a 3 a 3 a 33 a 33 a 3 a 3 So m 3 3 a a 3 a 3 a 3 a 33 a 3 a a 3 A m m + 3 m 3 (a a 33 a 3 a 3 ( a 33 a 3 a ( a 3 a a 3 For a 4 x 4 determat, each m would be a etre expaso gve above for the 3 x 3 determat oe quckly eeds a computer. A sgular matrx s a square matrx whose determat s zero. A determat s zero f: (l ay row or colum s zero; ( ay row or colum s equal to a lear combato of the other rows or colums. For example: A where row 3(row - row 3.

9 GG33 GEOLOGICAL DATA ANALYSIS 3 9 A (a a 33 a 3 a 3 ( a 33 a 3 a ( a 3 a a 3 [( 4 0( 3] 6[( 4 0(5]+4[( 3 (5] The degree of clusterg symmetrcally about the prcpal dagoal s aother (of may propertes of a determat. The more the clusterg, the hgher the value of the determat. Matrx dvso ca be thought of as multplyg by the verse. Cosder scalar dvso: x b x b xb whch we ca wrte bb Matrces ca be effectvely dvded by multplyg by the verse matrx. Nosgular square matrces may have a verse symbolzed as A -l ad AA -l. The calculato of matrx verse s usually doe usg elmato methods o the computer. For a smple x matrx, ts verse s gve by: A A a A example follows. A ; A Soluto of Smultaeous Equatos AA I A system of smultaeous equatos ukows: x + x + 3 x x 4 b x + a x + a 3 x 3 + a 4 x 4 b a 3 x + a 3 x + a 33 x 3 + a 34 x 4 b 3 a 4 x + a 4 x + a 43 x 3 + a 44 x 4 b 4 ca be wrtte as where Ax b A 3 4 a a 3 a 4 a 3 a 3 a 33 a 34 a 4 a 4 a 43 a 44 coeffcetmatrx

10 GG33 GEOLOGICAL DATA ANALYSIS 3 0 x x x x 3 x 4 ; b b b b 3 b 4 The so A Ax A b (pre multplygboth sdesby A Ix x A b gves the soluto for values of x l, x, x 3, x 4 whch solve the system. The followg example solves for smultaeous equatos. Cosder equatos ukows (e.g., equatos of les the x-y plae: I matrx form ths traslates to: 5x + 7x 9 3x x A x To solve ths matrx, we eed the verse of A: x x 9 b The x A - b where A A b or, box form: 9 :b A :x So, the values x l ad x solve the above system, or

11 GG33 GEOLOGICAL DATA ANALYSIS 3 Computatoal cosderatos x x Whle ths approach may seem burdesome, t s good because t s extremely geeral ad allows a smple hadlg ad a straght forward soluto to very large systems. However, t s true that drect (elmato methods to the soluto are fact qucker for fully populated matrces: l Soluto to verse matrx approach volves 3 multplcatos for the verso ad m more multplcatos to fsh the soluto, where s the umber of equatos per set, ad m s the umber of sets of equatos (each of the same form but dfferet b matrx. The total umber of multplcatos s 3 + m. Soluto to drectly solvg equatos volves 3 /3 + m. So, whle the matrx form s easy to hadle, oe should ot ecessarly always use t bldly. We wll cosder may stuatos for whch matrx solutos are deal. For sparse or symmetrcal matrces, the above relatoshps may ot hold. The rak of a matrx s the umber of learly depedet vectors t cotas (ether row or colum vectors: A Sce row 3 -(row - (row or col 3 col - /4(col ad col 4 -(col + 3/4(col, the matrx A has rak (.e., t has oly learly depedet vectors, depedet of whether vewed by rows or colums. The rak of a matrx product must be less tha or equal to the smallest rak of the matrces beg multpled A (rak B (rak C (rak Therefore, (from aother agle, f a matrx has rak r, tha ay matrx factor of t must have rak of at least r. Sce the rak caot be greater tha the smallest of m or, a mx matrx, ths defto also lmts the sze (order of factor matrces. (That s, oe caot factor a matrx of rak, to matrces of whch ether s of less tha rak, so m ad of each factor must also be. The trace of a square matrx s smply the sum of the elemets alog the prcpal dagoal. It s symbolzed as tr A. Ths property s useful calculatg varous quattes from matrces. Submatrces are smaller matrx parttos of the larger supermatrx: Supermatrx F A B C D Such parttog wll frequetly be useful. Other useful matrx propertes:

12 GG33 GEOLOGICAL DATA ANALYSIS 3. A T T A. A A 3. A T A T A T 4. D ABC,the D C B A ;recall that D ABC; D T C T B T A T Ths "reversal rule" for verse products may be useful for elmatg or mmzg the umber of matrx verses requrg calculato. We wll look at a few examples of matrx mapulatos. For data matrx A: ad ut row vector j: A j (l Compute the mea of each colum vector A (each colum has legth 3: x c 3 ja j A j The :A j : :x c ( Compute the mea of each row vector A: The x r 3 Aj T Aj T : j T A : : x r Last tme we looked at the matrx equato ad we foud that the soluto could be wrtte A x b

13 GG33 GEOLOGICAL DATA ANALYSIS 3 3 x A b For a momet, let us just cosder the left had sde A. x. For ay x, ths product gves a ew vector y. We ca say that x s trasformed to gve y. Ths s a lear trasformato sce there are oly lear terms the matrx multplcato,.e., the vector y s y x + x + 3 x 3 x + a x + a 3 x 3 a 3 x + a 3 x + a 33 x 3 Thus we call the operato T(x A. x a lear trasformato. If we stck to three or less dmesos, t s possble to graphcally vsualze vectors ad operatos o them. Fgure 3-4 shows a arbtrary vector x ad the result y of the lear trasformato y A. x. y x Fg The vector x s trasformed to aother vector y usg a lear trasformato. Obvously, as we pck aother x, we get aother y. We mght wat to kow f there are certa vectors that, whe beg operated o, returs a vector the same drecto, possbly loger or shorter tha the orgal x. I other words, are there a x that satsfes Ax x (3. We call the egevalue ad x the egevector. We ca rewrte ths as A x x 0 A x I x 0 A I x 0 or B x 0 I geeral, the soluto to ths equato ca be wrtte x B -l. : x B B or

14 GG33 GEOLOGICAL DATA ANALYSIS 3 4 B x 0 So apart from the trval soluto x [0 0 0], the aswer s gve whe We kow the determat of B s B 0 B 3 a a 3 a 3 a 3 a 33 0 Wrtg out what the determat s ad settg t to zero gves a polyomal of order. For 3 ths wll geeral gve a cubc equato; for a quadratc equato must be solved. The solutos,... etc. are called the egevalues of A, ad the equato B 0 s called the characterstc equato. For example, gve A let us fd ts egevalues. We set A I or We easly solve for : ± 4(, So the egevalues are, -. We ow kow what must be for (3. to be satsfed, but what about the vectors x? We stll have't foud what they must be, but we wll substtute the value for (3.. Usg frst, we fd Fd A x x (A I x x x 0 0 or 5x 6x 0 45x 8x 0 whch both gve

15 GG33 GEOLOGICAL DATA ANALYSIS 3 5 x 5 x So x t 5 where t s ay scalar. Smlarly, for -, we fd (A + I. x x x 0 0 whch reduces to whch gves 3x x 0 x t 3 It may happe that the characterstc equato gves solutos that are magary. However, f the matrx s symmetrc t wll always yeld real egevalues, ad as log as the matrx A s ot sgular, all the wll be o-zero ad the correspodg egevectors wll be orthogoal. The techque we've used apples to matrces of ay sze, but fdg the roots of large polyomals s paful. Usually, the are foud by matrx mapulatos that volve successve approxmatos to the x. Ths s of course oly practcal o a computer. If we restrcted our atteto to -D geometry, certa propertes of egevalues ad egevectors wll be clearer. Cosder the matrx A A (4,8 (8,4 Fg Graphcal represetato of two vectors the x-y plae. We ca regard the matrx as two row vectors [4 8] ad [8 4]. Let us fd the egevalues ad egevectors of A :

16 GG33 GEOLOGICAL DATA ANALYSIS The egevectors are: 8 ± , x x x x 0 0 8x +8x 0 x x e T x x x x 0 0 8x +8x 0 x x e T We fd that the egevectors defe the mor ad major axs of the ellpse whch goes through the two pots defed by (4,8 ad (8,4. The legth of these axes are gve by the absolute values of the egevalues, ad 4. e e λ 4 λ Fg The egevectors, scaled by the egevalues, ca be see to represet the major ad mor axes of the ellpse that goes through the two data vectors (8, 4 ad (4, 8.

17 GG33 GEOLOGICAL DATA ANALYSIS 3 7 It s customary to ormalze the egevectors so that ther legth s uty. I our case we fd e T ad e T The axes of the ellpse are the smply v e v e Sce the sg of the egevector s determate we choose to make all egevalues postve ad thus place the mus-sg sde e. You'll otce that v l. v 0,.e., they are orthogoal. The egevectors make up the colums a ew matrx V V e e Let us expad the egevalue equato (3. A. x x to a full matrx equato. We have A e e A e e We ca combe these two matrx equatos to oe. where A V V 0 0 From ths we may lear two thgs. l Post multply by V - : A V V A V V The egevalue-egevector operato let us splt a symmetrc matrx A to a dagoal matrx (wth the egevalues alog the dagoal ad the matrx V (wth the egevectors as rows ad ts verse V -. Pre-multplyg by V - : V A V Ths operato trasforms the A matrx to a dagoal matrx. It correspods to a rotato of the coordate axes whch the egevectors V becomes the ew coordate axes. Relatve to the ew coordates, coveys the same formato as A does the old coordates. Because s a smple dagoal matrx, the rotato (trasformato makes the relatoshps betwee rows ad colums A much clearer. Smple Regresso ad Curve Fttg Whereas a terpolat fts each data pot exactly, t s frequetly advatageous to produce a smoothed ft to the data - ot exactly fttg each pot, but producg a "best" ft. A popular (ad

18 GG33 GEOLOGICAL DATA ANALYSIS 3 8 coveet method for producg such fts s kow as the method of least squares. The method of least squares produces a ft of a specfed (usually cotuous bass to a set of data pots whch mmzes the sum of the squared msmatch (error betwee the ftted curve ad data. The error ca be measured as Fgure 3-: Ths regresso of y o x s the most commo method. Less commo methods (more work volved s regresso of x o y ad orthogoal regresso (whch we wll retur to later. y error x Fg Graphcal represetato of the regresso errors used least-squares procedures. y error y error x Fg Two other regresso methods: regressg x o y ad orthogoal regresso. x Least squares smple example Cosder fttg a sgle "best" lear slope to data pots. Ths ca be a scatter plot of y(t, x(t plotted at smlar values of t; or a smple f(x relatoshp. At ay rate, y s cosdered a fucto of x. We wsh to ft a le of the form y + a (x (3. ad must therefore determe a value for ad a whch produces a le that mmzes the sum of the squared errors (x 0 s specfed beforehad. So mmze (y computed y observed Ideally, for each observato y at x we should have

19 GG33 GEOLOGICAL DATA ANALYSIS a (x y + a (x y + a (x 3 y 3 + a (x y There are may more equatos ( - oe for each observed value of y tha ukows ( - ad a. Such a system s over-determed ad there exsts o uque soluto (uless all the y 's do le exactly o a sgle le, whch case ay two equatos wll uquely determe ad a. I matrx form (.e., Ax b: (x (x (x a y y y (3.3 Sce A s a o-square matrx t has o verse, so the equato caot be verted ad solved. Cosder stead the error the ft at each pot: + a (x y e +a (x y e + a (x y e We wsh to determe the values for ad a that mmze e Ths wll mmze the varace of the resduals about the regresso le ad gve the leastsquares ft. Notato: S E(,a e ( e T e matrxform So, E(,a ad the mmum of ths fucto (wth respect to the two ukow coeffcets ca be determed usg smple dfferetal calculus, where E(,a a E(a,a a 0 (at themmum (3.4 E a a e + a (x y +a (x y 0 E a a e a + a (x y

20 GG33 GEOLOGICAL DATA ANALYSIS 3 0 +a (x y (x 0 These two equatos ca ow be expaded to ther dvdual terms formg what are kow as the ormal equatos: + a (x y ( x + a (x y (x The ormal equatos thus provde a system of equatos ukows whch ca be uquely solved. Rearragg, ( x + a (x y + a (x y (x Notce that all sums are sums of kow values that sum to smple costats. Solvg: substtute ths to the secod equato: y a (x y a (x (x + a (x y (x Now solve for a : (x a (x y + a (x y (x a (x (x y (x y (x Fally, a y (x y (x (x x 0 (x Substtute a to the frst equato to solve for. So, we compute the sums y, y (x, (x, ad (x ad substtute to the above equato to gve ad a producg the best ft. I matrx form the ormal equatos are: (x (x (x a y (3.5 y (x

21 GG33 GEOLOGICAL DATA ANALYSIS 3 So, Nx B, e.g., of the form Ax b. Sce N s square ad of full rak, ths equato s solved the stadard maer: or N Nx N B x N B Ths problem was smple eough ( x to solve brute force for ad a. For larger systems ths becomes mpractcal ad a matrx soluto to the o-square A x b equato must be sought. We wll ext look at the geeral lear least-squares problem ad fd a soluto matrx otato. Geeral Lear Least Squares We have looked at a few specal cases where we have sought to ft a "model" to "data" a least-squares sese. Fttg a straght le to the x-y pots was a very smple example of ths techque. We wll ow look at the more geeral problem of fdg the coeffcets for ay lear combato of bass fuctos that fts some data a least squares sese. There are umerous stuatos where ths s eeded: Stuato Model Data Curve Fttg Coeffcets of polyomals, s/cos, etc. Pots x-y plae Gravty modelg Destes of subsurface polygos Gravty observatos Hypoceter locato Small pertubatos to hypoceter Sesmc arrval tmes posto Whle the bass fuctos these cases are all vastly dfferet, they are all used a lear combato to ft the observed data. We wll therefore take tme to vestgate how such a problem s set up, ad how t ca all be smplfed wth matrx algebra. Geeral (lear least squares. Cosder the least squares fttg of ay cotuous bass of the form For example x, x, x 3,, x m polyomal bass Fourer se bass x x 0 x x x 3 x x s (π x/ T x s (4π x/ T x 3 s (6π x/ T

22 GG33 GEOLOGICAL DATA ANALYSIS 3 x m x m x j s (mπ x/ T We desre to ft a equato of the form y x +a x + + a m x m to a data set of data pots, where > m, by mmzg E: E (e ( x +a x + +a m y where y s the observed value. We ca wrte ths explctly: (3.6 x + a x + + a m x m y e x + a x + + a m x m y e x + a x + + a m x m y e where x j s the j'th x fucto of the bass, evaluated at the value x. To mmze E, we set E(a j a j 0 (3.7 So E( a ( x + a x + + a m y ( x +a x + +a m y x 0 or E(a a E(a m a m a ( x +a x + + a m y ( x +a x + +a m y x 0 Rearragg these ormal equatos gves a ( x +a x + + a m y m ( x +a x + +a m y 0 E(a j (a x +a x + + a m y x j 0 j

23 GG33 GEOLOGICAL DATA ANALYSIS 3 3 x +a x x + + a m x y x x x +a x + + a m x y x or (for each j : x +a x + + a m y x x j + a x x j + + a m x j y x j Ths provdes a closed system of m ormal equatos, oe for each coeffcet, e.g., E(a j a j 0 for j,,..., m. I matrx form x x x x x x x x x x a a m y x y x y or smply N x B where N s the (kow coeffcet matrx, x the vector wth the ukows (a j, ad B cotas weghted sums of kow (observed quattes. Solve for the a j the x vector (N s square ad of full rak: N N x N B x N B where x s the soluto for the a j. The resultg a j values are the oes whch satsfy (3.7 ad therefore the same oes whch, combato wth the chose bass, produce the "best" ft to the data pots such that (3.6 s mmzed. Last tme we foud the soluto to a geeral lear least squares problem led us to the matrx form

24 GG33 GEOLOGICAL DATA ANALYSIS 3 4 x x x x x x x x x x a a m y x y x y or smply N x B (3.8 where N s the (kow coeffcet matrx, x the vector wth the ukows (a j, ad B cotas weghted sums of kow (observed quattes. Solve for the a j the x vector (N s square ad of full rak: N N x N B x N B (3.9 where x s the soluto for the a j. The resultg a j values are the oes whch satsfy (3.7 ad therefore the same oes whch, combato wth the chose bass, produce the "best" ft to the data pots such that (3.6 s mmzed. We wll ow look at a smpler approach to the same problem usg matrx algebra. We have x x x x x m x m x x x m a a m y y y 3 y e e e 3 e A x b e Sce m <, the A matrx s rectagular. Ths ca be wrtte x x x m y x x x m y x x x m y a a m e e e 3 e C X e These matrces descrbe the system lsted earler. We wsh to fd the a j values whch mmze E e T e. The matrx form ca be parttoed as A b x e

25 GG33 GEOLOGICAL DATA ANALYSIS 3 5 A b x A x + ( b A x b e We wll, for ow, refer to the [A -b] matrx as the C matrx ad the [x ] T colum vector as the X vector. So, we have C X e (recall C s a x m+l rectagular matrx. The 'th error, e, s the dot product: C X e x x y a a m a a m x x y where C s the 'th row vector C. The squared 'th error, e s the or e T e C X T C X X T C T C X e T e a a m x x y x x y a a m where we have used the reversal rule for trasposed products. The sum of the e over all the 's s thus e T e X T C T C X a a m x x y x x y a a m X T C T The product C T C ca be computed to form a ew matrx R. Sce C T m+,c,m+ R m+,m+ the resultg R matrx s square ad symmetrc. So, To mmze E, we fd C E e T e X T C T C X X T R X X E a j a j a j X T R X X T a j For the d coeffcet (as a example, we get R X + X T R X a j

26 GG33 GEOLOGICAL DATA ANALYSIS 3 6 Thus, the partal dervatve of the error s X T X a a T E a R a a m + a a m R For all coeffcets we set all the partal dervatves to zero: where E a j a j 0 X T R X +X T R X X T X T a j I m O m where I m s the m x m detty matrx ad O m the ull vector of legth m. Cosder frst R ( C T C: C: x x x m y x x x m y x x x m y C T : x x x x x x x x x x x x x y x x y x :R x m x m x m y y y x x y y y x x y y The R matrx should look famlar. Cosder the parttoed matrx multplcato:

27 GG33 GEOLOGICAL DATA ANALYSIS 3 7 R C T C (m x A ( x m -b m+ m+ m+ A T (m x A T A (m x m T -A b m+ -b T -b T A b T b Notce that A T A s matrx N of the ormal equatos ad -A T b (-b T A T equal matrx B. Because R s symmetrcal (so R R T we have X T R R X T So E(a j a j X T R X + X T R X 0 X T R X 0 X T R X 0 Cosder X T R :

28 GG33 GEOLOGICAL DATA ANALYSIS 3 8 m+ R -A b TAT A m+ -b T A b T b m+ m+ T Ẋ I 0 (m x m m A T A T -A b m Always multpled by zero N B Ad X T R X : x m+ m+ T A A T -A b m T Ax - A Nx - B T A b Fally, sce X T R X A T A x A T b 0 A T A x A T b A T A A T A x A T A A T b or x A T A A T b x N B (3.0

29 GG33 GEOLOGICAL DATA ANALYSIS 3 9 as before. Therefore, the ukow values of the a j ( the x vector ca be solved for drectly from the system: x + a x + + a m x m y x + a x + + a m x m y x + a x + + a m x m y or smply A x b where A s of order x m wth > m. The least squares soluto the becomes x A T A A T b where A T A s a square matrx of full rak, wth order r m, ad thus vertable. Fttg a straght le, revsted We wll aga cosder the best-fttg le problem, ths tme wth errors the y-values. We wat to measure how well the model agrees wth the data, ad for ths purpose wll use the fucto,.e. a,b y a bx (3. Mmzg wll gve the best weghted least squares soluto. Aga we set the partal dervatves to 0: y 0 a bx a (3. b 0 y a bx x Let us defe the followg: S S x x S y y S xx x S xy x y The (3. reduces to as + bs x S y Wth we fd as x + bs xx S xy SS xx S x

30 GG33 GEOLOGICAL DATA ANALYSIS 3 30 a S xx S y S x S xy b SS xy S x S y (3.3 All ths s swell but we must also estmate the ucertates a ad b. For the same we may get large dffereces errors a ad b. Although ot show here, cosderato of propagato of errors shows that the varace f the value of ay fucto s f f y (3.4 For our le we ca drectly fd the dervatves of a ad b wth respect to y from (3.3: Fgure 3-9. The ucertaty the le ft depeds to a large extet o the dstrbuto of the x-postos. Isertg ths result to (4.7 the gves a S S x xx x y b Sx S x y a S S x xx x S xx S xx S x x + S x x S xx S xxs x x + S x x S xxs S xxs x + S xs xx ad S xx S xx S S x S xx (3.5 Sx S x b S x SS x x + S x

31 GG33 GEOLOGICAL DATA ANALYSIS 3 3 S x SS x x + S x S S xx SS x + S x S S S xxs S x S (3.6 Smlarly, we ca fd the covarace ab from ab a y The, the correlato coeffcet becomes b y S x r S x SS xx (3.7 It s therefore useful to shft the org to x where r 0. Fally, we must check f the ft s meagful. We use the value computed ad get crtcal χ α for - degrees of freedom whch we use to see f exceeds ths value. If t does't we may say the ft s sgfcat at the level. What f some data costrats are more relable tha others? We may gve that resdual more weght tha the others: e e e I geeral, we ca use weghts w for each error so that the ew error e ' e w. We do ths by troducg a weght matrx w whch s a dagoal matrx: w e w w w Now the sum of the squared errors, E, becomes E e T e e T w T w e e T W e where we have troduced W w T w: Sce we have w T e w(a T x - b we obta E (w A x w b T (w A x w b(x T A T wt b T wt (w A x w b x T A T w T w A x x T A T w T w b b T w T w A x + b T w T w b We substtute for W. The

32 GG33 GEOLOGICAL DATA ANALYSIS 3 3 E a j 0 x T A T W A x + x T A T W A x x T A T W b b T W A x Sce x oly cotas the a j, we have x T x I. We fd A T W A x + x T A T W A A T W b b T W A 0 Aga, the d ad 4th term are the traspose of the st ad 3rd. Because each term represet a symmetrcal matrx our equato reduces to A T W A x A T W b 0 whch gves us the weghted lear least squares soluto x A T W A A T W b (3.8

ESS Line Fitting

ESS Line Fitting ESS 5 014 17. Le Fttg A very commo problem data aalyss s lookg for relatoshpetwee dfferet parameters ad fttg les or surfaces to data. The smplest example s fttg a straght le ad we wll dscuss that here

More information

Introduction to Matrices and Matrix Approach to Simple Linear Regression

Introduction to Matrices and Matrix Approach to Simple Linear Regression Itroducto to Matrces ad Matrx Approach to Smple Lear Regresso Matrces Defto: A matrx s a rectagular array of umbers or symbolc elemets I may applcatos, the rows of a matrx wll represet dvduals cases (people,

More information

Chapter 9 Jordan Block Matrices

Chapter 9 Jordan Block Matrices Chapter 9 Jorda Block atrces I ths chapter we wll solve the followg problem. Gve a lear operator T fd a bass R of F such that the matrx R (T) s as smple as possble. f course smple s a matter of taste.

More information

QR Factorization and Singular Value Decomposition COS 323

QR Factorization and Singular Value Decomposition COS 323 QR Factorzato ad Sgular Value Decomposto COS 33 Why Yet Aother Method? How do we solve least-squares wthout currg codto-squarg effect of ormal equatos (A T A A T b) whe A s sgular, fat, or otherwse poorly-specfed?

More information

CHAPTER 4 RADICAL EXPRESSIONS

CHAPTER 4 RADICAL EXPRESSIONS 6 CHAPTER RADICAL EXPRESSIONS. The th Root of a Real Number A real umber a s called the th root of a real umber b f Thus, for example: s a square root of sce. s also a square root of sce ( ). s a cube

More information

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions. Ordary Least Squares egresso. Smple egresso. Algebra ad Assumptos. I ths part of the course we are gog to study a techque for aalysg the lear relatoshp betwee two varables Y ad X. We have pars of observatos

More information

TESTS BASED ON MAXIMUM LIKELIHOOD

TESTS BASED ON MAXIMUM LIKELIHOOD ESE 5 Toy E. Smth. The Basc Example. TESTS BASED ON MAXIMUM LIKELIHOOD To llustrate the propertes of maxmum lkelhood estmates ad tests, we cosder the smplest possble case of estmatg the mea of the ormal

More information

Simple Linear Regression

Simple Linear Regression Statstcal Methods I (EST 75) Page 139 Smple Lear Regresso Smple regresso applcatos are used to ft a model descrbg a lear relatoshp betwee two varables. The aspects of least squares regresso ad correlato

More information

Lecture Notes 2. The ability to manipulate matrices is critical in economics.

Lecture Notes 2. The ability to manipulate matrices is critical in economics. Lecture Notes. Revew of Matrces he ablt to mapulate matrces s crtcal ecoomcs.. Matr a rectagular arra of umbers, parameters, or varables placed rows ad colums. Matrces are assocated wth lear equatos. lemets

More information

Chapter 2 - Free Vibration of Multi-Degree-of-Freedom Systems - II

Chapter 2 - Free Vibration of Multi-Degree-of-Freedom Systems - II CEE49b Chapter - Free Vbrato of Mult-Degree-of-Freedom Systems - II We ca obta a approxmate soluto to the fudametal atural frequecy through a approxmate formula developed usg eergy prcples by Lord Raylegh

More information

Lecture 07: Poles and Zeros

Lecture 07: Poles and Zeros Lecture 07: Poles ad Zeros Defto of poles ad zeros The trasfer fucto provdes a bass for determg mportat system respose characterstcs wthout solvg the complete dfferetal equato. As defed, the trasfer fucto

More information

MOLECULAR VIBRATIONS

MOLECULAR VIBRATIONS MOLECULAR VIBRATIONS Here we wsh to vestgate molecular vbratos ad draw a smlarty betwee the theory of molecular vbratos ad Hückel theory. 1. Smple Harmoc Oscllator Recall that the eergy of a oe-dmesoal

More information

L5 Polynomial / Spline Curves

L5 Polynomial / Spline Curves L5 Polyomal / Sple Curves Cotets Coc sectos Polyomal Curves Hermte Curves Bezer Curves B-Sples No-Uform Ratoal B-Sples (NURBS) Mapulato ad Represetato of Curves Types of Curve Equatos Implct: Descrbe a

More information

3D Geometry for Computer Graphics. Lesson 2: PCA & SVD

3D Geometry for Computer Graphics. Lesson 2: PCA & SVD 3D Geometry for Computer Graphcs Lesso 2: PCA & SVD Last week - egedecomposto We wat to lear how the matrx A works: A 2 Last week - egedecomposto If we look at arbtrary vectors, t does t tell us much.

More information

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then Secto 5 Vectors of Radom Varables Whe workg wth several radom varables,,..., to arrage them vector form x, t s ofte coveet We ca the make use of matrx algebra to help us orgaze ad mapulate large umbers

More information

ENGI 4421 Propagation of Error Page 8-01

ENGI 4421 Propagation of Error Page 8-01 ENGI 441 Propagato of Error Page 8-01 Propagato of Error [Navd Chapter 3; ot Devore] Ay realstc measuremet procedure cotas error. Ay calculatos based o that measuremet wll therefore also cota a error.

More information

Econometric Methods. Review of Estimation

Econometric Methods. Review of Estimation Ecoometrc Methods Revew of Estmato Estmatg the populato mea Radom samplg Pot ad terval estmators Lear estmators Ubased estmators Lear Ubased Estmators (LUEs) Effcecy (mmum varace) ad Best Lear Ubased Estmators

More information

Lecture Note to Rice Chapter 8

Lecture Note to Rice Chapter 8 ECON 430 HG revsed Nov 06 Lecture Note to Rce Chapter 8 Radom matrces Let Y, =,,, m, =,,, be radom varables (r.v. s). The matrx Y Y Y Y Y Y Y Y Y Y = m m m s called a radom matrx ( wth a ot m-dmesoal dstrbuto,

More information

Lecture 3 Probability review (cont d)

Lecture 3 Probability review (cont d) STATS 00: Itroducto to Statstcal Iferece Autum 06 Lecture 3 Probablty revew (cot d) 3. Jot dstrbutos If radom varables X,..., X k are depedet, the ther dstrbuto may be specfed by specfyg the dvdual dstrbuto

More information

ENGI 3423 Simple Linear Regression Page 12-01

ENGI 3423 Simple Linear Regression Page 12-01 ENGI 343 mple Lear Regresso Page - mple Lear Regresso ometmes a expermet s set up where the expermeter has cotrol over the values of oe or more varables X ad measures the resultg values of aother varable

More information

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class)

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class) Assgmet 5/MATH 7/Wter 00 Due: Frday, February 9 class (!) (aswers wll be posted rght after class) As usual, there are peces of text, before the questos [], [], themselves. Recall: For the quadratc form

More information

best estimate (mean) for X uncertainty or error in the measurement (systematic, random or statistical) best

best estimate (mean) for X uncertainty or error in the measurement (systematic, random or statistical) best Error Aalyss Preamble Wheever a measuremet s made, the result followg from that measuremet s always subject to ucertaty The ucertaty ca be reduced by makg several measuremets of the same quatty or by mprovg

More information

Summary of the lecture in Biostatistics

Summary of the lecture in Biostatistics Summary of the lecture Bostatstcs Probablty Desty Fucto For a cotuos radom varable, a probablty desty fucto s a fucto such that: 0 dx a b) b a dx A probablty desty fucto provdes a smple descrpto of the

More information

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model 1. Estmatg Model parameters Assumptos: ox ad y are related accordg to the smple lear regresso model (The lear regresso model s the model that says that x ad y are related a lear fasho, but the observed

More information

Lecture 8: Linear Regression

Lecture 8: Linear Regression Lecture 8: Lear egresso May 4, GENOME 56, Sprg Goals Develop basc cocepts of lear regresso from a probablstc framework Estmatg parameters ad hypothess testg wth lear models Lear regresso Su I Lee, CSE

More information

Lecture 3. Sampling, sampling distributions, and parameter estimation

Lecture 3. Sampling, sampling distributions, and parameter estimation Lecture 3 Samplg, samplg dstrbutos, ad parameter estmato Samplg Defto Populato s defed as the collecto of all the possble observatos of terest. The collecto of observatos we take from the populato s called

More information

4 Inner Product Spaces

4 Inner Product Spaces 11.MH1 LINEAR ALGEBRA Summary Notes 4 Ier Product Spaces Ier product s the abstracto to geeral vector spaces of the famlar dea of the scalar product of two vectors or 3. I what follows, keep these key

More information

Functions of Random Variables

Functions of Random Variables Fuctos of Radom Varables Chapter Fve Fuctos of Radom Varables 5. Itroducto A geeral egeerg aalyss model s show Fg. 5.. The model output (respose) cotas the performaces of a system or product, such as weght,

More information

Matrix Algebra Tutorial With Examples in Matlab

Matrix Algebra Tutorial With Examples in Matlab Matr Algebra Tutoral Wth Eamples Matlab by Klaus Moelter Departmet of Agrcultural ad Appled Ecoomcs Vrga Tech emal: moelter@vt.edu web: http://faculty.ageco.vt.edu/moelter/ Specfcally desged as a / day

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Postpoed exam: ECON430 Statstcs Date of exam: Jauary 0, 0 Tme for exam: 09:00 a.m. :00 oo The problem set covers 5 pages Resources allowed: All wrtte ad prted

More information

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model Lecture 7. Cofdece Itervals ad Hypothess Tests the Smple CLR Model I lecture 6 we troduced the Classcal Lear Regresso (CLR) model that s the radom expermet of whch the data Y,,, K, are the outcomes. The

More information

Multivariate Transformation of Variables and Maximum Likelihood Estimation

Multivariate Transformation of Variables and Maximum Likelihood Estimation Marquette Uversty Multvarate Trasformato of Varables ad Maxmum Lkelhood Estmato Dael B. Rowe, Ph.D. Assocate Professor Departmet of Mathematcs, Statstcs, ad Computer Scece Copyrght 03 by Marquette Uversty

More information

III-16 G. Brief Review of Grand Orthogonality Theorem and impact on Representations (Γ i ) l i = h n = number of irreducible representations.

III-16 G. Brief Review of Grand Orthogonality Theorem and impact on Representations (Γ i ) l i = h n = number of irreducible representations. III- G. Bref evew of Grad Orthogoalty Theorem ad mpact o epresetatos ( ) GOT: h [ () m ] [ () m ] δδ δmm ll GOT puts great restrcto o form of rreducble represetato also o umber: l h umber of rreducble

More information

MATH 247/Winter Notes on the adjoint and on normal operators.

MATH 247/Winter Notes on the adjoint and on normal operators. MATH 47/Wter 00 Notes o the adjot ad o ormal operators I these otes, V s a fte dmesoal er product space over, wth gve er * product uv, T, S, T, are lear operators o V U, W are subspaces of V Whe we say

More information

Lecture Notes Types of economic variables

Lecture Notes Types of economic variables Lecture Notes 3 1. Types of ecoomc varables () Cotuous varable takes o a cotuum the sample space, such as all pots o a le or all real umbers Example: GDP, Polluto cocetrato, etc. () Dscrete varables fte

More information

Chapter 3. Linear Equations and Matrices

Chapter 3. Linear Equations and Matrices Vector Spaces Physcs 8/6/05 hapter Lear Equatos ad Matrces wde varety of physcal problems volve solvg systems of smultaeous lear equatos These systems of lear equatos ca be ecoomcally descrbed ad effcetly

More information

CHAPTER 3 POSTERIOR DISTRIBUTIONS

CHAPTER 3 POSTERIOR DISTRIBUTIONS CHAPTER 3 POSTERIOR DISTRIBUTIONS If scece caot measure the degree of probablt volved, so much the worse for scece. The practcal ma wll stck to hs apprecatve methods utl t does, or wll accept the results

More information

Multiple Choice Test. Chapter Adequacy of Models for Regression

Multiple Choice Test. Chapter Adequacy of Models for Regression Multple Choce Test Chapter 06.0 Adequac of Models for Regresso. For a lear regresso model to be cosdered adequate, the percetage of scaled resduals that eed to be the rage [-,] s greater tha or equal to

More information

Investigation of Partially Conditional RP Model with Response Error. Ed Stanek

Investigation of Partially Conditional RP Model with Response Error. Ed Stanek Partally Codtoal Radom Permutato Model 7- vestgato of Partally Codtoal RP Model wth Respose Error TRODUCTO Ed Staek We explore the predctor that wll result a smple radom sample wth respose error whe a

More information

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution:

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution: Chapter 4 Exercses Samplg Theory Exercse (Smple radom samplg: Let there be two correlated radom varables X ad A sample of sze s draw from a populato by smple radom samplg wthout replacemet The observed

More information

( q Modal Analysis. Eigenvectors = Mode Shapes? Eigenproblem (cont) = x x 2 u 2. u 1. x 1 (4.55) vector and M and K are matrices.

( q Modal Analysis. Eigenvectors = Mode Shapes? Eigenproblem (cont) = x x 2 u 2. u 1. x 1 (4.55) vector and M and K are matrices. 4.3 - Modal Aalyss Physcal coordates are ot always the easest to work Egevectors provde a coveet trasformato to modal coordates Modal coordates are lear combato of physcal coordates Say we have physcal

More information

Mu Sequences/Series Solutions National Convention 2014

Mu Sequences/Series Solutions National Convention 2014 Mu Sequeces/Seres Solutos Natoal Coveto 04 C 6 E A 6C A 6 B B 7 A D 7 D C 7 A B 8 A B 8 A C 8 E 4 B 9 B 4 E 9 B 4 C 9 E C 0 A A 0 D B 0 C C Usg basc propertes of arthmetc sequeces, we fd a ad bm m We eed

More information

Spreadsheet Problem Solving

Spreadsheet Problem Solving 1550 1500 CO Emmssos for the US, 1989 000 Class meetg #6 Moday, Sept 14 th CO Emssos (MMT Carbo) y = 1.3x 41090.17 1450 1400 1350 1300 1989 1990 1991 199 1993 1994 1995 1996 1997 1998 1999 000 Year GEEN

More information

n -dimensional vectors follow naturally from the one

n -dimensional vectors follow naturally from the one B. Vectors ad sets B. Vectors Ecoomsts study ecoomc pheomea by buldg hghly stylzed models. Uderstadg ad makg use of almost all such models requres a hgh comfort level wth some key mathematcal sklls. I

More information

Objectives of Multiple Regression

Objectives of Multiple Regression Obectves of Multple Regresso Establsh the lear equato that best predcts values of a depedet varable Y usg more tha oe eplaator varable from a large set of potetal predctors {,,... k }. Fd that subset of

More information

Taylor s Series and Interpolation. Interpolation & Curve-fitting. CIS Interpolation. Basic Scenario. Taylor Series interpolates at a specific

Taylor s Series and Interpolation. Interpolation & Curve-fitting. CIS Interpolation. Basic Scenario. Taylor Series interpolates at a specific CIS 54 - Iterpolato Roger Crawfs Basc Scearo We are able to prod some fucto, but do ot kow what t really s. Ths gves us a lst of data pots: [x,f ] f(x) f f + x x + August 2, 25 OSU/CIS 54 3 Taylor s Seres

More information

Maximum Likelihood Estimation

Maximum Likelihood Estimation Marquette Uverst Maxmum Lkelhood Estmato Dael B. Rowe, Ph.D. Professor Departmet of Mathematcs, Statstcs, ad Computer Scece Coprght 08 b Marquette Uverst Maxmum Lkelhood Estmato We have bee sag that ~

More information

Multiple Regression. More than 2 variables! Grade on Final. Multiple Regression 11/21/2012. Exam 2 Grades. Exam 2 Re-grades

Multiple Regression. More than 2 variables! Grade on Final. Multiple Regression 11/21/2012. Exam 2 Grades. Exam 2 Re-grades STAT 101 Dr. Kar Lock Morga 11/20/12 Exam 2 Grades Multple Regresso SECTIONS 9.2, 10.1, 10.2 Multple explaatory varables (10.1) Parttog varablty R 2, ANOVA (9.2) Codtos resdual plot (10.2) Trasformatos

More information

CHAPTER VI Statistical Analysis of Experimental Data

CHAPTER VI Statistical Analysis of Experimental Data Chapter VI Statstcal Aalyss of Expermetal Data CHAPTER VI Statstcal Aalyss of Expermetal Data Measuremets do ot lead to a uque value. Ths s a result of the multtude of errors (maly radom errors) that ca

More information

Log1 Contest Round 2 Theta Complex Numbers. 4 points each. 5 points each

Log1 Contest Round 2 Theta Complex Numbers. 4 points each. 5 points each 01 Log1 Cotest Roud Theta Complex Numbers 1 Wrte a b Wrte a b form: 1 5 form: 1 5 4 pots each Wrte a b form: 65 4 4 Evaluate: 65 5 Determe f the followg statemet s always, sometmes, or ever true (you may

More information

Generalized Linear Regression with Regularization

Generalized Linear Regression with Regularization Geeralze Lear Regresso wth Regularzato Zoya Bylsk March 3, 05 BASIC REGRESSION PROBLEM Note: I the followg otes I wll make explct what s a vector a what s a scalar usg vec t or otato, to avo cofuso betwee

More information

Numerical Analysis Formulae Booklet

Numerical Analysis Formulae Booklet Numercal Aalyss Formulae Booklet. Iteratve Scemes for Systems of Lear Algebrac Equatos:.... Taylor Seres... 3. Fte Dfferece Approxmatos... 3 4. Egevalues ad Egevectors of Matrces.... 3 5. Vector ad Matrx

More information

Third handout: On the Gini Index

Third handout: On the Gini Index Thrd hadout: O the dex Corrado, a tala statstca, proposed (, 9, 96) to measure absolute equalt va the mea dfferece whch s defed as ( / ) where refers to the total umber of dvduals socet. Assume that. The

More information

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix Assgmet 7/MATH 47/Wter, 00 Due: Frday, March 9 Powers o a square matrx Gve a square matrx A, ts powers A or large, or eve arbtrary, teger expoets ca be calculated by dagoalzg A -- that s possble (!) Namely,

More information

AN UPPER BOUND FOR THE PERMANENT VERSUS DETERMINANT PROBLEM BRUNO GRENET

AN UPPER BOUND FOR THE PERMANENT VERSUS DETERMINANT PROBLEM BRUNO GRENET AN UPPER BOUND FOR THE PERMANENT VERSUS DETERMINANT PROBLEM BRUNO GRENET Abstract. The Permaet versus Determat problem s the followg: Gve a matrx X of determates over a feld of characterstc dfferet from

More information

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation PGE 30: Formulato ad Soluto Geosystems Egeerg Dr. Balhoff Iterpolato Numercal Methods wth MATLAB, Recktewald, Chapter 0 ad Numercal Methods for Egeers, Chapra ad Caale, 5 th Ed., Part Fve, Chapter 8 ad

More information

Chapter 4 Multiple Random Variables

Chapter 4 Multiple Random Variables Revew for the prevous lecture: Theorems ad Examples: How to obta the pmf (pdf) of U = g (, Y) ad V = g (, Y) Chapter 4 Multple Radom Varables Chapter 44 Herarchcal Models ad Mxture Dstrbutos Examples:

More information

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b CS 70 Dscrete Mathematcs ad Probablty Theory Fall 206 Sesha ad Walrad DIS 0b. Wll I Get My Package? Seaky delvery guy of some compay s out delverg packages to customers. Not oly does he had a radom package

More information

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS Numercal Computg -I UNIT SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS Structure Page Nos..0 Itroducto 6. Objectves 7. Ital Approxmato to a Root 7. Bsecto Method 8.. Error Aalyss 9.4 Regula Fals Method

More information

Simple Linear Regression

Simple Linear Regression Correlato ad Smple Lear Regresso Berl Che Departmet of Computer Scece & Iformato Egeerg Natoal Tawa Normal Uversty Referece:. W. Navd. Statstcs for Egeerg ad Scetsts. Chapter 7 (7.-7.3) & Teachg Materal

More information

Chapter 8. Inferences about More Than Two Population Central Values

Chapter 8. Inferences about More Than Two Population Central Values Chapter 8. Ifereces about More Tha Two Populato Cetral Values Case tudy: Effect of Tmg of the Treatmet of Port-We tas wth Lasers ) To vestgate whether treatmet at a youg age would yeld better results tha

More information

means the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever.

means the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever. 9.4 Sequeces ad Seres Pre Calculus 9.4 SEQUENCES AND SERIES Learg Targets:. Wrte the terms of a explctly defed sequece.. Wrte the terms of a recursvely defed sequece. 3. Determe whether a sequece s arthmetc,

More information

Application of Legendre Bernstein basis transformations to degree elevation and degree reduction

Application of Legendre Bernstein basis transformations to degree elevation and degree reduction Computer Aded Geometrc Desg 9 79 78 www.elsever.com/locate/cagd Applcato of Legedre Berste bass trasformatos to degree elevato ad degree reducto Byug-Gook Lee a Yubeom Park b Jaechl Yoo c a Dvso of Iteret

More information

18.413: Error Correcting Codes Lab March 2, Lecture 8

18.413: Error Correcting Codes Lab March 2, Lecture 8 18.413: Error Correctg Codes Lab March 2, 2004 Lecturer: Dael A. Spelma Lecture 8 8.1 Vector Spaces A set C {0, 1} s a vector space f for x all C ad y C, x + y C, where we take addto to be compoet wse

More information

Special Instructions / Useful Data

Special Instructions / Useful Data JAM 6 Set of all real umbers P A..d. B, p Posso Specal Istructos / Useful Data x,, :,,, x x Probablty of a evet A Idepedetly ad detcally dstrbuted Bomal dstrbuto wth parameters ad p Posso dstrbuto wth

More information

F. Inequalities. HKAL Pure Mathematics. 進佳數學團隊 Dr. Herbert Lam 林康榮博士. [Solution] Example Basic properties

F. Inequalities. HKAL Pure Mathematics. 進佳數學團隊 Dr. Herbert Lam 林康榮博士. [Solution] Example Basic properties 進佳數學團隊 Dr. Herbert Lam 林康榮博士 HKAL Pure Mathematcs F. Ieualtes. Basc propertes Theorem Let a, b, c be real umbers. () If a b ad b c, the a c. () If a b ad c 0, the ac bc, but f a b ad c 0, the ac bc. Theorem

More information

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses Johs Hopks Uverst Departmet of Bostatstcs Math Revew for Itroductor Courses Ratoale Bostatstcs courses wll rel o some fudametal mathematcal relatoshps, fuctos ad otato. The purpose of ths Math Revew s

More information

Pinaki Mitra Dept. of CSE IIT Guwahati

Pinaki Mitra Dept. of CSE IIT Guwahati Pak Mtra Dept. of CSE IIT Guwahat Hero s Problem HIGHWAY FACILITY LOCATION Faclty Hgh Way Farm A Farm B Illustrato of the Proof of Hero s Theorem p q s r r l d(p,r) + d(q,r) = d(p,q) p d(p,r ) + d(q,r

More information

Lecture 2: Linear Least Squares Regression

Lecture 2: Linear Least Squares Regression Lecture : Lear Least Squares Regresso Dave Armstrog UW Mlwaukee February 8, 016 Is the Relatoshp Lear? lbrary(car) data(davs) d 150) Davs$weght[d]

More information

Point Estimation: definition of estimators

Point Estimation: definition of estimators Pot Estmato: defto of estmators Pot estmator: ay fucto W (X,..., X ) of a data sample. The exercse of pot estmato s to use partcular fuctos of the data order to estmate certa ukow populato parameters.

More information

Lecture 5: Interpolation. Polynomial interpolation Rational approximation

Lecture 5: Interpolation. Polynomial interpolation Rational approximation Lecture 5: Iterpolato olyomal terpolato Ratoal appromato Coeffcets of the polyomal Iterpolato: Sometme we kow the values of a fucto f for a fte set of pots. Yet we wat to evaluate f for other values perhaps

More information

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory ROAD MAP... AE301 Aerodyamcs I UNIT C: 2-D Arfols C-1: Aerodyamcs of Arfols 1 C-2: Aerodyamcs of Arfols 2 C-3: Pael Methods C-4: Th Arfol Theory AE301 Aerodyamcs I Ut C-3: Lst of Subects Problem Solutos?

More information

Overview of the weighting constants and the points where we evaluate the function for The Gaussian quadrature Project two

Overview of the weighting constants and the points where we evaluate the function for The Gaussian quadrature Project two Overvew of the weghtg costats ad the pots where we evaluate the fucto for The Gaussa quadrature Project two By Ashraf Marzouk ChE 505 Fall 005 Departmet of Mechacal Egeerg Uversty of Teessee Koxvlle, TN

More information

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010 Summato Operator A Prmer o Summato otato George H Olso Ph D Doctoral Program Educatoal Leadershp Appalacha State Uversty Sprg 00 The summato operator ( ) {Greek letter captal sgma} s a structo to sum over

More information

SPECIAL CONSIDERATIONS FOR VOLUMETRIC Z-TEST FOR PROPORTIONS

SPECIAL CONSIDERATIONS FOR VOLUMETRIC Z-TEST FOR PROPORTIONS SPECIAL CONSIDERAIONS FOR VOLUMERIC Z-ES FOR PROPORIONS Oe s stctve reacto to the questo of whether two percetages are sgfcatly dfferet from each other s to treat them as f they were proportos whch the

More information

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ " 1

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ  1 STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS Recall Assumpto E(Y x) η 0 + η x (lear codtoal mea fucto) Data (x, y ), (x 2, y 2 ),, (x, y ) Least squares estmator ˆ E (Y x) ˆ " 0 + ˆ " x, where ˆ

More information

Dr. Shalabh. Indian Institute of Technology Kanpur

Dr. Shalabh. Indian Institute of Technology Kanpur Aalyss of Varace ad Desg of Expermets-I MODULE -I LECTURE - SOME RESULTS ON LINEAR ALGEBRA, MATRIX THEORY AND DISTRIBUTIONS Dr. Shalabh Departmet t of Mathematcs t ad Statstcs t t Ida Isttute of Techology

More information

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses Johs Hopks Uverst Departmet of Bostatstcs Math Revew for Itroductor Courses Ratoale Bostatstcs courses wll rel o some fudametal mathematcal relatoshps, fuctos ad otato. The purpose of ths Math Revew s

More information

Lecture 9: Tolerant Testing

Lecture 9: Tolerant Testing Lecture 9: Tolerat Testg Dael Kae Scrbe: Sakeerth Rao Aprl 4, 07 Abstract I ths lecture we prove a quas lear lower boud o the umber of samples eeded to do tolerat testg for L dstace. Tolerat Testg We have

More information

MEASURES OF DISPERSION

MEASURES OF DISPERSION MEASURES OF DISPERSION Measure of Cetral Tedecy: Measures of Cetral Tedecy ad Dsperso ) Mathematcal Average: a) Arthmetc mea (A.M.) b) Geometrc mea (G.M.) c) Harmoc mea (H.M.) ) Averages of Posto: a) Meda

More information

For combinatorial problems we might need to generate all permutations, combinations, or subsets of a set.

For combinatorial problems we might need to generate all permutations, combinations, or subsets of a set. Addtoal Decrease ad Coquer Algorthms For combatoral problems we mght eed to geerate all permutatos, combatos, or subsets of a set. Geeratg Permutatos If we have a set f elemets: { a 1, a 2, a 3, a } the

More information

Applied Fitting Theory VII. Building Virtual Particles

Applied Fitting Theory VII. Building Virtual Particles Appled Fttg heory II Paul Avery CBX 98 38 Jue 8, 998 Apr. 7, 999 (rev.) Buldg rtual Partcles I Statemet of the problem I may physcs aalyses we ecouter the problem of mergg a set of partcles to a sgle partcle

More information

Lattices. Mathematical background

Lattices. Mathematical background Lattces Mathematcal backgroud Lattces : -dmesoal Eucldea space. That s, { T x } x x = (,, ) :,. T T If x= ( x,, x), y = ( y,, y), the xy, = xy (er product of xad y) x = /2 xx, (Eucldea legth or orm of

More information

2.28 The Wall Street Journal is probably referring to the average number of cubes used per glass measured for some population that they have chosen.

2.28 The Wall Street Journal is probably referring to the average number of cubes used per glass measured for some population that they have chosen. .5 x 54.5 a. x 7. 786 7 b. The raked observatos are: 7.4, 7.5, 7.7, 7.8, 7.9, 8.0, 8.. Sce the sample sze 7 s odd, the meda s the (+)/ 4 th raked observato, or meda 7.8 c. The cosumer would more lkely

More information

The number of observed cases The number of parameters. ith case of the dichotomous dependent variable. the ith case of the jth parameter

The number of observed cases The number of parameters. ith case of the dichotomous dependent variable. the ith case of the jth parameter LOGISTIC REGRESSION Notato Model Logstc regresso regresses a dchotomous depedet varable o a set of depedet varables. Several methods are mplemeted for selectg the depedet varables. The followg otato s

More information

Descriptive Statistics

Descriptive Statistics Page Techcal Math II Descrptve Statstcs Descrptve Statstcs Descrptve statstcs s the body of methods used to represet ad summarze sets of data. A descrpto of how a set of measuremets (for eample, people

More information

Ahmed Elgamal. MDOF Systems & Modal Analysis

Ahmed Elgamal. MDOF Systems & Modal Analysis DOF Systems & odal Aalyss odal Aalyss (hese otes cover sectos from Ch. 0, Dyamcs of Structures, Al Chopra, Pretce Hall, 995). Refereces Dyamcs of Structures, Al K. Chopra, Pretce Hall, New Jersey, ISBN

More information

MA/CSSE 473 Day 27. Dynamic programming

MA/CSSE 473 Day 27. Dynamic programming MA/CSSE 473 Day 7 Dyamc Programmg Bomal Coeffcets Warshall's algorthm (Optmal BSTs) Studet questos? Dyamc programmg Used for problems wth recursve solutos ad overlappg subproblems Typcally, we save (memoze)

More information

Chapter 14 Logistic Regression Models

Chapter 14 Logistic Regression Models Chapter 4 Logstc Regresso Models I the lear regresso model X β + ε, there are two types of varables explaatory varables X, X,, X k ad study varable y These varables ca be measured o a cotuous scale as

More information

Singular Value Decomposition. Linear Algebra (3) Singular Value Decomposition. SVD and Eigenvectors. Solving LEs with SVD

Singular Value Decomposition. Linear Algebra (3) Singular Value Decomposition. SVD and Eigenvectors. Solving LEs with SVD Sgular Value Decomosto Lear Algera (3) m Cootes Ay m x matrx wth m ca e decomosed as follows Dagoal matrx A UWV m x x Orthogoal colums U U I w1 0 0 w W M M 0 0 x Orthoormal (Pure rotato) VV V V L 0 L 0

More information

STA 108 Applied Linear Models: Regression Analysis Spring Solution for Homework #1

STA 108 Applied Linear Models: Regression Analysis Spring Solution for Homework #1 STA 08 Appled Lear Models: Regresso Aalyss Sprg 0 Soluto for Homework #. Let Y the dollar cost per year, X the umber of vsts per year. The the mathematcal relato betwee X ad Y s: Y 300 + X. Ths s a fuctoal

More information

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations Dervato of -Pot Block Method Formula for Solvg Frst Order Stff Ordary Dfferetal Equatos Kharul Hamd Kharul Auar, Kharl Iskadar Othma, Zara Bb Ibrahm Abstract Dervato of pot block method formula wth costat

More information

PTAS for Bin-Packing

PTAS for Bin-Packing CS 663: Patter Matchg Algorthms Scrbe: Che Jag /9/00. Itroducto PTAS for B-Packg The B-Packg problem s NP-hard. If we use approxmato algorthms, the B-Packg problem could be solved polyomal tme. For example,

More information

ρ < 1 be five real numbers. The

ρ < 1 be five real numbers. The Lecture o BST 63: Statstcal Theory I Ku Zhag, /0/006 Revew for the prevous lecture Deftos: covarace, correlato Examples: How to calculate covarace ad correlato Theorems: propertes of correlato ad covarace

More information

The equation is sometimes presented in form Y = a + b x. This is reasonable, but it s not the notation we use.

The equation is sometimes presented in form Y = a + b x. This is reasonable, but it s not the notation we use. INTRODUCTORY NOTE ON LINEAR REGREION We have data of the form (x y ) (x y ) (x y ) These wll most ofte be preseted to us as two colum of a spreadsheet As the topc develops we wll see both upper case ad

More information

Ideal multigrades with trigonometric coefficients

Ideal multigrades with trigonometric coefficients Ideal multgrades wth trgoometrc coeffcets Zarathustra Brady December 13, 010 1 The problem A (, k) multgrade s defed as a par of dstct sets of tegers such that (a 1,..., a ; b 1,..., b ) a j = =1 for all

More information

8.1 Hashing Algorithms

8.1 Hashing Algorithms CS787: Advaced Algorthms Scrbe: Mayak Maheshwar, Chrs Hrchs Lecturer: Shuch Chawla Topc: Hashg ad NP-Completeess Date: September 21 2007 Prevously we looked at applcatos of radomzed algorthms, ad bega

More information

Feature Selection: Part 2. 1 Greedy Algorithms (continued from the last lecture)

Feature Selection: Part 2. 1 Greedy Algorithms (continued from the last lecture) CSE 546: Mache Learg Lecture 6 Feature Selecto: Part 2 Istructor: Sham Kakade Greedy Algorthms (cotued from the last lecture) There are varety of greedy algorthms ad umerous amg covetos for these algorthms.

More information

Algorithms Theory, Solution for Assignment 2

Algorithms Theory, Solution for Assignment 2 Juor-Prof. Dr. Robert Elsässer, Marco Muñz, Phllp Hedegger WS 2009/200 Algorthms Theory, Soluto for Assgmet 2 http://lak.formatk.u-freburg.de/lak_teachg/ws09_0/algo090.php Exercse 2. - Fast Fourer Trasform

More information

Multiple Linear Regression Analysis

Multiple Linear Regression Analysis LINEA EGESSION ANALYSIS MODULE III Lecture - 4 Multple Lear egresso Aalyss Dr. Shalabh Departmet of Mathematcs ad Statstcs Ida Isttute of Techology Kapur Cofdece terval estmato The cofdece tervals multple

More information