Matrix Algebra Tutorial With Examples in Matlab

Size: px
Start display at page:

Download "Matrix Algebra Tutorial With Examples in Matlab"

Transcription

1 Matr Algebra Tutoral Wth Eamples Matlab by Klaus Moelter Departmet of Agrcultural ad Appled Ecoomcs Vrga Tech emal: web: Specfcally desged as a / day "bare-boes" troducto to Matr Algebra usg Matlab for begg Graduate Ecoometrcs studets Commets & suggestos are always welcome!

2 Notes o Notato Followg stadard coveto (as used ecoometrcs) we wll de the rows of a matr by "" (..), ad the colums by "j"(j :k). Thus, the total umber of rows ad colums are gve by "" ad "k", respectvely. For both row ad colum vectors elemets wll be deed by "" (..). Bold-faced otato wll be used for vectors ad matrces. Addtoal otato wll be troduced o a case-by-case bass. Module I. Basc Vector ad Matr Operatos (see Matlab scrpt scrpt ma_mod) Vector & Matr deftos ad the Traspose operator Vectors: or k Specal case: Scalar ( k ) Matrces:, k > Colum vector Row vector y y y y [ ] 3 Traspose operator [ ] 3 y y y y Matr eamples, k : X 3, k : m m M m m m3 m Traspose operator: X M m m m 3 m m m 3

3 Matr addto / subtracto: a a a3 b b b3 A a a a B b b b a + b a + b a3 + b3 A + B a b a b a3 b a b a b a3 b3 A B a b a b a3 b Note: For ths to work the two matrces must have detcal dmesos,.e. A B, k A k B Specal Matrces: Square matr: k (e: matr X above) Dagoal matr: A square matr wth o-zero elemets o ts dagoal, ad zeros everywhere else. A specal case s the detty matr I, whch has a dagoal of "'s". I Matlab, smply use eye() to create a detty matr of sze. (see scrpt) Symmetrc matr: A square matr for whch m m, j,.e. elemets above the dagoal are mrror mages of elemets below the dagoal. Eample: j j M For ay symmetrc matr: M' M Vector ad Matr multplcato: The smplest case s the multplcato of a row vector by a colum vector: b a [ a a a3 ] b b b a b a b + a b + a b [ ] 3 3 Ths s called the er product of two vectors. Rule: For ths to work the colum dmeso of the frst vector must be equal to the row dmeso of the secod,.e. k a b. Note: Wheever you multply a row vector by a colum vector, the result wll be a scalar ( matr). I geeral, for row vector a ad colum vector b (where k a b ), we get: a b ab Kowg ths result allows us to perform ay multplcato of coformable vectors ad matrces.

4 3 Some geeral rules:. Matrces must be coformable for multplcato,.e. the colum dmeso of the frst matr must be equal to the row dmeso of the secod,.e. k A B. The resultg ew matr wll be of dmeso A by k B 3. Deotg a dvdual cell the resultg matr for row, colum j as m j, use the followg rule to fll these cells: mj (row of frst matr) * (colum j of secod matr) Eamples: Usg a ad b from above: b a b a b a b a 3 ba ba ba 3 b3a b3a b3a Usg X ad M from above: m + m m + m M X m m m m + + m3 + m3 m3 + m3 frst row of M frst colum of X frst row of M secod colum of X secod row of M frst colum of X secod row of secod colum of M X thrd row of M frst colum of X thrd row of M secod colum of X Note: Ay vector or matr ca be pre- or post-multpled by a scalar. Multplcato s the performed elemet-by-elemet. Usg aga M from above, ad scalar s: sm sm sm sm sm sm sm 3 3 Also, for ay detty matr I ad coformable matr M we have: MI M ad / or IM M (thus the ame "detty matr"). Some mportat specal cases: For colum vector wth rows (or elemets), we get. For ay two colum vectors a ad b of equal legth, we ca thus derve results such as:

