Skip to content

fixedLassoInf (error in output) #50

@Hayden-L-Smith

Description

@Hayden-L-Smith

When using "selectiveInference" after fitting a binary outcome in a LASSO model, I have noticed an error in the output when printing the generated object for the fixedLassoInf function. In particular, for protective covariates with both the "conf.low" and "conf.high" values below "1", the confidence interval values are missing the "-" sign. I looked in the code and was unable to see where this is happening at. For an example see below output for var 5 and 12.

 Var   Coef Z-score P-value LowConfPt UpConfPt LowTailArea UpTailArea
   1  0.408   5.033   0.002     0.211    0.542       0.049      0.048
   2  0.588   6.454   0.000     0.375    0.737       0.049      0.050
   3  0.085   1.198   0.215    -0.107    0.286       0.050      0.049
   4  0.345   4.783   0.014     0.102    0.461       0.049      0.048
   5 -0.444  -5.662   0.000     **0.314    0.573**       0.049      0.049
   6  0.094   1.377   0.169    -0.075    0.207       0.049      0.050
   7  0.346   4.944   0.000     0.231    0.463       0.050      0.049
   8  0.031   0.431   0.673    -0.486    0.131       0.050      0.048
   9  0.014   0.216   0.924    -2.283    0.036       0.050      0.049
  10  0.135   1.890   0.056    -0.007    0.346       0.049      0.050
  11  0.249   3.477   0.071    -0.036    0.362       0.049      0.049
  12 -0.174  -2.389   0.017     **0.042    0.301**       0.049      0.049

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions