How to Perform Factor Analysis in Python(Step by Step)

  Рет қаралды 30,524

Kindson The Tech Pro

Kindson The Tech Pro

Күн бұрын

Пікірлер: 54
@loogsnyakwardyoh4854
@loogsnyakwardyoh4854 4 жыл бұрын
the correct column name is "Unnamed: 0". df.drop(['Unnamed: 0'], axis = 1, inplace = True) works...
@백영래-u3x
@백영래-u3x 2 жыл бұрын
df = drop(['unnamed:0'], axis=1, inplace = True) This one works.
@mariamedina5970
@mariamedina5970 2 жыл бұрын
This is by far the best video on the internet to explain factor analysis and all the steps necessary! Great work!
@KindsonTheTechPro
@KindsonTheTechPro 2 жыл бұрын
Glad it was helpful!
@luisady8990
@luisady8990 4 жыл бұрын
If you have trouble w/factor analyzer: 1. Open cmd and paste: pip install factor_analyzer 2. Once it is successfully installed, paste the command again and get the file path it is downloaded in (first line after the command). 3. Follow the rest of the steps in the video.
@KindsonTheTechPro
@KindsonTheTechPro 4 жыл бұрын
Thanks for the observation!
@inusun
@inusun 5 жыл бұрын
Great video, helped out a lot it processing my data using factor analysis for my data science class.
@diepnguyen8928
@diepnguyen8928 3 жыл бұрын
Could you explain for me why I have different results while implementing Factor Analysis in Python and STATA? There are differences in both scree plot and the value of loading factors :(( Don't know which is the correct one now :( Thank you for your support!
@tallyxh6477
@tallyxh6477 4 жыл бұрын
This video litterally saved me and my Master's Dissertation. Great explanations, easy to understand and follow. thank you very much!!
@samuelceciliochucuyamamani561
@samuelceciliochucuyamamani561 3 жыл бұрын
Hello! previously I was using Minitab and obtaining the factor scoring coefficients and then graphing. I don't know how to get that with python, I hope you can help me please. Saludos
@spef7396
@spef7396 2 жыл бұрын
Thank you very much, final year computer science but very little experience in statistics etc. this was a massive help
@KindsonTheTechPro
@KindsonTheTechPro 2 жыл бұрын
You're very welcome!
@elhamahmadi8673
@elhamahmadi8673 2 жыл бұрын
Hi, I have one question. if we want to use FA or PCA for feature selection of all types of data(without dropping string type of data) how can we do that? Is there any alternative to apply?
@sharp389
@sharp389 4 жыл бұрын
do you know of algorithms to use other criteria to select factors? like cng package in R? Horn's PA, etc.?
@KindsonTheTechPro
@KindsonTheTechPro 4 жыл бұрын
I’ll try to make a video on this
@brettgregory3622
@brettgregory3622 4 жыл бұрын
Any ideas on how one could go about getting goodness of fit indices? All my FAs are done in R purely because of these fit indices but I really want to completely move over to Python.
@xiangyu9445
@xiangyu9445 3 жыл бұрын
where can I find your Jupyter notebook?
@KindsonTheTechPro
@KindsonTheTechPro 2 жыл бұрын
Would you like to join and 6 Weeks Intensive Data Science Course that begins this week? Let me know on mail@kindsonthegenius.com.
@henny628
@henny628 4 жыл бұрын
Hi, I am trying to analyse data with multiple factors over a series of time. Is there a way I can consult you off youtube?
@tarunsiga3610
@tarunsiga3610 3 жыл бұрын
Could you explain me on what basis the factors were selected in FactorAnalyzer
@KindsonTheTechPro
@KindsonTheTechPro 3 жыл бұрын
Nice question but the explanation is not trivial. We consider the factor loading of each variable which tells us the entent to which the variable relates with the factor. We then select factors with highest loadings. I'll recomment you read up Principal Components Analysis(PCA) as it helps you understand FA. www.kindsonthegenius.com/pca-tutorial-1-how-to-perform-principal-components-analysis-pca/ www.kindsonthegenius.com/principal-components-analysispca-in-python-step-by-step/ www.kindsonthegenius.com/basics-of-factor-analysis-for-data-scientists/ Question, What is Factor Analysis kzbin.info/www/bejne/qWPJl557gb2mfsU
@williamkanaan7554
@williamkanaan7554 4 жыл бұрын
When I type fa.fit(df), it tells me there is an error "ValueError: Found array with 0 sample(s) (shape=(0, 38)) while a minimum of 1 is required by FactorAnalyzer." but when I check my document there is not ligne with 0 values, what can I do please?
@stepheneaster3166
@stepheneaster3166 4 жыл бұрын
Hi, just finding this great video on FA, thanks for posting it. When I use the varimax orthogonal rotation and then use transform() to 'score' the dataframe with the factor model, the resulting factors do not have 0 correlation as expected from an orthogonal transformation. I'd like to take those factors as inputs into a clustering exercise but want non correlated factors (similar to PCA). Thanks in advance for any thoughts on where I might be going awry.
@austin_adetunji
@austin_adetunji 2 жыл бұрын
Wow, this is great. i wish i can like this video multiple times
@rajeshghosh4344
@rajeshghosh4344 3 жыл бұрын
Even after appending the site package directory the factor_analyzer is not importing. Can you help?
@Sudo007
@Sudo007 5 жыл бұрын
Please, tell me what the values in the matrix signify.
@TieMaxx
@TieMaxx 4 жыл бұрын
Answers to a questionnaire about personality (Big-Five traits). A1 through 5 represent questions about agreeableness, N is neuroticism, C is conscientiousness, E is extraversion and O is openness to experience. 1 represents an answer of -2 and 5 is actually +2. It does not really matter though, because they are all getting standardized by the standard variation and the mean. For example one question might be "I am interested in talking about abstract topics". -2 (in the matrix: 1.0) would mean that the statement does not describe you at all, while +2 (in the matrix: 5.0) means, it describes you perfectly. etc. etc.
@aysenzumrutsonmez3699
@aysenzumrutsonmez3699 3 жыл бұрын
I had an ModuleNotFoundError for factor_analyzer in the first step. How i solve this error? Please help me
@matangaelisha2116
@matangaelisha2116 3 жыл бұрын
i cant see the link to the dataset please
@chavianddavid
@chavianddavid 4 жыл бұрын
Is there something called "Factor Scores" as well?
@vineetsodhani5398
@vineetsodhani5398 5 жыл бұрын
How does one load the factor analyzer package? Where does one find the package?
@Sudo007
@Sudo007 5 жыл бұрын
pip install factor_analyzer
@Rskingfisher
@Rskingfisher 4 жыл бұрын
In 15:51-16:07 you said ev=eigenvectors and v=eigenvalues. But during the scree plot, you said ev = eigenvalues. Which is correct?
@twinblade02
@twinblade02 4 жыл бұрын
ev is the eigenvectors.
@Lernal
@Lernal 4 жыл бұрын
good factor analysis for python
@nnn-bb5tf
@nnn-bb5tf 3 жыл бұрын
Thanks for this excellent video
@KindsonTheTechPro
@KindsonTheTechPro 3 жыл бұрын
So nice of you
@kennedybwire9435
@kennedybwire9435 2 жыл бұрын
Hi, that is great work.
@uniongrob8194
@uniongrob8194 3 жыл бұрын
Helpfull video, thanks!
@phanthilanhuong1783
@phanthilanhuong1783 4 жыл бұрын
Thank you for your sharing and fantastic guiding
@quiosaevaristo7746
@quiosaevaristo7746 Жыл бұрын
Hi, that is an amazing video.
@inspiritlashi9994
@inspiritlashi9994 3 жыл бұрын
This is such a great video.. Thank you so much
@KindsonTheTechPro
@KindsonTheTechPro 3 жыл бұрын
You're welcome! And do remember to subscribe 😃
@javiercmh
@javiercmh 4 жыл бұрын
very useful as it is!!! thanks a ton!
@sindimazibuko1399
@sindimazibuko1399 4 жыл бұрын
Can someone please help me figure out the name of the test I need to perform to see if my data is suitable for factor analysis? I can not seem to hear the name. Thank you in advance.
@qudsiyajan6485
@qudsiyajan6485 4 жыл бұрын
KMO and Bartlett's test of sphericity can help you in knowing if data is suitable for factor analysis or not.....
@veronicam2102
@veronicam2102 4 жыл бұрын
Thanks!! this video was very helpful to me :D
@josephkarianjahi1467
@josephkarianjahi1467 4 жыл бұрын
Good work!
@rajdeepkumarnath8944
@rajdeepkumarnath8944 15 күн бұрын
Thank You!
@c.e.g.o4797
@c.e.g.o4797 4 жыл бұрын
Thank you, bro.
@lucasmigge3159
@lucasmigge3159 4 жыл бұрын
thank you very much
@al702893
@al702893 3 жыл бұрын
You just copied datacamp's tutorial, including comments
How to Build a Simple Neural Network From the Scratch(Step by Step)
19:10
Kindson The Tech Pro
Рет қаралды 11 М.
StatQuest: PCA in Python
11:37
StatQuest with Josh Starmer
Рет қаралды 208 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 36 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 28 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 17 МЛН
Understanding and Applying Factor Analysis in R
14:38
Spencer Pao
Рет қаралды 22 М.
36. Factor Analysis in Python || Dr. Dhaval Maheta
15:24
Dhaval Maheta (DM)
Рет қаралды 1,8 М.
Exploratory Factor Analysis (conceptual)
9:50
James Gaskin
Рет қаралды 169 М.
Factor analysis of Likert scale
12:18
Mohamed Benhima
Рет қаралды 17 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 36 МЛН