BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
yael
Quartz | Level 8

Hello

 

I am writing after trying to understand it, also asked in SAS programming (by mistake) and got the attached answer.

 

My question is - I want to use PROC MIXED as I have fixed effect and also random effects in my model. Which statement in SAS reprents the CONTROL VARIABLES in my model? is this the CLASS statement?

 

The answer I got from the gentelman is:

Questions like this are better suited for the Statistical Procedures forum.

 

You should start by reading the entire chapter on PROC MIXED.  The CLASS statement is for identifying variables that are represented by levels (e.g. race) rather than on a continuium (e.g. age); this is the way that the CLASS statement is used in all of the SAS stat procedures.

 

"Control" variables are another type of independent variable.  The SAS procedures don't treat them any differently, but the analyst thinks about them differently.  I see the term most often in epidemiology.  They are usually independent variables that effect the outcome but aren't the topic of interest in the analysis (e.g. In a general regression framework, someone might want to "examine the effect of BP on heart rate controlling for age.").  In MIXED, most control variables are fixed effects.

 

Finally- Can you help me by telling me which topics I have to read in order to find more knowledge on control variables in SAS (especially in PROC MIXED)

 

Thanks a lot for any help:

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

For starters read the documentation. 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_mixed_sect0...

 

The previous answer is correct, a CONTROL variable is an independent variable which can be continuous or categorical. 

The term CONTROL variable doesn't really exist within SAS. Is there something specific you're looking for, with regards to the variable/analysis?

 

 

View solution in original post

1 REPLY 1
Reeza
Super User

For starters read the documentation. 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_mixed_sect0...

 

The previous answer is correct, a CONTROL variable is an independent variable which can be continuous or categorical. 

The term CONTROL variable doesn't really exist within SAS. Is there something specific you're looking for, with regards to the variable/analysis?

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 5250 views
  • 2 likes
  • 2 in conversation