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
起こりうる誤った推論/平均・分散・標準偏差・自由度 / Possible false infe...
Search
Kenji Saito
PRO
December 06, 2024
Technology
0
53
起こりうる誤った推論/平均・分散・標準偏差・自由度 / Possible false inferences, means, variances, standard deviations and degrees of freedom
早稲田大学大学院経営管理研究科「企業データ分析」2024 冬の第3-4回で使用したスライドです。
Kenji Saito
PRO
December 06, 2024
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
A Guide to Paper Writing Support with Generative AI - A Joint Zemi
ks91
PRO
0
6
正規分布と簡単な統計理論/t分布と信頼区間 / Normal distribution, simple statistical theory, t-distribution and confidence intervals
ks91
PRO
0
34
じわじわ迫ってきている自動化社会 (その先にメタ・ネイチャー) / The Slowly Approaching Automated Society (and its beyond: Meta-Nature)
ks91
PRO
0
6
LaTeX と Overleaf によるショートペーパー作成 / Short paper writing with LaTeX and Overleaf
ks91
PRO
0
15
R を用いた検定(補講) (1) — Welch 検定 / Tests using R (supplementary) (1) - Welch test
ks91
PRO
0
9
R を用いた検定(補講) (2) — カイ二乗検定 / Tests using R (supplementary) (2) - Chi-squared test
ks91
PRO
0
8
R を用いた分析(補講) (1) — 重回帰分析 / Analysis using R (supplementary) (1) - Multiple regression analysis
ks91
PRO
0
7
R を用いた分析(補講) (2) — 人工データの生成 / Analysis using R (supplementary) (2) - Generating artificial data
ks91
PRO
0
6
GPT-4 を用いたデータ分析 / Data analysis using GPT-4
ks91
PRO
0
10
Other Decks in Technology
See All in Technology
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
240
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
390
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
100
「モンスターストライク」の運営を支えるデータ分析基盤の歴史と進化 / History and evolution of the data analysis infrastructure supporting “Monster Strike” operations
mixi_engineers
PRO
3
100
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
160
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
250
Snowflake女子会#3 Snowpipeの良さを5分で語るよ
lana2548
0
200
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
コンテナセキュリティのためのLandlock入門
nullpo_head
2
300
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
140
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
1
230
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
Done Done
chrislema
181
16k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Transcript
Corporate data analysis — generated by Stable Diffusion XL v1.0
2024 3-4 (WBS) 2024 3-4 — 2024-12-09 – p.1/32
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2024-winter 2024 3-4 — 2024-12-09 – p.2/32
( ) 1 12 2 • 2 12 2 (B
A ) • 3 12 9 • 4 12 9 • 5 12 16 6 12 16 t 7 12 23 2 ( ) t 8 12 23 2 ( ) t 9 1 6 P 10 1 6 11 1 20 12 1 20 13 1 27 14 1 27 W-IOI 2024 3-4 — 2024-12-09 – p.3/32
( 20 25 ) 1 (20 ) • 2 R
( 55 ) • 3 (32 ) • 4 (14 ) • 5 ( Git) (22 ) • 6 ( ) (24 ) • 7 (1) (25 ) • 8 (2) (25 ) • 9 R ( ) (1) — Welch (17 ) • 10 R ( ) (2) — (21 ) • 11 R ( ) (1) — (15 ) • 12 R ( ) (2) — (19 ) • 13 GPT-4 (19 ) • 14 GPT-4 (29 ) • 15 ( ) LaTeX Overleaf (40 ) • 8 (12/16 ) / (2 ) OK / 2024 3-4 — 2024-12-09 – p.4/32
(B A ) 1 ( ) 2 (Wilcoxon-Mann-Whitney ) 2024
3-4 — 2024-12-09 – p.5/32
3 1 ( ) 2 ( ) 1 2 4
σ2 σ s2 s df 2024 3-4 — 2024-12-09 – p.6/32
2024 3-4 — 2024-12-09 – p.7/32
1. (1) (2) 2024 12 5 ( ) 23:59 JST
( ) Waseda Moodle (Q & A ) 2024 3-4 — 2024-12-09 – p.8/32
. . . . . . 17 17 (12/6( )
) ( ) . . . 5 ( . . .) ( ) . . . 5 ( ) . . . 6 (2 ) R ^^; ( ) ( ) ( ) (1) 2024 3-4 — 2024-12-09 – p.9/32
(1) sqrt ( ) ^2 ( ) ( 3 )
(2) ( ) (3) 1 2 p (p WMW ) 16 ( ) 6 50% (← be ambitious!) 5% (← 2 ) 2024 3-4 — 2024-12-09 – p.10/32
( 50% ) 0 5 10 15 0.00 0.05 0.10
0.15 0.20 0.25 ᳨ฟᅇᩘ ☜⋡ 6 . . . 2024 3-4 — 2024-12-09 – p.11/32
H ⇒ ( : ) ( : ) 2024 3-4
— 2024-12-09 – p.12/32
I ( ) ex (P ) ( 5% or 1%
) ⇒ ⇒ ⇒ ⇒ ( ) 2024 3-4 — 2024-12-09 – p.13/32
Git Git ( GPL) GitHub Git ( ) RStudio pull
( ) Git (OS ) Linux : ( OK) macOS : Xcode (Apple ; App Store ) Windows : https://gitforwindows.org OK https://github.com/ks91/cda-demo ( ) 2024 3-4 — 2024-12-09 – p.14/32
U R ⇒ ( ) ( ) ( ) (
) : https://qiita.com/morayl/items/7d3a06d79fe2ab542b39 2024 3-4 — 2024-12-09 – p.15/32
H R WBS ⇒ R R 2024 3-4 — 2024-12-09
– p.16/32
R ⇒ D R ( ) × * ÷ /
xy x^y ( ) √ x sqrt(x) (function; ) ( 1 , 2 ,. . .) sqrt(9) + sqrt(16) ( ) <- ( ) ( ) x <- x + 1 x 1 ( ) 2024 3-4 — 2024-12-09 – p.17/32
R ( ) ⇒ D R " " T (true;
) F (false; ) c( 1 , 2 , . . .) ( ) 10 x x[1:3] 1 3 ( 1:100 1 100 ) a.b . . . . R R Source “ D.R” . . . ra <- sum(df[df$group == " ", "rank"]) ⇒ df group rank ra ( == ) 2024 3-4 — 2024-12-09 – p.18/32
“ D.R” ‘sum(. . .)’ # sum(df[df$group == " ",
"rank"]) ... <- 0 i <- 1 # while (i df ) { # if ((df i group ) == " ") { <- + (df i rank ) } i <- i + 1 } 2024 3-4 — 2024-12-09 – p.19/32
O R web ⇒ ( ) https://okumuralab.org/∼okumura/stat/ L A TEX(
/ ) ( ) R R (RStudio) ( ) 2024 3-4 — 2024-12-09 – p.20/32
N AI GPT ⇒ GPT Python R R ( (
) ) 2024 3-4 — 2024-12-09 – p.21/32
H ⇒ 2024 3-4 — 2024-12-09 – p.22/32
3 1 ( ) 2 ( ) 1 2 2024
3-4 — 2024-12-09 – p.23/32
100% 2 1 ( ( ) ) 2 ( (
) ) 2 1 1 α (α ) ( ) 2 β (β ) α n p 1 − β (power) 2024 3-4 — 2024-12-09 – p.24/32
3 “ .R” 3 bidist(n, p) : binull(n, p) :
5% bidistg(n, p0, p) : p0 p ( n = 20) p = 0.6 p = 0.2 p = 0.4 p = 0.8 p = 0.7 2024 3-4 — 2024-12-09 – p.25/32
0 5 10 15 20 0.00 0.05 0.10 0.15 0.20
᳨ฟᅇᩘ ☜⋡ 0 5 10 15 20 0.00 0.05 0.10 0.15 0.20 p = 0.2 2024 3-4 — 2024-12-09 – p.26/32
4 σ2 σ s2 s df 2024 3-4 — 2024-12-09
– p.27/32
(parameter; ) ( ) µ, σ2, σ (statistic) ( )
x, s2, s (degree of freedom) ( ) df = n− k 2024 3-4 — 2024-12-09 – p.28/32
E ( p.106) 8 “ E.R” R ‘var(. . .)’,
‘sd(. . .)’ x sqrt(sd(x)^2*(length(x) - 1)/length(x)) 2024 3-4 — 2024-12-09 – p.29/32
2024 3-4 — 2024-12-09 – p.30/32
2. 1 2 (1) 1 2 (2) 2023 12 12
( ) 23:59 JST ( ) Waseda Moodle (Q & A ) (1) Discord 2024 3-4 — 2024-12-09 – p.31/32
2024 3-4 — 2024-12-09 – p.32/32