Re: PSeudoinvers Matrices



On Jun 17, 5:14 am, Gordon Sande <g.sa...@xxxxxxxxxxxxxxxx> wrote:
On 2009-06-17 02:23:49 -0300, GagoX <elgrang...@xxxxxxxxx> said:

Thanx again Greg for the reply...

firstly, I think my problem (equation W*X=R) has nothing to do with R
but just with W.

Let me explain myself.
doing what you tell me, getting the RHS of W'Wx=W'r gives me the
columns of X=inv(W'W)*W'R

The "normal equations" of least squares.

but using this solution on the original problem does not work because
W*inv(W'W)*W'R is not equal to R!

The pseudoinverses gives solutions to overdetermined equations in the sense
of least squares. If you paid close attention to the words your would have
noticed that "solution" and "over determined" do not get along very well
until some additional adjectives like "in the sense of least squares"
are added.

I going crazy here...everything seemed to be so easy when  working with
square matrices...but rectangular ones...uuuff. :-)

Just generalize to allow for least squares solutions.

Thanx Again!



Layman's approach. Let s denote minimum of m,n. Convert each matrix
to an sxs matrix by truncating on the right and the bottom. Identify
all possible matrices Y that solve this
matrix. If original problem is solvable, then upper left portion of X
must = one of the
matrices Y.

I never studied matrix theory; this is simply my intuition.
.



Relevant Pages

  • Re: Regression with more than 16 variables
    ... Theoretically yes, but forming the normal equations is a numerically poor way to do least squares, since numerical singularity is then governed by the ratio of largest to smallest eigenvalues in X'X instead of that ratio in X. MINVERSE will often give a numerically inaccurate solution instead of warning of approximate numerical singularity. ... all significant figures are lost in the first calculation (summing squared x's has pushed the interesting part of the ... Pre-2003 LINEST formula linked from my previous post) will try, but will get no figures correct without warning. ...
    (microsoft.public.excel.misc)
  • Re: Linear least squares using SVD
    ... >instead of using the normal equations". ... SVD would then be applied to the 256x256 linear ... NR is recommending that you solve ... the overdetermined 300,000 by 256 least squares problem with the SVD. ...
    (sci.math.num-analysis)
  • Re: Comparing LS and TLS
    ... the least squares produces the smallest error. ... LS and randomly better or worse than single RHS TLS. ... I'm curious why is the special purpose TLS for multiple RHS not the ...
    (sci.math.num-analysis)
  • Comparing LS and TLS
    ... I wrote some code to test the total least squares method. ... LS and randomly better or worse than single RHS TLS. ... sd = 0.01; % added noise std. ...
    (sci.math.num-analysis)
  • Re: A Diophantine Equation
    ... Hmmm ... ... where the RHS is a difference of 2 squares. ...
    (sci.math)

Loading