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
多重比較/相関分析 / Multiple Comparison and Correlation...
Search
Kenji Saito
PRO
January 18, 2025
Technology
0
44
多重比較/相関分析 / Multiple Comparison and Correlation Analysis
早稲田大学大学院経営管理研究科「企業データ分析」2024 冬の第11-12回で使用したスライドです。
Kenji Saito
PRO
January 18, 2025
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
アカデミーキャンプ 2025冬「考えるのは奴らだ」 / Academy Camp 2025 Winter - Live and Let Think DAY 3
ks91
PRO
0
32
アカデミーキャンプ 2025冬「考えるのは奴らだ」 / Academy Camp 2025 Winter - Live and Let Think DAY 2
ks91
PRO
0
35
アカデミーキャンプ 2025冬「考えるのは奴らだ」 / Academy Camp 2025 Winter - Live and Let Think DAY 1
ks91
PRO
1
63
インクルーシブな社会へ / Toward an Inclusive Society
ks91
PRO
0
10
P 値と有意差/分散分析 / P-value, Significant Difference and Analysis of Variance
ks91
PRO
0
49
関連2群のt検定/独立2群のt検定 / Related 2-group t-test and independent 2-group t-test
ks91
PRO
0
65
A Guide to Paper Writing Support with Generative AI - A Joint Zemi
ks91
PRO
0
18
正規分布と簡単な統計理論/t分布と信頼区間 / Normal distribution, simple statistical theory, t-distribution and confidence intervals
ks91
PRO
0
50
じわじわ迫ってきている自動化社会 (その先にメタ・ネイチャー) / The Slowly Approaching Automated Society (and its beyond: Meta-Nature)
ks91
PRO
0
20
Other Decks in Technology
See All in Technology
Unsafe.BitCast のすゝめ。
nenonaninu
0
190
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
180
[IBM TechXchange Dojo]Watson Discoveryとwatsonx.aiでRAGを実現!事例のご紹介+座学②
siyuanzh09
0
110
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
320
2025年に挑戦したいこと
molmolken
0
140
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
190
深層学習と3Dキャプチャ・3Dモデル生成(土木学会応用力学委員会 応用数理・AIセミナー)
pfn
PRO
0
450
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
240
Fabric 移行時の躓きポイントと対応策
ohata_ds
1
150
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
120
AWS re:Invent 2024 recap in 20min / JAWSUG 千葉 2025.1.14
shimy
1
100
Evolving Architecture
rainerhahnekamp
3
250
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
Building Your Own Lightsaber
phodgson
104
6.2k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
The Invisible Side of Design
smashingmag
299
50k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
A better future with KSS
kneath
238
17k
What's in a price? How to price your products and services
michaelherold
244
12k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
950
The World Runs on Bad Software
bkeepers
PRO
66
11k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Transcript
Corporate data analysis — generated by Stable Diffusion XL v1.0
2024 11-12 (WBS) 2024 11-12 — 2025-01-20 – p.1/29
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2024-winter 2024 11-12 — 2025-01-20 – p.2/29
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 11-12 — 2025-01-20 – p.3/29
( 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 11-12 — 2025-01-20 – p.4/29
2 2 t 1 9 P P 10 H0 HA
k, N, ¯ ¯ x σ2 ( )MSwithin ( )MSbetween MStotal F F 2024 11-12 — 2025-01-20 – p.5/29
11 — 2 t FWER (Family-Wise Error Rate) Bonferroni (
2 t ) / Tukey-Kramer q 12 / r sxy vs. 2024 11-12 — 2025-01-20 – p.6/29
2024 11-12 — 2025-01-20 – p.7/29
5. (1) ( ) (2) 2025 1 16 ( )
23:59 JST ( ) Waseda Moodle (Q & A ) (1)(2) Discord 2024 11-12 — 2025-01-20 – p.8/29
. . . . . . 17 16 (1/17( )
) ( ) → 16 ( ) → 11 ( ) ( ) → 2 → 3 ← ( ) ( ^^;) ↑ 2024 11-12 — 2025-01-20 – p.9/29
( ) F = / ⇒ ( ) F =
MSbetween MSwithin . . . [ ] . . . . . . [ ] ⇒ 2024 11-12 — 2025-01-20 – p.10/29
O (1/n) 3 1. ∗ 40 4 * 2. ∗∗
** 3. 2024 11-12 — 2025-01-20 – p.11/29
O (2/n) 1 1 ⇒ 2024 11-12 — 2025-01-20 –
p.12/29
O (3/n) (n = 3) 1. 2. ( ) (
-1 ) 3. F F = ( ) ( ) 4. F F F F F 5% F ⇒ →( ) → 2024 11-12 — 2025-01-20 – p.13/29
K ⇒ p.228 10-17 2024 11-12 — 2025-01-20 – p.14/29
H ⇒ (research question) . . . R 7.3 7.4
7.5 1 2024 11-12 — 2025-01-20 – p.15/29
H ⇒ : https://www.nikkei-r.co.jp/pollsurvey/method.html 2024 11-12 — 2025-01-20 – p.16/29
K ⇒ : https://www.mgt.ous.ac.jp/about/management/lecture/lecture_d-02/ ↑ p p ± 1.96 p(1
− p) n 2024 11-12 — 2025-01-20 – p.17/29
p 95% : https://bellcurve.jp/statistics/course/9122.html n . . . µ 95%
(1)( 6 ) p 95% (2) x − 1.96 × σ √ n ≤ µ ≤ x + 1.96 × σ √ n (1) ˆ p − 1.96 × ˆ p(1 − ˆ p) n ≤ p ≤ ˆ p + 1.96 × ˆ p(1 − ˆ p) n (2) B(n, p) n N(np, np(1 − p)) ˆ p N(p, p(1−p) n ) x N(µ, σ2 n ) 95% 95% 95% ( ) 2024 11-12 — 2025-01-20 – p.18/29
F 2 ⇒ ( ). . . 2024 11-12 —
2025-01-20 – p.19/29
11 — 2 t FWER (Family-Wise Error Rate) Bonferroni (
2 t ) Tukey-Kramer q 2024 11-12 — 2025-01-20 – p.20/29
(1/2) 2 t t α α . . . α
(1 − α)m ( ) m 1 FWER ( t 1 α ) 5% Bonferroni ( 2 t ) αBonferroni = 0.05 m t 2024 11-12 — 2025-01-20 – p.21/29
(2/2) Tukey-Kramer (1) : (2) : σ2 ( ) (H0
) µ1 = µ2 = · · · = µk µA = µB q qA−B = ¯ xA − ¯ xB √ MSwithin 1 2 ( 1 nA + 1 nB ) µA = µB q0.05 (k, dfwithin ) < |qA−B | 2024 11-12 — 2025-01-20 – p.22/29
V ( p.248) 19 4 “ V.R” ( multcomp glht()
) (R TukeyHSD() ) p.243 “multcomp” 2024 11-12 — 2025-01-20 – p.23/29
12 r sxy ( ) vs. 2024 11-12 — 2025-01-20
– p.24/29
Pearson r ( sx sy x y ) r =
sxy sx sy = n i=1 (xi − ¯ x)(yi − ¯ y) n i=1 (xi − ¯ x)2 n i=1 (yi − ¯ y)2 r −1 +1 |r| 1 ( ) sxy sxy = n i=1 (xi − ¯ x)(yi − ¯ y) n − 1 t ( df = n − 2 t ; ) t = r n − 2 1 − r2 2024 11-12 — 2025-01-20 – p.25/29
X ( p.270) “ X.R” ( cor.test() ) p.270 (
) 2024 11-12 — 2025-01-20 – p.26/29
2024 11-12 — 2025-01-20 – p.27/29
6. (1) ( ) (2) 2025 1 23 ( )
23:59 JST ( ) Waseda Moodle (Q & A ) (1) Discord 2024 11-12 — 2025-01-20 – p.28/29
2024 11-12 — 2025-01-20 – p.29/29