BookmarkSubscribeRSS Feed
Malik
Calcite | Level 5

Dear I have around 77 factors and I used factor analysis to reduce them. I also need to get scores for further analysis.

I used the following command..

   proc factor data=correl score outstat=fact;

   run;

   proc score  data=raw score=fact out=scores;

   run;

After running this command I got 31 factors, but I want to reduce between 10~15 factors.

I used N=15, NFACT=10 but both commands does not work.

Please give me Idea how I can reduce these factors more that also do not reduce the effect of Eigen value.

Will be thankful for your nice comments & suggestions

1 REPLY 1
Rick_SAS
SAS Super FREQ

What you say "should work" does work.

proc factor data=correl score NFACT=15 outstat=fact;

run;

proc score data=raw score=fact out=scores;

run;

If you use NFACT=15, the FACT data set contains scoring coefficients for the first 15 factors.

PROC SCORE projects the raw data onto the first 15 factors. The variables are FACTOR1-FACTOR15.

Those variables are the first 15 principal components: the linear combinations that best explain the variation in the data.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1290 views
  • 0 likes
  • 2 in conversation