Issues in Metric Selection and the TPC-D Single Stream Power

Size: px
Start display at page:

Download "Issues in Metric Selection and the TPC-D Single Stream Power"

Transcription

1 Issues n Metrc Selecton and the TPC-D Sngle Stream Power Alan Crolotte AT&T Global Informaton Solutons The purpose of ths paper s to examne some of the ssues faced by benchmark desgners n stuatons where potentally very large and very small numbers need to be aggregated nto a sngle number.we use, as an example, the case of TPC-D and examne the soluton retaned as descrbed n the TPC-D Draft 6.0 []. The paper focuses on basc ssues whch are at the core of the metrc selecton problem and how choces on the basc ssues naturally lead to choces on metrc alternatves. To smplfy the dscusson, a mathematcal appendx (Appendx A) has been provded thus freeng up the text from mathematcs as much as possble. The Problem In a stuaton where test results for a sngle vendor can be dstrbuted over a very wde range, how can one aggregate all the results nto a sngle fgure of mert so that () the underlyng busness model s represented n the metrc and (2), meanngful vendor to vendor comparsons can be performed? Also, we assume that "small s good".e., a low metrc equates to a good score. Ths s the case for the 9 TPC-D queres [] whch represent a large sample of realstc busness questons n a decson-support envronment. For a gven system and a gven database sze, query executon tmes can vary over a wde range, e.g. some queres could take a few seconds whle others could take several mnutes or even hours. Small ndvdual observatons should, of course, equate to a good score. Averagng, n some fashon, the observatons,.e. fndng a characterstc of central tendency, and takng the nverse wll provde such a score. The smplest characterstc of central tendency s the smple mean whch s equal to the sum of all observatons (query tmes for TPC-D) dvded by the number of observatons. The man advantage of usng the smple mean s ts "physcal" sgnfcance. For TPC-D ts nverse s the average number of queres processed per unt of tme. One of the well- known drawbacks of the arthmetc average s ts senstvty to large observatons whch are out of scope. For nstance, f all observatons are wthn the to 0 range an abnormal observaton of 000 could domnate the arthmetc average so much that the resultng value could be meanngless. In ths knd of a stuaton t s customary to resort to the geometrc average. However, the geometrc average s not a unversal panacea as we see n the sequel. For a gven set of n observatons (e.g. TPC-D query tmes) x 's, the smple mean x - s gven by x - x + x x 2 n n and the geometrc average g s gven by the formula g n x x...x (the query power metrc s computed as the nverse of g.) The formula defnng g 2 n looks smple but t s somewhat confusng when one tres to understand ts physcal meanng. By takng the logarthm and bearng n mnd ts elementary propertes (.e and ), the formula for g can be rewrtten as log x + log x log x 2 n log g n Vewng the geometrc average n ths fashon provdes a more ntutve approach to understandng a metrc based on a geometrc average. Ths s a result of the fact that addng s "easer" than multplyng, the very reason why logarthms were nvented. Wth ths formula we see that the geometrc average can be vewed as an average also! Remember that the smple mean s very senstve to large out of scope values. The same apples to the geometrc average except that the senstvty s to very small values of x resultng n very large (negatve) values of logx.

