MATLAB Workshop 15 - Linear Regression in MATLAB
|
|
- Spencer Wade
- 7 years ago
- Views:
Transcription
1 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 1 MATLAB Workshop 15 - Lnear Regresson n MATLAB Objectves: Learn how to obtan the coeffcents of a straght-lne ft to data, dsplay the resultng equaton as a lne on the data plot, and dsplay the equaton and goodness-of-ft statstc on the graph. MATLAB Features: data analyss Command polyft(x,y,n) Acton fnds lnear, least-squares coeffcents for polynomal equaton of degree N that s best ft to the (x,y) data set. graphcs commands Command plot(x,y,symbol) semlogy(x,y,symbol) loglog(x,y,symbol) xlabel(xname) ylabel(yname) ttle(graphname) axs('equal') hold on hold off text(x,y,'strng') gtext('strng') Acton creates a pop up wndow that dsplays the (x,y) data ponts specfed on lnearly-scaled axes wth the symbol (and color) specfed n the strng varable symbol. The data ponts are suppled as separate x and y vectors. MATLAB automatcally scales the axes to ft the data. creates a pop up wndow that dsplays the (x,y) data ponts specfed on a graph wth the y-axs scaled n powers of 10 and the x-axs scaled lnearly wth the symbol (and color) specfed n the strng varable symbol. The data ponts are suppled as separate x and y vectors. MATLAB automatcally scales the axes to ft the data. creates a pop up wndow that dsplays the (x,y) data ponts specfed on a graph wth both the x- and y-axes scaled n powers of 10 wth the symbol (and color) specfed n the strng varable symbol. The data ponts are suppled as separate x and y vectors. MATLAB automatcally scales the axes to ft the data. adds the text n the strng varable xname below the x-axs. adds the text n the strng varable yname below the y-axs. adds the text n the strng varable graphname above the plot. forces equal-scalng on the x- and y-axes mantans current plot for addtonal plottng overlay turns off hold on dsplays strng at (X,Y)-coordnates on current plot dsplays strng at plot locaton desgnated by cross-hars
2 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 2 graph symbol optons Graph Symbol Optons Color Symbol Lne y yellow. pont - sold lne m magenta o crcle : dotted lne c cyan x x-mark -. dash-dot lne r red + plus -- dashed lne g green blue * star b blue s square w whte d damond k black v trangle (down) ^ trangle (up) < trangle (left) > trangle (rght) p pentagram h hexagram
3 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 3 Textbook costs Concerned about the ever rsng cost of textbooks, an engneerng student decded to see whether the cost of textbooks n a partcular subject was related to the number of pages. He went to the bookstore and found the followng data for 10 mechancal engneerng books: Mechancal Engneerng textbook cost versus number of pages Number of pages Cost, $ Usng the MATLAB scrpt developed n Workshop 14, the engneer produced the plot shown at the rght. The data does look as f t fts a lnear relatonshp. Several questons arse. The frst s what are the approprate values for the coeffcents a 1 and a 0 n the lnear equaton, C = a1p + a 0 where C s the textbook cost, $, and P s the number of pages, that best descrbes the data. A second queston s what does ths lne look lke when plotted wth the data. A thrd queston s how well does the lne actually represent the data. (1) Create a plot of cost versus number of pages. Create a data fle contanng the data. Use your scrpt from Workshop 14 to create a fgure showng the data ponts as llustrated above. Check to see what varables are n the Workspace by typng who at the command prompt. You should have at least xdat, ydat, symbol, xname, yname, and graphname. Why? (2) MATLAB connects the dots. Because the graph varable nformaton s present n the Workspace, we can use the Command Wndow to llustrate some more features of graphs and graph management n MATLAB. What would happen f we let MATLAB draw a lne for the data ponts? To observe ths, enter» hold on» plot(xdat,ydat,'r-')
4 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 4 at the command prompt. The hold command s used to manage fgure dsplay. hold on says to keep the current fgure and supermpose any addtonal plot commands on top of t. hold off says to replace the current fgure wth whatever the next plot command dctates. In ths case, the plot command asks that the same data be plotted, but ths tme wth a red lne. The fgure at the rght results. MATLAB by tself wll connect the dots - not very useful f we are tryng to fnd an equaton that relates the cost to the number of pages. Lets return to the orgnal data plot. Unfortunately, there s no undo command that wll remove the lne just added. You wll have to replace the fgure - but t can be done from the Command Wndow by ssung the followng commands (why?).» hold off» plot(xdat,ydat,symbol)» xlabel(xname)» ylabel(yname)» ttle(graphname) Fttng a lne to data Many methods exst for fndng a best ft lne or curve to some data. One of the most popular s called least squares regresson or lnear regresson. For a straght-lne approxmaton, we are seekng the lne y = a1x + a 0 that best approxmates the data. If we knew the values for a 1 and a 0, we could estmate the y-values for each of the data ponts by ( yest) = a1 ( xdat) + a0 where refers to an ndvdual data pont. The error assocated wth the estmate s defned as the vertcal dstance between the data pont and the proposed lne,.e., e = ( ydat) ( yest) were e s the error. Lnear regresson fnds values for a 1 and a 0 by a mathematcal procedure that mnmzes the sum of the error-squared for all of the data ponts. (3) Least squares n MATLAB. Because fttng a lne to data s such a common actvty, MATLAB has a sngle command that wll fnd the estmates, coeff = polyft(xdat,ydat,n)
5 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 5 where coeff s a varable that wll capture the coeffcents for the best ft equaton, xdat s the x-data vector, ydat s the y-data vector, and N s the degree of the polynomal lne (or curve) that you want to ft the data to. A straght lne s a 1 st -degree polynomal, so the value for N would be 1. Fnd the best ft to the book data by enterng» coeff = polyft(xdat,ydat,1) coeff = MATLAB responds wth the coeffcent vector n the order [a 1 a 0 ]. (How would you suppress dsplay of coeff?) Thus, accordng to MATLAB and the least squares procedure, the best ft equaton for the lne representng a lnear relaton between the cost of a Mechancal Engneerng text and the number of pages s C = P (4) Dsplayng the best ft on the data graph. Vsual confrmaton that the best ft equaton s ndeed representatve of the data comes next. There are two problems at the moment. The frst s that we have the coeffcents for the equaton, but not the x- and y- vectors that are requred for the plot command. The x- and y-vectors wll need to be generated. Ths brngs us to the second problem. Remember that MATLAB uses connect the dots for creatng a lne. If the plot ponts for the data are far apart, the lne mght have angles and corners and not appear smooth. In order to counter ths, we need to use a large number of ponts when plottng a lne. Ths wll make any pont to pont dstance small and make the resultng connect the dots pcture look smooth. Generally 200 ponts are suffcent, but you mght want to use more. Thus, the steps that we need to follow to create a smooth lne ft to the data are to 1. defne a vector of 200 x-ponts n the range of the data 2. calculate the correspondng vector of y-ponts 3. dsplay the x- and y-ponts as a lne n the fgure. To see how ths works, enter the followng at the command prompt» xlne = lnspace( mn(xdat), max(xdat), 200); What does the lnspace command do? The mn command? The max command? Why does ths work to create a vector of x-values that span the data doman? Note that the varable name xlne s beng used to dstngush ths vector from the data vector. Now enter» ylne = coeff(1)*xlne+coeff(2); Ths command creates a vector of y-values correspondng to the best ft equaton. Why? We can now plot the best ft lne» hold on» plot(xlne,ylne,'r-')
6 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 6 The result, dsplayed at the rght, shows that the best-ft calculated by the polyft command s a reasonable representaton of the data. The next queston s: how good? Error and goodness-of-ft estmaton As engneers, we should always be nterested n knowng how close our approxmatons (n ths case, the lne) actually come to the measured, physcal realty. As can be seen n the approxmaton at the rght, only one data pont actually seems to fall on or near the lne! The frst queston we can ask s what s the absolute error assocated wth the ft. Ths can be calculated as e = ( ydat) ( yest) for each data pont. Note that the absolute error treats postve and negatve devatons of the data from the lne n the same manner. In MATLAB code, ths becomes» yest = coeff(1)*xdat+coeff(2);» abs_error = abs(ydat-yest); Gven abs_error, we can extract the magntude of the maxmum absolute error and data pont at whch t occurred by usng a varaton of the max command:» [max_abs_error, maxpt] = max(abs_error); max_abs_error wll have the value of the maxmum absolute error and maxpt wll be the ndex where t s found n abs_error. For the plot above, max_abs_error = maxpt = 6 Thus the maxmum error s found at the sxth data pont (xdat = 335 where dd ths come from?). How could you fnd the mnmum absolute error? The absolute error provdes the magntude of the error. However, ths does not tell us how serous the error actually s. For example, whch s better: an absolute error of 50 unts relatve to an expected value of 100 unts or an absolute error of 50 unts relatve to an expected value of 5000 unts. Both have the same absolute error. But the percentage error n the frst case s 50% whle t s only 1% n the second case. Relatve error s lke a percentage error n that how large the error s compared wth the expected error. Relatve error s sometmes referred to as the fractonal error because t s obtaned by dvdng the absolute error by the magntude of the correspondng y-value. The MATLAB command to do element by element dvson s» rel_error = abs_error./ydat; How would you fnd the greatest relatve error and the locaton at whch t occurs?
7 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 7 A commonly used statstc that s related to the error, but s not the same as the error s the goodness-of-ft r 2 (r-squared) statstc. The r 2 statstc ranges from a value of 0 for absolutely no relaton between the data and the lne to a value of 1 whch occurs only f all of the data fall exactly on the lne,.e., no error. In some engneerng dscplnes, an equaton ftted to data s acceptable only f r 2 > 0.9. Other engneerng dscplnes mght fnd an r 2 as low as 0.7 acceptable for use. where and The r 2 statstc s calculated from 2 SSE r = 1 SST SSE = SST = n = 1 n = 1 [( ydat) [( ydat) ( yest) ] y ave ] 2 2 MATLAB mplementaton of these equatons s straght forward. For example, what (sngle) MATLAB command would you use to compute the average value of the y-data? The r 2 statstc for the text book cost versus number of pages ft s r 2 = (5) Calculate the varous error estmates. Implement the MATLAB commands (n the Command Wndow) to fnd the followng 1) Maxmum absolute error 2) Index of the value where the maxmum absolute error was found. 3) X-data pont where maxmum absolute error was found. 4) Maxmum relatve error 5) Index of the value where the maxmum relatve error was found. 6) X-data pont where maxmum relatve error was found. 7) r 2 statstc for the ft. Dsplayng equaton and r 2 statstc on the graph The fnal bell and whstle n dsplayng data and a best lne ft to the data on a graph s to also dsplay the equaton and r 2 statstc as text. In order to do ths, we need to buld both the equaton and r 2 as a strng varables for dsplay. The equaton can be bult from the followng commands» a1str = num2str(coeff(1));» a0str = num2str(coeff(2));» eqnstr = ['y = (', a1str, ')*x + (', a0str, ')']; where the frst two command convert the numbers for the equaton coeffcents to ther equvalent strngs. The thrd command creates a strng varable wth the text and coeffcents n order. The r 2 statstc strng can be bult by the commands» rsqstr = ['r^2 = (', num2str(rsq)]; Ths command used the num2str command nternally to create the strng rather than create another varable to hold the converson. The process of buldng the strngs part by part s referred to as concatenaton. Both the equaton and the r 2 statstc can be dsplayed by usng the text command: text(x,y,'text to dsplay') where X and Y are the (x,y)-coordnates on the current plot at whch to start the text strng. As always, the text strng can be a strng varable name. An alternatve s to use the gtext command gtext({eqnstr,rsqstr})
8 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 8 Ths causes a cross-hars to appear on the plot, as shown above and to the rght, whch can be moved by movng the mouse. A left-clck on the mouse wll cause the requested strngs to be placed at the locaton of the cross-hars as shown n the fgure above and to the left. Note how the r 2 equaton strng s dsplayed wth the number 2 showng as an exponent. Why? (6) Dsplay equaton on graph. 1) Dsplay the equaton and r 2 statstc on the current graph usng text. 2) Dsplay the equaton and r 2 statstc on the current graph usng gtext. Exercses: 1. Modfy your lnearplot functon from Workshop 14 so that t wll now a Dsplay the data ponts (as prevously); b Calculate a best-ft lne to the data; c Dsplay the best-ft lne as a lne only; d Calculate the r 2 statstc; e Dsplay the equaton and r 2 statstc on the plot; Note: you should tell the user what to do f you use gtext. f Return the equaton coeffcents and r 2 statstc to the callng functon. 2. Test your modfed functon by runnng your scrpt from Workshop 14 and reproducng the graphs of ths workshop. Recap: You should have learned That MATLAB uses connect-the-dots to draw lnes between ponts. How to use polyft to fnd a best ft straght lne to data. How to dsplay a best ft straght lne to data on the same plot as the data.
9 MATLAB: Workshop 15 - Lnear Regresson n MATLAB page 9 That many ponts are requred to have a smooth lne dsplayed n MATLAB. The meanng of and how to calculate absolute error. How to fnd maxmum and mnmum absolute error and ther x-locaton. The meanng of and how to calculate relatve error. How to fnd maxmum and mnmum relatve error and ther x-locaton. How to calculate the r 2 statstc. How to dsplay text strngs on the plot.
CHAPTER 5 RELATIONSHIPS BETWEEN QUANTITATIVE VARIABLES
CHAPTER 5 RELATIONSHIPS BETWEEN QUANTITATIVE VARIABLES In ths chapter, we wll learn how to descrbe the relatonshp between two quanttatve varables. Remember (from Chapter 2) that the terms quanttatve varable
More informationCausal, Explanatory Forecasting. Analysis. Regression Analysis. Simple Linear Regression. Which is Independent? Forecasting
Causal, Explanatory Forecastng Assumes cause-and-effect relatonshp between system nputs and ts output Forecastng wth Regresson Analyss Rchard S. Barr Inputs System Cause + Effect Relatonshp The job of
More informationPRACTICE 1: MUTUAL FUNDS EVALUATION USING MATLAB.
PRACTICE 1: MUTUAL FUNDS EVALUATION USING MATLAB. INDEX 1. Load data usng the Edtor wndow and m-fle 2. Learnng to save results from the Edtor wndow. 3. Computng the Sharpe Rato 4. Obtanng the Treynor Rato
More informationSPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background:
SPEE Recommended Evaluaton Practce #6 efnton of eclne Curve Parameters Background: The producton hstores of ol and gas wells can be analyzed to estmate reserves and future ol and gas producton rates and
More information1. Measuring association using correlation and regression
How to measure assocaton I: Correlaton. 1. Measurng assocaton usng correlaton and regresson We often would lke to know how one varable, such as a mother's weght, s related to another varable, such as a
More informationMATLAB Workshop 14 - Plotting Data in MATLAB
MATLAB: Workshop 14 - Plotting Data in MATLAB page 1 MATLAB Workshop 14 - Plotting Data in MATLAB Objectives: Learn the basics of displaying a data plot in MATLAB. MATLAB Features: graphics commands Command
More informationCHAPTER 14 MORE ABOUT REGRESSION
CHAPTER 14 MORE ABOUT REGRESSION We learned n Chapter 5 that often a straght lne descrbes the pattern of a relatonshp between two quanttatve varables. For nstance, n Example 5.1 we explored the relatonshp
More information8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by
6 CHAPTER 8 COMPLEX VECTOR SPACES 5. Fnd the kernel of the lnear transformaton gven n Exercse 5. In Exercses 55 and 56, fnd the mage of v, for the ndcated composton, where and are gven by the followng
More information) of the Cell class is created containing information about events associated with the cell. Events are added to the Cell instance
Calbraton Method Instances of the Cell class (one nstance for each FMS cell) contan ADC raw data and methods assocated wth each partcular FMS cell. The calbraton method ncludes event selecton (Class Cell
More informationbenefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ).
REVIEW OF RISK MANAGEMENT CONCEPTS LOSS DISTRIBUTIONS AND INSURANCE Loss and nsurance: When someone s subject to the rsk of ncurrng a fnancal loss, the loss s generally modeled usng a random varable or
More informationWhat is Candidate Sampling
What s Canddate Samplng Say we have a multclass or mult label problem where each tranng example ( x, T ) conssts of a context x a small (mult)set of target classes T out of a large unverse L of possble
More informationTHE METHOD OF LEAST SQUARES THE METHOD OF LEAST SQUARES
The goal: to measure (determne) an unknown quantty x (the value of a RV X) Realsaton: n results: y 1, y 2,..., y j,..., y n, (the measured values of Y 1, Y 2,..., Y j,..., Y n ) every result s encumbered
More informationLeast Squares Fitting of Data
Least Squares Fttng of Data Davd Eberly Geoetrc Tools, LLC http://www.geoetrctools.co/ Copyrght c 1998-2016. All Rghts Reserved. Created: July 15, 1999 Last Modfed: January 5, 2015 Contents 1 Lnear Fttng
More informationAn Alternative Way to Measure Private Equity Performance
An Alternatve Way to Measure Prvate Equty Performance Peter Todd Parlux Investment Technology LLC Summary Internal Rate of Return (IRR) s probably the most common way to measure the performance of prvate
More informationv a 1 b 1 i, a 2 b 2 i,..., a n b n i.
SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 455 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces we have studed thus far n the text are real vector spaces snce the scalars are
More informationHow To Calculate The Accountng Perod Of Nequalty
Inequalty and The Accountng Perod Quentn Wodon and Shlomo Ytzha World Ban and Hebrew Unversty September Abstract Income nequalty typcally declnes wth the length of tme taen nto account for measurement.
More informationCalibration and Linear Regression Analysis: A Self-Guided Tutorial
Calbraton and Lnear Regresson Analyss: A Self-Guded Tutoral Part The Calbraton Curve, Correlaton Coeffcent and Confdence Lmts CHM314 Instrumental Analyss Department of Chemstry, Unversty of Toronto Dr.
More informationA machine vision approach for detecting and inspecting circular parts
A machne vson approach for detectng and nspectng crcular parts Du-Mng Tsa Machne Vson Lab. Department of Industral Engneerng and Management Yuan-Ze Unversty, Chung-L, Tawan, R.O.C. E-mal: edmtsa@saturn.yzu.edu.tw
More informationA Novel Methodology of Working Capital Management for Large. Public Constructions by Using Fuzzy S-curve Regression
Novel Methodology of Workng Captal Management for Large Publc Constructons by Usng Fuzzy S-curve Regresson Cheng-Wu Chen, Morrs H. L. Wang and Tng-Ya Hseh Department of Cvl Engneerng, Natonal Central Unversty,
More informationNPAR TESTS. One-Sample Chi-Square Test. Cell Specification. Observed Frequencies 1O i 6. Expected Frequencies 1EXP i 6
PAR TESTS If a WEIGHT varable s specfed, t s used to replcate a case as many tmes as ndcated by the weght value rounded to the nearest nteger. If the workspace requrements are exceeded and samplng has
More informationLinear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits
Lnear Crcuts Analyss. Superposton, Theenn /Norton Equalent crcuts So far we hae explored tmendependent (resste) elements that are also lnear. A tmendependent elements s one for whch we can plot an / cure.
More informationVision Mouse. Saurabh Sarkar a* University of Cincinnati, Cincinnati, USA ABSTRACT 1. INTRODUCTION
Vson Mouse Saurabh Sarkar a* a Unversty of Cncnnat, Cncnnat, USA ABSTRACT The report dscusses a vson based approach towards trackng of eyes and fngers. The report descrbes the process of locatng the possble
More informationCalculating the high frequency transmission line parameters of power cables
< ' Calculatng the hgh frequency transmsson lne parameters of power cables Authors: Dr. John Dcknson, Laboratory Servces Manager, N 0 RW E B Communcatons Mr. Peter J. Ncholson, Project Assgnment Manager,
More informationThe Mathematical Derivation of Least Squares
Pscholog 885 Prof. Federco The Mathematcal Dervaton of Least Squares Back when the powers that e forced ou to learn matr algera and calculus, I et ou all asked ourself the age-old queston: When the hell
More informationModule 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur
Module LOSSLESS IMAGE COMPRESSION SYSTEMS Lesson 3 Lossless Compresson: Huffman Codng Instructonal Objectves At the end of ths lesson, the students should be able to:. Defne and measure source entropy..
More informationSIMPLE LINEAR CORRELATION
SIMPLE LINEAR CORRELATION Smple lnear correlaton s a measure of the degree to whch two varables vary together, or a measure of the ntensty of the assocaton between two varables. Correlaton often s abused.
More information8 Algorithm for Binary Searching in Trees
8 Algorthm for Bnary Searchng n Trees In ths secton we present our algorthm for bnary searchng n trees. A crucal observaton employed by the algorthm s that ths problem can be effcently solved when the
More informationThe OC Curve of Attribute Acceptance Plans
The OC Curve of Attrbute Acceptance Plans The Operatng Characterstc (OC) curve descrbes the probablty of acceptng a lot as a functon of the lot s qualty. Fgure 1 shows a typcal OC Curve. 10 8 6 4 1 3 4
More informationQuantization Effects in Digital Filters
Quantzaton Effects n Dgtal Flters Dstrbuton of Truncaton Errors In two's complement representaton an exact number would have nfntely many bts (n general). When we lmt the number of bts to some fnte value
More informationAnswer: A). There is a flatter IS curve in the high MPC economy. Original LM LM after increase in M. IS curve for low MPC economy
4.02 Quz Solutons Fall 2004 Multple-Choce Questons (30/00 ponts) Please, crcle the correct answer for each of the followng 0 multple-choce questons. For each queston, only one of the answers s correct.
More informationCan Auto Liability Insurance Purchases Signal Risk Attitude?
Internatonal Journal of Busness and Economcs, 2011, Vol. 10, No. 2, 159-164 Can Auto Lablty Insurance Purchases Sgnal Rsk Atttude? Chu-Shu L Department of Internatonal Busness, Asa Unversty, Tawan Sheng-Chang
More information21 Vectors: The Cross Product & Torque
21 Vectors: The Cross Product & Torque Do not use our left hand when applng ether the rght-hand rule for the cross product of two vectors dscussed n ths chapter or the rght-hand rule for somethng curl
More informationFaraday's Law of Induction
Introducton Faraday's Law o Inducton In ths lab, you wll study Faraday's Law o nducton usng a wand wth col whch swngs through a magnetc eld. You wll also examne converson o mechanc energy nto electrc energy
More information1 Example 1: Axis-aligned rectangles
COS 511: Theoretcal Machne Learnng Lecturer: Rob Schapre Lecture # 6 Scrbe: Aaron Schld February 21, 2013 Last class, we dscussed an analogue for Occam s Razor for nfnte hypothess spaces that, n conjuncton
More informationSection 5.4 Annuities, Present Value, and Amortization
Secton 5.4 Annutes, Present Value, and Amortzaton Present Value In Secton 5.2, we saw that the present value of A dollars at nterest rate per perod for n perods s the amount that must be deposted today
More informationDescription of the Force Method Procedure. Indeterminate Analysis Force Method 1. Force Method con t. Force Method con t
Indeternate Analyss Force Method The force (flexblty) ethod expresses the relatonshps between dsplaceents and forces that exst n a structure. Prary objectve of the force ethod s to deterne the chosen set
More informationCalculation of Sampling Weights
Perre Foy Statstcs Canada 4 Calculaton of Samplng Weghts 4.1 OVERVIEW The basc sample desgn used n TIMSS Populatons 1 and 2 was a two-stage stratfed cluster desgn. 1 The frst stage conssted of a sample
More informationAnalysis of Premium Liabilities for Australian Lines of Business
Summary of Analyss of Premum Labltes for Australan Lnes of Busness Emly Tao Honours Research Paper, The Unversty of Melbourne Emly Tao Acknowledgements I am grateful to the Australan Prudental Regulaton
More informationEconomic Interpretation of Regression. Theory and Applications
Economc Interpretaton of Regresson Theor and Applcatons Classcal and Baesan Econometrc Methods Applcaton of mathematcal statstcs to economc data for emprcal support Economc theor postulates a qualtatve
More informationANALYZING THE RELATIONSHIPS BETWEEN QUALITY, TIME, AND COST IN PROJECT MANAGEMENT DECISION MAKING
ANALYZING THE RELATIONSHIPS BETWEEN QUALITY, TIME, AND COST IN PROJECT MANAGEMENT DECISION MAKING Matthew J. Lberatore, Department of Management and Operatons, Vllanova Unversty, Vllanova, PA 19085, 610-519-4390,
More informationBERNSTEIN POLYNOMIALS
On-Lne Geometrc Modelng Notes BERNSTEIN POLYNOMIALS Kenneth I. Joy Vsualzaton and Graphcs Research Group Department of Computer Scence Unversty of Calforna, Davs Overvew Polynomals are ncredbly useful
More informationRecurrence. 1 Definitions and main statements
Recurrence 1 Defntons and man statements Let X n, n = 0, 1, 2,... be a MC wth the state space S = (1, 2,...), transton probabltes p j = P {X n+1 = j X n = }, and the transton matrx P = (p j ),j S def.
More informationDEFINING %COMPLETE IN MICROSOFT PROJECT
CelersSystems DEFINING %COMPLETE IN MICROSOFT PROJECT PREPARED BY James E Aksel, PMP, PMI-SP, MVP For Addtonal Informaton about Earned Value Management Systems and reportng, please contact: CelersSystems,
More informationUsing Series to Analyze Financial Situations: Present Value
2.8 Usng Seres to Analyze Fnancal Stuatons: Present Value In the prevous secton, you learned how to calculate the amount, or future value, of an ordnary smple annuty. The amount s the sum of the accumulated
More informationwhere the coordinates are related to those in the old frame as follows.
Chapter 2 - Cartesan Vectors and Tensors: Ther Algebra Defnton of a vector Examples of vectors Scalar multplcaton Addton of vectors coplanar vectors Unt vectors A bass of non-coplanar vectors Scalar product
More informationThe Application of Fractional Brownian Motion in Option Pricing
Vol. 0, No. (05), pp. 73-8 http://dx.do.org/0.457/jmue.05.0..6 The Applcaton of Fractonal Brownan Moton n Opton Prcng Qng-xn Zhou School of Basc Scence,arbn Unversty of Commerce,arbn zhouqngxn98@6.com
More informationUpdating the E5810B firmware
Updatng the E5810B frmware NOTE Do not update your E5810B frmware unless you have a specfc need to do so, such as defect repar or nstrument enhancements. If the frmware update fals, the E5810B wll revert
More informationProblem Set 3. a) We are asked how people will react, if the interest rate i on bonds is negative.
Queston roblem Set 3 a) We are asked how people wll react, f the nterest rate on bonds s negatve. When
More informationSection 5.3 Annuities, Future Value, and Sinking Funds
Secton 5.3 Annutes, Future Value, and Snkng Funds Ordnary Annutes A sequence of equal payments made at equal perods of tme s called an annuty. The tme between payments s the payment perod, and the tme
More informationExhaustive Regression. An Exploration of Regression-Based Data Mining Techniques Using Super Computation
Exhaustve Regresson An Exploraton of Regresson-Based Data Mnng Technques Usng Super Computaton Antony Daves, Ph.D. Assocate Professor of Economcs Duquesne Unversty Pttsburgh, PA 58 Research Fellow The
More informationCanon NTSC Help Desk Documentation
Canon NTSC Help Desk Documentaton READ THIS BEFORE PROCEEDING Before revewng ths documentaton, Canon Busness Solutons, Inc. ( CBS ) hereby refers you, the customer or customer s representatve or agent
More informationRotation Kinematics, Moment of Inertia, and Torque
Rotaton Knematcs, Moment of Inerta, and Torque Mathematcally, rotaton of a rgd body about a fxed axs s analogous to a lnear moton n one dmenson. Although the physcal quanttes nvolved n rotaton are qute
More informationWe assume your students are learning about self-regulation (how to change how alert they feel) through the Alert Program with its three stages:
Welcome to ALERT BINGO, a fun-flled and educatonal way to learn the fve ways to change engnes levels (Put somethng n your Mouth, Move, Touch, Look, and Lsten) as descrbed n the How Does Your Engne Run?
More informationTexas Instruments 30X IIS Calculator
Texas Instruments 30X IIS Calculator Keystrokes for the TI-30X IIS are shown for a few topcs n whch keystrokes are unque. Start by readng the Quk Start secton. Then, before begnnng a specfc unt of the
More informationFeature selection for intrusion detection. Slobodan Petrović NISlab, Gjøvik University College
Feature selecton for ntruson detecton Slobodan Petrovć NISlab, Gjøvk Unversty College Contents The feature selecton problem Intruson detecton Traffc features relevant for IDS The CFS measure The mrmr measure
More informationRegression Models for a Binary Response Using EXCEL and JMP
SEMATECH 997 Statstcal Methods Symposum Austn Regresson Models for a Bnary Response Usng EXCEL and JMP Davd C. Trndade, Ph.D. STAT-TECH Consultng and Tranng n Appled Statstcs San Jose, CA Topcs Practcal
More informationHeuristic Static Load-Balancing Algorithm Applied to CESM
Heurstc Statc Load-Balancng Algorthm Appled to CESM 1 Yur Alexeev, 1 Sher Mckelson, 1 Sven Leyffer, 1 Robert Jacob, 2 Anthony Crag 1 Argonne Natonal Laboratory, 9700 S. Cass Avenue, Argonne, IL 60439,
More informationImplementation of Deutsch's Algorithm Using Mathcad
Implementaton of Deutsch's Algorthm Usng Mathcad Frank Roux The followng s a Mathcad mplementaton of Davd Deutsch's quantum computer prototype as presented on pages - n "Machnes, Logc and Quantum Physcs"
More informationLuby s Alg. for Maximal Independent Sets using Pairwise Independence
Lecture Notes for Randomzed Algorthms Luby s Alg. for Maxmal Independent Sets usng Parwse Independence Last Updated by Erc Vgoda on February, 006 8. Maxmal Independent Sets For a graph G = (V, E), an ndependent
More informationBrigid Mullany, Ph.D University of North Carolina, Charlotte
Evaluaton And Comparson Of The Dfferent Standards Used To Defne The Postonal Accuracy And Repeatablty Of Numercally Controlled Machnng Center Axes Brgd Mullany, Ph.D Unversty of North Carolna, Charlotte
More information7.5. Present Value of an Annuity. Investigate
7.5 Present Value of an Annuty Owen and Anna are approachng retrement and are puttng ther fnances n order. They have worked hard and nvested ther earnngs so that they now have a large amount of money on
More informationSimple Interest Loans (Section 5.1) :
Chapter 5 Fnance The frst part of ths revew wll explan the dfferent nterest and nvestment equatons you learned n secton 5.1 through 5.4 of your textbook and go through several examples. The second part
More informationEstimating the Effect of the Red Card in Soccer
Estmatng the Effect of the Red Card n Soccer When to Commt an Offense n Exchange for Preventng a Goal Opportunty Jan Vecer, Frantsek Koprva, Tomoyuk Ichba, Columba Unversty, Department of Statstcs, New
More informationLecture 2: Single Layer Perceptrons Kevin Swingler
Lecture 2: Sngle Layer Perceptrons Kevn Sngler kms@cs.str.ac.uk Recap: McCulloch-Ptts Neuron Ths vastly smplfed model of real neurons s also knon as a Threshold Logc Unt: W 2 A Y 3 n W n. A set of synapses
More informationIDENTIFICATION AND CORRECTION OF A COMMON ERROR IN GENERAL ANNUITY CALCULATIONS
IDENTIFICATION AND CORRECTION OF A COMMON ERROR IN GENERAL ANNUITY CALCULATIONS Chrs Deeley* Last revsed: September 22, 200 * Chrs Deeley s a Senor Lecturer n the School of Accountng, Charles Sturt Unversty,
More informationThe Development of Web Log Mining Based on Improve-K-Means Clustering Analysis
The Development of Web Log Mnng Based on Improve-K-Means Clusterng Analyss TngZhong Wang * College of Informaton Technology, Luoyang Normal Unversty, Luoyang, 471022, Chna wangtngzhong2@sna.cn Abstract.
More informationGoals Rotational quantities as vectors. Math: Cross Product. Angular momentum
Physcs 106 Week 5 Torque and Angular Momentum as Vectors SJ 7thEd.: Chap 11.2 to 3 Rotatonal quanttes as vectors Cross product Torque expressed as a vector Angular momentum defned Angular momentum as a
More informationMulti-Robot Tracking of a Moving Object Using Directional Sensors
Mult-Robot Trackng of a Movng Object Usng Drectonal Sensors Xaomng Hu, Karl H. Johansson, Manuel Mazo Jr., Alberto Speranzon Dept. of Sgnals, Sensors & Systems Royal Insttute of Technology, SE- 44 Stockholm,
More informationn + d + q = 24 and.05n +.1d +.25q = 2 { n + d + q = 24 (3) n + 2d + 5q = 40 (2)
MATH 16T Exam 1 : Part I (In-Class) Solutons 1. (0 pts) A pggy bank contans 4 cons, all of whch are nckels (5 ), dmes (10 ) or quarters (5 ). The pggy bank also contans a con of each denomnaton. The total
More informationL10: Linear discriminants analysis
L0: Lnear dscrmnants analyss Lnear dscrmnant analyss, two classes Lnear dscrmnant analyss, C classes LDA vs. PCA Lmtatons of LDA Varants of LDA Other dmensonalty reducton methods CSCE 666 Pattern Analyss
More informationSupport Vector Machines
Support Vector Machnes Max Wellng Department of Computer Scence Unversty of Toronto 10 Kng s College Road Toronto, M5S 3G5 Canada wellng@cs.toronto.edu Abstract Ths s a note to explan support vector machnes.
More informationUse of Numerical Models as Data Proxies for Approximate Ad-Hoc Query Processing
Preprnt UCRL-JC-?????? Use of Numercal Models as Data Proxes for Approxmate Ad-Hoc Query Processng R. Kammura, G. Abdulla, C. Baldwn, T. Crtchlow, B. Lee, I. Lozares, R. Musck, and N. Tang U.S. Department
More informationForecasting the Direction and Strength of Stock Market Movement
Forecastng the Drecton and Strength of Stock Market Movement Jngwe Chen Mng Chen Nan Ye cjngwe@stanford.edu mchen5@stanford.edu nanye@stanford.edu Abstract - Stock market s one of the most complcated systems
More informationA DYNAMIC CRASHING METHOD FOR PROJECT MANAGEMENT USING SIMULATION-BASED OPTIMIZATION. Michael E. Kuhl Radhamés A. Tolentino-Peña
Proceedngs of the 2008 Wnter Smulaton Conference S. J. Mason, R. R. Hll, L. Mönch, O. Rose, T. Jefferson, J. W. Fowler eds. A DYNAMIC CRASHING METHOD FOR PROJECT MANAGEMENT USING SIMULATION-BASED OPTIMIZATION
More informationModern Problem Solving Techniques in Engineering with POLYMATH, Excel and MATLAB. Introduction
Modern Problem Solvng Tehnques n Engneerng wth POLYMATH, Exel and MATLAB. Introduton Engneers are fundamentally problem solvers, seekng to aheve some objetve or desgn among tehnal, soal eonom, regulatory
More informationTypes of Injuries. (20 minutes) LEARNING OBJECTIVES MATERIALS NEEDED
U N I T 3 Types of Injures (20 mnutes) PURPOSE: To help coaches learn how to recognze the man types of acute and chronc njures. LEARNING OBJECTIVES In ths unt, coaches wll learn how most njures occur,
More informationLatent Class Regression. Statistics for Psychosocial Research II: Structural Models December 4 and 6, 2006
Latent Class Regresson Statstcs for Psychosocal Research II: Structural Models December 4 and 6, 2006 Latent Class Regresson (LCR) What s t and when do we use t? Recall the standard latent class model
More informationRequIn, a tool for fast web traffic inference
RequIn, a tool for fast web traffc nference Olver aul, Jean Etenne Kba GET/INT, LOR Department 9 rue Charles Fourer 90 Evry, France Olver.aul@nt-evry.fr, Jean-Etenne.Kba@nt-evry.fr Abstract As networked
More informationThe Greedy Method. Introduction. 0/1 Knapsack Problem
The Greedy Method Introducton We have completed data structures. We now are gong to look at algorthm desgn methods. Often we are lookng at optmzaton problems whose performance s exponental. For an optmzaton
More informationGRAVITY DATA VALIDATION AND OUTLIER DETECTION USING L 1 -NORM
GRAVITY DATA VALIDATION AND OUTLIER DETECTION USING L 1 -NORM BARRIOT Jean-Perre, SARRAILH Mchel BGI/CNES 18.av.E.Beln 31401 TOULOUSE Cedex 4 (France) Emal: jean-perre.barrot@cnes.fr 1/Introducton The
More informationPERRON FROBENIUS THEOREM
PERRON FROBENIUS THEOREM R. CLARK ROBINSON Defnton. A n n matrx M wth real entres m, s called a stochastc matrx provded () all the entres m satsfy 0 m, () each of the columns sum to one, m = for all, ()
More informationFLASH POINT DETERMINATION OF BINARY MIXTURES OF ALCOHOLS, KETONES AND WATER. P.J. Martínez, E. Rus and J.M. Compaña
FLASH POINT DETERMINATION OF BINARY MIXTURES OF ALCOHOLS, KETONES AND WATER Abstract P.J. Martínez, E. Rus and J.M. Compaña Departamento de Ingenería Químca. Facultad de Cencas. Unversdad de Málaga. 29071
More informationHÜCKEL MOLECULAR ORBITAL THEORY
1 HÜCKEL MOLECULAR ORBITAL THEORY In general, the vast maorty polyatomc molecules can be thought of as consstng of a collecton of two electron bonds between pars of atoms. So the qualtatve pcture of σ
More informationtotal A A reag total A A r eag
hapter 5 Standardzng nalytcal Methods hapter Overvew 5 nalytcal Standards 5B albratng the Sgnal (S total ) 5 Determnng the Senstvty (k ) 5D Lnear Regresson and albraton urves 5E ompensatng for the Reagent
More informationAn interactive system for structure-based ASCII art creation
An nteractve system for structure-based ASCII art creaton Katsunor Myake Henry Johan Tomoyuk Nshta The Unversty of Tokyo Nanyang Technologcal Unversty Abstract Non-Photorealstc Renderng (NPR), whose am
More informationStaff Paper. Farm Savings Accounts: Examining Income Variability, Eligibility, and Benefits. Brent Gloy, Eddy LaDue, and Charles Cuykendall
SP 2005-02 August 2005 Staff Paper Department of Appled Economcs and Management Cornell Unversty, Ithaca, New York 14853-7801 USA Farm Savngs Accounts: Examnng Income Varablty, Elgblty, and Benefts Brent
More informationThe issue of June, 1925 of Industrial and Engineering Chemistry published a famous paper entitled
Revsta Cêncas & Tecnologa Reflectons on the use of the Mccabe and Thele method GOMES, João Fernando Perera Chemcal Engneerng Department, IST - Insttuto Superor Técnco, Torre Sul, Av. Rovsco Pas, 1, 1049-001
More informationFuzzy Regression and the Term Structure of Interest Rates Revisited
Fuzzy Regresson and the Term Structure of Interest Rates Revsted Arnold F. Shapro Penn State Unversty Smeal College of Busness, Unversty Park, PA 68, USA Phone: -84-865-396, Fax: -84-865-684, E-mal: afs@psu.edu
More informationTo manage leave, meeting institutional requirements and treating individual staff members fairly and consistently.
Corporate Polces & Procedures Human Resources - Document CPP216 Leave Management Frst Produced: Current Verson: Past Revsons: Revew Cycle: Apples From: 09/09/09 26/10/12 09/09/09 3 years Immedately Authorsaton:
More informationLecture 14: Implementing CAPM
Lecture 14: Implementng CAPM Queston: So, how do I apply the CAPM? Current readng: Brealey and Myers, Chapter 9 Reader, Chapter 15 M. Spegel and R. Stanton, 2000 1 Key Results So Far All nvestors should
More informationFigure 1. Inventory Level vs. Time - EOQ Problem
IEOR 54 Sprng, 009 rof Leahman otes on Eonom Lot Shedulng and Eonom Rotaton Cyles he Eonom Order Quantty (EOQ) Consder an nventory tem n solaton wth demand rate, holdng ost h per unt per unt tme, and replenshment
More informationNumber of Levels Cumulative Annual operating Income per year construction costs costs ($) ($) ($) 1 600,000 35,000 100,000 2 2,200,000 60,000 350,000
Problem Set 5 Solutons 1 MIT s consderng buldng a new car park near Kendall Square. o unversty funds are avalable (overhead rates are under pressure and the new faclty would have to pay for tself from
More informationAlthough ordinary least-squares (OLS) regression
egresson through the Orgn Blackwell Oxford, TEST 0141-98X 003 5 31000 Orgnal Joseph Teachng G. UK Artcle Publshng Esenhauer through Statstcs the Ltd Trust Orgn 001 KEYWODS: Teachng; egresson; Analyss of
More informationEE31 Series. Manual. Logger & Visualisation Software. BA_EE31_VisuLoggerSW_01_eng // Technical data are subject to change V1.0
EE31 Seres Manual Logger & Vsualsaton Software BA_EE31_VsuLoggerSW_01_eng // Techncal data are subject to change V1.0 Logger & Vsualsaton Software - EE31 Seres GENERAL Ths software has been developed by
More informationthe Manual on the global data processing and forecasting system (GDPFS) (WMO-No.485; available at http://www.wmo.int/pages/prog/www/manuals.
Gudelne on the exchange and use of EPS verfcaton results Update date: 30 November 202. Introducton World Meteorologcal Organzaton (WMO) CBS-XIII (2005) recommended that the general responsbltes for a Lead
More informationConversion between the vector and raster data structures using Fuzzy Geographical Entities
Converson between the vector and raster data structures usng Fuzzy Geographcal Enttes Cdála Fonte Department of Mathematcs Faculty of Scences and Technology Unversty of Combra, Apartado 38, 3 454 Combra,
More informationMean Molecular Weight
Mean Molecular Weght The thermodynamc relatons between P, ρ, and T, as well as the calculaton of stellar opacty requres knowledge of the system s mean molecular weght defned as the mass per unt mole of
More informationLogistic Regression. Lecture 4: More classifiers and classes. Logistic regression. Adaboost. Optimization. Multiple class classification
Lecture 4: More classfers and classes C4B Machne Learnng Hlary 20 A. Zsserman Logstc regresson Loss functons revsted Adaboost Loss functons revsted Optmzaton Multple class classfcaton Logstc Regresson
More informationA Multi-mode Image Tracking System Based on Distributed Fusion
A Mult-mode Image Tracng System Based on Dstrbuted Fuson Ln zheng Chongzhao Han Dongguang Zuo Hongsen Yan School of Electroncs & nformaton engneerng, X an Jaotong Unversty X an, Shaanx, Chna Lnzheng@malst.xjtu.edu.cn
More informationChapter 7: Answers to Questions and Problems
19. Based on the nformaton contaned n Table 7-3 of the text, the food and apparel ndustres are most compettve and therefore probably represent the best match for the expertse of these managers. Chapter
More information