Hi there, I am modeling an outcome with multiple covariates (GENMOD, logistic regression). However, my parameter estimates table is dropping out an entire variable from the table that is in my model. I know there are no missing observations because I have selected only complete cases in my dataset.
Hoping to understand why I'm not getting the variable 'fever' in my final output estimates table? Also, if it's not in the table, is it at least being adjusted for in the results?
Thanks.
proc genmod data = hospital; class age (ref='X') pathogen_new (ref='X') diarrhea (ref='NO') bloodydiarr (ref='NO') fever (ref='NO') specimen (ref='X') / param=ref; model hospital (event='YES') = age pathogen_new diarrhea bloodydiarr fever / dist = bin link = log; format age Agefull. specimen $source_cllp.; run;
The output reflects the model. You have
age pathogen_new diarrhea bloodydiarr fever
as your right hand side variables, and that is what shows in your output. Until you add "specimen" to the model, it will not appear in the output.
I suspect that fever is confounded completely with at least one other variable (this looks like a good question for @StatDave ).
SteveDenham
Show the log.
The output reflects the model. You have
age pathogen_new diarrhea bloodydiarr fever
as your right hand side variables, and that is what shows in your output. Until you add "specimen" to the model, it will not appear in the output.
I suspect that fever is confounded completely with at least one other variable (this looks like a good question for @StatDave ).
SteveDenham
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.