How i can perform PCA figure for this variables
i wright this syntaxe
input Acc$ BLOC$ r$ LT HP LoL LaL LoLLaL NbR NRA NJF NJM LF DFM DFS LDF NLF LP GP ECF LPL PFF NGF;
cards;
PROC PRINCOMP DATA= A OUT= B OUTSTAT= C N = 4 COV VARDEF = WEIGHT;
VAR LT HP LoL LaL LoLLaL NbR NRA NJF NJM LF DFM DFS LDF NLF LP GP ECF LPL PFF NGF;
run;
quit;
Thank you for your help.
More specific information about what you want is needed. "Figure" is relatively vague.
PROC PRINCOMP has a PLOTS= option that offers many different types of plots. See the documentation: https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_princomp_syntax01.htm&docsetVersi... maybe one of the built in plots works for you
Thank you for responding me.
i need to perform a 2 dimension graphic representing the 2 principal component for individidual and for variables and the biplot graphic.
Thank you
I suspect you are looking for a "score plot" and a "loadings plots." See the article
"How to interpret graphs in a principal component analysis"
which discusses these plots and how to create them from the output of PROC PRINCOMP.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.