Skip to content

Commit

Permalink
Update mglmxls.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mwsohn committed Oct 11, 2024
1 parent e0a3fad commit 91c3822
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mglmxls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ function mglmxls(glmout,
t.merge_range(r+3,c+1,r+3,c+4,string(round(hl[1],digits=4)," (",hl[2],"); p = ",round(hl[3],digits=4)),formats[:p_fmt_center])

# ROC (c-statistic)
t.write(r+4,c,"Area under the ROC Curve",formats[:model_name])
_roc = ROC.AUC(ROC.roc(predict(glmout[i]), glmout[i].model.rr.y, true))
t.merge_range(r+4,c+1,r+4,c+4,round(_roc,digits=4),formats[:p_fmt_center])
# t.write(r+4,c,"Area under the ROC Curve",formats[:model_name])
# _roc = ROC.AUC(ROC.roc(predict(glmout[i]), glmout[i].model.rr.y, true))
# t.merge_range(r+4,c+1,r+4,c+4,round(_roc,digits=4),formats[:p_fmt_center])

r += 5
r += 4 # 5
end

# AIC & BIC
Expand Down

0 comments on commit 91c3822

Please sign in to comment.