Announcement

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

  • PCA after mulitple imputation

    Dear all,
    I have multiple imputed datasets, and have done a pca in Stata 15:
    Code:
    mi estimate, cmdok: pca x1 x2 x3 x4 x5 x6 x7, vce(normal)
    Is there any way to then obtain predicted component scores, equivalent to:
    Code:
    predict pc1-pc3, score
    Best,
    Kjell Weyde

  • #2
    Please see here: https://www.statalist.org/forums/for...puted-data-set
    Code:
    mi estimate, cmdok saving(dataset_for_pca.dta, replace) : pca x1 x2 x3 x4 x5 x6 x7, vce(normal)
    mi predictnl pc1=predict(score) using dataset_per_pca.dta

    Comment

    Working...
    X