การแสดงภาพ Logistic GAMs

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

Noam Ross

Senior Research Scientist, EcoHealth Alliance

การแปลงสเกล

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

กราฟ Log-odds

plot(binom_mod)

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

การแปลง Partial Effects

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

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

การแปลง Partial Effects (2)

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

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

การเพิ่ม Intercept

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

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

การเพิ่ม Intercept (2)

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

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

การรวมความไม่แน่นอนของ Intercept

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

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

การปรับปรุงกราฟ

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

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

มาฝึกกันเถอะ!

การสร้างโมเดลแบบไม่เชิงเส้นด้วย Generalized Additive Models (GAMs) ใน R

Preparing Video For Download...