BookmarkSubscribeRSS Feed
byrne48
Calcite | Level 5

Can I preform factor analysis for complex survey data? (I need to include a weight, cluster, strata, I also need a domain statement)

 

Any help with code for this would be much appreciated 

 

Thanks!

4 REPLIES 4
PaigeMiller
Diamond | Level 26

there is no SURVEY procedure for factor analysis.

 

I think you would have to compute the proper weights for each observation and then run PROC FACTOR with the WEIGHT statement.

--
Paige Miller
byrne48
Calcite | Level 5

Thanks for your response!

 

Just to clarify on computing proper weights  - each of my participants have an individual weight variable, is this what I would use for my weight statement? 

Can a domain statement be used in proc factor? 

 

Thanks!

PaigeMiller
Diamond | Level 26

Each record in your data step has to have a weight. You would have to compute the weight for each record based upon the design of the survey. There is no DOMAIN statement in PROC FACTOR and so if you want that functionality, you would have to program that yourself.

--
Paige Miller
djmangen
Obsidian | Level 7

I suspect that the OP is working with a complex survey design and is looking for the equivalent of Proc SurveyReg.  If this is the case, at present there is NOT a Proc SurveyFactor.

 

Some have examined a backdoor sort of approach -- going first to correlations.

 

https://jesshampton.com/white-paperspresentations/proc-surveycorr/

 

You could then create the correlation/covariance matrix that you want and feed that into Proc Factor.  I have contemplated doing this, but have never done it.

 

David

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 4 replies
  • 717 views
  • 1 like
  • 3 in conversation