<< Chapter < Page Chapter >> Page >

Total least squares

Consider the linear equation A x = b , where A R m × n , b R m × 1 , x R n × 1 , m > n .

This equation is overdetermined and has no precise answer. The simplest approach to finding x is a least-squares fitting model, which finds the curve with the least difference between the value of the curve at a point and the value of the data at that point; i.e., it solves min x R n A x - b 2 . This amounts to saying that the data may be slightly perturbed:

A x = b + r ,

where r is some residual noise, and minimizing r :

min r : A x = b + r r .

When we compare this to our equation B k = f , we see that this is an appropriate method: we are not entirely confident of f , and can perturb it slightly.

Looking more closely, B = A T diag A x . We are also not entirely certain of x , which means we are not entirely certain of A T diag A x . This is best reflected in the total least squares approach, in which both the data ( b in the simple equation, f in our equation) and the matrix ( A in the simple equation, A T diag A x in our equation) may be slightly perturbed:

A + E x = b + r ,

where E is some noise in A and r is some noise in b , and minimizing E r :

min [ E r ] : ( A + E ) x = b + r [ E r ] | F .

The last term in the singular value decomposition of [ A b ] , - s n + 1 u n + 1 v n + 1 T , is precisely what we want for [ E r ] .

At first glance, this exactly what we want. We can find the singular value decomposition of [ B f ] , take the last term as [ E r ] , and solve for k . When we implement this method, however, we get worse results compared to the measured data. Standard least squares returns a k with only 182.04% percent error (See [link] ); total least squares returns a k with 269.17% percent error (See [link] ). Looking at the structure of B = A T diag A x and E gives a hint as to why. The adjacency matrix, A , encodes information about the structure of the network, so it has a very specific pattern of zeros, which is reflected in B . There are no similar restrictions on E , allowing zeros in inappropriate places. This is physically equivalent to sprouting a new spring between two nodes, an absurdity. [link] below compares the structure of B ( [link] ) and E ( [link] ). Light green entires correspond to a zero; everything else corresponds to a nonzero entry. E has many non-zero entries where there should not be any. Note the scale for the colorbar on the right: the entries of E are two orders of magnitude smaller than the entries in B . Though they are small, they represent connections between nodes and springs that do not exist, throwing off the entire result. Requiring that particular entries equal zero makes the problem combinatorally harder.

Results from Least Squares and Total Least Squares
Total Least Squares: Structure of B and E

Statistical approaches

Statistical background

Because we would like to use statistical inference, it is important to have a basic understanding of several statistical concepts.

Definition 1 Probability Space

A space, Ω , of all possible events, ω Ω

Example

Rolling a die is an event.

Flipping a coin is an event.

Loading forces onto the spring network is an event.

Definition 2 Random Variable

A mapping from a space of events into the real line, X : Ω R , or real n -dimensional space, X : Ω R n

Questions & Answers

it is the relatively stable flow of income
Chidubem Reply
what is circular flow of income
Divine Reply
branches of macroeconomics
SHEDRACK Reply
what is Flexible exchang rate?
poudel Reply
is gdp a reliable measurement of wealth
Atega Reply
introduction to econometrics
Husseini Reply
Hi
mostafa
hi
LEMLEM
hello
Sammol
hi
Mahesh
bi
Ruqayat
hi
Ruqayat
Hi fellas
Nyawa
hey
Sammol
hi
God
hello
Jahara
Good morning
Jorge
hi
abubakar
hi
Nmesoma
hi
Mahesh
Hi
Tom
Why is unemployment rate never zero at full employment?
Priyanka Reply
bcoz of existence of frictional unemployment in our economy.
Umashankar
what is flexible exchang rate?
poudel
due to existence of the pple with disabilities
Abdulraufu
the demand of a good rises, causing the demand for another good to fall
Rushawn Reply
is it possible to leave every good at the same level
Joseph
I don't think so. because check it, if the demand for chicken increases, people will no longer consume fish like they used to causing a fall in the demand for fish
Anuolu
is not really possible to let the value of a goods to be same at the same time.....
Salome
Suppose the inflation rate is 6%, does it mean that all the goods you purchase will cost 6% more than previous year? Provide with reasoning.
Geetha Reply
Not necessarily. To measure the inflation rate economists normally use an averaged price index of a basket of certain goods. So if you purchase goods included in the basket, you will notice that you pay 6% more, otherwise not necessarily.
Waeth
discus major problems of macroeconomics
Alii Reply
what is the problem of macroeconomics
Yoal
Economic growth Stable prices and low unemployment
Ephraim
explain inflationcause and itis degre
Miresa Reply
what is inflation
Getu
increase in general price levels
WEETO
Good day How do I calculate this question: C= 100+5yd G= 2000 T= 2000 I(planned)=200. Suppose the actual output is 3000. What is the level of planned expenditures at this level of output?
Chisomo Reply
how to calculate actual output?
Chisomo
how to calculate the equilibrium income
Beshir
Criteria for determining money supply
Thapase Reply
who we can define macroeconomics in one line
Muhammad
Aggregate demand
Mohammed
C=k100 +9y and i=k50.calculate the equilibrium level of output
Mercy Reply
Hi
Isiaka
Hi
Geli
hy
Man
👋
Bahunda
hy how are you?
Man
ys
Amisha
how are you guys
Sekou
f9 guys
Amisha
how are you guys
Sekou
ys am also fine
Amisha
fine and you guys
Geli
from Nepal
Amisha
nawalparasi district from belatari
Amisha
nd u
Amisha
I am Camara from Guinea west Africa... happy to meet you guys here
Sekou
ma management ho
Amisha
ahile becheclor ho
Amisha
hjr ktm bta ho ani k kaam grnu hunxa tw
Amisha
belatari
Amisha
1st year ho
Amisha
nd u
Amisha
ahh
Amisha
kaha biratnagar
Amisha
ys
Amisha
kina k vo
Amisha
money as unit of account means what?
Kalombe
A unit of account is something that can be used to value goods and services and make calculations
Jim
all of you please speak in English I can't understand you're language
Muhammad
I want to know how can we define macroeconomics in one line
Muhammad
it must be .9 or 0.9 no Mpc is greater than 1 Y=100+.9Y+50 Y-.9Y=150 0.1Y/0.1=150/0.1 Y=1500
Kalombe
Mercy is it clear?😋
Kalombe
hi can someone help me on this question If a negative shocks shifts the IS curve to the left, what type of policy do you suggest so as to stabilize the level of output? discuss your answer using appropriate graph.
Galge Reply
if interest rate is increased this will will reduce the level of income shifting the curve to the left ◀️
Kalombe
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, The art of the pfug. OpenStax CNX. Jun 05, 2013 Download for free at http://cnx.org/content/col10523/1.34
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'The art of the pfug' conversation and receive update notifications?

Ask