Hello everyone.
I'm trying to create a wealth index on STATA using principal component analysis, and was not very successful to find the right commands to get the results I need. I've done that analysis on SPSS using the following syntax:
FACTOR
/VARIABLES computer_own car_own freezer_own gas_oven_own microwave_own dishwasher_own vacuum_own
tablet_own internet_own mobile_own smart_mobile_own ac_own fan_own solar_water_heater_own
water_heater_electric_own iron_own sewing_machine_own residential_buildings_renting_own
/MISSING LISTWISE
/ANALYSIS computer_own car_own freezer_own gas_oven_own microwave_own dishwasher_own vacuum_own
tablet_own internet_own mobile_own smart_mobile_own ac_own fan_own solar_water_heater_own
water_heater_electric_own iron_own sewing_machine_own residential_buildings_renting_own
/PRINT INITIAL CORRELATION KMO AIC EXTRACTION ROTATION
/FORMAT SORT
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PC
/CRITERIA ITERATE(25)
/ROTATION VARIMAX
/SAVE REG(ALL)
/METHOD=CORRELATION.
RANK VARIABLES=FAC1_1 (A)
/RANK
/NTILES(5)
/PRINT=YES
/TIES=MEAN.
I need a STATA translation of that analysis. Any help?
Thanks,
Related Posts with Conducting Principal Component Analysis on STATA
exponential two-step hurdle model has significant coefficients but insignificant average marginal effects, why?Dear all, So I am currently running the following two-step hurdle regression, where outcome variabl…
Generating a variable depending on time variableHello, I am using Stata/SE 14.2 for Mac. I am working on my thesis that is about resistant bacteria…
format of numeric IDs for mergerHi, all, I have trouble with some IDs before (and after..) a merger. I want to 'mirror' and ID varia…
Can I run a xtologit on a 0.5-paced score as dependent variable?Hi everyone, I'm working on panel data with firm ID as panelvar and report_period as timevar. I've…
Difference in mediansHello, I am trying to calculate the median difference between two variables. I have read about the …
Subscribe to:
Post Comments (Atom)
0 Response to Conducting Principal Component Analysis on STATA
Post a Comment