2 More Averages In summary, so far, we have the arthmetc average whch s too senstve to large values and the geometrc average whch s too senstve to small values. Ths makes the geometrc average senstve to "benchmark specals". A vendor havng found a trcky way to make one observaton extremely small would reap enormous benefts. As we saw earler, the problem wth the geometrc average comes from the "dscontnuty" of the logarthm at the orgn. So long as the observatons are away from zero the geometrc average s well-behaved. To try stayng away from zero let us add a small quantty f to all the x 's and to g whch becomes say g defned f by log (x +f)+ log (x +f) log (x +f) 2 n log (g +f) f n In ths formula f s a fxed quantty ndependent of the observatons. Although ths formula looks dentcal to the "correcton formula" portrayed n paragraph of the TPC-D Draft 6.0 [], t s dfferent n the sense that, n the Draft, the quantty f s not fxed but a functon of the observatons. Snce there are major drawbacks n usng a value of f whch s not fxed (see Appendx B) we confne ourselves to fxed values of f for the purpose of ths analyss. We have "coned" the term f-dsplaced geometrc average for the quantty defned n the above formula. The purpose of the dsplacement s to guard aganst benchmark specals. But then, what to chose for f? We have retaned two canddates, f/000 and f. The frst choce s remnscent of the max/mn rato n the "correcton formula" and there s a good reason for the second choce explaned n Appendx A. Then, there s the half-way average called ths way because t s a compromse, half-way between the smple mean and geometrc average (agan see Appendx A). The half-way average s s defned by the equaton: x + x x 2 n s n Dmensons of Value The queston we can ask ourselves next s: What are the propertes whch make a metrc "good"? Next, we have defned fve dmensons of value so that we can assess the above defned averages or any other metrc, n terms of these dmensons of value. These are: () Ease To Explan referrng to the amount of dffculty one encounters when explanng the metrc to non-mathematcally orented users - t s related to how ntutve the measure s (everybody understands the smple mean). (2) Meanng refers to the ablty to translate the measure nto somethng usable drectly whle dong data base processng (e.g. a transacton rate). (3) Nonhypersenstvty To Extreme Values whch refers to the propensty of a metrc to be overwhelmed by certan values out of range. (4) Scalablty whch refers to the property of a metrc to be scaled by the same amount as the ndvdual observatons (e.g. f all values are dvded by 2 then the metrc s dvded by 2). (5) Balance whch refers to the property of a metrc to favor a relatve decrease n a large value over the same relatve decrease n a small value. Ease To Explan and Meanng These two dmensons are very closely related. Of all the measures consdered only the smple mean has meanng snce t easly translates nto a number of data base transactons a user could expect to perform n a unt of tme. Of course the actual clent workload may not be represented adequately but ths s a general problem and customers can exercse responsblty and make sure they understand ther workload and how t would affect ther throughput. It wll be dffcult to explan any metrc other than the smple mean. In the case of TPC-D, although all averages examned have the dmenson of a query tme they don't have meanng because they cannot be translated nto a number of transactons one can perform. They can, however, be effectve for summary and comparson purposes. Hypersenstvty to Extreme Values The half-way average s not as senstve as the smple mean to large values. For example, takng {,2,...0} and brngng to 000, the smple mean s multpled by 20 but the half-way average s multpled by 6 whle the geometrc average s multpled by 2 only. For small values the geometrc and the dsplaced geometrc averages behave smlarly. Scalablty Ths property s mportant. All averages examned so far, except the f- dsplaced geometrc average, scale wth the observatons;.e. f all observatons are multpled (or dvded) by a factor K then the average s also multpled (or dvded) by the same factor K. Non scalablty s the major drawback of the -dsplaced geometrc average whch looks so good

3 otherwse, especally consderng the fact that f all observatons are small then the -dsplaced geometrc average s close to the smple mean. Balance What we have called here a balanced measure s one whch rewards "workng" on large observatons. Of all measures consdered only the unbalanced measure s the geometrc mean. In other words, wth the geometrc mean t does not pay to "work" on the system to brng the larger observatons down because a relatve drop of say 0% n a large observaton wll equate n the same drop for the geometrc average as would a drop of 0% n a larger observaton. Ths was what the TPC-D subcommttee wanted to accomplsh and that s why the TPC-D metrc s based on a geometrc aver- age. Table and the graph under t show a comparson between the smple mean, the new measures and the geometrc average n order to llustrate some of the ponts just mentoned. TABLE. Comparson Between Arthmetc Average, Geometrc Average, f- Dsplaced Geometrc Average and Half-Average For Fve Sets of Hypothetcal Data set set 2 set 3 set 4 set 5 x x 2 x 3 x x x x x x x mean g g g / s mean g s g/000 g 0 set set 2 set 3 set 4 set 5 In set all observatons are of the same order of magntude and the values of the fve statstcs are very smlar. In set 2 an observaton has been brought down artfcally through the use of a "benchmark specal". The net effect on the geometrc average s a dvson by 2 (correspondng to a doublng of the power whch s the nverse) whle the -dsplaced average or the half-way average behave smlarly to the smple mean and decrease moderately. The /000-dsplaced geometrc average behaves also dentcally to the geometrc average. As the number of

