Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
データ不足に数理モデルで立ち向かう / Japan.R 2023
Search
森下光之助
December 02, 2023
Marketing & SEO
9
5k
データ不足に数理モデルで立ち向かう / Japan.R 2023
2023年12月2日に行われたJapan.R 2023での発表資料です
https://japanr.connpass.com/event/302622/
森下光之助
December 02, 2023
Tweet
Share
More Decks by 森下光之助
See All by 森下光之助
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
590
回帰分析ではlm()ではなくestimatr::lm_robust()を使おう / TokyoR100
dropout009
27
9.1k
Counterfactual Explanationsで機械学習モデルを解釈する / TokyoR99
dropout009
3
2.8k
『機械学習を解釈する技術』の紹介 / Devsumi2022
dropout009
2
3.3k
シンプルな数理モデルでビジネス課題を解決する / Japan.R 2021
dropout009
2
5.8k
テレビCMのユニークリーチを最適化する / PyData.Tokyo24
dropout009
0
1.6k
Accumulated Local Effects(ALE)で機械学習モデルを解釈する / TokyoR95
dropout009
3
8k
データ分析手法をシミュレーションを通して理解する / stapy74
dropout009
3
1.7k
『機械学習を解釈する技術』を紹介する / itbookslt
dropout009
4
21k
Other Decks in Marketing & SEO
See All in Marketing & SEO
VALUE FIRST 2025-2026 RECRUIT
hrdivision
PRO
3
100
How to Evolve your SEO Strategy to Account for Gemini and other AI search functions
amandafloq
0
180
Tips avanzados para optimizar tus fichas de producto
rocioseo
0
420
International SEO Forecasting - How to Determine the Investment Needed and the Potential Returns When Entering New Markets (James Brockbank, International Search Summit 2024)
brockbankjames
0
520
Creating data-driven SEO apps with AI - Brighton SEO
michaelvdr
0
230
AI-Powered Search from SMX Advanced Berlin
ipullrank
4
1.4k
The untapped benefits of keyword clustering - Andy Chadwick - SearchNorwich 17
searchnorwich
1
120
Audience-centric planning and creative personas: a strategic approach to relevancy
sophiecoley
0
510
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
560
Beyond Algorithms: customer-centric SEO as the key to long-term success
julianhooks
0
120
SEO Localization: From basics to best practices
raquelgonzalezseo
1
150
Using Python to create 1000 GSC properties in 3 seconds! BrightonSEO Oct. 2024
saji
2
260
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
65
4.5k
Raft: Consensus for Rubyists
vanstee
136
6.7k
Why Our Code Smells
bkeepers
PRO
334
57k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
It's Worth the Effort
3n
183
27k
We Have a Design System, Now What?
morganepeng
51
7.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Statistics for Hackers
jakevdp
796
220k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
What's in a price? How to price your products and services
michaelherold
243
12k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Transcript
2023/12/02 Japan.R 2023 #JapanR @dropout009
REVISIO CDO X: @dropout009 Speaker Deck: dropout009 Blog: https://dropout009.hatenablog.com/
None
None
CM • • CM ⾒ • CM
• GRP TRP • CM ⾒ • CM ⾒ •
• CM 1 ⾒ • CM 2 1 2 3 4 5 A 1 0 1 0 1 B 0 1 0 1 0 C 1 1 1 0 1 D 0 0 1 0 0 E 0 0 0 0 0 2 (40%) 4 (80%) 7 (140%) 8 (160%) 10 (200%) 2 (40%) 3 (60%) 4 (80%) 4 (80%) 4 (80%)
• • CM × 1% 1 1
• 206% 10 2,060 69.7%
• • 0 0 頻 ⾒ 100% lm(y ~ 0
+ x) lm(y ~ 0 + log1p(x))
• •
None
l 𝑔 l CM 𝐹 Pr 𝐹 = 𝑓 ∣
𝑔 l CM 1 ⾒ 𝑟 𝑔 = Pr 𝐹 ≥ 1 ∣ 𝑔 = 1 − Pr 𝐹 = 0 ∣ 𝑔 Pr 𝐹 = 𝑓 ∣ 𝑔 𝑟 𝑔 CM
l Poisson 𝑓 𝜆 = 1 Γ 𝑓 + 1
𝜆!𝑒"# l 𝜆 𝑔 𝜆 = 𝑔 𝑟 𝑔 = 1 − Pr 𝐹 = 0 ∣ 𝑔 = 1 − 1 Γ 0 + 1 𝑔$𝑒"% = 1 − 𝑒"% dpois(f, lambda) Poisson(𝑓 ∣ 𝜆 = 5) Poisson(𝑓 ∣ 𝜆 = 3) 1 - dpois(0, g) Poisson(𝑓 ∣ 𝜆 = 2)
l 𝑟 𝑔 = 1 − 𝑒"%
l CM ⾒ CM CM CM CM Poisson(𝑓 ∣ 𝜆
= 2.06) CM
None
l CM CM CM l CM 𝜆 CM 𝜆 CM
⾒ 𝜆 Poisson(𝑓 ∣ 𝜆 = 2) Poisson(𝑓 ∣ 𝜆 = 3) Poisson(𝑓 ∣ 𝜆 = 5)
l ⾒ ⾒ 𝜆 l 𝜆 頻 𝜆 l 𝜆
Gamma 𝜆 ∣ 𝜈, 𝜈 𝜇 = 𝜈 𝜇 & Γ 𝜈 𝜆&"'𝑒" & (# E 𝜆 = 𝜇 𝜆 dgamma(nu, nu / mu) Gamma 𝜆 ∣ 1, 1 2 Gamma 𝜆 ∣ 4, 4 2 Gamma 𝜆 ∣ 16, 16 2 𝜆 𝜆
l 𝜆 ⾒ 𝜆 Pr 𝐹 = 𝑓 ∣ 𝜇,
𝜈 = ; $ ) Pr 𝐹 = 𝑓 ∣ 𝜆 𝑝 𝜆 𝜇, 𝜈 𝑑𝜆 = ; $ ) Poisson 𝑓 ∣ 𝜆 Gamma 𝜆 𝜈, 𝜈 𝜇 𝑑𝜆 = ; $ ) 1 Γ 𝑓 + 1 𝜆!𝑒"# 𝜈 𝜇 & Γ 𝜈 𝜆&"'𝑒" & (# 𝑑𝜆 = 𝜈 𝜇 & Γ 𝑓 + 1 Γ 𝜈 ; $ ) 𝜆&*!"'𝑒" &"( ( # 𝑑𝜆 = 𝜈 𝜇 & Γ 𝑓 + 1 Γ 𝜈 Γ 𝜈 + 𝑓 𝜈 + 𝜇 𝜇 &*! ; $ ) 𝜈 + 𝜇 𝜇 &*! Γ 𝜈 + 𝑓 𝜆&*!"'𝑒" &*( ( # 𝑑𝜆 = Γ 𝜈 + 𝑓 Γ 𝑓 + 1 Γ 𝜈 𝜈 𝜈 + 𝜇 & 𝜇 𝜈 + 𝜇 ! = , ! " Gamma 𝜆 𝜈 + 𝑓, 𝜈 + 𝜇 𝜇 𝑑𝜆 = 1
l ⾒ Negative Binomial Distribution; NBD NB 𝑓 𝜇, 𝜈
= Γ 𝜈 + 𝑓 Γ 𝑓 + 1 Γ 𝜈 𝜈 𝜈 + 𝜇 & 𝜇 𝜈 + 𝜇 ! NB 𝑓 2.06,1 NB 𝑓 2.06,3 NB 𝑓 2.06,10 dnbinom(f, mu = mu, size = nu)
l ⾒ 𝑟 𝑔, 𝜈 = 1 − Pr 𝐹
= 0 ∣ 𝑔, 𝜈 = 1 − Γ 𝜈 + 0 Γ 0 + 1 Γ 𝜈 𝜈 𝜈 + 𝑔 & 𝑔 𝜈 + 𝑔 $ = 1 − 𝜈 𝜈 + 𝑔 & l 𝜈 1 - dnbinom(0, mu = g, size = nu) 𝑟 𝑔, 1 𝑟 𝑔, 3 𝑟 𝑔, 10
l 𝑟 𝑔, 𝜈 𝜈 𝜈 l 𝑟+ 𝑔+ ̂
𝜈 ̂ 𝜈 = argmin & 1 − 𝜈 𝜈 + 𝑔+ & − 𝑟′ l ̂ 𝜈 𝑟 𝑔, ̂ 𝜈 = 1 − ̂ 𝜈 ̂ 𝜈 + 𝑔 , & CM CM
l 1 ⾒ CM 3 CM ⾒ l CM 𝑓
⾒ 𝑓 + l 𝑓 + 𝑟!* 𝑔, 𝜈 = Pr 𝐹 ≥ 𝑓 ∣ 𝑔, 𝑣 = 1 − Pr 𝐹 ≤ 𝑓 − 1 ∣ 𝑔, 𝜈 = 1 − E !!-$ !"' Γ 𝜈 + 𝑓+ Γ 𝑓+ + 1 Γ 𝜈 𝜈 𝜈 + 𝑔 & 𝑔 𝜈 + 𝑔 !! 𝑓 𝑓 + 𝑟!" 𝑟#" 𝑟$" 1 - pnbinom(f - 1, mu = g, size = nu)
None
l l l l ⾒
• Goerg, Georg M. "Estimating reach curves from one data
point." (2014).