5 4 ' ( a - b) ( a - b) ( a b ) ' ( a + b) ( a + b) ( a + b ) The -vector: Cosder a colum vector of legth wth all ""'s. Such a vector s ofte deoted as. Some useful results: For scalar s: s s s s ( by matr of ""'s) For, ad some colum vector of equal legth :. I Matlab, use oes(,) to create a -(colum) vector of legth. Combg some of these results: The summed devatos of the elemets of colum vector from ts mea ca be epressed as: ( ) ( ) ( ) Useful Rules: For coformable matrces A, B, C: A B B A ( ) ( A B ) C A ( B C) ( ) A B + C A B + A C Bedg the Rules: The "Dot" operator Matlab Matlab's "dot" operator performs elemet-by-elemet multplcato ad dvsos for matrces that have detcal dmesos. Strctly speakg, ths s ot a permssble "tetbook procedure", but t ca be very useful programmg. Eample:

6 5 A B A./B A.*B Practce: Q: Let 3 0 A B C D E Compute by had: a. A+B b. C*A c. (C*A) d. A C e. A C f. C*D g. D*C h. 3*B. B j. E *C k. E *E l. E*E Check your work usg Matlab (see scrpt ma_mod for solutos)

7 6 Q: Usg vector, oes-vector ( ), ad/or detty matr I ( ), derve the followg epressos:, Q.3: Cosder the vector. Fd A s.t. [ ] Fd B s.t. B. A (ote the traspose at the ed). a Combe mapulatos of ad vector a a to obta a a + a + a Q.4: Usg the "dot" operator combato wth ut vector ad detty matr I, compute : (by had) the followg dervatos of vector [ ] 3 / where s the mea of the elemets of. 4

8 7 Module II. Workg wth Parttoed Matrces (see Matlab scrpt ma_mod) More otes o otato (or: "a cofusg coveto"): Whe performg matr mapulatos, cludg parttog, we ofte wat to refer to dvdual rows or colums. To follow Greee ad some other popular ecoometrcs tetbooks, we wll geercally de colums by "c j " (j..k, as before), ad rows by ther trasposes, e.g. (..., as before). So we thk of each row as a trasposed colum wth dmeso k. (However, some cases, we wll devate from ths coveto, just to keep you o your toes...) Ay matr X ca be vsualzed as beg composed by sub-matrces or vectors. Fragmetg a matr to sub-elemets s called "parttog" a matr. Cosder the followg matr: X There are may dfferet ways to partto X. Here are some eamples: E.: Partto to colums [ ] X c c c c 3 4 where 3 4 c c c c E.: Partto to rows 3 4 X E. 3: 3 4 where X X X X X X where 3 4 X 3 4 X X

9 8 E.4: X X X where X X 3 4 X X X [ ] X There are two basc "rules" for parttog a matr:. Adjacet sub-matrces eed to share the same dmeso alog the "glue" le. Together, the sub-matrces eed to fully cota all orgal elemets, ad thus yeld the orgal matr. Perhaps the best & most mportat aspect of parttoed matrces s that they allow us to compactly epress complcated matr products. Parttog va colums (as the frst eample above) or rows (as eample ) s especally mportat ths respect. For eample, cosder matr X from above. Assume we wat to compute or at least vsualze the geeral structure of the matr product M X X. A elemet-by-elemet approach wll be tedous. Istead, we partto X to colum vectors as above ad proceed from there. From before: X [ c c c 3 c 4 ] Whe performg matr operatos usg parttoed matrces, t s best to look at each elemet of the parttoed matr as a " by " (.e. "pseudo-scalar"), but to keep the actual dmesos of each submatr md. I ths case, we ca vew X as a by 4 "row vector". Naturally, each of these pseudo-scalars has dmeso (4 by ) as s clear from specto of the orgal X. Trasposg a parttoed matr. Take the traspose of the orgal parttoed matr (treatg each sub-matr as a pseudo-scalar). Traspose each sub-matr. here: c c X c 3 c 4 Now we ca use basc matr multplcato to derve the product. Frst, let's double-check that the two costructs are coformable ther pseudo-dmesos. X' s pseudo- 4 by. X s pseudo by 4. The

