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?
Panel data - all dummies omitted because of collinearityHi everybody, I'm using panel data to examine the effect of immigration on house prices and I am tr…
Diff-in-diff with matchingHello, I am working on a project which uses diff-in-diff with propensity score matching techniques a…
long invalid varnameHello! I have data where the ID is a string variable str123, and I was trying to merge it to anothe…
Lagging Date Varlist by one period for all observations within the period.Hi! I am writing my master thesis and I base part of my research on a certain paper. In the paper, …
Fixed Effects Pooled OLS Panel Data RegressionDear all, Thanks for your time reading this. My data has small T and large N. When I use Hausman t…
Subscribe to:
Post Comments (Atom)
0 Response to Can I control for covariates with a pca analysis?
Post a Comment