4 observatons whch are brought down ncreases, the hgh senstvty of the geometrc average s exemplfed resultng n doublng the power every tme whle the ncrease usng the -dsplaced geometrc average or the half-way average s moderate, reflectng more of an "addtve" effect. Where do we go from here? Table 2 portrays the summary of the analyss whch took place above. Based on the desred effect, what s mportant and how ths translates nto the above dmensons of value, a choce can be made. The usefulness of what s ds- cussed here s the focus on the real ssues (the dmensons of value). In the case of TPC- D, for example, a major consderaton was the unbalance (N n the balance column). The resultng choce was the geometrc average and the advantages and drawbacks whch come wth t. But, nstead of debatng choces on metrc types, people can debate the real ssues and the relatve mportance of these ssues. Table 2 can then assst n selectng a metrc once the real ssues and the choces on these ssues are clear. My per- sonal choce n a decson support envronment s the half-way average. On one hand I am afrad of benchmark specals because they have a tendency to cast a doubt on the entre benchmark process so I am afrad of the geometrc average n spte of the very good arguments for t. On the other hand, I lke the arthmetc average because t has meanng but t s overwhelmed by large values. The half-way average s rght n between, t s not senstve to extreme values and t scales. Therefore t s the rght choce. TABLE 2. Comparson Summary for Consdered Measures Measure Ease to Meanng Non- Scalablty Balance Explan Hypersenstv ty to Extreme Values current [] N N N N N smple mean Y Y N Y Y XXX N N Y N Y XXX N N N Y N XXX N N N N Y s Y/N N Y Y Y APPENDIX A The ph-average. Gven a set of n observatons x,..., x, and ther assocated weghts or n frequences f,..,f one can defne a gamut of averages. A very broad range of such averages n fall under the general category of ph-averages defned as n [2]: gven a monotonc functon φ the ph-average M s gven by the formula φ n φ( M ) f φ(x ) φ The r-average (Also known as Power Average of Order r). The r-average m s a specal case of φ: x--> x r and s gven by r m r ( f x r ) /r Important subcases are r (the arthmetc average often noted as x - ), r - (the harmonc average), and r 0 whch s a lmt case yeldng the geometrc average (g), and r /2 (the halfway average s). We now proceed to show that h < x - < g. Frst we show that x - < g by notcng that x --> log x s concave and that, therefore log f x f logx

5 The above equaton merely expresses log g log x - whch mples g x -. By rewrtng the above equaton wth y we obtan yet another way of wrtng log g log h where g and h are the geometrc and harmonc averages of the / x 's. The relatonshp between the harmonc average and the geometrc average can be further exploted to show that the r-average s an ncreasng functon of r. Takng the dervatve wth respect to r n the equaton defnng m yelds r where y x r. dm r dr m r ( r 2 -log f logx f x + f x ) Settng g f y / f x we can further reduce the above equaton to dm r dr m r r 2 ( -log f x + g logy ) Callng H the harmonc average of the / y 's wth weghts g the above equaton can be rewrtten as dm r dr m r r 2 ( log H - g log y ) whch s postve snce the second term nsde the parentheses n the equaton above s log G where G s the geometrc average of the / y 's wth weghts g. Therefore, the dervatve of m r wth respect to r s postve and therefore m r s an ncreasng functon of r. The geometrc average as the 0-average. When r --> 0 we can wrte a r e rlog a + rlog a + o(r) and thus: m r r + rlog m + o(r) f (x ) r f + r f log x + o(r) whch smplfes nto r log m r f log x + o(r) r fnally yeldng log m f log x 0 whch s the defnton of the geometrc average, the ph-average for φ: x --> logx. As a result, the half-way average correspondng to r /2 s half-way between the geometrc average (r 0) and the smple average (r ). The-dsplaced average. Consder a ph-average closely related to the geometrc average namely the a-dsplaced geometrc average defned by log (a + g ) f log (a + x ) a where a s postve. Consderng the -dsplaced geometrc average from the pont of vew of ts mathematcal propertes, we have already notced that t falls nto the category of ph-averages correspondng to the functon x--> log (a + x); but, n ths famly of functons (a beng the parameter), the -dsplaced geometrc average (correspondng to a ) plays a role of anchor because t s the only one for whch the value of the functon s zero when the varable s equal to zero. Ths s why t was retaned as a canddate.

6 Relatonshp between arthmetc, geometrc and f-dsplaced geometrc averages The geometrc average can be denoted as g for consstency. It could also be denoted as m 0 0 snce t s also the 0-average, and for ths reason, snce we know that the r-average s an ncreasng functon of r, we have g x -. We are now showng that g s between g and x -. 0 a 0 Frst, notce that x --> log (a + x) s concave and that therefore log f (a + x ) f log (a + x ) Hence, log (a + x - ) log (a + g ) and, snce x --> log (a + x) s also monotonc ncreasng, then a x - g and ths establshes the frst part of the nequalty. a To establsh the second part of the nequalty consder the a-dsplaced geometrc average g a defned by log (a + g ) f log (a + x ) a a + g can also be nterpreted as G(y), the geometrc average of the y 's defned by y a + x. a Takng the dervatve wth respect to a n the equaton defnng g yelds a + d da g a a + g a f a + x whch can be rewrtten as G(y) d da g a f y - G(y) Notce that the equaton H(y) f y defnes H(y) the harmonc average of the y 's and that H(y) G(y) (remember that the harmonc average s the (-)-average whle the geometrc average plays the role of 0-average and that the r-average s an ncreasng functon of r.) Therefore, G(y) d da g a H(y) - G(y) 0 And thus, d da g a 0 nsurng that g a s ncreasng and therefore g g. Ths also establshes 0 that Q n [] wth correcton factor ( / g ) s smaller than the value wthout correcton factor ( / p f g ). 0 Varatons A very mportant pont s related to optmzaton. What should a vendor do n order to obtan a better score? In other words, are there any gudelnes to mprove the perfor- mance? The queston here s "how do the varous averages reward decreases n the ndvdual contrbutors dependng on ther relatve sze?". From the defnton of the r- average m r r f x r

