Announcement

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

  • Factor Analysis

    How do I extract a communalities table (refer to picture-1), in stata when I perform factor analysis. And also when I get the eigenvalues after I run the factor analysis, how do I get the % of the variance (refer to Picture-2 )? is there any specific command to get these values?
    Attached Files

  • #2
    how do I get the % of the variance (refer to Picture-2 )? is there any specific command to get these values?
    According to the Stata Manual,

    Uniqueness is the percentage of
    variance for the variable that is not explained by the common factors. The quantity “1-uniqueness”
    is called communality.
    Best regards,

    Marcos

    Comment


    • #3
      Thanks for the reply.
      But is there any way that I can directly get the value for communality and variance directly in stata in the form of a table. Is there any specific code for it.

      Comment


      • #4
        You can find out where the results are stored if you run
        Code:
        help factor
        . The matrix with the uniqueness is called e(Psi).
        One way to export the matrix is to use the esttab-command provided by the user-provided estout package. An example session could look like this:
        Code:
        capture net install estout // Install the package it is not installed yet
        factor <some variables>, <some options> //Put here your actual factor analysis
        matrix list e(Psi) // Show the uniqueness matrix
        esttab e(Psi) using uniqueness.csv, csv //Export the uniqueness matrix to a csv-file
        To get a more specific answer, you need to provide more details what exactly you want to do.

        Comment

        Working...
        X