Announcement

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

  • PCA in imputed data set

    Hi there,

    I intend to use PCA in generating metabolic score in multiple imputed data set.However, I am confused how to get proportion of variance onwards.

    mi estimate, cmdok saving(miest_pca,replace): pca Z2SBP Z2WC Z2Glucose Z2HDL Z2TG , vce(normal) comp(2)blanks(.3)

    mi predictnl pc1= predict(score) using miest_pca
    mi predictnl pc2= predict(score) using miest_pca

    mi xeq :gen PCAScore_WC=pc1 +pc2

    ( I would like to multiply two PCs with corresponding proportion of variance but do not know how to get this)

    Thanks
Working...
X