10 9 result wll be pseudo- 4 by 4. Naturally, coformablty also has to hold actual dmesos: X' s 4 by 4, ad so s X. The actual dmesos of the product wll thus also be a 4 by 4. Thus, we get: c c cc cc3 cc4 cc cc cc3 cc4 X X c 3 c c 3 c c 3 c 3 c 3 c 4 c 4c c 4c c 4c3 c 4c The result s a symmetrc matr. Ths s always true for ay "X'*X" operato, regardless of the orgal dmesos of X. Practce: Q: Cosder by k matr X ad by vector y. Deote the rows of X as ',.., ad the colums of X as c j, j k. Also, deote the elemets of y as y. Epress the followg matr products frst terms of, the terms of c j (plus ay y 's f eeded). () X'y () X'X () XX' Q: Cosder the followg vectors: a a a a b b b b c c c c y y y y z z z z Compute a b ad ab ' (show the full results wth all dvdual elemets). The cosder the 3 3 matrces A [ a b c] ad X [ y z]. Show the full results wth all dvdual elemets for A X. The epress A X terms of vectors a, b, c,, y, ad z.

11 0 Module III. Lear Depedece ad Colum Rak (see Matlab scrpt ma_mod3) Geeral deftos & rules. Whe we talk about the "rak" of a matr, we usually refer to ts colum rak.. The colum rak of a matr s the umber of ts learly depedet colums. 3. The colum rak of a matr ca ever eceed the umber of ts rows (mportat f <k) Eamples: 0 4 A rak(a ) (why?) A rak(a ) A 3 4 rak(a 3 ) (why?) A rak(a 4 ) 3 (lear depedece ca be subtle...see scrpt ma_mod3) More geeral deftos & rules:. A matr X has "full rak" whe rak(x) k. A full-rak matr s ofte called "o-sgular".. A rak-defcet matr s called "sgular". 3. A full-rak matr has a o-zero determat (though determats are oly defed for square matrces). The determat of a sgular matr s Full rak s eeded for the verse of a matr to est (though verses are oly defed for square matrces). 5. rak(a*b) m(rak(a), rak(b)) 6. rak(a) rak(a'a) rak(aa')

