结果给出来的有Coefficients的对吧,
看显著性的话,就看Pr(>|z|)后面的小星星
显著性:
0 ‘***’
0.001 ‘**’
0.01 ‘*’
0.05 ‘.’ #介个似95%显著性
0.1 ‘ ’
要画图还要面积的话——
用analogue包里的plot.roc()
例子是这样滴~
plot(x,
which = c(1:3,5),
group = "Combined",
prior = NULL,
show.stats = TRUE,
abline.col = "grey",
abline.lty = "dashed",
inGroup.col = "red",
outGroup.col = "blue",
lty = "solid",
caption = c("ROC curve", "Dissimilarity profiles",
"TPF - FPF vs Dissimilarity",
"Likelihood ratios"),
legend = "topright",
ask = prod(par("mfcol")) < length(which) && dev.interactive(),
...)
这个结果会有AUC,在图里面给。