7 we can determne the ncrease n the r-average as a functon of the ncrease n one query tme assumng all the others are equal. Dfferentatng the above equaton one obtans the followng equaton r-?m r x f?x m r- r Ths translates nto whch yelds x r- dm f r m r- r dm dx f x r r m / x r f xr whch lnks the relatve varaton of an ndvdual query tme to the varaton of the measure of central tendency. The term at the left sde of the above equaton s referred to as the "elastcty" n Economcs. Whenever r > 0 we have x > x _ x r 2 > xr 2 and therefore, the elastcty of m r wth respect to x s an ncreasng functon of x. In other words, the bgger x the bgger the relatve decrease of m for a gven relatve decrease d x r / x. Ths s true n partcular for the half-way average correspondng to r /2 (and for the smple mean whch we knew already). It s not true for the geometrc average whch treats equally large and small observatons.for the dsplaced geometrc averages the argument s smlar. Startng wth the defnton of the a-dsplaced geometrc average log (a + g ) a f log (a + x ) and takng the dfferental n both sdes assumng that x only vares dg g x dx a a g a + g f a + x x a a dx Assumng that all the weghts f are equal, notcng that g a a + g a s constant, and that the functon x--> x/ (a + x) s monotonc ncreasng, t s clear that the larger x the larger the relatve ncrease of g for a gven relatve ncrease of x. Therefore the a-dsplaced average s a balanced a measure. APPPENDIX B As we saw, the formula for the f-dsplaced average s log (x + f) + log (x + f) log (x + f) 2 n log (g + f) f n The quantty g defned above s used n the defnton of the power metrc when the rato between f the max and the mn query tme s larger than 000; f s defned as the maxmum query tme dvded by 000. As shown n appendx A, g s always larger than g (the geometrc average) no f matter what the value of s as long as t s postve. Ths property s used to penalze a vendor who would have a "benchmark specal" resultng n one query tme dsproportonally small compared to the other query tmes.

8 As a result, there are two formulas for the power metrc n []. One s used when the max over mn query tme rato s larger than 000 and the other when the rato s larger than 000. Table 3 shows sample data llustratng the dffcultes assocated wth ths "dual formula" stuaton resultng n a lack of "contnuty". Frst, notce set 2 whch llustrates the pont that the smple mean s very senstve to large out of scope values and set 3 whch llustrates the pont that the geometrc average g s very senstve to small values. Set 4 nvolves a margnal case where the max/mn rato s 000 and thus, the geometrc average s used (value 2.86). In set 3, the max/mn rato s larger than 000 and s used (value 2.88) s very close to 2.86 but the problem s that set 3 s "better" than set 4 and yet the power (nverse of the geometrc average) decreases! TABLE 3. Varatons of the Current Metrc for Sample Data set set 2 set 3 set 4 set 5 x x x x x x x x x x mean g g f The stuaton s slghtly dfferent when comparng set 4 and set 5. In set 5 the max/mn s hgher than 000 so g s used wth f 0./ yeldng the value 3.06 compared to set 4 f whch yelds 2.86 wth the geometrc average. Lookng at set 5 n solaton one can see that usng the "corrected" metrc does penalze (3.06 vs. 2.86) but comparng set 5 and set 4 there s a bg drop from set 5 to set 4 (about 7%) but set 4 and set 5 are almost the same. Actually, f we had used to geometrc average, we would have concluded that set 4 and set 5 where about the same (2.86). Indeed, the only real dfference between set 4 and set 5 s that the formula has changed! Based on the recommendaton of ths author the correcton formula has been abandoned by the TPC-D subcommttee. REFERENCES [] TPC BENCHMARK D (Decson Support), Workng Draft 6.0, August, 993, Edted by Franços Raab, Transacton Processng Councl. [2] Calot, G., Cours de Statstque Descrptve, 964, Dunod, Pars

Section 8.3 Polar Form of Complex Numbers

Section 8.3 Polar Form of Complex Numbers 80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

8.6 The Complex Number System

8.6 The Complex Number System 8.6 The Complex Number System Earler n the chapter, we mentoned that we cannot have a negatve under a square root, snce the square of any postve or negatve number s always postve. In ths secton we want

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

Open Systems: Chemical Potential and Partial Molar Quantities Chemical Potential