12 Module IV. Matr Iverses ad Systems of Lear Equatos (see Matlab scrpt ma_mod4) Iverses are oly defed for square, o-sgular matrces. Cosder square ( ) matr A. The verse of A s defed as follows: - B A B A I (detty matr) Thus: - - A A A A I Importat rules: ( ABC) C B A ( A' ) ( A ) ' There are three cases ecoometrcs where the verse plays a mportat role:. I desty fuctos of multvarate dstrbutos. For smplfcato of comple matr multplcatos 3. Solvg systems of lear equatos To llustrate (): I a product of matrces, ay matr or cluster of matrces that s mmedately pre-or post-multpled by ts verse wll "cacel out". Eample: ( ) - B ACD ACD F BIF BF To llustrate (3): Frst, let's see how a system of lear equatos ca be epressed matr terms, usg the lear regresso model as a eample. I lear regresso aalyss, we stpulate the followg geeral relatoshp for a gve dvdual (or frm, household etc) betwee depedet varable ("outcome") y ad a vector of eplaatory varables ( s set to "" for all f the regresso model cotas a tercept term): [ ] k ' y β + β + + β (omttg ay error terms for ow) k k We ca stack these equatos for all.. dvduals: y β + β + + β k k y β + β + + β k k y β + β + + β k k Net, we ote that the left had sde ca be compactly epressed as a vector y [ y y y ] a gve dvdual, the rght had sde ca be wrtte as a er product of vectors:. For

13 β + β + + β β k k [ ] β β k, β β k where We ca ow wrte the etre system as: β k β k where y β X β X β k We ow eed the verse to solve systems of lear equatos (assumg X s full rak). Chagg otato from β to b (the covetoal symbol for the regresso estmate of β), we have: y Xb where y ( ), X ( k), b ( k) ( ) ( ) X X X y X X X Xb b Recall that X'X s always square, so the full rak codto of X s the oly assumpto eeded for ths verse to est.

14 3 Module V. Quadratc Forms, Characterstc Roots, ad Matr Decomposto (see Matlab scrpt ma_mod5) Cosder a () symmetrc matr A ad a () vector. The the scalar q A s called a "quadratc form". Ths structure occurs may optmzato problems. It s also used to assess the "defteess" of a matr. Specfcally:. If q>0 for all ozero (.e for all that do ot cota zeros eclusvely), A s "postve defte".. If q<0 for all ozero, A s "egatve defte". 3. If q 0 for all ozero, A s "oegatve defte" or "postve semdefte". The defteess of a matr becomes a ssue three ma stuatos Ecoometrcs:. Whe comparg the relatve "magtude" of two matrces: Assume we have two symmetrc matrces of equal dmesos (e.g. the varace-covarace matrces of two competg estmators), A ad B. We would lke to determe whch matr s "larger" (e.g. we would lke to choose the estmator wth "less ose",.e. wth the smaller varace-covarace matr). We could the compute the quadratc form of the dfferece ad eame ts magtude,.e. q ( A - B). If q>0, the dfferece s postve defte, ad we would coclude that A s "larger" tha B. The opposte holds f q<0.. I Cholesky factorzato (CF) of a matr. I may ecoometrc aalyses we would lke to represet a symmetrc, postve defte matr as the product of a lower ad a upper tragular matr. Postve-defteess s a requremet for ths to work. The CF, tur, s eeded to draw from certa multvarate dstrbutos ad to ascerta postve-defteess of varace-covarace matrces mamum lkelhood estmato (MLE). Eample: a a a3 l 0 0 l l l3 A a a a L l l 0 L 0 l l where 3 3 a3 a3 a 3 l3 l3 l l 3 the relatoshp betwee the elemets of A ad L has to be such that ALL' holds. Ths mples: 3 3 a l a l l a l l a l l a l l l l a l l l The Matlab commad for the CF s L chol(a). If A s ot postve defte, ad error message occurs. However, ote that Matlab chol(a) produces a upper tragular. So to recostruct A, use L'*L (ad NOT L*L'). 3. I optmzato problems, to assure that a mamum s foud, the matr of secod dervatves ("Hessa matr") must be egatve-defte. It must be postve-defte for a mmum.

15 4 Assessg Defteess: The oly relable way to assess the defteess property of a matr s by specto of ts egevalues or characterstc roots. Cosder ( ) symmetrc matr A. Characterstc roots ad ther correspodg characterstc vectors are defed va the followg equalty: AC CΛ where all matrces are by. The colums of C are called "egevectors" or "characterstc vectors" of A. Matr Λ s a dagoal matr wth the egevalues of A o ts dagoal. If all egevalues > 0, A s postve defte. If all of them are <0, A s egatve defte. If some are >0, some 0, A s postve sem-defte. I Matlab, the vector of egevalues ca be obtaed quckly usg eg(a). If both egevalues ad egevectors are requred, use [C L]eg(A). C Correspods to matr C above, ad L correspods to matr Λ. You ca verfy that C ad L are correct usg the rule: A CΛC' Ths s called the "spectral decomposto" of A. Importat rules:. If A s pos. def., so s ts verse.. If A s by k wth full colum rak, ad >k, the A'A s pos. def. ad AA' s oegatve def. (mportat for lear regresso models) 3. If two matrces A ad B are both pos. def, ad every egevalue of A > egevalue of B whe sorted from smallest to largest, (A - B) s pos. def (so ths s ultmately how we ca fgure out whch matr s "larger") 4. The rak of a matr s the umber of ts o-zero egevalues. Practce: Cosder A Create a separate Matlab scrpt ad call t m5_practce. Your program should accomplsh the followg: create symmetrc A'*A, call t A get the set of egevalues ad the matr of egevectors for A. verfy that A-80, A-84, ad A-85 hold (Greee p ) a. Deduce the rak of A by spectg the set of egevalues. b. Would you epect the determat of A to be zero? Why or why ot? Verfy ths usg det( ) c. Are the colums A learly depedet why or why ot? d. Verfy A's rak usg rak().

16 5 Matr "Calculus" Scalar-valued fuctos: Cosder a geeral fucto that relates a vector to a scalar y,.e. ( ) where [ ] y f k ( ) f By coveto, the set of dervatves s uderstood to be a k colum vector of the form: f f f ( ) g ( ) where "g" stads for "gradet" f k f ( ) (If for some reaso you wsh to obta a row vector stead, use the otato ) Eample: f f ( ) ( ) + 6 f ( ) [ ] Takg secod dervatves yelds a symmetrc k k matr: f f f k f f f f ( ) k H f f f k k k ( ) where "H" stads for "Hessa". For our eample: f ( ) Some coveet results for scalar valued lear fuctos of (see Greee Apped A, p. 839): a a a a A + ( A A ) ( A f A s symmetrc)

17 6 Systems of equatos (or "vector-valued" fuctos): Now cosder a set of scalar-valued fucto y y y f f f ( ) ( ) ( ) Here s the full set of k parameters cotaed the system. Not all equatos may cota all k elemets, but that's OK. We ca compactly wrte ths as ( ) y f I ths case, coveto dctates that frst dervatves are take wth respect to '. The resultg matr of frst dervatves wll have dmeso by k ad take the followg form: f f f k f f f f ( ) k f f f k If a certa elemet of s ot represeted a gve equato, the correspodg dervatve wll be automatcally set to "0", s.t. the resultg matr s always by k. Dervatves of equato systems play a mportat role regresso models for the estmato of varace-covaraces for fuctos of orgal estmators (usg the so called "Delta method"). If the system s lear wthout ay cross-terms, a coveet result s avalable: y A A A ad A' where A s ( k)

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

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 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

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

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

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

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

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

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

{ }{ ( )} (, ) = ( ) ( ) ( ) 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

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

Some Different Perspectives on Linear Least Squares

Some Different Perspectives on Linear Least Squares Soe Dfferet Perspectves o Lear Least Squares A stadard proble statstcs s to easure a respose or depedet varable, y, at fed values of oe or ore depedet varables. Soetes there ests a deterstc odel y f (,,

More information

( ) = ( ) ( ) Chapter 13 Asymptotic Theory and Stochastic Regressors. Stochastic regressors model

( ) = ( ) ( ) Chapter 13 Asymptotic Theory and Stochastic Regressors. Stochastic regressors model Chapter 3 Asmptotc Theor ad Stochastc Regressors The ature of eplaator varable s assumed to be o-stochastc or fed repeated samples a regresso aalss Such a assumpto s approprate for those epermets whch

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

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

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

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

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

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

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

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

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

GG313 GEOLOGICAL DATA ANALYSIS

GG313 GEOLOGICAL DATA ANALYSIS 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

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

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

i 2 σ ) i = 1,2,...,n , and = 3.01 = 4.01

i 2 σ ) i = 1,2,...,n , and = 3.01 = 4.01 ECO 745, Homework 6 Le Cabrera. Assume that the followg data come from the lear model: ε ε ~ N, σ,,..., -6. -.5 7. 6.9 -. -. -.9. -..6.4.. -.6 -.7.7 Fd the mamum lkelhood estmates of,, ad σ ε s.6. 4. ε

More information

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES FDM: Appromato of Frst Order Dervatves Lecture APPROXIMATION OF FIRST ORDER DERIVATIVES. INTRODUCTION Covectve term coservato equatos volve frst order dervatves. The smplest possble approach for dscretzato

More information

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

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

6.867 Machine Learning

6.867 Machine Learning 6.867 Mache Learg Problem set Due Frday, September 9, rectato Please address all questos ad commets about ths problem set to 6.867-staff@a.mt.edu. You do ot eed to use MATLAB for ths problem set though

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

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

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

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy Bouds o the expected etropy ad KL-dvergece of sampled multomal dstrbutos Brado C. Roy bcroy@meda.mt.edu Orgal: May 18, 2011 Revsed: Jue 6, 2011 Abstract Iformato theoretc quattes calculated from a sampled

More information

The Mathematical Appendix

The Mathematical Appendix The Mathematcal Appedx Defto A: If ( Λ, Ω, where ( λ λ λ whch the probablty dstrbutos,,..., Defto A. uppose that ( Λ,,..., s a expermet type, the σ-algebra o λ λ λ are defed s deoted by ( (,,...,, σ Ω.

More 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

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

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

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

1 Lyapunov Stability Theory

1 Lyapunov Stability Theory Lyapuov Stablty heory I ths secto we cosder proofs of stablty of equlbra of autoomous systems. hs s stadard theory for olear systems, ad oe of the most mportat tools the aalyss of olear systems. It may

More information

Mean is only appropriate for interval or ratio scales, not ordinal or nominal.

Mean is only appropriate for interval or ratio scales, not ordinal or nominal. Mea Same as ordary average Sum all the data values ad dvde by the sample sze. x = ( x + x +... + x Usg summato otato, we wrte ths as x = x = x = = ) x Mea s oly approprate for terval or rato scales, ot

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 Notes Forecasting the process of estimating or predicting unknown situations

Lecture Notes Forecasting the process of estimating or predicting unknown situations Lecture Notes. Ecoomc Forecastg. Forecastg the process of estmatg or predctg ukow stuatos Eample usuall ecoomsts predct future ecoomc varables Forecastg apples to a varet of data () tme seres data predctg

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

Class 13,14 June 17, 19, 2015

Class 13,14 June 17, 19, 2015 Class 3,4 Jue 7, 9, 05 Pla for Class3,4:. Samplg dstrbuto of sample mea. The Cetral Lmt Theorem (CLT). Cofdece terval for ukow mea.. Samplg Dstrbuto for Sample mea. Methods used are based o CLT ( Cetral

More information

ECONOMETRIC THEORY. MODULE VIII Lecture - 26 Heteroskedasticity

ECONOMETRIC THEORY. MODULE VIII Lecture - 26 Heteroskedasticity ECONOMETRIC THEORY MODULE VIII Lecture - 6 Heteroskedastcty Dr. Shalabh Departmet of Mathematcs ad Statstcs Ida Isttute of Techology Kapur . Breusch Paga test Ths test ca be appled whe the replcated data

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

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971))

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971)) art 4b Asymptotc Results for MRR usg RESS Recall that the RESS statstc s a specal type of cross valdato procedure (see Alle (97)) partcular to the regresso problem ad volves fdg Y $,, the estmate at the

More information

( ) 2 2. Multi-Layer Refraction Problem Rafael Espericueta, Bakersfield College, November, 2006

( ) 2 2. Multi-Layer Refraction Problem Rafael Espericueta, Bakersfield College, November, 2006 Mult-Layer Refracto Problem Rafael Espercueta, Bakersfeld College, November, 006 Lght travels at dfferet speeds through dfferet meda, but refracts at layer boudares order to traverse the least-tme path.

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

Econ 388 R. Butler 2016 rev Lecture 5 Multivariate 2 I. Partitioned Regression and Partial Regression Table 1: Projections everywhere

Econ 388 R. Butler 2016 rev Lecture 5 Multivariate 2 I. Partitioned Regression and Partial Regression Table 1: Projections everywhere Eco 388 R. Butler 06 rev Lecture 5 Multvarate I. Parttoed Regresso ad Partal Regresso Table : Projectos everywhere P = ( ) ad M = I ( ) ad s a vector of oes assocated wth the costat term Sample Model Regresso

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

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

3. Basic Concepts: Consequences and Properties

3. Basic Concepts: Consequences and Properties : 3. Basc Cocepts: Cosequeces ad Propertes Markku Jutt Overvew More advaced cosequeces ad propertes of the basc cocepts troduced the prevous lecture are derved. Source The materal s maly based o Sectos.6.8

More information

To use adaptive cluster sampling we must first make some definitions of the sampling universe:

To use adaptive cluster sampling we must first make some definitions of the sampling universe: 8.3 ADAPTIVE SAMPLING Most of the methods dscussed samplg theory are lmted to samplg desgs hch the selecto of the samples ca be doe before the survey, so that oe of the decsos about samplg deped ay ay

More information

Transforms that are commonly used are separable

Transforms that are commonly used are separable Trasforms s Trasforms that are commoly used are separable Eamples: Two-dmesoal DFT DCT DST adamard We ca the use -D trasforms computg the D separable trasforms: Take -D trasform of the rows > rows ( )

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

å 1 13 Practice Final Examination Solutions - = CS109 Dec 5, 2018

å 1 13 Practice Final Examination Solutions - = CS109 Dec 5, 2018 Chrs Pech Fal Practce CS09 Dec 5, 08 Practce Fal Examato Solutos. Aswer: 4/5 8/7. There are multle ways to obta ths aswer; here are two: The frst commo method s to sum over all ossbltes for the rak of

More information

9 U-STATISTICS. Eh =(m!) 1 Eh(X (1),..., X (m ) ) i.i.d

9 U-STATISTICS. Eh =(m!) 1 Eh(X (1),..., X (m ) ) i.i.d 9 U-STATISTICS Suppose,,..., are P P..d. wth CDF F. Our goal s to estmate the expectato t (P)=Eh(,,..., m ). Note that ths expectato requres more tha oe cotrast to E, E, or Eh( ). Oe example s E or P((,

More 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

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

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

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

Lecture 02: Bounding tail distributions of a random variable

Lecture 02: Bounding tail distributions of a random variable CSCI-B609: A Theorst s Toolkt, Fall 206 Aug 25 Lecture 02: Boudg tal dstrbutos of a radom varable Lecturer: Yua Zhou Scrbe: Yua Xe & Yua Zhou Let us cosder the ubased co flps aga. I.e. let the outcome

More information

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes coometrcs, CON Sa Fracsco State Uversty Mchael Bar Sprg 5 Mdterm am, secto Soluto Thursday, February 6 hour, 5 mutes Name: Istructos. Ths s closed book, closed otes eam.. No calculators of ay kd are allowed..

More information

Exercises for Square-Congruence Modulo n ver 11

Exercises for Square-Congruence Modulo n ver 11 Exercses for Square-Cogruece Modulo ver Let ad ab,.. Mark True or False. a. 3S 30 b. 3S 90 c. 3S 3 d. 3S 4 e. 4S f. 5S g. 0S 55 h. 8S 57. 9S 58 j. S 76 k. 6S 304 l. 47S 5347. Fd the equvalece classes duced

More 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

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

Qualifying Exam Statistical Theory Problem Solutions August 2005

Qualifying Exam Statistical Theory Problem Solutions August 2005 Qualfyg Exam Statstcal Theory Problem Solutos August 5. Let X, X,..., X be d uform U(,),

More information

Recall MLR 5 Homskedasticity error u has the same variance given any values of the explanatory variables Var(u x1,...,xk) = 2 or E(UU ) = 2 I

Recall MLR 5 Homskedasticity error u has the same variance given any values of the explanatory variables Var(u x1,...,xk) = 2 or E(UU ) = 2 I Chapter 8 Heterosedastcty Recall MLR 5 Homsedastcty error u has the same varace gve ay values of the eplaatory varables Varu,..., = or EUU = I Suppose other GM assumptos hold but have heterosedastcty.

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

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

Arithmetic Mean and Geometric Mean

Arithmetic Mean and Geometric Mean Acta Mathematca Ntresa Vol, No, p 43 48 ISSN 453-6083 Arthmetc Mea ad Geometrc Mea Mare Varga a * Peter Mchalča b a Departmet of Mathematcs, Faculty of Natural Sceces, Costate the Phlosopher Uversty Ntra,

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

Maps on Triangular Matrix Algebras

Maps on Triangular Matrix Algebras Maps o ragular Matrx lgebras HMED RMZI SOUROUR Departmet of Mathematcs ad Statstcs Uversty of Vctora Vctora, BC V8W 3P4 CND sourour@mathuvcca bstract We surveys results about somorphsms, Jorda somorphsms,

More information

ENGI 4421 Joint Probability Distributions Page Joint Probability Distributions [Navidi sections 2.5 and 2.6; Devore sections

ENGI 4421 Joint Probability Distributions Page Joint Probability Distributions [Navidi sections 2.5 and 2.6; Devore sections ENGI 441 Jot Probablty Dstrbutos Page 7-01 Jot Probablty Dstrbutos [Navd sectos.5 ad.6; Devore sectos 5.1-5.] The jot probablty mass fucto of two dscrete radom quattes, s, P ad p x y x y The margal probablty

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 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

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

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Exam: ECON430 Statstcs Date of exam: Frday, December 8, 07 Grades are gve: Jauary 4, 08 Tme for exam: 0900 am 00 oo The problem set covers 5 pages Resources allowed:

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

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

STK4011 and STK9011 Autumn 2016

STK4011 and STK9011 Autumn 2016 STK4 ad STK9 Autum 6 Pot estmato Covers (most of the followg materal from chapter 7: Secto 7.: pages 3-3 Secto 7..: pages 3-33 Secto 7..: pages 35-3 Secto 7..3: pages 34-35 Secto 7.3.: pages 33-33 Secto

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

Bayes (Naïve or not) Classifiers: Generative Approach

Bayes (Naïve or not) Classifiers: Generative Approach Logstc regresso Bayes (Naïve or ot) Classfers: Geeratve Approach What do we mea by Geeratve approach: Lear p(y), p(x y) ad the apply bayes rule to compute p(y x) for makg predctos Ths s essetally makg

More information

( ) ( ) ( ( )) ( ) ( ) ( ) ( ) ( ) = ( ) ( ) + ( ) ( ) = ( ( )) ( ) + ( ( )) ( ) Review. Second Derivatives for f : y R. Let A be an m n matrix.

( ) ( ) ( ( )) ( ) ( ) ( ) ( ) ( ) = ( ) ( ) + ( ) ( ) = ( ( )) ( ) + ( ( )) ( ) Review. Second Derivatives for f : y R. Let A be an m n matrix. Revew + v, + y = v, + v, + y, + y, Cato! v, + y, + v, + y geeral Let A be a atr Let f,g : Ω R ( ) ( ) R y R Ω R h( ) f ( ) g ( ) ( ) ( ) ( ( )) ( ) dh = f dg + g df A, y y A Ay = = r= c= =, : Ω R he Proof

More information

Dimensionality Reduction and Learning

Dimensionality Reduction and Learning CMSC 35900 (Sprg 009) Large Scale Learg Lecture: 3 Dmesoalty Reducto ad Learg Istructors: Sham Kakade ad Greg Shakharovch L Supervsed Methods ad Dmesoalty Reducto The theme of these two lectures s that

More information

7.0 Equality Contraints: Lagrange Multipliers

7.0 Equality Contraints: Lagrange Multipliers Systes Optzato 7.0 Equalty Cotrats: Lagrage Multplers Cosder the zato of a o-lear fucto subject to equalty costrats: g f() R ( ) 0 ( ) (7.) where the g ( ) are possbly also olear fuctos, ad < otherwse

More information

Chapter 5 Elementary Statistics, Empirical Probability Distributions, and More on Simulation

Chapter 5 Elementary Statistics, Empirical Probability Distributions, and More on Simulation Chapter 5 Elemetary Statstcs, Emprcal Probablty Dstrbutos, ad More o Smulato Cotets Coectg Probablty wth Observatos of Data Sample Mea ad Sample Varace Regresso Techques Emprcal Dstrbuto Fuctos More o

More information

We have already referred to a certain reaction, which takes place at high temperature after rich combustion.

We have already referred to a certain reaction, which takes place at high temperature after rich combustion. ME 41 Day 13 Topcs Chemcal Equlbrum - Theory Chemcal Equlbrum Example #1 Equlbrum Costats Chemcal Equlbrum Example #2 Chemcal Equlbrum of Hot Bured Gas 1. Chemcal Equlbrum We have already referred to a

More information

Regression and the LMS Algorithm

Regression and the LMS Algorithm CSE 556: Itroducto to Neural Netorks Regresso ad the LMS Algorthm CSE 556: Regresso 1 Problem statemet CSE 556: Regresso Lear regresso th oe varable Gve a set of N pars of data {, d }, appromate d b a

More information

Generative classification models

Generative classification models CS 75 Mache Learg Lecture Geeratve classfcato models Mlos Hauskrecht mlos@cs.ptt.edu 539 Seott Square Data: D { d, d,.., d} d, Classfcato represets a dscrete class value Goal: lear f : X Y Bar classfcato

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

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

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

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

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

THE ROYAL STATISTICAL SOCIETY 2016 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE MODULE 5

THE ROYAL STATISTICAL SOCIETY 2016 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE MODULE 5 THE ROYAL STATISTICAL SOCIETY 06 EAMINATIONS SOLUTIONS HIGHER CERTIFICATE MODULE 5 The Socety s provdg these solutos to assst cadtes preparg for the examatos 07. The solutos are teded as learg ads ad should

More information

STK3100 and STK4100 Autumn 2017

STK3100 and STK4100 Autumn 2017 SK3 ad SK4 Autum 7 Geeralzed lear models Part III Covers the followg materal from chaters 4 ad 5: Sectos 4..5, 4.3.5, 4.3.6, 4.4., 4.4., ad 4.4.3 Sectos 5.., 5.., ad 5.5. Ørulf Borga Deartmet of Mathematcs

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