Least-squares Fit of a Continuous Piecewise Linear Function

Similar documents
Sequences and Series

Chapter 4 Multiple-Degree-of-Freedom (MDOF) Systems. Packing of an instrument

7.2 Analysis of Three Dimensional Stress and Strain

Numerical Solution of the Incompressible Navier-Stokes Equations

Solving Fuzzy Linear Programming Problems with Piecewise Linear Membership Function

Exam FM/2 Interest Theory Formulas

MATH 150 HOMEWORK 4 SOLUTIONS

Proving the Computer Science Theory P = NP? With the General Term of the Riemann Zeta Function

Curve Fitting and Solution of Equation

Lecture 13 Time Series: Stationarity, AR(p) & MA(q)

A. Description: A simple queueing system is shown in Fig Customers arrive randomly at an average rate of

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

16. Mean Square Estimation

ANOVA Notes Page 1. Analysis of Variance for a One-Way Classification of Data

MDM 4U PRACTICE EXAMINATION

Repeated multiplication is represented using exponential notation, for example:

Chapter System of Equations

EXAMPLE EXAMPLE EXAMPLE EXAMPLE 4 UNIVERSAL TRADITIONAL APPROACH EXAMPLE 5 FLEXIBLE PRODUCT... 26

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

1. The Time Value of Money

CHAPTER 2. Time Value of Money 6-1

Outline. Numerical Analysis Boundary Value Problems & PDE. Exam. Boundary Value Problems. Boundary Value Problems. Solution to BVProblems

We will begin this chapter with a quick refresher of what an exponent is.

Vladimir PAPI], Jovan POPOVI] 1. INTRODUCTION

IDENTIFICATION OF THE DYNAMICS OF THE GOOGLE S RANKING ALGORITHM. A. Khaki Sedigh, Mehdi Roudaki

AN INFLUENCE OF THE NUMBER OF MEASUREMENT POINTS ON THE ACCURACY OF MEASUREMENTS OF FREE-FORM SURFACES ON CNC MACHINE TOOL

T = 1/freq, T = 2/freq, T = i/freq, T = n (number of cash flows = freq n) are :

Classic Problems at a Glance using the TVM Solver

6.7 Network analysis Introduction. References - Network analysis. Topological analysis

APPENDIX III THE ENVELOPE PROPERTY

American Journal of Business Education September 2009 Volume 2, Number 6

GARCH Modelling. Theoretical Survey, Model Implementation and

Preprocess a planar map S. Given a query point p, report the face of S containing p. Goal: O(n)-size data structure that enables O(log n) query time.

Physics 43 Homework Set 9 Chapter 40 Key

Financial Time Series Forecasting with Grouped Predictors using Hierarchical Clustering and Support Vector Regression

Improper Integrals. Dr. Philippe B. laval Kennesaw State University. September 19, f (x) dx over a finite interval [a, b].

Simple Linear Regression

Claims Reserving When There Are Negative Values in the Runoff Triangle

PORTFOLIO CHOICE WITH HEAVY TAILED DISTRIBUTIONS 1. Svetlozar Rachev 2 Isabella Huber 3 Sergio Ortobelli 4

of the relationship between time and the value of money.

The simple linear Regression Model

Redundant Virtual Machine Placement for Fault-tolerant Consolidated Server Clusters

