Announcement

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

  • Label after loadingplot

    I would like to use the labels of the variables, and not their names, in a loadingplot after a PCA.
    Is there a way to do it?
    It seems that you can modify almost everything but not this specific feature.
    Am I wrong?

  • #2
    Marco Giuliani ,

    try user-written labloadingplot:

    In Stata type exactly the following:
    Code:
    net from http://www.radyakin.org/stata/labloadingplot/
    then install from the link that will appear., after that for example,
    Code:
    clear all
    sysuse auto
    pca price length weight rep78
    labloadingplot , msize(large) mcolor(green) mlcolor(red) mlabcolor(blue)
    produces:

    Comment


    • #3
      Dear Sergiy Radyakin, thanks a lot! It works perfectly and you solved my problem.

      Best
      Marco

      Comment


      • #4
        You are very welcome!

        Comment

        Working...
        X