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
OLS model that includes related covariates that add up to 100%Hi group, I'm running an OLS model where the dependent variable is patients' average value of HgA1c,…
Help with outputting Mixed command results to ExcelHello, I hope you could help me, I have spent days trying to figure this out. I am trying to output…
Ideas on how to convert a hyphenated interval (e.g. '5-8') into its constituent integers delimited by commas (e.g. '5,6,7,8')?Hi, As my post title states, I have data with varied hyphenated intervals such as '3-6', '1-5', '10-…
Premature DeindustrializationHello everyone, I'm testing premature deindustrialization as Rodrik (2015) I regress manufacture em…
loop over the panel IDs to use quantile regressions xtqregHi, I am running quantile regression for panel of 260 firms for period of 15 years. The general reg…
Subscribe to:
Post Comments (Atom)
0 Response to Conducting Principal Component Analysis on STATA
Post a Comment