Questions on PCA The Next CEO of Stack OverflowThoroughly understand the concepts and formulas in Linear AlgebraUnderstanding singular value decompositionSolving differential equations in linear algebraChecking connectivity of adjacency matrixDetermine matrix of linear transformation of square into parrallogramPrincipal component analysis (PCA) results in sinusoids, what is the underlying cause?Decide if each is a basis for $P_2$. (a) $(x^2 + x - 1, 2x + 1, 2x - 1)$If $lambda = i$ is an eigenvalue of $A in mathbb R^n times n$, explain why the rank of $A^3 + A$ is less than $n$What does it mean when the rank (number of non-zero rows) of a reduced matrix is MORE than the number of variables?One variable equal to 0 in linear equation system.

Vector calculus integration identity problem

In the "Harry Potter and the Order of the Phoenix" video game, what potion is used to sabotage Umbridge's speakers?

What is the process for cleansing a very negative action

Is there a difference between "Fahrstuhl" and "Aufzug"?

Point distance program written without a framework

Is dried pee considered dirt?

TikZ: How to fill area with a special pattern?

Audio Conversion With ADS1243

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?

Is it ever safe to open a suspicious HTML file (e.g. email attachment)?

Airplane gently rocking its wings during whole flight

"Eavesdropping" vs "Listen in on"

Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens

Is French Guiana a (hard) EU border?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

Why did early computer designers eschew integers?

What was Carter Burke's job for "the company" in Aliens?

Is it convenient to ask the journal's editor for two additional days to complete a review?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Could a dragon use its wings to swim?

free fall ellipse or parabola?

Can you teleport closer to a creature you are Frightened of?

Is it okay to majorly distort historical facts while writing a fiction story?

Won the lottery - how do I keep the money?



Questions on PCA



The Next CEO of Stack OverflowThoroughly understand the concepts and formulas in Linear AlgebraUnderstanding singular value decompositionSolving differential equations in linear algebraChecking connectivity of adjacency matrixDetermine matrix of linear transformation of square into parrallogramPrincipal component analysis (PCA) results in sinusoids, what is the underlying cause?Decide if each is a basis for $P_2$. (a) $(x^2 + x - 1, 2x + 1, 2x - 1)$If $lambda = i$ is an eigenvalue of $A in mathbb R^n times n$, explain why the rank of $A^3 + A$ is less than $n$What does it mean when the rank (number of non-zero rows) of a reduced matrix is MORE than the number of variables?One variable equal to 0 in linear equation system.










0












$begingroup$


I have a hard time understand the following statements below about PCA (normed or not normed).



a) the matrix to diagonalize is the matrix of linear correlations of original variables.

b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



It would be really helpful if someone could explain.










share|cite|improve this question









