StatQuest: Principal Component Analysis (PCA), Step-by-Step

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии •

  • @statquest
    @statquest  4 года назад +124

    NOTE 1: The StatQuest PCA Study Guide is available! app.gumroad.com/statquest
    NOTE 2: A lot of people ask about how, in 3-D, the 3rd PC can be perpendicular to both PC1 and PC2. Regardless of the number of dimensions, all principal components are perpendicular to each other. If that sounds insane, consider a 2-d graph, the x and y axes are perpendicular to each other. Now consider a 3-d graph, the x, y and z axes are all perpendicular to each other. Now consider a 4-d graph..... etc.
    NOTE 3: A lot of people ask about the covariance matrix. There are two ways to do PCA: 1) The old way, which applies eigen-decomposition to the covariance matrix and 2) The new way, which applies singular value decomposition to the raw data. This video describes the new way, which is preferred because, from a computational stand point, it is more stable.
    NOTE 4: A lot of people ask how fitting this line is different from Linear Regression. In Linear Regression we are trying to maintain a relationship between a value on the x-axis, and the value it would predict on the y-axis. In other words, the x-axis is used to predict values on the y-axis. This is why we use the vertical distance to measure error - because that tells us how far off our prediction is for the true value. In PCA, no such relationship exists, so we minimize the perpendicular distances between the data and the line.
    NOTE 5: A lot of people wonder why we divide the sums of the squares by n-1 instead of n. To be honest, in this context, you can probably use 'n' or 'n-1'. 'n-1' is traditionally used because it prevents us from underestimating the variance - in other words, it's related to how statistics are calculated. If you want to learn more, see: ruclips.net/video/vikkiwjQqfU/видео.html ruclips.net/video/SzZ6GpcfoQY/видео.html and ruclips.net/video/sHRBg6BhKjI/видео.html (the last video specifically addresses the 'n' vs 'n-1' thing, but the first two give background that you need to understand first).
    Support StatQuest by buying my books The StatQuest Illustrated Guide to Machine Learning, The StatQuest Illustrated Guide to Neural Networks and AI, or a Study Guide or Merch!!! statquest.org/statquest-store/

    • @statquest
      @statquest  4 года назад +9

      @@clydemccoy1768 If you can tell me how to draw a 5-dimensional graph on a 2-dimensional plane (the computer screen), then we have a deal.

    • @statquest
      @statquest  4 года назад +9

      @@clydemccoy1768 There are two ways to do PCA. The original way was to apply eigendecomposition of the covariance matrix. However, that method is not numerically stable, so no one uses it anymore (even though it is still taught as if it is used). The preferred and more modern approach is to use Singular Value Decomposition (SVD), and this is what I cover in this video. At least, I cover the concepts behind how it works. However, I may dive into the math behind singular value decomposition one day. It's a long term goal of mine, but it won't happen for a while.

    • @TZarKar
      @TZarKar 4 года назад +1

      @@statquest Thank you Josh :)

    • @ersincine3248
      @ersincine3248 2 года назад +1

      2:40 Actually 4-D data can be plotted easily. 4th dimension can be specified by color. Shades of gray would be sufficient. For example a very dark gray (i.e. low "intensity") indicates a small number.

    • @kacodemonio
      @kacodemonio 2 года назад +1

      Could you please clarify me the following: some sources mention that in addition to centering the data (subtraction of the corresponding mean), it must be also standarized, i.e., divided by their corresponding standard deviation. Why is the data not being normalized here?

  • @safaabdeljabbar8080
    @safaabdeljabbar8080 4 года назад +1786

    For someone who is trying to be a data scientist, this channel is the best thing on the internet. You're better than any other teacher that I've ever had. THANK YOU.

    • @statquest
      @statquest  4 года назад +54

      Wow! Thank you very much!

    • @cindywang8852
      @cindywang8852 3 года назад +19

      Can't agree more! This is my second time viewing this PCA video!

    • @grahamjoss4643
      @grahamjoss4643 3 года назад +3

      @@statquest Safa is right !

    • @joshuasheppard7433
      @joshuasheppard7433 3 года назад +3

      @@statquest I agree entirely, very well explained.

    • @ZenithClown
      @ZenithClown 3 года назад +4

      Exactly, I still sometimes come back to this channel to refresh my memories!

  • @rayskum1
    @rayskum1 2 года назад +503

    Dr. Starmer - I really really wish I had you as my stats teacher during my student days. I can't put in words how much I appreciate your videos and how to go about explaining core concepts. Thank you very much!

    • @statquest
      @statquest  2 года назад +97

      Wow, thank you very much!!! I really appreciate your support! It means a lot to me that you care enough to contribute.

  • @kushnigam2000
    @kushnigam2000 4 года назад +442

    I am a data scientist and have performed PCA using advanced statistical softwares . I have even taken company sponsored expensive MVA courses. THIS is the best explanation of PCA I have seen and cleared my fundamental doubts and missing links. THANK YOU.

    • @statquest
      @statquest  4 года назад +22

      Hooray! I'm glad the video was helpful. :)

    • @AD-dy1hi
      @AD-dy1hi 2 года назад +1

      Can you please help me with the names of best software for PCA analysis!?

    • @SHARMAKUMAR-zl6ku
      @SHARMAKUMAR-zl6ku Год назад

      Hi kush i request you to guide me to become a data scientist like you

  • @futurefriendly77
    @futurefriendly77 4 года назад +680

    6 years into my phd and I finally understand how a PCA plot actually works. Thank you!

  • @stephaniechen5536
    @stephaniechen5536 4 года назад +337

    uni student day 14 of self-quarantine: the first thing to do in the morning is to watch StatQuest.
    Thank you Josh. Your videos help me surviving thru my uni in the time of covid19

    • @statquest
      @statquest  4 года назад +27

      Awesome!!!! I'm so glad to hear my videos are helpful and good luck with your courses.

  • @manisharyal4239
    @manisharyal4239 5 лет назад +719

    This is honestly the best explanation on PCA. connects lot of loose strings of ideas. thanks !!

    • @statquest
      @statquest  5 лет назад +26

      I'm so glad to hear that you like this video! :)

    • @sahej97
      @sahej97 5 лет назад +3

      Then you haven't watched any other PCA videos

    • @DragonDaron
      @DragonDaron 4 года назад

      I agree 👍

    • @AnanyaPandeyIndia
      @AnanyaPandeyIndia 4 года назад +7

      @@sahej97 Not everyone is a born genius like you some others need detailed explanation. You know Albert Einstein said if you cannot explain to a 6 year old you have not understood it yourself.

    • @fisherh9111
      @fisherh9111 4 года назад +1

      Josh is brilliant.

  • @aizazkhan5439
    @aizazkhan5439 Год назад +64

    I can say without a shadow of doubt that you are one of the world's best teachers. Mr. Starmer I can never thank you enough.

    • @statquest
      @statquest  Год назад +6

      Hooray! Thank you very much!!! :)

  • @ap4558
    @ap4558 Год назад +46

    This is the most helpful video on PCA I have ever seen. I'm a neuro PhD student and I was struggling to understand this concept for a year. This video is a life saver!

  • @edchavez9960
    @edchavez9960 5 лет назад +342

    I'm studying for a final and this is way better explained than the entire semester.

    • @statquest
      @statquest  5 лет назад +8

      Awesome! Good luck on your final. :)

    • @user-xn4yu5rn9q
      @user-xn4yu5rn9q 4 года назад +1

      Hi, what class is this you are preparing? Just curious

    • @ireliatt2190
      @ireliatt2190 4 года назад +5

      @@user-xn4yu5rn9qFor me it's Multivariate Data Analysis. Honestly, I got totally lost when just reading the lecture notes.

    • @edchavez9960
      @edchavez9960 4 года назад +1

      @@user-xn4yu5rn9q Exploratory Data Analysis quite similar to @irelia tt

    • @edchavez9960
      @edchavez9960 4 года назад +1

      @@ireliatt2190 ha! mine was Exploratory Data Analysis, which included Supervised/Unsupervised learning and multivariate data analysis

  • @josiahnielsen9972
    @josiahnielsen9972 4 года назад +48

    I'm in my first semester of grad school for stats.. and you are single-handedly going to save me! I already knew of all of the concepts of eigenvalues/eigenvectors, loadings, etc. but you summarized the 60 pages of theorems/proofs my prof had us read, and helped my intuition immensely. Please never stop making videos!

    • @statquest
      @statquest  4 года назад +3

      Thank you very much and good luck with graduate school. :)

  • @arianetalosig575
    @arianetalosig575 4 года назад +14

    I love how you explained "linear combination is just basically this... no big deal" when my lecturer makes it such a BIG DEAL! Thank you!!!

    • @statquest
      @statquest  4 года назад +4

      Hooray! I'm glad the video was helpful. :)

  • @kidkaitou1412
    @kidkaitou1412 Год назад +9

    I have forgotten how much I love maths. You are such a good teacher.❤❤. Instead of wasting time on shorts or tiktok, I am gonna watch this, learn something and improve my life instead. Thanks.

  • @rebecagarcia1071
    @rebecagarcia1071 Год назад +14

    I had to pause and let you know, that this is gold! The way you simply describe terrifying names, it just makes it look so easy. Thank you so much

  • @takethegaussian7548
    @takethegaussian7548 4 года назад +15

    I have seen no book explaining this topic better than you. Your skills and efforts are invaluable!

  • @princeebenezeradjei3008
    @princeebenezeradjei3008 5 лет назад +32

    I honestly think you deserve a noble prize or something. You're amazing. Like, just amazing!

  • @simoncsaba5273
    @simoncsaba5273 2 года назад +1

    Thanks! I am a German high school student and we don't learn this in school. I stumbled across this video and have to say, I was able to follow everything and learned a lot. Keep up the great work!

    • @statquest
      @statquest  2 года назад

      Wow!!! Thank you so much for supporting StatQuest! BAM! :)

  • @ajinkyaghadge3106
    @ajinkyaghadge3106 5 лет назад +75

    Your work, with 3Blue1Brown, and other online material like Dr.Gilbert Strang, has given me a whole new perspective about Maths, learning and machine learning.

    • @statquest
      @statquest  5 лет назад +18

      Awesome! Those guys are my heros!

  • @kushagrachaturvedy2821
    @kushagrachaturvedy2821 3 года назад +8

    You are a real godsend. Teaching such advanced concepts in such a simple manner and that too in just 20 mins is exceptional

    • @statquest
      @statquest  3 года назад

      Thank you very much! :)

  • @ArcenisRojas
    @ArcenisRojas 5 лет назад +36

    This is simply amazing! Josh, you communicated this idea so incredibly clearly and simply. As a practitioner in the stats/data science world I'm so impressed by how you were able to describe PCA so intuitively and without using the word "orthogonal." I've done the math behind PCA and I actually feel like I have a better understanding of it by watching your video. Thanks for demystifying stats for us all.

    • @statquest
      @statquest  5 лет назад +4

      Thank you so much! I'm glad you picked up on my omission of the word "orthogonal". :)

  • @longnguyenhoang764
    @longnguyenhoang764 3 года назад +2

    As a non-English speaker, I just like, I have no words, I don't no how to tell you how much I appreciate the way you put almost your "lyrics" or whatever you said on the videos that help me a lot. Many thanks to you, Josh!

  • @buihung3704
    @buihung3704 Год назад +3

    The true definition of genius: teach other a very complex concept in a very simple way.

  • @ashwinsh
    @ashwinsh Месяц назад +2

    You teach way better than so called professors who have phds post docs and years worth of teaching experience! Truly amazing!

  • @neevaandtuntuns
    @neevaandtuntuns 21 день назад +1

    I saw a lot of videos on RUclips on data science topics but never commented before. But I must appreciate it and thank you for clearing my doubts on PCA

  • @kyoosik
    @kyoosik 6 лет назад +64

    I just took some other online course for hours only to struggle... this video helped me understand the concept, which that course couldn't! Even in way shorter time! And even with the minimum animation! Always grateful

    • @statquest
      @statquest  6 лет назад +11

      Thank you very much!!! I'm glad to hear that the video was so effective, even though it's not very fancy. :)

  • @maximmazurov1102
    @maximmazurov1102 4 года назад +15

    As a current high-ranked uni student may say this channel is a lifesaver for people who cannot understand something without guided decomposition of relatively more complex algorithm than OLS. Thank you Josh.

  • @Oliver-2103
    @Oliver-2103 Год назад +7

    Buddy you are an awesome guy. I wish one day I could give you a big hug of appreciation, but my honest thank you much has to be sufficient. I'd bet that there are people out there that would not be alive today without you. With your amount of views, there is probably at least one person who succeeded an important test that he would not have without you which may ended in a bad life. You're doing pure good with those videos.

    • @statquest
      @statquest  Год назад +2

      Thank you very much! :)

  • @MassielCCh
    @MassielCCh 3 месяца назад +1

    The quality of this explanation is so much above than any other PCA class I've had. I am near to my midterm and the PCA class was about 100 slides full of formulas. You made my day!

    • @statquest
      @statquest  3 месяца назад

      Thanks and good luck!

  • @klapaucius-dkopf
    @klapaucius-dkopf 5 лет назад +7

    I've been watching quite a lot of your videos for the past few days to study for my finals and I'm so glad your videos exist! I'd be very desperate without them. Thank you so much for the amazing work! You have a natural talent of expressing complicated ideas so simply!

    • @statquest
      @statquest  5 лет назад +1

      Good luck with your finals and let me know how they go. :)

  • @Ananda110201
    @Ananda110201 5 лет назад +4

    This is the easiest way I understand PCA. I've been working with PCA algorithms for 2 years and two of my university professors provide lesson on PCA but couldn't make it clear. But, watching this 20 minutes video I understand in depth. Such a good lesson. Thank you so much!! ☺️ 😊

    • @statquest
      @statquest  5 лет назад +1

      Awesome!!! I'm glad the video was helpful. :)

  • @himanshu8006
    @himanshu8006 2 года назад +16

    This is such a complex topic and with the visualization you made it so simple, you really are magical in explaining the concepts, a million thanks for this Josh

  • @emmanuel3929
    @emmanuel3929 Год назад +2

    Explained it so much better than a 2 hour lecture. The concept makes more sense now.

  • @Marcos61783
    @Marcos61783 2 года назад +5

    Congratulations! This is the best explanation of PCA without overcomplicating things with matrixes. In my opinion, everyone who explain PCA should start from an explanation like this... Thank you for the amazing video!

  • @AnkitYadav-sc2sm
    @AnkitYadav-sc2sm 3 года назад +6

    You really made me feel the mathematics in PCA....... earlier I can solve the math in PCA but now I know what's the purpose of each step in finding PCA components.
    I'm a B.tech student of final year.
    Thank you ❤️

  • @franciszhang1809
    @franciszhang1809 4 года назад +6

    This is the best PCA video ever, finally understand how PCs come out, Josh u r genius

  • @VisweswaraSriadibhatla
    @VisweswaraSriadibhatla 11 месяцев назад +2

    I am a cloud architect taking an MIT ADSP course. If I see things are overwhelming there, I come and watch Statquest. What I like the best about Statquest is how you explain terminology alerts in simple layman's terms. Your channel is something I am more than happy to support. Indeed this is a great service.

    • @statquest
      @statquest  11 месяцев назад

      Thank you very much!

  • @alecvan7143
    @alecvan7143 5 лет назад +16

    Thank you very much! Opening my textbook, I was frightened by the Zs, phi, and "principal component directions" everywhere but as always your videos enable me to see the logic and fearlessly read the jargon :P

  • @BoZhaoengineering
    @BoZhaoengineering 4 года назад +5

    one of best interpretation of PCA. It is like turning several math techniques into one idea.

  • @evebogomil2777
    @evebogomil2777 4 года назад +18

    Have a test on my Data Science course tomorrow, I was so lost with how to visualise what we are doing in every step and this video helped me so much!

    • @statquest
      @statquest  4 года назад +3

      Best of luck on the exam. Let me know how it goes. :)

  • @FabianoRodriguesPereira-je8su
    @FabianoRodriguesPereira-je8su 9 месяцев назад +1

    It is unbelievable how Dr. Starmer makes such complex concepts so easily understandable!!! Thanks a lot!

    • @statquest
      @statquest  9 месяцев назад

      Glad it was helpful!

  • @noli-timere-crede-tantum
    @noli-timere-crede-tantum 6 лет назад +139

    *with sad voice* "Little bam..."
    Awesome video. Thanks!

    • @cyclone975
      @cyclone975 4 года назад

      Little bam got me too 🤣

  • @abhijithmnair
    @abhijithmnair 3 года назад +5

    Hi Josh , I should say this that you make even the more complicated logic so simple for us to understand . For people like us who are in learning phase , that means a lot . Thank you very much .

  • @subbuktek
    @subbuktek 6 лет назад +477

    Thanks dude. You are a godsend

  • @AC-wk6hh
    @AC-wk6hh 2 года назад +2

    Please never stop making videos. This is the only explanation of PCA I've seen that makes intuitive sense.

  • @mohitdeshpande6210
    @mohitdeshpande6210 Год назад +3

    JUST WOW!! Never I had thought that Stats could be this efficiently & easily understandable!! I feel immensely lucky that the content of this quality is freely available on the internet!! Thanx a lotttt for this magnificent effort from the whole team of StatQuest😇

    • @statquest
      @statquest  Год назад +1

      Glad it helped!

    • @silentassassin4929
      @silentassassin4929 Год назад

      How ur calculating the parts that u said like 4 parts of gene 1 and 1 part of gene 2 please respond cannot understand

  • @BBBBBBAAAl
    @BBBBBBAAAl 3 года назад +7

    simply amazing. I just hope u never stop teaching us those 'complex' topics in such friendly and clear way.

  • @李舟-f2d
    @李舟-f2d 3 года назад +3

    Very impressive! I searched a lot of websites and you are the only one that make the conceptions clear. Your graphs and explanations are vivid and easy to understand.

    • @statquest
      @statquest  3 года назад

      Thank you very much! :)

  • @minweideng4595
    @minweideng4595 3 года назад +2

    Learning PCA was so daunting before watching this video. I have come back re-watching couple of times when every time I got myself stuck in reading other text books. The really amazing thing for me from your work is the development of intuitions on rather abstract concepts. I don't know about others but my limited brain just can not cope with things that are too abstract and lack of visual cues.... Thank you Mr. Starmer.

    • @statquest
      @statquest  3 года назад

      I'm glad the video is helpful!

    • @minweideng4595
      @minweideng4595 3 года назад

      @@statquest I'm also following your recommendation, reading An Introduction to Statistical Learning, which as you said is a great book but not the easiest to read. Your videos help in great deal. Appreciate your knowledge sharing.

    • @statquest
      @statquest  3 года назад

      @@minweideng4595 BAM!!!

  • @beshr1993
    @beshr1993 2 года назад +4

    I took a whole seminar on this thing complete with a mini project and I didn't understand a single thing. Then comes along this little video and makes it all crystal clear in just 20 min! Hats off to you sir.

  • @tomjanson4004
    @tomjanson4004 3 года назад +3

    Wow, we should all just start studying solely with yt. There simply is no better way to understand complex stuff than with a nice video like thise one. Thx

  • @meng-junglee9071
    @meng-junglee9071 4 года назад +16

    No joke, this is seriously the best PCA explanation I've ever seen! You have a great talent of explaining things. Thank you for making videos!

    • @statquest
      @statquest  4 года назад +3

      Wow, thanks!

    • @romanemul1
      @romanemul1 3 года назад

      You have not seen Louis G Serano explanation do you ?

  • @nabeelhasan6593
    @nabeelhasan6593 4 года назад +1

    Simply this is the best explanation of PCA on entire RUclips platform, After this you don't need to get anywhere

  • @raisaoliveira7
    @raisaoliveira7 4 года назад +4

    No words to tell how this video helped me! Thanks a lot, Josh! Your way to explain is extremely simple and makes anything easy for us.

    • @statquest
      @statquest  4 года назад

      Thank you very much! :)

  • @gesuchter
    @gesuchter 4 года назад +6

    Glad I found your channel this month! Looking forward in inhaling all of your content :D It's a very great addition to the very emotionless lectures of my prof..

    • @statquest
      @statquest  4 года назад

      Awesome, thank you! And thank you for your support!!!

  • @lucasparisi7394
    @lucasparisi7394 5 лет назад +12

    you took 10 minutes to blow my mind with your amazing explanation. Thanks!

  • @olesiaaltynbaeva4132
    @olesiaaltynbaeva4132 3 года назад +1

    I pulled through many materials and wasted too much time..and this video explains everything in 20 min! thanks!

  • @sheanaynay8
    @sheanaynay8 5 лет назад +10

    Wow man thank you! Just had a moment of clarity, teachers like you are rare!

    • @statquest
      @statquest  5 лет назад +2

      Hooray!!! I'm glad the video was helpful. :)

  • @charlespendragon1742
    @charlespendragon1742 5 лет назад +5

    You saved my future!!! Oh my god, this is amazing! You are a talent who can transfer complex to simple.

  • @Pmarmagne
    @Pmarmagne 4 года назад +3

    I'm probably going to have to watch this video a couple more times to fully understand everything but this is really cool and very digestible.
    I was still able to understand the main concept from the first watch.
    Thank you Josh!

    • @statquest
      @statquest  4 года назад +1

      Awesome, thank you!

  • @DeVirMagician
    @DeVirMagician 3 года назад +1

    You are probably the best teacher of maths in the world. I salute you.

    • @statquest
      @statquest  3 года назад

      Thank you very much! :)

  • @LaylaMiki
    @LaylaMiki 5 лет назад +5

    This video is really awesome !!!
    I wish I have a teacher like you ! Yours explanations are so clear !
    Thank you very much for sharing your knowledge !!!

  • @vivekcraman5489
    @vivekcraman5489 3 года назад +6

    The quality of the content you provide is top-notch and is incomparable with some of the paid courses I've taken before. Thanks a lot for the effort you put into making these amazing videos. :)

  • @leandrovegadure9930
    @leandrovegadure9930 5 лет назад +5

    Man, this work of yours is pure gold. can't thank you enough

  • @pouetpouet704
    @pouetpouet704 11 месяцев назад +1

    Great job. I've rewatched this countless times today until it became as easy to explain to others as it was to understand ! You're truly a gifted teacher ! Keep up the great work !
    Cheers from France !

  • @gunjeet40
    @gunjeet40 5 лет назад +6

    just amazing, how you clearly put across so complex concepts with ease..!

  • @MauricioPosser
    @MauricioPosser 5 лет назад +6

    The best PCA explanation ever! Plus a linear algebra bonus!!! Thanks a lot!

  • @sukritbhatt
    @sukritbhatt 3 года назад +4

    Man, I'm only halfway through the video and I can tell this is a banger!!! Such a great video with the most vivid and clear explanations I have seen yet. You, sir, saved my semester.

    • @statquest
      @statquest  3 года назад +1

      Glad it was helpful!

  • @kahlimang
    @kahlimang 2 года назад +1

    Dude, you did not just explain eigenvectors! I have spent years bumping into this term, googling it, not really getting it, and moving on. That is the first explanation that ever made sense, and its not even what I came here for. Thank you so much.

  • @leixiao169
    @leixiao169 4 года назад +13

    I really enjoyed StatQuest videos and I just bought StatQuest DOUBLE BAM T-shirt :))

    • @statquest
      @statquest  4 года назад +4

      HOORAY!!! BAM!!! :)

  • @endouyuu269
    @endouyuu269 4 года назад +171

    I lost it at "Little BAM!!!"

  • @FranFerioli
    @FranFerioli 3 года назад +63

    "Mathematicians call this recipe a linear combination". I would have called it a Gene tonic!

    • @statquest
      @statquest  3 года назад +9

      This might be the best comment ever. BAM! :)

  • @debasisdas2076
    @debasisdas2076 3 года назад +1

    Hi Josh, You are the gold standard that all teachers from all spheres should aspire to be.

  • @fikarief
    @fikarief 3 года назад +4

    This hidden gem channel is so great, yet I found it 1 year after my graduation :/

    • @statquest
      @statquest  3 года назад

      better late than never? :)

    • @fikarief
      @fikarief 3 года назад +1

      @@statquest true, thank you for sharing your knowledge! :D

  • @ladycoder2095
    @ladycoder2095 4 года назад +4

    After a long day of statistics overload, the cocktail recipe gave me giggles 🤣🤣🤣. Awesome content and am learning a lot everyday from your channel during the lockdown 🙏🏿!

  • @haresankaran3254
    @haresankaran3254 6 лет назад +12

    Thank you sooooo much. Before I was struck with the amount of math involved and I couldn't understand why we were doing certain things. But this video cleared all my conceptual doubts. TYSM....

    • @statquest
      @statquest  6 лет назад

      Hooray!!! I'm glad to hear the video is helpful.

  • @ravish5387
    @ravish5387 16 дней назад +1

    You are the best teacher I came across in the internet, thanks

    • @statquest
      @statquest  15 дней назад

      Glad you're enjoying the videos!

  • @bechumathew8819
    @bechumathew8819 5 лет назад +159

    All i can say after watching the video is "Double BAM"😂

  • @bilourkhan3345
    @bilourkhan3345 6 лет назад +20

    genius you are in the presentation of your knowledge...

  • @jaredgoodman6617
    @jaredgoodman6617 4 года назад +20

    Josh saying "BAM" is one of my favorite things in life

  • @livialopes5682
    @livialopes5682 Месяц назад +1

    I watched this channel to help me study at university.
    I watched this channel to help me build my first algorithm at work.
    I watched this channel during my post-graduation studies.
    And now I’m watching this channel to get some help with my Master’s degree. Josh, you rock!
    (also, I took a picture with you when you visited Santander Brazil :) great presentation, btw)

    • @statquest
      @statquest  Месяц назад +1

      BAM! Thank you very much! Hopefully we can meet again in Brazil soon.

  • @Toboe26
    @Toboe26 5 лет назад +6

    that 'little BAM' killed me
    Awesome explanation!! Subscribed (hooray!)

  • @helenkirby2539
    @helenkirby2539 6 лет назад +4

    Thank you very much, great video, it explains something very complex very clearly and simply. Thanks again.

    • @statquest
      @statquest  6 лет назад

      Hooray!!! You're welcome! I'm glad you like the video. :)

  • @Eiskind616
    @Eiskind616 4 года назад +3

    BAM! Definitely one of the best PCA explanations I ever saw (especially in this short amount of time) Thanks for this you really helped me out.
    Could your future you make one more about the correspondence analysis (CA)?

    • @statquest
      @statquest  4 года назад +1

      I'll keep that in mind.

  • @Godvillainy
    @Godvillainy Месяц назад +1

    Original "explain to me like I am 5 year old" guy. You are superb mate, thanks!

  • @HimanshuSharmaJOD
    @HimanshuSharmaJOD 7 месяцев назад +3

    2:44 😭😭😭😭😭😭😭😭 this guy is outta hands casually said "womp womp" great lecture btw

  • @jaimevupandakyo
    @jaimevupandakyo 6 лет назад +5

    this cleared up some misunderstandings I was really struggling with :'] thank you!

    • @statquest
      @statquest  6 лет назад

      Hooray! You're welcome. :)

  • @faviorc2
    @faviorc2 4 года назад +4

    Dear Josh. Thank you very much I would love to have a stats like this in my classes. The explanation was amazing. Subscribed.

  • @darkfafi
    @darkfafi 2 года назад +1

    I am a programmer, and apply mathematics within my code for 10 years already. But I know none of the terminology because I am self thought.
    So, I always feel like a fool watching videos on mathematics because they mix in terminology and go too fast over basic knowledge or terms I do not have. While ultimately I know a lot of the logics which come with it. Leaving me clueless, even with things I already mastered in practice.
    This video really helped me connect the already linked logics I have, with the knowledge of terms and mathematical notation I don't have.
    Thank you so much for making this.. It helps a lot being able to connect what I know out of experience with the fundamentals of the knowledge itself and helps me grow within my field of expertise.

    • @statquest
      @statquest  2 года назад +1

      Thanks! I'm glad the video is helpful. :)

  • @ahmeterdonmez9195
    @ahmeterdonmez9195 4 месяца назад +4

    If I were the Dean of the faculty of Statistics, I would ask you to advise statistics teachers. I would like you to remind them that there is a technique called "easy explanation".

  • @adhy2005
    @adhy2005 6 лет назад +23

    Well explained. However, it would be more intuitive if you 'transpose' the data set, i.e. make the Gene as the columns and Mouse as rows.

    • @statquest
      @statquest  6 лет назад +7

      Glad you like the video! The orientation of the data is different for different disciplines. In genetics, which is my field, the data is laid out like it is in the video. However, I agree that most people see data that is transposed (rows are samples, columns are variables).

    • @yassersayed6109
      @yassersayed6109 6 лет назад +2

      Great Video, Great Instructor … but i agree with you about 'Transpose' thing ...

    • @evalsoftserver
      @evalsoftserver 3 года назад

      Applying Practical principal for Creating Systematic layered Knowledge maps for New Innovations , and Development, from Concrete Proving Concepts or a Way of Consolidating Complex unrelated and Abstract Ideas Ontologically .This Third Approach Could lead to A more Dynamic way of learning and finding Real life Structural Solutions for Complex Engineering problems ,Ex Reducing or Reverse engineering biological systems , to enzymes, DNA , Transcription, Chemical systems to Physical and Quantum representation , Computer systems to Binary and Mathematical inductive Approach ,Ex.Algorithms and Data Matrix Structure, user interface

  • @juansb1509
    @juansb1509 6 лет назад +9

    Awesome videos! Are you planning to make one of Gradient Boosting? It is the worst explained technique for some reason. It would be great to see a StatQuest video explaining it using a simple example; but in detail of course! : )

  • @amywilderson85
    @amywilderson85 3 года назад +1

    When I search for PCA on youtube and I saw that Statquest has a video for it, I was sure that I will learn PCA without any pain. Thank you!!

  • @nicomp1
    @nicomp1 2 года назад +3

    You had me at "Wahh Wahh"

  • @OliverSteadman
    @OliverSteadman 6 лет назад +9

    Thanks for this brilliant tutorial... looking forward to more! 😋

    • @OliverSteadman
      @OliverSteadman 6 лет назад

      Shared it with twitter since it goes into just the right level of detail and at a great pace: twitter.com/stornoli/status/988830814094942208

  • @daniloreboucas5888
    @daniloreboucas5888 6 лет назад +11

    BAM
    godly video!

  • @ahmedboughammoura5990
    @ahmedboughammoura5990 3 года назад +1

    The ability to just explain complexe idea is just amazing! Thank you !

  • @gabrielmorales2366
    @gabrielmorales2366 5 лет назад +11

    ProTip: Play at 1.5 times the original speed

  • @JimtheEvo
    @JimtheEvo 6 лет назад +50

    Fantastic! If you ever get around to doing a follow up could you elaborate on what can be done in cases where the PCA have roughly similar scree values? For example, I'm working with a data set where PCA 1 and 2 explain 61% of the variation with 6 different tests. Is there a data transformation step or better method for exploring this data? Also, when is it inappropriate to use PCA due to experimental design? As an example lets say I have two drugs; an antibiotic and an adjuvant. I test a set of different ratios of these two 8:1 4:1 2:1 1:1 and each ratio has different concentrations and I measure the density of bacteria at the end. Am I biasing a PCA as I know concentrations?

    • @statquest
      @statquest  6 лет назад +26

      The good news is that you can't bias PCA because you know what the concentrations are. However, if you're not getting good separation, you should consider doing is using Linear Discriminant Analysis (LDA) when you know a lot about your samples (and already have a sense of how you would like them to cluster - in your case, you might want to identify the differences between the different ratios, so you can use LCA to cluster based on the ratios.). It can identify what variables make the biggest difference between the clusters. I have a video on LDA... ruclips.net/video/azXCzI57Yfc/видео.html

  • @obi8061
    @obi8061 6 месяцев назад +12

    man was womp womping before womp womping was "cool"

  • @rajns8643
    @rajns8643 Год назад +1

    My jaw dropped after watching such a fantastic explanation. Truly amazing!!
    The intuitive build-up and pacing are so good.