Principal components analysis in R

Principal components analysis in R

Hefin Rhys

7 лет назад

157,075 Просмотров

Ссылки и html тэги не поддерживаются


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

Tony Robinson
Tony Robinson - 21.06.2023 04:25

Outstanding. Thank you.

Ответить
nrlzt
nrlzt - 31.05.2023 12:39

really love your explanantion! thank you so much for your video, really helpful and i can understand it! keep it up! looking forward to your many more upcoming videos

Ответить
- 09.05.2023 16:18

really useful video thank you, I've just started my MSc project using PCA, so thank you for this. I will be following subsequent videos.

Ответить
Kevin Roberts
Kevin Roberts - 30.03.2023 00:29

thank you so much for this video. incredibly helpful.

Ответить
Django World Wide
Django World Wide - 09.03.2023 01:48

Great tutorial but it leaves me with the question, what do i do with it? Is this just the begining of a K means classification that gives me an idea of the proper k?

Ответить
Mohammad Tuhin Ali
Mohammad Tuhin Ali - 07.12.2022 10:59

Many thanks for your efforts to make this complex issue much easier for us. Could you enlight me to understand group similarly and dissimilarity using pca?

Ответить
Alessandro Rosati
Alessandro Rosati - 02.12.2022 20:26

How is it possible to generate outliers uniformly in the p-parallelotope defined by the
coordinate-wise maxima and minima of the ‘regular’ observations in R?

Ответить
Lisa Kaly
Lisa Kaly - 08.11.2022 12:23

In fact I found out how to overcome the multicolinearity , by using the eigen values of PC1 and PC2! I love PCA!

Ответить
Lisa Kaly
Lisa Kaly - 08.11.2022 11:28

