我正在分析有序逻辑回归,我想知道如何知道估计系数的方向?对于女性,男性,我的变量仅为0、1;对于不同姿势,我的变量仅为0、1、2、4。所以我的问题是,我怎么知道,如果估算值描述的是从0到1的变化或从1到0的变化,是关于性别的?
输出为PicSex加1,是否是一个信号,表明该信号具有1-> 0方向?参见相关代码。
谢谢您的帮助
Cumulative Link Mixed Model fitted with the Laplace approximation
formula: Int ~ PicSex + Posture + (1 | PicID)
data: x
Random effects:
Groups Name Variance Std.Dev.
PicID (Intercept) 0.0541 0.2326
Number of groups: PicID 16
Coefficients:
Estimate Std. Error z value Pr(>|z|)
PicSex1 0.3743 0.1833 2.042 0.0411 *
Posture -1.1232 0.1866 -6.018 1.77e-09 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
P.S.
Thank you here are my head results (I relabeled PicSex to Sex)
> head(Posture)
[1] 1 1 1 1 1 1
Levels: 0 1
> head(Sex)
[1] 0 0 0 0 0 0
Levels: 0 1
So the level order is the same,but on Sex it still added a 1 but on posture not. Still very confused about the directions.