Open Systems: Chemical Potential and Partial Molar Quantities Chemical Potential Open Systems: Chemcal Potental and Partal Molar Quanttes Chemcal Potental For closed systems, we have derved the followng relatonshps: du = TdS pdv dh = TdS + Vdp da = SdT pdv dg = VdP SdT For open systems,

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification E395 - Pattern Recognton Solutons to Introducton to Pattern Recognton, Chapter : Bayesan pattern classfcaton Preface Ths document s a soluton manual for selected exercses from Introducton to Pattern Recognton

More information

x = , so that calculated

x = , so that calculated Stat 4, secton Sngle Factor ANOVA notes by Tm Plachowsk n chapter 8 we conducted hypothess tests n whch we compared a sngle sample s mean or proporton to some hypotheszed value Chapter 9 expanded ths to

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

THE SUMMATION NOTATION Ʃ

THE SUMMATION NOTATION Ʃ Sngle Subscrpt otaton THE SUMMATIO OTATIO Ʃ Most of the calculatons we perform n statstcs are repettve operatons on lsts of numbers. For example, we compute the sum of a set of numbers, or the sum of the

More information

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

More information

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

STATISTICS QUESTIONS. Step by Step Solutions.

STATISTICS QUESTIONS. Step by Step Solutions. STATISTICS QUESTIONS Step by Step Solutons www.mathcracker.com 9//016 Problem 1: A researcher s nterested n the effects of famly sze on delnquency for a group of offenders and examnes famles wth one to

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

PHYS 705: Classical Mechanics. Calculus of Variations II

PHYS 705: Classical Mechanics. Calculus of Variations II 1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary

More information

Feature Selection: Part 1

Feature Selection: Part 1 CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?

More information

Week 9 Chapter 10 Section 1-5

Week 9 Chapter 10 Section 1-5 Week 9 Chapter 10 Secton 1-5 Rotaton Rgd Object A rgd object s one that s nondeformable The relatve locatons of all partcles makng up the object reman constant All real objects are deformable to some extent,

More information

Economics 101. Lecture 4 - Equilibrium and Efficiency

Economics 101. Lecture 4 - Equilibrium and Efficiency Economcs 0 Lecture 4 - Equlbrum and Effcency Intro As dscussed n the prevous lecture, we wll now move from an envronment where we looed at consumers mang decsons n solaton to analyzng economes full of

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

FREQUENCY DISTRIBUTIONS Page 1 of The idea of a frequency distribution for sets of observations will be introduced,

FREQUENCY DISTRIBUTIONS Page 1 of The idea of a frequency distribution for sets of observations will be introduced, FREQUENCY DISTRIBUTIONS Page 1 of 6 I. Introducton 1. The dea of a frequency dstrbuton for sets of observatons wll be ntroduced, together wth some of the mechancs for constructng dstrbutons of data. Then

More information

Section 3.6 Complex Zeros

Section 3.6 Complex Zeros 04 Chapter Secton 6 Comple Zeros When fndng the zeros of polynomals, at some pont you're faced wth the problem Whle there are clearly no real numbers that are solutons to ths equaton, leavng thngs there

More information

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

Notes on Frequency Estimation in Data Streams

Notes on Frequency Estimation in Data Streams Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to

More information

Global Sensitivity. Tuesday 20 th February, 2018

Global Sensitivity. Tuesday 20 th February, 2018 Global Senstvty Tuesday 2 th February, 28 ) Local Senstvty Most senstvty analyses [] are based on local estmates of senstvty, typcally by expandng the response n a Taylor seres about some specfc values

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

Limited Dependent Variables

Limited Dependent Variables Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

SIMPLE LINEAR REGRESSION

SIMPLE LINEAR REGRESSION Smple Lnear Regresson and Correlaton Introducton Prevousl, our attenton has been focused on one varable whch we desgnated b x. Frequentl, t s desrable to learn somethng about the relatonshp between two

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

More information

Temperature. Chapter Heat Engine

Temperature. Chapter Heat Engine Chapter 3 Temperature In prevous chapters of these notes we ntroduced the Prncple of Maxmum ntropy as a technque for estmatng probablty dstrbutons consstent wth constrants. In Chapter 9 we dscussed the

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0 Bézer curves Mchael S. Floater September 1, 215 These notes provde an ntroducton to Bézer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of

More information

Edge Isoperimetric Inequalities

Edge Isoperimetric Inequalities November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

More information

Chapter 5 Multilevel Models

Chapter 5 Multilevel Models Chapter 5 Multlevel Models 5.1 Cross-sectonal multlevel models 5.1.1 Two-level models 5.1.2 Multple level models 5.1.3 Multple level modelng n other felds 5.2 Longtudnal multlevel models 5.2.1 Two-level

More information

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands Content. Inference on Regresson Parameters a. Fndng Mean, s.d and covarance amongst estmates.. Confdence Intervals and Workng Hotellng Bands 3. Cochran s Theorem 4. General Lnear Testng 5. Measures of

More information

