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?
Repeated Measures Correlation QuestionHello all! Beginner stats student here. I was hoping to gain some insight from the board in how to …
Binary outcome equation with a categorical selection equationHello all: I have a two stage model. The first stage is a selection equation with a categorical vari…
Numlist in foreach loop, when number is within variable nameI have been trying to use ‘numlist’ in a foreach loop as I have a list of about 100 variables, all r…
Generating a numeric variable from string variableI currently have a variable called "Residence" which takes on two values: Urban and Rural I'm gener…
Line break in a string variable, its posible?Hi all, I wonder if its posible a line break in a string variable, my idea is use this variable in …
Subscribe to:
Post Comments (Atom)
0 Response to Can I control for covariates with a pca analysis?
Post a Comment