Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conducting Principal Component Analysis on STATA

    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,

  • #2
    Welcome to the Stata Forum / Statalist.

    You may start by typing - help factor - in the Command Window.

    Please be aware that some terms used in SPSS for factor analysis won’t correspond to the ones in Stata.

    Also, this text shows most aspects of the code used above:

    https://stats.idre.ucla.edu/stata/ou...ctor-analysis/

    Hopefully that helps.
    Best regards,

    Marcos

    Comment


    • #3
      Thank you Marcos!

      Comment

      Working...
      X