DATA Step, Macro, Functions and more

Adjustment / Controlling for age / Multiple regression

Reply
New Contributor
Posts: 3

Adjustment / Controlling for age / Multiple regression

Within a Dataset of 1200 Oberservations I want to adjust several continuous variables (e.g. heartrate, systolic BP) for age as a  confounding and continuous variable.

 

I tried to get adjusted means of heartrate using lsmeans:

 

PROC glm DATA=bearbeitung;
class age_gr1;
	MODEL sdnn_ms = age_gr1 / solution;
	lsmeans age_gr1;
RUN;

Unfortunately "Lsmeans" calculate only categorial variables. Do you have an idea how I get adjusted means/ I account for age without using "lsmeans"?

 

Thanks for help.

Best regards.

Ask a Question
Discussion stats
  • 0 replies
  • 185 views
  • 0 likes
  • 1 in conversation