Re: principal components reconstruction



On May 28, 6:11 pm, "Happy " <happygalpea...@xxxxxxxxx> wrote:
Hi,

I'm using PCA

(the contents of the parentheses indicate dimensions;
not component indices)

X(n,N) = T(n,n)*P(n,N),
P(n,N) = T'(n,n)*X(n,N),

to reduce the dimensions of my data

X(n,N) ~ T(n,r)*P(r,N), r < n,
P(r,N) ~ T'(n,r)*X(n,N),

before doing regression analysis (PRINCOMP).

Y(m,N) = Wp(m,r+1)*Pa(r+1,N) + Ey(r),
Pa(r+1,N) = [ones(1,N); P(r,N)],

and random Ey(r)is assumed to be zero mean Gaussian
distributed.

Once I have obtained the regression coefficients using
the lower dimensional data from PCA,

Wp(m,r+1) = Y(m,N)/Pa(r+1,N),

(contains uncertainty because of Ey(r)),

I can reconstruct the coefficients back to
the original dimensions by using the same matrix of
eigenvectors found in PCA.

Yhat(m,N) = Wp(m,r+1)*Pa(r+1,N)]
= Wp(m,r+1)*[ones(1,N);T'(n,r)*X(n,N)]

My question is, it is valid to reconstruct the standard
error obtained from regression in the lower dimensions back
to the original dimensions using the same matrix of
eigenvectors? Or do i need to use other methods like monte
carlo or bootstrap?

Do you mean "Given the standard error of Wp(m,r+1), is it
possible to obtain an exact analytic expression for the
standard error of Wx(m,n+1) where

Y(m,N) = Wx(m,n+1)*Xa(n+1,N) + Ey(n),
Xa(n+1,N) = [ones(1,N); X(n,N)],
Wx(m,n+1) = Y(m,N)/Xa(n+1,N)?


I think the answer is not exactly because Ey(r) ~= Ey(n).

Nevertheless, making the assumption Ey(r) ~ Ey(n) yields

Wx(m,n+1)*Xa(n+1,N) ~ Wp(m,r+1)*Pa(r+1,N)

and

Wx(m,n+1) ~ Wp(m,r+1)*Pa(r+1,N)/Xa(n+1,N)


The usual assumption is that X,T and P are error free so that
any uncertainty in W is caused by Ey. Consequently, the problem
is reduced to

Wx(m,n+1) = Wp(m,r+1)*A(r+1,n+1)

where A is constant.

The rest is up to you.

Hope this helps.

Greg





.



Relevant Pages

  • Re: Threads: Mahalanobis distance and Visualising PCA
    ... That might explain why the PCA dimensions don't ... When you said to use discriminant analysis instead of PCA, ... This gave me a covariance matrix that I could easily convert, ...
    (sci.stat.math)
  • Re: Question about factor analysis / PCA
    ... It isn't exactly clear what you mean by "actual dimensions" of your ... The way one identifies dimensions is typically via PCA (or perhaps ... variance contribution of each orthogonal dimension. ... correlation matrix yourself, ...
    (sci.stat.math)
  • Audio, PCA & noise reduction
    ... I am implementing an audio pattern recognition application, ... PCA take the most dominant dimensions of a collection of N dimensional ...
    (comp.dsp)
  • Re: Clustering HELP!! (Urgent)
    ... stores across 17 sales categories/classes - to match stores ... category/class to be a seperate 'dimension' and use PCA? ... of dimensions, and then perform clustering ...
    (comp.soft-sys.matlab)
  • Re: Threads: Mahalanobis distance and Visualising PCA
    ... When you said to use discriminant analysis instead of PCA, ... > fewer dimensions than the original data. ... This gave me a covariance matrix that I could easily convert, ...
    (sci.stat.math)

Loading