how to generate random isotropic vectors using R?

How can I approach selecting effective vectors using Singular Value Decomposition?

  • I have data matrix X where each column is an individual observation. I ran SVD and generated U,S and V matrices such that .[math] X=USV^T [/math]. Now I want to select some columns from X that has eigen vectors closer to eigen vectors of X. How can I approach to this problem ?

  • Answer:

    You seem to be describing either sparse principal components (see Bair & Tibshirani 2005 for the supervised version, or Witten & Tibshirani 2008 & 2009 for unsupervised versions, for a few of many references to this topic) or the selection of K non-noise singular vectors via (e.g.) parsimony or random matrix theory (see e.g. Teschendorff 2010 for a reference to the latter). The former is relatively easier to justify than the latter, but choosing the appropriate dimensionality for a low-rank representation of a high-dimensional data matrix is not a settled matter. There is an elegant and intuitive appeal to the probabilistic interpretation of PCA as described in Tipping & Bishop (http://www.robots.ox.ac.uk/~cvrg/hilary2006/ppca.pdf ) especially when coupled with a variational approximation to the posterior distribution.  But that doesn't always produce substantially better results than the heuristics described. (For tiny data matrices you can brute force the matter iteratively, but for tiny matrices this is not a major issue :-))

Tim Triche, Jr. at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.