I am performing a principle component analysis with the between subject variable of fall status (non faller, single faller, recurrent faller) and within subject variable of sex to determine whether fall risk differs by fall status and sex. I would like to control for age and exposure to the exercise intervention in the principle component analysis, but I cannot find any code on how to go about doing this. The following pca code works, but does not control for covariates:
pca BMI_n OverallFallsRiskScore VisualContrast Proprio ReactionTime BestQuad_n EO_Firm_Sway_n EO_Foam_Sway_n Dual_TUG NIA_TotalScore GDS shortFES VAS FCI BarthelTotal_score IADL MMSE MOCA TrailA_n TrailB_n Stroop1_n Stroop2_n Stroop3_n DigitForward DigitBackward DSST_n VerbalFluency if NonSingleMultipleFaller > 1& Sex==0
This is a secondary analysis of RCT data.
Thanks for your help!
Related Posts with Can I control for covariates with a pca analysis?
Graph for panel data that combines and plots averageDears, I want to generate linear plots for 18 countries' panel data in one graph. I use the command …
removing text from string variable with date formatHello, I have a string variable that looks like this: 13-03-2014(Late visited). How can I remove som…
combine multiple lines of codes into one command!Hey Statalist, I want to find a way in which I can combine multiple lines of codes into one single …
Importing csvHi, I have an easy problem, but unfortunately I could not solve it. When I want to import data fro…
Herfindahl-Hirschman Index for banksHello, I have a problem creating Herfindahl-Hirschman Index for my data I tried scc install hhi but…
Subscribe to:
Post Comments (Atom)
0 Response to Can I control for covariates with a pca analysis?
Post a Comment