BookmarkSubscribeRSS Feed
liiiiiiiib
Calcite | Level 5

I am using proc surveylogistic to analyze the relationship between independent variables and dependent variables, and I want to control variables such as gender and age. What statement is more appropriate ? 

proc surveylogistic data=sasuser.nsleepall2 nomcar varmethod=taylor;
strata sdmvstra; cluster sdmvpsu; weight wtmec14yr;domain sub;
class slptimecat(param=ref ref="2") ;
model microcat(desc)=slptimecat/vadjust=none; /*how to add opptions?*/
title "relationship between micro and slp";
run;
1 REPLY 1
StatDave
SAS Super FREQ
Simply include gender and age as predictors in your model.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 277 views
  • 0 likes
  • 2 in conversation