PCA : how to interpret the weights/loadings and Varimax rotation

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 45

  • @martinjohn34
    @martinjohn34 3 ปีที่แล้ว +4

    The lecture was very helpful. You took your audience along a gentle learning curve, by putting the important concepts together in a logical order. Thank you!

  • @randyLuong-hj5no
    @randyLuong-hj5no 8 หลายเดือนก่อน +2

    Dear Tilestats and the Guru behind the scene, thank You for enlightening.
    Can You make the videos about Principal axis factoring (as extraction method) + Promax (as rotation method)? I often see the 2 commonly used combinations: PCA + Varimax, and PAF + Promax. And i often click and run those combinations on softwares without really knowing what happens in the blackbox.
    Can You help enlighten me and the others through this.. Thank You Guru.

  • @wenqianzheng828
    @wenqianzheng828 2 ปีที่แล้ว +1

    Very clear explanation and helpful! Thank you!

  • @miriza2
    @miriza2 ปีที่แล้ว +1

    Amazingly clear 👏🏻👏🏻👏🏻👏🏻 THANK YOU

  • @rajasreedutta6278
    @rajasreedutta6278 8 หลายเดือนก่อน +1

    Sir, if you have any video on multidimensional scaling, please provide the link.

  • @barhom11eriqat98
    @barhom11eriqat98 2 ปีที่แล้ว +1

    After we do PCA on SPSS we may got many PCs based on eigen value > 1. As in your case we have 2 PCs, the question is how we can merge these PCs to create weighted index ?

  • @atmos8600
    @atmos8600 3 ปีที่แล้ว +1

    VERY GOOD EXPLANATION

  • @mahdi1594
    @mahdi1594 2 ปีที่แล้ว +2

    bro your work is amazing ! if you have time can you please do one video for canonical correlation analysis as well?

    • @tilestats
      @tilestats  2 ปีที่แล้ว

      Thank you! I had actually planned for such video.

  • @2und2sind4
    @2und2sind4 3 ปีที่แล้ว +1

    11:21 What would be the command to multiply the scores with the rotation matrix in R?

    • @tilestats
      @tilestats  3 ปีที่แล้ว

      Just multiply the two matrices by using %*%, for example:
      M1%*%M2

  • @mangalanimakananisa6800
    @mangalanimakananisa6800 3 ปีที่แล้ว +1

    Hello,
    How do one compute the final weights for a variable or indicator if two or more PC are retained and what could be the statistical tests to use to check the robustness of those final weights to be able to select the appropriate PCA model that best represent the data?
    Please advice.

    • @tilestats
      @tilestats  3 ปีที่แล้ว

      I'm not sure what you mean with "final weights". If you watch my video "PCA 3 : standardization and how to extract components", you see that the weights do not change when we extract components. This video also shows how many PCs you should extract. The values of the weights only change if you change the constraint (but that is optional). You get other types of weights if you rotate by Varimax rotation. You can use some kind of bootstrapping method to check the robustness of your PCA model.

    • @mangalanimakananisa6800
      @mangalanimakananisa6800 3 ปีที่แล้ว

      @@tilestats I am getting what you are saying, but if we have chosen to use two PCs, the variable or indicator Xi will have the weights for PC1 and also the weights on PC2 and now to compute the overall weight of Xi to the Index is my challenge.
      If you can also provide some references for the bootstrapping method to check the robustness I will appreciate.

    • @mangalanimakananisa6800
      @mangalanimakananisa6800 3 ปีที่แล้ว

      @@tilestats I will also watch your PCA 3 video, thanks for your assistance and your willingness to assist us.

    • @tilestats
      @tilestats  3 ปีที่แล้ว +1

      @@mangalanimakananisa6800 Have a look at this paper:
      link.springer.com/article/10.1007/s13253-019-00355-5#Sec10

    • @mangalanimakananisa6800
      @mangalanimakananisa6800 3 ปีที่แล้ว

      @@tilestats thank you, I will have a look

  • @ktcnoletterc
    @ktcnoletterc 3 ปีที่แล้ว

    really good video

  • @giovannibrufani3603
    @giovannibrufani3603 4 หลายเดือนก่อน

    it's not clear at min 7:47 why the loadings, and not the scores , represent the coordinates of the data points in the PC1-PC2 plane

  • @BrainChildBerlin
    @BrainChildBerlin 2 ปีที่แล้ว

    Hi I am working in Matlab and I am wondering what name one uses for the coefficient table that shows principal components (columns) and variables (rows)? Thank you!

    • @tilestats
      @tilestats  2 ปีที่แล้ว

      Usually factor loading table.

  • @edwinchavarria9943
    @edwinchavarria9943 3 ปีที่แล้ว +1

    Hello, the explanation is very good, I still have a doubt, how the rotation matrix is ​​calculated, it is known that the spss I calculate it, I am interested in calculating it manually, please, if you have a calculation example, I would be grateful. Clarify that I speak Spanish, I hope I have written well.

    • @tilestats
      @tilestats  3 ปีที่แล้ว

      Hi
      In my second video about PCA, I show how to rotate the data by simple linear algebra. However, Varimax rotation is an iterative method. It means that the data is rotated step-wise to find the best rotation according to some minimization (or maximization) problem (see Wikipedia). In SPSS you can, for example, specify the maximum number of steps the algorithm should take for convergence. Hope this helps.

    • @edwinchavarria9943
      @edwinchavarria9943 3 ปีที่แล้ว

      @@tilestats Hello.
      I want to do the rotation manually, doing calculations, I don't understand with what data the diagonal matrix is ​​taken, it is taken with the extracted factors, the eigenvectors are taken from these, etc. I have those doubts. Please, if you had a calculation at least two factor manual; you can share me. It would be very nice if you make a third video with a rotation. With manual calculations.

    • @edwinchavarria9943
      @edwinchavarria9943 3 ปีที่แล้ว

      @@tilestats In your second video how to get the rotation matrix

    • @edwinchavarria9943
      @edwinchavarria9943 3 ปีที่แล้ว +1

      @@tilestats Please can you share the calculations you made to obtain the rotation matrix, my email is: educoedwin@gmail.com

    • @tilestats
      @tilestats  3 ปีที่แล้ว

      @@edwinchavarria9943 I took the rotation matrix from, e.g. SPSS. If you like to know the details of how to compute Varimax rotation I would recommend the following page.
      www.real-statistics.com/linear-algebra-matrix-topics/varimax/

  • @jacobderilraj4824
    @jacobderilraj4824 ปีที่แล้ว

    am trying PCA in EXCEL...Got my results except for the weights in PCA....i tried with my centred data, standardized data....But did't get the right ouput.
    Please help me out!!!!!........
    FORMULA I TRIED FOR WEIGHTS IN EXCEL: (10 variables)
    RAW DATA : =MM(Centered data(1st row of my 10 variables ,PC1)
    STANDARDIZED DATA : =MM(STANDARDISED 1st row,PC1)

    • @tilestats
      @tilestats  ปีที่แล้ว

      I have never done a PCA in Excel, but this might help you:
      www.real-statistics.com/multivariate-statistics/factor-analysis/principal-component-analysis/
      I recommend to use R or Python to perform PCA.

  • @nicolamarcia1274
    @nicolamarcia1274 ปีที่แล้ว

    At 6:15 you say"increase the interpretation pf our weights or loadings". You mean that it help interpeting both or that weights are also called loadings? I have this doubt because you said that an eigenvector is the vector of weights, while in statquest videos the speaker says that eigen vector is the vector of poadings. Moreover, you expressed loadings as the product of weights and squared root of eigenvalues. These differences between your video and statquest ones confised me a bit. Thanks if you are willing to help😊

    • @tilestats
      @tilestats  ปีที่แล้ว +1

      I would say that a loading is a weight that represents the correlation coefficient between the given variable and a certain PC, like I explain around 4:00.

  • @matthijsg5983
    @matthijsg5983 ปีที่แล้ว

    First at 3:16 a_1^2 + a_2^2 + a_3^2 + a_4^2 = 1, and then at 3:54 it equals var(PC_i). What am I missing? shouldn't you use different letters?

    • @tilestats
      @tilestats  ปีที่แล้ว

      I see what you mean, it would be clearer to use different letters. Anyway, alpha is the general notation for the weights. This is why I kept the notation although I re-scale the weights.

  • @palaniappankarthik
    @palaniappankarthik 3 ปีที่แล้ว

    Is this factor analysis?

    • @tilestats
      @tilestats  3 ปีที่แล้ว

      No, this is PCA, which is similar to FA.

  • @gudaguda5299
    @gudaguda5299 2 ปีที่แล้ว

    So we now know the correlation between the PCs and the original variables, what are the biological interpretation of these numbers? How can we describe this group of people using these numbers?

    • @tilestats
      @tilestats  2 ปีที่แล้ว

      That is explained in the video after this one:
      th-cam.com/video/BiuwDI_BbWw/w-d-xo.html
      And at the end of the first video about PCA
      th-cam.com/video/dz8imS1vwIM/w-d-xo.html

  • @vimalakirtilotus4611
    @vimalakirtilotus4611 2 ปีที่แล้ว

    good,good,good

  • @mrblandford4050
    @mrblandford4050 2 ปีที่แล้ว

    @pca898