Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Befriending Kurtosis with R
Search
bk
October 07, 2023
Programming
1
890
Befriending Kurtosis with R
bk
October 07, 2023
Tweet
Share
More Decks by bk
See All by bk
tidy_rpart
bk_18
1
1.3k
dotdotdot_in_predict_function
bk_18
1
820
Introduction_of_GoogleAnalytics_with_R
bk_18
2
910
web scraping with polite package
bk_18
2
700
start-salesforce-with-r
bk_18
0
780
Missspell Detection
bk_18
1
140
About Missing Values
bk_18
1
340
Other Decks in Programming
See All in Programming
Remix on Hono on Cloudflare Workers
yusukebe
1
280
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
as(型アサーション)を書く前にできること
marokanatani
10
2.6k
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
330
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
subpath importsで始めるモック生活
10tera
0
300
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
580
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
120
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
C++でシェーダを書く
fadis
6
4.1k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
88
5.7k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Speed Design
sergeychernyshev
24
610
Building an army of robots
kneath
302
43k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
RailsConf 2023
tenderlove
29
900
Six Lessons from altMBA
skipperchong
27
3.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Adopting Sorbet at Scale
ufuk
73
9.1k
Transcript
ʙ ՄࢹԽύοέʔδͰઑͱٔΕΔʙ ઑͱྑ͘ͳΓ͍ͨ
࣍ 2 ઑͱ ϕʔλͱ ઑΛՄࢹԽͯ͠ΈΔ ·ͱΊ ࢀߟจݙ ɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾ p.3,4 p.5-7
p.8-16 p.17,18 ɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾ ɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾ ɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾ ɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾ p.19 B
ઑͱ
ઑͱ 4 ֬ͷ, ઑΓͷఔΛද͢ࢦඪఆٛͰ͖Δ. ͢ͳΘͪ, ࢛ͷظ , த৺ͷपғͷ෦ͷઑΓ۩߹Λද͢. α4 =
E(x − μ)4 σ4 ౦ژେֶڭཆֶ෦౷ܭֶڭࣨ. ʰ౷ܭֶೖʱ. ౦ژେֶग़൛ձ, 1991-07-10 *ਖ਼نͷઑͰ͋Δ3ΛҾ͍ͯɺ0Λج४ʹ͢Δ߹͋Δɻ ࠓճ3ΛҾ͔ͣɺ্هͷࢦඪΛͦͷ··༻͢Δɻ
B ϕʔλͱ
ϕʔλͱ 6 ۩ମతͳઑΛࢉग़͢ΔͨΊʹɺઑΛٻΊΔΛஔ͘ɻ ࠓճ2ͭͷΛ࣋ͪɺܗঢ়͕ॊೈͳϕʔλΛѻ͏ɻ ͔ΒͬΆͷ͠ΐ͜. ʮʲRʳϕʔλͷ࡞ਤʯ. https://www.anarchive-beta.com/entry/2022/07/02/210203
ϕʔλͷύϥϝʔλมԽͱઑ 7 alphaͱઑʢkurtosisʣͷؔΛਤࣔɻ y࣠ʹுΓ͍ͨܗͷઑେ͖͍͕ɺҰҰ༷ʹ͍ۙͮͯখ͘͞ͳΓɺ ͦͷޙਖ਼نʹ͖ۙͮͳ͕Β؇͔ʹେ͖͘ͳΔɻ
ઑΛՄࢹԽͯ͠ΈΔ
ઑͷࣜΛղ 9 ϕʔλͷઑΛՄࢹԽͰ͖ΔΑ͏ʹղ͢Δɻ ࢠฏۉपΓͷ4࣍Ϟʔϝϯτɻੵͷܗʹ͢Δͱภࠩͷ4ͱ֬ີؔɻ ࢄͷ2ɻࠓճ͋·Γ৮Εͳ͍ɻ E[(x − μ)4] σ4 =
∫ (x − μ)4 f(x) dx σ4
alpha=6.1ͷ 10 alpha=6.1ɺbeta=2ͷϕʔλͰઑΛՄࢹԽ͍ͯ͘͠ɻ
alpha=6.1ͷภࠩͷ4ͱ֬ີؔ 11 ઑͷࢠʹ͋Δภࠩͷ4ͱ֬ີؔΛਤࣔɻ ࢠ͜ΕΒͷֻ͚߹ΘͤʹͳΔɻ (x − μ)4 f(x) ∫ (x
− μ)4 f(x) dx σ4 f(x) (x − μ)4
alpha=6.1ͷภࠩͷ4ͱ֬ີؔ 12 ࢠͷܭࢉΛਐΊͯɺภࠩͷ4ͱ֬ີؔΛֻ͚ͨؔΛϓϩοτɻ ฏۉपΓภࠩͷ4͕0ʹۙͮͨ͘Ίɺ͕খ͘͞ͳΔɻ ฏۉ͔ΒΕɺ֬ີؔߴΊͳ0.25ʙ0.5͋ͨΓͷ͕େ͖͘ͳΔɻ mean ∫ (x − μ)4
f(x) dx σ4 (x − μ)4 f(x) (x − μ)4 f(x)
alpha=0.14ͷ 13 ࣍ʹalpha=0.14ɺbeta=2ͷϕʔλͰઑΛՄࢹԽ͢Δɻ ࢄઌ΄Ͳͷalpha=6.1ͷͱɺ0.02લޙͰ΄΅มΘΒͳ͍ɻ
alpha=0.14ͷภࠩͷ4ͱ֬ີؔ 14 alpha=6.1Ͱݟ͖ͯͨͷͱಉ༷ʹɺ֬ີؔͱภࠩͷ4ΛՄࢹԽɻ ภࠩͷ4ͷมԽ͕ݟ͍͢Α͏ʹɺॎ࣠ͷεέʔϧΛ0ʙ3ʹௐ͍ͯ͠Δɻ (x − μ)4 f(x) ∫ (x
− μ)4 f(x) dx σ4 f(x) (x − μ)4
alpha=0.14ͷภࠩͷ4ͱ֬ີؔ 15 ภࠩͷ4ͱ֬ີؔΛֻ͚ͨͷΛਤࣔɻ ฏۉ0͔Βগ͠ΕΔͨΊɺy࣠ۙͰ͕ٸʹ্͕Δɻ ·ͨɺฏۉ͔ΒΕͨП0.5ʙ1.0ͷؒͷ͕େ͖͍ɻ (x − μ)4 f(x) mean
∫ (x − μ)4 f(x) dx σ4 (x − μ)4 f(x)
alpha=6.1ͱalpha=0.14ͷൺֱ 16 alpha=6.1ͱ0.14ͷภࠩͷ4ͱ֬ີؔΛֻ͚ͨͷΛಉ࣌ʹՄࢹԽɻ alpha=0.14ͷฏۉ͔ΒΕͨ0.75ۙͰ͕େ͖͍ɻ શମͰɺalpha=6.1ΑΓalpha=0.14ͷํ͕ઑ͕େ͖͍ͱ͍͏݁Ռʹɻ ∫ (x − μ)4 f(x)
dx σ4 (x − μ)4 f(x)
·ͱΊ
·ͱΊ 18 ɾઑ͕େ͖͍ɺͱʁ ͷฏۉपΓͷີ͕ബ͘ɺ ฏۉ͔ΒΕͨ෦ͷີ͕ް͍͜ͱ ɾRݴޠͷՄࢹԽύοέʔδͰཧղΛਂΊΔ ɾggplot2 ɾgganimate ɾgghighlight
ࢀߟจݙ 19 •౦ژେֶڭཆֶ෦౷ܭֶڭࣨ. ʰ౷ܭֶೖʱ. ౦ژେֶग़൛ձ, 1991-07-10 • ͔ΒͬΆͷ͠ΐ͜, ʮʲRʳϕʔλͷ࡞ਤʯ, https://www.anarchive-beta.com/entry/2022/07/02/210203
• ౷ܭֶʮઑʯ Kurtosis, https://www.youtube.com/watch?v=iEOE3OCuB8U • ֬ ߨٛ #003 Ϟʔϝϯτؔ, https://www.youtube.com/watch?v=tZl8M96m46Y • ΞΠίϯૉࡐμϯϩʔυαΠτʮicooon-monoʯ, https://icooon-mono.com/
Eɹnɹjɹoɹyɹ