/ n ) are compared. The logic is: if the two

/ n ) are compared. The logic is: if the two STAT C141, Sprng 2005 Lecture 13 Two sample tests One sample tests: examples of goodness of ft tests, where we are testng whether our data supports predctons. Two sample tests: called as tests of ndependence

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

Economics 130. Lecture 4 Simple Linear Regression Continued

Economics 130. Lecture 4 Simple Linear Regression Continued Economcs 130 Lecture 4 Contnued Readngs for Week 4 Text, Chapter and 3. We contnue wth addressng our second ssue + add n how we evaluate these relatonshps: Where do we get data to do ths analyss? How do

More information

Chapter 3 Describing Data Using Numerical Measures

Chapter 3 Describing Data Using Numerical Measures Chapter 3 Student Lecture Notes 3-1 Chapter 3 Descrbng Data Usng Numercal Measures Fall 2006 Fundamentals of Busness Statstcs 1 Chapter Goals To establsh the usefulness of summary measures of data. The

More information

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0 Bezer curves Mchael S. Floater August 25, 211 These notes provde an ntroducton to Bezer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of the

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Exerments-I MODULE III LECTURE - 2 EXPERIMENTAL DESIGN MODELS Dr. Shalabh Deartment of Mathematcs and Statstcs Indan Insttute of Technology Kanur 2 We consder the models

More information

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests Smulated of the Cramér-von Mses Goodness-of-Ft Tests Steele, M., Chaselng, J. and 3 Hurst, C. School of Mathematcal and Physcal Scences, James Cook Unversty, Australan School of Envronmental Studes, Grffth

More information

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.

More information

Chapter 8 Indicator Variables

Chapter 8 Indicator Variables Chapter 8 Indcator Varables In general, e explanatory varables n any regresson analyss are assumed to be quanttatve n nature. For example, e varables lke temperature, dstance, age etc. are quanttatve n

More information

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1 Random varables Measure of central tendences and varablty (means and varances) Jont densty functons and ndependence Measures of assocaton (covarance and correlaton) Interestng result Condtonal dstrbutons

More information

Chapter 9: Statistical Inference and the Relationship between Two Variables

Chapter 9: Statistical Inference and the Relationship between Two Variables Chapter 9: Statstcal Inference and the Relatonshp between Two Varables Key Words The Regresson Model The Sample Regresson Equaton The Pearson Correlaton Coeffcent Learnng Outcomes After studyng ths chapter,

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

PHYS 705: Classical Mechanics. Newtonian Mechanics

PHYS 705: Classical Mechanics. Newtonian Mechanics 1 PHYS 705: Classcal Mechancs Newtonan Mechancs Quck Revew of Newtonan Mechancs Basc Descrpton: -An dealzed pont partcle or a system of pont partcles n an nertal reference frame [Rgd bodes (ch. 5 later)]

More information

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

Physics 5153 Classical Mechanics. Principle of Virtual Work-1 P. Guterrez 1 Introducton Physcs 5153 Classcal Mechancs Prncple of Vrtual Work The frst varatonal prncple we encounter n mechancs s the prncple of vrtual work. It establshes the equlbrum condton of a mechancal

More information

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable

More information

Assortment Optimization under MNL

Assortment Optimization under MNL Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.

More information

x i1 =1 for all i (the constant ).

x i1 =1 for all i (the constant ). Chapter 5 The Multple Regresson Model Consder an economc model where the dependent varable s a functon of K explanatory varables. The economc model has the form: y = f ( x,x,..., ) xk Approxmate ths by

More information

CHAPTER 14 GENERAL PERTURBATION THEORY

CHAPTER 14 GENERAL PERTURBATION THEORY CHAPTER 4 GENERAL PERTURBATION THEORY 4 Introducton A partcle n orbt around a pont mass or a sphercally symmetrc mass dstrbuton s movng n a gravtatonal potental of the form GM / r In ths potental t moves

More information

Uncertainty in measurements of power and energy on power networks

Uncertainty in measurements of power and energy on power networks Uncertanty n measurements of power and energy on power networks E. Manov, N. Kolev Department of Measurement and Instrumentaton, Techncal Unversty Sofa, bul. Klment Ohrdsk No8, bl., 000 Sofa, Bulgara Tel./fax:

More information

An (almost) unbiased estimator for the S-Gini index

