Thank you so much!
Thank you very much for the attention and guidance of every expert.
For example, xgra is a three-category variable, divided into categories 1, 2, and 3. And xindl is a binary variable, divided into categories 0 and 1.
They are the two variables in our logistic analysis.
Y is a dependent variable divided into two categories, 0 and 1.
This our SAS code for the example data :
* proc logistic descending data=s1;
class xgra(ref="1") xindl(ref="0");
model y=xgra xindl;
run; *
And we upload figure1-2 for the result of SAS (figure1) and SPSS(figure2), respectively.
The content in the red box represents the p-value results of the multi-class variable xgra .
Although the results of the odds ratio are the same for both software, we can observe that the p-value results from the two software are not the same, even opposite (one is significant while the other is not significant).
... View more