Hi all,
I'm trying to do a Principal Component Analysis. The dataset I'm using is the PIAAC dataset from the OECD.
What I'm trying to do is to get just the first component results of a varlist, however I want to see the differences between jobsectors (53 sectors) as described in one of my variables.
So every individual has filled out the sector he/she works in and has filled out several skills he /she needs this, is my varlist as used in the pca, now I would like stata to list all first component results per ISCO level, also I would like stata to generate a new variable that gives the first component result per individual per ISCO level.
I don't believe i have to manually run my pca like this for all sectors (ISCO08_C) manually:
pca ReadingArticles ReadingNewsletters ReadingProfessionalJournals ReadingDiagrams ///
Emails Reports Fractions Calculator Charts Algebra ComplexProb Manage Presentation ///
Advising PlanOther Influence Negotiating if ISCO08_C == 11
Is there a way I can do all this automatically instead of 53 separate commands for every sector.
Kind regards,
Jules
I'm trying to do a Principal Component Analysis. The dataset I'm using is the PIAAC dataset from the OECD.
What I'm trying to do is to get just the first component results of a varlist, however I want to see the differences between jobsectors (53 sectors) as described in one of my variables.
So every individual has filled out the sector he/she works in and has filled out several skills he /she needs this, is my varlist as used in the pca, now I would like stata to list all first component results per ISCO level, also I would like stata to generate a new variable that gives the first component result per individual per ISCO level.
I don't believe i have to manually run my pca like this for all sectors (ISCO08_C) manually:
pca ReadingArticles ReadingNewsletters ReadingProfessionalJournals ReadingDiagrams ///
Emails Reports Fractions Calculator Charts Algebra ComplexProb Manage Presentation ///
Advising PlanOther Influence Negotiating if ISCO08_C == 11
Is there a way I can do all this automatically instead of 53 separate commands for every sector.
Kind regards,
Jules
Comment