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
910
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
860
Introduction_of_GoogleAnalytics_with_R
bk_18
2
930
web scraping with polite package
bk_18
2
720
start-salesforce-with-r
bk_18
0
800
Missspell Detection
bk_18
1
140
About Missing Values
bk_18
1
350
Other Decks in Programming
See All in Programming
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4.2k
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
170
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
200
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
1
440
Package Traits
ikesyo
1
210
Amazon Nova Reelの可能性
hideg
0
200
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.7k
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
Androidアプリの One Experience リリース
nein37
0
1.2k
HTML/CSS超絶浅い説明
yuki0329
0
190
asdf-ecspresso作って 友達が増えた話 / Fujiwara Tech Conference 2025
koluku
0
1.4k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
A Tale of Four Properties
chriscoyier
157
23k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Automating Front-end Workflow
addyosmani
1366
200k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Navigating Team Friction
lara
183
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Documentation Writing (for coders)
carmenintech
67
4.5k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
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ɹ