$endgroup$
















    0












    $begingroup$


    I have a hard time understand the following statements below about PCA (normed or not normed).



    a) the matrix to diagonalize is the matrix of linear correlations of original variables.

    b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



    It would be really helpful if someone could explain.










    share|cite|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      I have a hard time understand the following statements below about PCA (normed or not normed).



      a) the matrix to diagonalize is the matrix of linear correlations of original variables.

      b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



      It would be really helpful if someone could explain.










      share|cite|improve this question









      $endgroup$




      I have a hard time understand the following statements below about PCA (normed or not normed).



      a) the matrix to diagonalize is the matrix of linear correlations of original variables.

      b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



      It would be really helpful if someone could explain.







      linear-algebra matrix-decomposition






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 4 '16 at 15:29









      Saul GarciaSaul Garcia

      1052




      1052




















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.



          I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.



          We know that $A^top A$ is symmetric and thus diagonalizable. Since
          $$
          A^top A = (USigma V^top)^top USigma V^top
          =VSigma U^top USigma V^top = VSigma^2 V^T,
          $$
          by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.



          See also:



          https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
          https://en.wikipedia.org/wiki/Principal_component_analysis






          share|cite|improve this answer











          $endgroup$




















            -1












            $begingroup$

            PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
            PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various



            To get more of the physical meaning of PCA, I highly recommend t check the following youtube:



            https://www.youtube.com/watch?v=g-Hb26agBFg



            Reagrds to the statements you mentioned above:



            a) the matrix to diagonalize is the matrix of linear correlations of original variables.



            [U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).



            b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



            This means that high illustrative variable has high PCA.



            Best regards






            share|cite|improve this answer









            $endgroup$













              Your Answer





              StackExchange.ifUsing("editor", function ()
              return StackExchange.using("mathjaxEditing", function ()
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              );
              );
              , "mathjax-editing");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "69"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1599720%2fquestions-on-pca%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0












              $begingroup$

              I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.



              I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.



              We know that $A^top A$ is symmetric and thus diagonalizable. Since
              $$
              A^top A = (USigma V^top)^top USigma V^top
              =VSigma U^top USigma V^top = VSigma^2 V^T,
              $$
              by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.



              See also:



              https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
              https://en.wikipedia.org/wiki/Principal_component_analysis






              share|cite|improve this answer











              $endgroup$

















                0












                $begingroup$

                I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.



                I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.



                We know that $A^top A$ is symmetric and thus diagonalizable. Since
                $$
                A^top A = (USigma V^top)^top USigma V^top
                =VSigma U^top USigma V^top = VSigma^2 V^T,
                $$
                by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.



                See also:



                https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
                https://en.wikipedia.org/wiki/Principal_component_analysis






                share|cite|improve this answer











                $endgroup$















                  0












                  0








                  0





                  $begingroup$

                  I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.



                  I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.



                  We know that $A^top A$ is symmetric and thus diagonalizable. Since
                  $$
                  A^top A = (USigma V^top)^top USigma V^top
                  =VSigma U^top USigma V^top = VSigma^2 V^T,
                  $$
                  by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.



                  See also:



                  https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
                  https://en.wikipedia.org/wiki/Principal_component_analysis






                  share|cite|improve this answer











                  $endgroup$



                  I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.



                  I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.



                  We know that $A^top A$ is symmetric and thus diagonalizable. Since
                  $$
                  A^top A = (USigma V^top)^top USigma V^top
                  =VSigma U^top USigma V^top = VSigma^2 V^T,
                  $$
                  by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.



                  See also:



                  https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
                  https://en.wikipedia.org/wiki/Principal_component_analysis







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Jan 4 '16 at 15:45

























                  answered Jan 4 '16 at 15:30









                  ndrizzandrizza

                  493312




                  493312





















                      -1












                      $begingroup$

                      PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
                      PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various



                      To get more of the physical meaning of PCA, I highly recommend t check the following youtube:



                      https://www.youtube.com/watch?v=g-Hb26agBFg



                      Reagrds to the statements you mentioned above:



                      a) the matrix to diagonalize is the matrix of linear correlations of original variables.



                      [U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).



                      b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



                      This means that high illustrative variable has high PCA.



                      Best regards






                      share|cite|improve this answer









                      $endgroup$

















                        -1












                        $begingroup$

                        PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
                        PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various



                        To get more of the physical meaning of PCA, I highly recommend t check the following youtube:



                        https://www.youtube.com/watch?v=g-Hb26agBFg



                        Reagrds to the statements you mentioned above:



                        a) the matrix to diagonalize is the matrix of linear correlations of original variables.



                        [U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).



                        b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



                        This means that high illustrative variable has high PCA.



                        Best regards






                        share|cite|improve this answer









                        $endgroup$















                          -1












                          -1








                          -1





                          $begingroup$

                          PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
                          PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various



                          To get more of the physical meaning of PCA, I highly recommend t check the following youtube:



                          https://www.youtube.com/watch?v=g-Hb26agBFg



                          Reagrds to the statements you mentioned above:



                          a) the matrix to diagonalize is the matrix of linear correlations of original variables.



                          [U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).



                          b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



                          This means that high illustrative variable has high PCA.



                          Best regards






                          share|cite|improve this answer









                          $endgroup$



                          PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
                          PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various



                          To get more of the physical meaning of PCA, I highly recommend t check the following youtube:



                          https://www.youtube.com/watch?v=g-Hb26agBFg



                          Reagrds to the statements you mentioned above:



                          a) the matrix to diagonalize is the matrix of linear correlations of original variables.



                          [U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).



                          b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.



                          This means that high illustrative variable has high PCA.



                          Best regards







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Mar 28 at 1:37









                          Mohamed AbugammarMohamed Abugammar

                          9




                          9



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Mathematics Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1599720%2fquestions-on-pca%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

                              Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

                              Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