Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
R を用いた検定(補講) (1) — Welch 検定 / Other Tests Using...
Search
Kenji Saito
PRO
January 18, 2024
Business
0
130
R を用いた検定(補講) (1) — Welch 検定 / Other Tests Using R (1) - Welch Test
早稲田大学大学院経営管理研究科「企業データ分析」2023 冬のオンデマンド教材 第9回で使用したスライドです。
Kenji Saito
PRO
January 18, 2024
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
成果と意思決定 / Performance and Making Decisions
ks91
PRO
0
18
ボランティア / Volunteers
ks91
PRO
0
10
理事会 / Board of Directors
ks91
PRO
0
10
成果 / Achievements
ks91
PRO
0
14
意思決定 / Decision-Making
ks91
PRO
0
18
ファンディングとデジタル市民社会 / Funding and Digital Civil Society
ks91
PRO
0
23
生成AI による論文執筆サポート・ワークショップ 論文執筆・推敲編 / Generative AI-Assisted Paper Writing Support Workshop: Drafting and Revision Edition
ks91
PRO
0
33
私たちの前提は揺るがないのか / Are Our Premises Unshakeable?
ks91
PRO
0
25
貨幣無き世界への過程 / The Process Towards a World without Money
ks91
PRO
0
11
Other Decks in Business
See All in Business
辰巳電子工業株式会社 システムソリューション事業部のご紹介
tatsumi_ss
0
490
malna-recruiting-pitch
malna
0
13k
LATEGRA Recruitment Deck_2025
lategra
0
7.3k
PIGG Culture Deck / 株式会社サイバーエージェント AmebaLIFE事業本部
cyberagent_amebalife
2
2.6k
「スーパーマンの限界」は組織で突破! PdM認知負荷を最適化する戦略的役割分担と Product Ops活用事例
sasaguchi
0
1.1k
株式会社Domuz会社紹介資料(採用)
kimpachi_d
0
47k
Forward Deployed Engineer(FDE)の戦略的価値
tame
0
120
Corporate Info
yuzo
0
1.2k
SimpleForm 会社紹介資料
simpleform
2
50k
強みのデザイン入門 / Introduction to Strengths Design
tbpgr
0
400
Company Profile
katsuegu23
2
12k
一次情報を武器にする - pmconf2025
hynym
PRO
0
1.2k
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
1
660
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
290
Joys of Absence: A Defence of Solitary Play
codingconduct
1
250
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
0
60
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
170
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
72
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
GraphQLとの向き合い方2022年版
quramy
50
14k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
140
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
370
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
Transcript
generated by Stable Diffusion XL v1.0 2023 9 R (
) (1) — Welch (WBS) 2023 9 R ( ) (1) — Welch — 2024-01 – p.1/10
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2023-winter 2023 9 R ( ) (1) — Welch —
2024-01 – p.2/10
( 20 ) 1 • 2 R • 3 •
4 • 5 • 6 ( ) • 7 (1) • 8 (2) • 9 R ( ) (1) — Welch • 10 R ( ) (2) — χ2 11 R ( ) (1) — 12 R ( ) (2) — 13 GPT-4 14 GPT-4 15 ( ) LaTeX Overleaf 8 (12/21 ) / (2 ) OK / 2023 9 R ( ) (1) — Welch — 2024-01 – p.3/10
t Welch R t.test() Welch Welch 2023 9 R (
) (1) — Welch — 2024-01 – p.4/10
2 t ( ) (1/2) 2 ( ) xA −
xB (1) : (2) : σ ( ) σ sp sp = s2 A (nA − 1) + s2 B (nB − 1) nA + nB − 2 (R var() ) nA + nB − 2 t Welch A B (µA = µB ) A B (µA = µB ) 2023 9 R ( ) (1) — Welch — 2024-01 – p.5/10
2 t ( ) (2/2) xA − xB Student µA
= µB t = (xA − xB ) − (µA − µB ) sp 1 nA + 1 nB = xA − xB sp 1 nA + 1 nB (t ) t dfp = nA + nB − 2 t ( ) t0.05 (dfp ) t0.05 (dfp ) < |t| (P < 0.05) 2023 9 R ( ) (1) — Welch — 2024-01 – p.6/10
Welch t t = xA − xB s2 A nA
+ s2 B nB ( ) v . . . v ≈ ( s2 A nA + s2 B nB )2 s4 A n2 A (nA−1) + s4 B n2 B (nB−1) R 2023 9 R ( ) (1) — Welch — 2024-01 – p.7/10
( ) - (Shapiro-Wilk test) - (Anderson-Darling test for normality)
- (Kolmogorov-Smirnov test for normality) ( ) ( ) (Bartlett’s test for homogeneity of variances) 2023 9 R ( ) (1) — Welch — 2024-01 – p.8/10
.txt A /B g <- read.table(" .txt", header=T) colnames(g) <-
c(" ", " ") sampleA <- g$ sampleB <- g$ # ( ) shapiro.test(x=sampleA) shapiro.test(x=sampleB) # ( ) samples <- c(sampleA, sampleB) group_factor <- factor(rep(c("A", "B"), c(length(sampleA), length(sampleB)))) bartlett.test(formula=samples~group_factor) # Welch (t.test() ) ( Welch ) t.test(sampleA, sampleB) 2023 9 R ( ) (1) — Welch — 2024-01 – p.9/10
2023 9 R ( ) (1) — Welch — 2024-01
– p.10/10