Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
R を用いた検定(補講) (1) — Welch 検定 / Other Tests Using...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kenji Saito
PRO
January 18, 2024
Business
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
R を用いた検定(補講) (1) — Welch 検定 / Other Tests Using R (1) - Welch Test
早稲田大学大学院経営管理研究科「企業データ分析」2023 冬のオンデマンド教材 第9回で使用したスライドです。
Kenji Saito
PRO
January 18, 2024
Transcript
10 slides
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
More Decks by Kenji Saito
See All by Kenji Saito
NPO とは何か(を考えるワールドカフェ) / What Is an NPO? (A World Café Discussion)
ks91
PRO
0
15
講師自己紹介 / Lecturer's Self-Introduction
ks91
PRO
0
15
講師研究紹介 / Faculty Research Profile
ks91
PRO
0
10
FinTech 11-12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
61
サイバーフィジカル・セキュリティーと人間の安全保障 / Cyber-Physical Security and Human Security
ks91
PRO
0
32
ゼミ紹介 デジタルトランスフォーメーションと経済・金融の未来 / Zemi Introduction : Digital Transformation and the Future of the Economy and Finance
ks91
PRO
0
37
FinTech 9-10 : Smart Contracts and Decentralized Finance
ks91
PRO
0
81
FinTech 7-8 : Blockchain
ks91
PRO
0
84
Fall 2026: A Guide & Workshop on Using AI for Academic Paper Writing
ks91
PRO
1
130
Other Decks in Business
See All in Business
「まず自分が背中を見せる」から始まった ──「打席に立ち続ける」ことで技を磨き、縁を結ぶということ
natty_natty254
5
750
Wantedly, Inc. 会社説明資料/Wantedly Recruitment Brochure
wantedly
2
56k
데이터 분석가의 커리어 설계
datarian
0
300
Daudzdzīvokļu ēku energoefektivitāte Latvijā - 2026. gads
dzivosiltak
PRO
0
150
GMOフィナンシャルホールディングス_会社紹介資料202611.pdf
gmofh_hr_team
0
11k
キャンバスエッジ株式会社 会社説明資料
canvasedge
0
21k
お客様と未来を描く 戦略&技術伴走
yoshi22
0
350
malna-recruiting-pitch
malna
1
30k
ログラス会社紹介資料 / Loglass Company Deck
loglass2019
20
600k
DiSC®研修|相互理解とチームづくり+ミニチームコーチング
chibanba1982
0
160
地域は小さな地球|Future Fieldwork Report 2026
kitchhike
0
3.8k
株式会社TableCheck - 会社紹介 Company Profile
tablecheckac
0
11k
Featured
See All Featured
ラッコキーワード サービス紹介資料
rakko
5
5.9M
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
How to Think Like a Performance Engineer
csswizardry
28
2.9k
30 Presentation Tips
portentint
PRO
1
470
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
Abbi's Birthday
coloredviolet
5
11k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
The World Runs on Bad Software
bkeepers
PRO
72
12k