Announcement

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

  • afa command by Boermans & Kattenberg (2011)

    Good afternoon,

    I came across an article by Boermans & Kattenberg (2011) titled: "Estimating reliability coefficients with heterogenous item weighting using Stata: A factor based approach" and would very much like to apply the "afa" command to my own EFA analyses. However, I can't seem to find the program using any search function in Stata. The reference is listed in the SSC archive (https://ideas.repec.org/p/use/tkiwps...tml#statistics), but there are no help or .ado files. Does this mean the program is no longer available, or am I simply not looking in the correct place?

    Thanks!

  • #2
    Hi I am also looking out for the afa command. Someone help!

    Comment


    • #3
      I cannot find the command either, but the implementation seems rather easy. Here is an example

      Code:
      // load example dataset
      webuse bg2
      
      // run EFA and rotate loadings
      factor bg2cost*
      rotate
      
      // get the loading matrix
      matrix L = e(r_L)
      
      // obtain variable names from loading matrix
      local varlist : rownames L
      
      // obtain number of factors from loading matrix
      local J = colsof(L)
      
      // create the i x j rescaled items
      forvalues j = 1/`J' {
          local i 0
          foreach var of local varlist {
              generate `var'_`j' = `var'*L[`++i', `j']
          }
      }
      
      // compute alpha for each factor
      alpha bg2cost*_1
      alpha bg2cost*_2
      alpha bg2cost*_3
      I have no idea whether this hole approach makes sense, as I have never heard of it anywhere else.

      Best
      Daniel

      Comment

      Working...
      X