Dear colleagues I know I can use principle component analysis (PCA) on categorical variables by first coding them as dummies. Multiple correspondent analysis(MCA) can also be used but you don't need to convert your categorical variables into dummies. Let me assume I will convert my variables into dummies and use PCA and ask the below question.
I have A latent variabel called Accessibility inferred by five likert questions (scale 1-7) and other questions below:
1 How much do you spend on NHIF
2 Mode of NHIF payment code 1 '"Out pocket" 2 "Sallary deduction" 3 "Insurance"
I want combine all these questions to generate a singel variable called Accessibility and I plan to generate a set of dummies from my categorical variables inorder to use pca.
suppose my dummies were a b c d e f g h for categorical variables and I do:
pca a b c d e f g h How much do you spend on NHIF
predict comp
Can I use comp as my Accessibility variable?I just want to rename it to Accessibility and use it.I know the predicted comp will be first principle component anyway.
The main question here is can I work with the first component as my Accessibility variable?
I plan to use the same Idea for affordability and quality variables which are inferred by other several questions.Please advice
Related Posts with Using mca or pca to generate a single variable
How to replace inconsistent identity code with the majority identity within 6 years?I have 140,000 firms for 2010-2015. I want to check whether the industrial code (indcode) is consist…
Rounding with a macroHi, To display a number rounded down to a user selected number of decimal places, I wrote some code…
Generating a variable to count # of "ideal" in each category per observationDear all, I have three variables(idealFruitVeg ; idealfiber ; idealssbweek). Each variable can have…
Seeking an efficient way to establish auxiliary time scales refrenced to data elementsI have been working for 2 + years with data generated from a custom app seeking improvement in treat…
sem vs gsem?Hi everyone. I want to use sem or gsem to evaluate the associations of different patterns of weight …
Subscribe to:
Post Comments (Atom)
0 Response to Using mca or pca to generate a single variable
Post a Comment