- Models: - Classical: : Mastermodel (clay( Curves. - Example: - Independent variable t

Generalized Difference Sequence Space On Seminormed Space By Orlicz Function

Chapter Eight. f : R R

Jorge Ortega Arjona Departamento de Matemáticas, Facultad de Ciencias, UNAM

Trust Evaluation and Dynamic Routing Decision Based on Fuzzy Theory for MANETs

Numerical Methods with MS Excel

Chapter = 3000 ( ( 1 ) Present Value of an Annuity. Section 4 Present Value of an Annuity; Amortization

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

How To Value An Annuity

The analysis of annuities relies on the formula for geometric sums: r k = rn+1 1 r 1. (2.1) k=0

Reasoning to Solve Equations and Inequalities

Math 135 Circles and Completing the Square Examples

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

Conversion of Non-Linear Strength Envelopes into Generalized Hoek-Brown Envelopes

Credibility Premium Calculation in Motor Third-Party Liability Insurance

Average Price Ratios

Section 11.3: The Integral Test

Infinite Sequences and Series

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding

n Using the formula we get a confidence interval of 80±1.64

FINANCIAL MATHEMATICS 12 MARCH 2014

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

A quantization tree method for pricing and hedging multi-dimensional American options

Valuation Methods of a Life Insurance Company

OPTIMAL KNOWLEDGE FLOW ON THE INTERNET

Lecture 40 Induction. Review Inductors Self-induction RL circuits Energy stored in a Magnetic Field

ADAPTATION OF SHAPIRO-WILK TEST TO THE CASE OF KNOWN MEAN

Professional Liability Insurance Contracts: Claims Made Versus Occurrence Policies

Analysis of Coalition Formation and Cooperation Strategies in Mobile Ad hoc Networks

Approximation Algorithms for Scheduling with Rejection on Two Unrelated Parallel Machines

Abraham Zaks. Technion I.I.T. Haifa ISRAEL. and. University of Haifa, Haifa ISRAEL. Abstract

Chapter 3. AMORTIZATION OF LOAN. SINKING FUNDS R =

Public Auditing Based on Homomorphic Hash Function in

Harmony search algorithms for inventory management problems

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100

HIGH FREQUENCY MARKET MAKING

Statistical Pattern Recognition (CE-725) Department of Computer Engineering Sharif University of Technology

CIS603 - Artificial Intelligence. Logistic regression. (some material adopted from notes by M. Hauskrecht) CIS603 - AI. Supervised learning

User Guide Thank you for purchasing the DX90

CONVERGENCE AND SPATIAL PATTERNS IN LABOR PRODUCTIVITY: NONPARAMETRIC ESTIMATIONS FOR TURKEY 1

Factoring Polynomials

Polyphase Filters. Section 12.4 Porat 1/39

10.5 Future Value and Present Value of a General Annuity Due

The Gompertz-Makeham distribution. Fredrik Norström. Supervisor: Yuri Belyaev

WHAT HAPPENS WHEN YOU MIX COMPLEX NUMBERS WITH PRIME NUMBERS?

The remaining two sides of the right triangle are called the legs of the right triangle.

Optimal Packetization Interval for VoIP Applications Over IEEE Networks

The Design of a Forecasting Support Models on Demand of Durian for Domestic Markets and Export Markets by Time Series and ANNs.

10/19/2011. Financial Mathematics. Lecture 24 Annuities. Ana NoraEvans 403 Kerchof

Newton-Raphson Method of Solving a Nonlinear Equation Autar Kaw

Treatment Spring Late Summer Fall Mean = 1.33 Mean = 4.88 Mean = 3.

The Advertising Market in a Product Oligopoly

Bullwhip Effect Measure When Supply Chain Demand is Forecasting

Transcription:

Les-squres F of Couous Pecewse Ler Fuco Nkol Golovcheko 3-Augus-4 Absrc The er descrbes lco of he les-squres mehod o fg couous ecewse ler fuco. I shows h he soluo s uque d he bes f c be foud whou resorg o erve omzo echques. Problem Gve se of rs of d os: x, y,.. x y deede vrble; deede vrble; dex; umber of os; d fxed bouds of he segmes of he couous ecewse ler fuco:,..m x coorde of segme ed o; ed o dex; m umber of segme ed os; m- umber of segmes; fd he y coordes of he segme ed os (b ) of couous ecewse ler fuco, whch mmze he sum of squres of he dsce bewee he fuco d corresodg d os: S Σ(f(x ) y ) f(x ) fed ecewse ler fuco. Noe h he erm couous s used he sese h he dce segmes of he fuco shre he sme ed o. See Fgure for grhcl exmle of he roblem.

Fgure. Exmle of fg couous ecewse ler fuco. Soluo Geerl Les-squres Mehod Frs, we wll oule some key ses used he les-squres mehod. Gve fuco f(x, b, b m ), where b, b m re ukow rmeers, d se of d os (x, y ), where.., we eed o mmze he followg obecve fuco: ( ) (.) s f y f f(x, b, b m ) vlue of he fed fuco x ; The mmum of he fuco c be foud by lyzg s rl dervves he ukow rmeers. The frs order dervve would dce he exremum o(s) whe s equl o zero. The secod order dervve would dce f he exremum o s cully he mmum d f s uque mmum. For exmle, f he secod dervve s osve cos, he frs dervve hs uque erseco wh zero d chges sg from egve o osve he erseco, whch corresods o he fuco mmum.

The obecve fuco dervves c be exressed erms of fuco f(x, b, b m ) d s dervves: ds ( f y ) (.) d s d f + ( f y ) (.3)..m dex of he ukow rmeers. The rmeers re foud by equg he frs dervve equos o zero d solvg he resulg sysem of equos: ( ) (.4) f y Noe h f he fed fuco s olyoml, he secod dervve of he obecve fuco s osve (uless x re zero) d smlfes o: d s Therefore, fg olyomls resuls uque soluo. (.5) Fg Segmeed Fucos If he fed fuco cosss of severl cosecuve segmes, he sme les-squres mehod c be used wh some ddol cosrs. The cosrs deed o how he segmes re coeced, e.g.: ) he fuco s couous he o os bewee segmes (he sme o s shred by dce segmes); ) he fuco s couous d smooh he o os (he sme o s shred by dce segmes d he frs dervve x s couous). The equos.-.4 c be exressed slghly fere wy for segmeed fucos: m (,, ) (.6) s f y m, ( f, y, ) (.7) ds

m d s d f,, ( f, y, ) + (.8) m, ( f, y, ) (.9) m umber of segme ed os; m- umber of segmes;..m- segme dex; umber of os -h segme;.. o dex -h segme; x, deede vrble; y, deede vrble; f, f (x,, b, b k ) fed fuco vlue; f (x, b, b k ) fed fuco used -h segme; k umber of ukow vrbles;..k dex of ukow vrble (corresods o equo for ech ukow vrble). I order o solve he sysem of equos (.9), he fucos f mus clude he cosrs for he segme o os. If he cosrs re formuled serely, usg ddol equos, he sysem becomes overdeermed d here s o soluo. Foruely, s ossble o fcor he couy d smoohess cosrs he fed fucos f rovded hey hve olyoml form: ( ) q f ( x) b x (.), q q q.. b,, b, olyoml order; olyoml coeffce dex; ukow rmeers (olyoml coeffces); fxed x coorde of he frs ed o of -h segme. The couy cosr mles h f ( + ) f + ( + ). Afer subsug hs codo (.), we fd: ( ) q b, q + b+, (.) q I oher words, oe of he rmeers fuco f + s deermed from he revous segme fuco f. The smoohess cosr c be hdled smlrly:

( + ) + ( + ) (.) dx dx q ( ) q b, q + b+, (.3) q The smoohess cosr deermes oher rmeer fuco f + from fuco f, b +,. Fg Couous Pecewse Ler Fuco A couous ecewse ler fuco cosss of segmes defed by frs-order olyomls (.) wh he couy cosr (.): ( ) f ( x) b + b x (.4),, Afer cludg he couy cosr (.4), ll fed fucos c be exressed he sme form: f ( x) ( b b ) x + b b +,,, + +, + (.5)..m- segme dex; m- umber of segmes; (, b, ) x,y coordes of he frs ed o of -h segme; ( +, b +, ) x,y coordes of he secod ed o of -h segme. We c dro he secod dex he b rmeers becuse s lwys zero: ( b b ) x + b b f ( x) + + +..m- segme dex; m- umber of segmes; (, b ) x,y coordes of he frs ed o of -h segme; ( +, b + ) x,y coordes of he secod ed o of -h segme. + (.6) Le s lyze he dervves of he fuco resec o s rmeers. There re oly wo rmeers volved b d b + : x + + + (.7)

x + + (.8) d f d f (.9) + (.) The secod dervves re equl o zero. Therefore, he secod dervves of he obecve fuco re osve (.8) d he soluo s uque. The sysem of equos c be formed by removg he frs dervves rmeers equl o zero from (.9):,, ( f, y, ) + ( f, y, ) (.)..m rmeer dex (corresods o equo er ech vlue); m umber of ukow rmeers; m- umber of segmes; umber of os -h segme; m umber of os udefed segmes (corresodg sums dser); o dex segme; There re wo exceos he sysem whe - or re equl o zero ( or m). They corresod o udefed fucos f d f m. Sce he sum of squres does deed o fucos f d f m, he corresodg sums (.) should be omed. The sysem of equos c be exded by subsug exressos from (.6-.8) o (.): ( b b ) x + b b x +,, y, ( b b ) x + b b x + +, + +, + y, + + (.) The erms c be regroued regrds o he ukow rmeers:

( )( ) ( ) b x, x, + b x, + ( ) (, + ) + (, )(, + ) ( ) + b x b x x x, y, y, x, y, + + y, + ; + (.3)..m rmeer dex (corresods o equo er ech vlue); m umber of ukow rmeers; m- umber of segmes; umber of os -h segme; m umber of os udefed segmes (corresodg sums dser); o dex segme; Jus lke (.), he sums over segmes d m should be omed. Soluo of he orml ler sysem of equo (.3) roduces he swer o he roblem of fg ecewse ler fuco.