An (almost) unbiased estimator for the S-Gini index An (almost unbased estmator for the S-Gn ndex Thomas Demuynck February 25, 2009 Abstract Ths note provdes an unbased estmator for the absolute S-Gn and an almost unbased estmator for the relatve S-Gn for

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

Unit 5: Quadratic Equations & Functions

Unit 5: Quadratic Equations & Functions Date Perod Unt 5: Quadratc Equatons & Functons DAY TOPIC 1 Modelng Data wth Quadratc Functons Factorng Quadratc Epressons 3 Solvng Quadratc Equatons 4 Comple Numbers Smplfcaton, Addton/Subtracton & Multplcaton

More information

Chapter 12 Analysis of Covariance

Chapter 12 Analysis of Covariance Chapter Analyss of Covarance Any scentfc experment s performed to know somethng that s unknown about a group of treatments and to test certan hypothess about the correspondng treatment effect When varablty

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

Sampling Theory MODULE VII LECTURE - 23 VARYING PROBABILITY SAMPLING

Sampling Theory MODULE VII LECTURE - 23 VARYING PROBABILITY SAMPLING Samplng heory MODULE VII LECURE - 3 VARYIG PROBABILIY SAMPLIG DR. SHALABH DEPARME OF MAHEMAICS AD SAISICS IDIA ISIUE OF ECHOLOGY KAPUR he smple random samplng scheme provdes a random sample where every

More information

Integrals and Invariants of Euler-Lagrange Equations

Integrals and Invariants of Euler-Lagrange Equations Lecture 16 Integrals and Invarants of Euler-Lagrange Equatons ME 256 at the Indan Insttute of Scence, Bengaluru Varatonal Methods and Structural Optmzaton G. K. Ananthasuresh Professor, Mechancal Engneerng,

More information

arxiv: v1 [math.ho] 18 May 2008

arxiv: v1 [math.ho] 18 May 2008 Recurrence Formulas for Fbonacc Sums Adlson J. V. Brandão, João L. Martns 2 arxv:0805.2707v [math.ho] 8 May 2008 Abstract. In ths artcle we present a new recurrence formula for a fnte sum nvolvng the Fbonacc

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

Chapter 11: Simple Linear Regression and Correlation

Chapter 11: Simple Linear Regression and Correlation Chapter 11: Smple Lnear Regresson and Correlaton 11-1 Emprcal Models 11-2 Smple Lnear Regresson 11-3 Propertes of the Least Squares Estmators 11-4 Hypothess Test n Smple Lnear Regresson 11-4.1 Use of t-tests

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Module 1 : The equation of continuity. Lecture 1: Equation of Continuity

Module 1 : The equation of continuity. Lecture 1: Equation of Continuity 1 Module 1 : The equaton of contnuty Lecture 1: Equaton of Contnuty 2 Advanced Heat and Mass Transfer: Modules 1. THE EQUATION OF CONTINUITY : Lectures 1-6 () () () (v) (v) Overall Mass Balance Momentum

More information

Physics 53. Rotational Motion 3. Sir, I have found you an argument, but I am not obliged to find you an understanding.

Physics 53. Rotational Motion 3. Sir, I have found you an argument, but I am not obliged to find you an understanding. Physcs 53 Rotatonal Moton 3 Sr, I have found you an argument, but I am not oblged to fnd you an understandng. Samuel Johnson Angular momentum Wth respect to rotatonal moton of a body, moment of nerta plays

More information

Lecture 4. Instructor: Haipeng Luo

Lecture 4. Instructor: Haipeng Luo Lecture 4 Instructor: Hapeng Luo In the followng lectures, we focus on the expert problem and study more adaptve algorthms. Although Hedge s proven to be worst-case optmal, one may wonder how well t would

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

Appendix B: Resampling Algorithms

Appendix B: Resampling Algorithms 407 Appendx B: Resamplng Algorthms A common problem of all partcle flters s the degeneracy of weghts, whch conssts of the unbounded ncrease of the varance of the mportance weghts ω [ ] of the partcles

More information

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore Sesson Outlne Introducton to classfcaton problems and dscrete choce models. Introducton to Logstcs Regresson. Logstc functon and Logt functon. Maxmum Lkelhood Estmator (MLE) for estmaton of LR parameters.

More information

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis Resource Allocaton and Decson Analss (ECON 800) Sprng 04 Foundatons of Regresson Analss Readng: Regresson Analss (ECON 800 Coursepak, Page 3) Defntons and Concepts: Regresson Analss statstcal technques

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

Linear Feature Engineering 11

Linear Feature Engineering 11 Lnear Feature Engneerng 11 2 Least-Squares 2.1 Smple least-squares Consder the followng dataset. We have a bunch of nputs x and correspondng outputs y. The partcular values n ths dataset are x y 0.23 0.19

More information

Advanced Circuits Topics - Part 1 by Dr. Colton (Fall 2017)

Advanced Circuits Topics - Part 1 by Dr. Colton (Fall 2017) Advanced rcuts Topcs - Part by Dr. olton (Fall 07) Part : Some thngs you should already know from Physcs 0 and 45 These are all thngs that you should have learned n Physcs 0 and/or 45. Ths secton s organzed

More information

January Examinations 2015

January Examinations 2015 24/5 Canddates Only January Examnatons 25 DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR STUDENT CANDIDATE NO.. Department Module Code Module Ttle Exam Duraton (n words)

More information

Online Appendix to: Axiomatization and measurement of Quasi-hyperbolic Discounting

Online Appendix to: Axiomatization and measurement of Quasi-hyperbolic Discounting Onlne Appendx to: Axomatzaton and measurement of Quas-hyperbolc Dscountng José Lus Montel Olea Tomasz Strzaleck 1 Sample Selecton As dscussed before our ntal sample conssts of two groups of subjects. Group

More information

How Strong Are Weak Patents? Joseph Farrell and Carl Shapiro. Supplementary Material Licensing Probabilistic Patents to Cournot Oligopolists *

How Strong Are Weak Patents? Joseph Farrell and Carl Shapiro. Supplementary Material Licensing Probabilistic Patents to Cournot Oligopolists * How Strong Are Weak Patents? Joseph Farrell and Carl Shapro Supplementary Materal Lcensng Probablstc Patents to Cournot Olgopolsts * September 007 We study here the specal case n whch downstream competton

More information

The Second Anti-Mathima on Game Theory

The Second Anti-Mathima on Game Theory The Second Ant-Mathma on Game Theory Ath. Kehagas December 1 2006 1 Introducton In ths note we wll examne the noton of game equlbrum for three types of games 1. 2-player 2-acton zero-sum games 2. 2-player

More information

Hopfield Training Rules 1 N

Hopfield Training Rules 1 N Hopfeld Tranng Rules To memorse a sngle pattern Suppose e set the eghts thus - = p p here, s the eght beteen nodes & s the number of nodes n the netor p s the value requred for the -th node What ll the

More information

In the figure below, the point d indicates the location of the consumer that is under competition. Transportation costs are given by td.

In the figure below, the point d indicates the location of the consumer that is under competition. Transportation costs are given by td. UC Berkeley Economcs 11 Sprng 006 Prof. Joseph Farrell / GSI: Jenny Shanefelter Problem Set # - Suggested Solutons. 1.. In ths problem, we are extendng the usual Hotellng lne so that now t runs from [-a,

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed

More information

Lecture 3 Stat102, Spring 2007

Lecture 3 Stat102, Spring 2007 Lecture 3 Stat0, Sprng 007 Chapter 3. 3.: Introducton to regresson analyss Lnear regresson as a descrptve technque The least-squares equatons Chapter 3.3 Samplng dstrbuton of b 0, b. Contnued n net lecture

More information

LINEAR REGRESSION ANALYSIS. MODULE VIII Lecture Indicator Variables

LINEAR REGRESSION ANALYSIS. MODULE VIII Lecture Indicator Variables LINEAR REGRESSION ANALYSIS MODULE VIII Lecture - 7 Indcator Varables Dr. Shalabh Department of Maematcs and Statstcs Indan Insttute of Technology Kanpur Indcator varables versus quanttatve explanatory

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

More information

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1 P. Guterrez Physcs 5153 Classcal Mechancs D Alembert s Prncple and The Lagrangan 1 Introducton The prncple of vrtual work provdes a method of solvng problems of statc equlbrum wthout havng to consder the

More information

Basically, if you have a dummy dependent variable you will be estimating a probability.

Basically, if you have a dummy dependent variable you will be estimating a probability. ECON 497: Lecture Notes 13 Page 1 of 1 Metropoltan State Unversty ECON 497: Research and Forecastng Lecture Notes 13 Dummy Dependent Varable Technques Studenmund Chapter 13 Bascally, f you have a dummy

More information

Computational Biology Lecture 8: Substitution matrices Saad Mneimneh

Computational Biology Lecture 8: Substitution matrices Saad Mneimneh Computatonal Bology Lecture 8: Substtuton matrces Saad Mnemneh As we have ntroduced last tme, smple scorng schemes lke + or a match, - or a msmatch and -2 or a gap are not justable bologcally, especally

More information

Markov Chain Monte Carlo Lecture 6

Markov Chain Monte Carlo Lecture 6 where (x 1,..., x N ) X N, N s called the populaton sze, f(x) f (x) for at least one {1, 2,..., N}, and those dfferent from f(x) are called the tral dstrbutons n terms of mportance samplng. Dfferent ways

More information

1 Matrix representations of canonical matrices

1 Matrix representations of canonical matrices 1 Matrx representatons of canoncal matrces 2-d rotaton around the orgn: ( ) cos θ sn θ R 0 = sn θ cos θ 3-d rotaton around the x-axs: R x = 1 0 0 0 cos θ sn θ 0 sn θ cos θ 3-d rotaton around the y-axs:

More information