Trực quan hóa Logistic GAMs

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Noam Ross

Senior Research Scientist, EcoHealth Alliance

Biến đổi thang đo

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Biểu đồ log-odds

plot(binom_mod)

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Chuyển đổi hiệu ứng riêng phần

plot(binom_mod, pages = 1, trans = plogis)

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Chuyển đổi hiệu ứng riêng phần (2)

plot(binom_mod, pages = 1, trans = plogis)

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Thêm hệ số chặn

plot(binom_mod, pages = 1, trans = plogis,
     shift = coef(binom_mod)[1])

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Thêm hệ số chặn (2)

plot(binom_mod, pages = 1, trans = plogis,
     shift = coef(binom_mod)[1])

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Tính đến độ bất định của hệ số chặn

plot(binom_mod, pages = 1, trans = plogis,
     shift = coef(binom_mod)[1],
     seWithMean = TRUE)

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Cải thiện biểu đồ

plot(binom_mod, pages = 1, trans = plogis, shift = coef(binom_mod)[1],
     seWithMean = TRUE, rug = FALSE, shade = TRUE, 
     shade.col = "lightgreen", col = "purple")

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Cùng luyện tập nào!

Mô hình hóa phi tuyến với Generalized Additive Models (GAMs) trong R

Preparing Video For Download...