決定曲線分析

決定曲線分析(DCA)テンプレート。予測モデルの臨床的有用性を評価。

DCA決定曲線ネットベネフィット
決定曲線分析

R Code (ggplot2)

library(ggplot2)

# ---- Decision Curve Analysis ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Threshold probability", limits = c(0, 1)) +
  scale_y_continuous(name = "Net benefit", limits = c(-0.1, 0.5)) +
  labs(title = "Decision Curve Analysis") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))