Thank you for this great video. can you show how to seek multicolinearity or treat multicolinearity with PCA ? I have a data set with 40 variables with high intercorrelation because of cross reactivity . VIF and matrix correlation doesnt work probably because of multiple comparison ....:(((

Ответить
chris
chris - 02.10.2022 02:19

Excellent walkthrough. Thank you!

Ответить
vagabond197979
vagabond197979 - 24.09.2022 18:26

Added to my stats/math playlist! Very useful.

Ответить
Roshan Sharma
Roshan Sharma - 20.09.2022 13:49

please explain Scatterplot using DAPC also

Ответить
HarmonicaTool
HarmonicaTool - 12.08.2022 11:40

5 year old video still one of the best I found on the topic on YT. Thumbs up

Ответить
Amin Sajid
Amin Sajid - 22.07.2022 11:45

Amazing video! Thanks for the explaining everything very simply. Could you please do a video on PLS-DA?

Ответить
Bruno Camargo Dos Santos
Bruno Camargo Dos Santos - 12.07.2022 00:45

Thanks for the the video, it helped me a lot!! Your explanation is very didactic!

Ответить
Vi
Vi - 04.06.2022 21:11

Thanks much Hefin!!!

Ответить
Rafał Borkowski
Rafał Borkowski - 26.05.2022 23:21

How can I upload my data into RStudio to work with ?

Ответить
AvniStar
AvniStar - 11.05.2022 11:43

Can you run PCA on factor variables coded as 0 vs 1. 1 meaning presence of something?

Ответить
Federico Garland
Federico Garland - 07.05.2022 20:12

thank you very much

Ответить
fsxaviator
fsxaviator - 26.03.2022 00:34

Where did you define PC1 and PC2 (where you use them in the ggplot)? I'm getting "Error: object 'PC1' not found"

Ответить
Lindsey Koper
Lindsey Koper - 20.03.2022 22:40

Thank you so much for your videos!! Your videos are the best I have seen hands down :) All of your explanations and step by step through R are what I needed to work on my research.
One area I am having trouble with (since I am not a statistician) is making sure I run my data through all the necessary statistical tests before running the PCA. My data is similar to the iris dataset (skull measurements categorized by family and subfamily levels) but I am seeing different sources run different tests before the PCA (ANOVA vs non-parametric tests). If anything, would you be able to recommend some good sources for me to refer to? Thank you! I really appreciate it!

Ответить
Himanshu Dahiwale
Himanshu Dahiwale - 28.02.2022 03:33

Thank you so so much!! You just saved the day and helped me really understand my homework for predictive analysis.

Ответить
Andrew
Andrew - 23.02.2022 21:18

Fantastic!

Ответить
Murambiwa Nyati
Murambiwa Nyati - 16.02.2022 01:38

Great teacher you are, thanks

Ответить
By Way Of Deception
By Way Of Deception - 03.01.2022 16:43

If you work this through with Palmer's Penguins it is great practice. An excellent tutorial.

Ответить
Simon Kl
Simon Kl - 01.01.2022 13:05

This tutorial is outstanding. Excellent explanation! Thank you very much!!!

Ответить
Stephanie Faith Ravelo
Stephanie Faith Ravelo - 27.12.2021 06:37

Hey Hefin, I wonder if you can also do a tutorial of PCA producing triplot graph?

Ответить
Andrea Monge
Andrea Monge - 16.12.2021 07:37

Thank you so much for the very clear and concise explanation!

Ответить
Rifat Hasnat
Rifat Hasnat - 29.11.2021 06:43

Thank you!

Ответить
km
km - 08.11.2021 10:31

Very helpful, thanks!

Ответить
mariko
mariko - 06.11.2021 13:32

The explanation is just perfect. Thank you.

Ответить
j
j - 02.11.2021 13:54

Error in svd(x, nu = 0, nv = k) : infinite or missing values in 'x'

???

Ответить
Stephanie Faith Ravelo
Stephanie Faith Ravelo - 21.10.2021 07:13

Hi Hefin, can I put a percentage in the PCA 1 and PC2 in the x and y-axis? How to do that?

Ответить
J Hyourinmaru
J Hyourinmaru - 17.10.2021 08:10

If my biological data only has numbers(1,2 & 3 digits) and a lot of zeros, do I need to scale also?

Ответить
Tiffany D
Tiffany D - 17.09.2021 23:47

THANK YOU SO MUCH

Ответить
Anne
Anne - 20.08.2021 12:04

Hey Hefin,
Amazing video! I am working on my own PCA at the moment.
If at all possible would you be able to go over a few questions with me?
I would appreciate any advice you would be able to give.

Ответить
Sophie Long
Sophie Long - 22.07.2021 13:43

this is a brilliant video! is it possible to plot PC1, PC2 and PC3 on the same graph at the end? I have tried this by altering the code but have not managed to get it.

Ответить
John Mandrake
John Mandrake - 29.06.2021 03:11

its so funny I don't think you realize but myPR "my pyaar" in Urdu/Hindi means my love. Thank you for an amazing and extremely helpful video

Ответить
Stephanie Faith Ravelo
Stephanie Faith Ravelo - 11.06.2021 06:47

Hi, i wonder if it's possible to put label in each points? I tried geom_text but i get error

Ответить
Rodolph Blattner Mendes
Rodolph Blattner Mendes - 10.05.2021 12:08

I never comments on videos, but you really saved me here. Nothing was working on my dataset and this came smoothly. Well done on the explanations too, everything as crystal clear.

Ответить
emilie
emilie - 28.04.2021 13:29

This is gold. I absolutely love you for this

Ответить
Simon JDS
Simon JDS - 12.04.2021 07:19

Very cool Hefin. I'm trying to run a data reduction for panel data (220 countries, about 25 years of data, and about 100 different variables). Could PCA be used for this?

Ответить
MAF
MAF - 07.04.2021 02:59

Thank you Hefin Rhys for explaining PCA in detail. Can you please explain how to find weights of a variable by PCA for making a composite index? Is it rotation values that are for PC1, PC2, etc.? For example, if I have (I=w1*X+w2*Y+w3*Z) then how to find w1, w2, w3 by PCA.

Ответить
Reza Amir Ahmadi
Reza Amir Ahmadi - 25.03.2021 05:05

what is the pca package ?

Ответить
EV4UTube
EV4UTube - 15.03.2021 22:48

Can I confess something that baffles me? Because, I see this all the time. OK, so you, personally, are motivated to share your knowledge with the world, right? I mean, you took time, effort, energy, focus, planning, equipment, software, etc. to prepare this explanation and exercises. You screen-captured it, you set up your microphone, you edited the video, you did all this enormous amount of work. You're clearly motivated. Yet, when it actually comes time to deliver that instruction, you think it is 100% acceptable to place all your code into an absolutely miniscule fraction of the entire screen. Like, pretty-close to 96% of the screen is 'dead-space' from the perspective of the learner. The size of the typeface is miniscule (depending on your viewing system). It would be like producing a major blockbuster film, but then publishing it at the size of a postage stamp. Surely, it would be possible for you to 'zoom-into' that section of the IDE to show people what it was you were typing - the operators, the functions, the arugments, etc. I'm not really picking on you, individually, per se. I see this happen all the time with instructors of every stripe. I have this insane idea that instruction has much, much less to do with the insturctor's ability to demonstrate their knowledge to an uninformed person and has much, much more to do with the instructor's ability to 'meet' the student 'where' they are and to carry the student from a place of relative ignoracne (about a specific topic) to a place of relative competence. One of the best tools for assessing whether you're meeting that criteria is to PRETEND that you know nothing about the topic - then watch your own video (stripping-out all the assumptions you would automatically make about what is going on based on your existing knowledge). If you didn't have a 48" monitor and excellent eye-sight, would you be able to see what was being written? Like... why would you do that? If writing of the code IS NOT important - don't bother showing it. If writing of the code IS important, then make it (freaking) visible and legible. This really baffles me. I guess instructors are so "in-their-own-head" when they're delivering content, they don't take time to realize that no one can see what is happening. . It just baffles me how often I see this.

Ответить
Karen U
Karen U - 10.03.2021 14:42

Thanks for a great tutorial! Can a PCA analysis be applied to a DTM to distill the main themes in a corpus of documents?

Ответить
Zahra Sattari
Zahra Sattari - 08.03.2021 00:19

Thanks a lot for a great video. Could you possibly guide me to a source with info on performing cross validation in R after doing PCA on the data? Possibly as clear as yours:)
I've been searching and mostly came across guides on how it's performed after doing PLS-DA. I'm preparing a report for a modeling course and am asked to provide (describe and perform) a validation step.

Ответить