Hello
i am using proc surveyreq because my data is survey data (complex survey design) i am using (health and retirement study data).
my hypothesis is there is association between medication regimen complexity and cognitive status in older adults
The code is below but the problem is when i run the code, i can see a note in the result section that seems that something is wrong,
proc surveyreg data=transform;
class a4dl i4adl gender m4s yearsofedu i4ncome race h7ealth c7over h4osstay c4ondition d4ep l4iving;
model logc4omp= R7COGTOT R7AGEY_B gender m4s yearsofedu i4ncome race h7ealth c7over h4osstay c4ondition d4ep l4iving a4dl i4adl / solution adjrsq;/*putt all of the here cont and cata*/
cluster raehsamp;
strata raestrat;
weight r7wtresp;
output out=surveyreg r=r p=p;
/*proc gplot data= surveyreg; plot r*p;*/
run;
this is what i see, do i ignore it or i need to fix something ?
Note: |
The denominator degrees of freedom for the t tests is 52. |
how I fix the problem ?
Note: I've edited your post to clarify your subject and format your code. I've also moved it into the Statistical Procedures forum (like before). In general, it's not a great idea to post duplicate questions.
You can basically ignore the message and. It is a result of using the CLASS statement and the necessity of creating a series of dummy variables. SURVEYREG over-parameterizes the model such that it sets the last level to zero, essentially making it a reference category, and then estimates the other parameters as compared to the referent.
It is more thoroughly explained in this usage note
http://support.sas.com/kb/22585
Although that refers specifically to Proc GLM, what is said holds for SURVEYREG as well.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.