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
The standard deviation of common stock returns measured over the previous years.Hi everyone, for the replication of the following study: Bugeja, M., Matolcsy, Z.P., and Spiropoulo…
R^2 for Generalized Gamma AFT regressionHello Stata Fam, I want to compare parametric survival models using r2. I have calculated r2 for Exp…
Mata function -truish()-Dear All, I occasionally find the function truish() mentioned in other people's code, such as here:…
add values to certain groupsHi everyone, I have a dataset on companies, its financial years, matching financial numbers and err…
How to insert multiple values in StataDear Statalist, I have a dataframe like: householdno foodcount foodcode 1 1 67 1 2 65 …
Subscribe to:
Post Comments (Atom)
0 Response to Using mca or pca to generate a single variable
Post a Comment