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
仮説検定の例(補足資料)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
nonki1974
July 08, 2017
Science
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
仮説検定の例(補足資料)
講義で使った資料です
nonki1974
July 08, 2017
More Decks by nonki1974
See All by nonki1974
GTFS with Tidytransit package
nonki1974
0
340
TokyoR#84_Rexams
nonki1974
0
240
都道府県別焼き鳥屋ランキングの作成
nonki1974
1
930
Introduction to R
nonki1974
0
400
Introduction to dplyr
nonki1974
0
570
Introduction to ggplot2
nonki1974
1
550
Analyzing PSB tracks with R
nonki1974
0
630
introduction to fukuoka.R @ Fukuoka.LT
nonki1974
0
82
所要時間のヒートマップを作成する
nonki1974
0
610
Other Decks in Science
See All in Science
データベース15: ビッグデータ時代のデータベース
trycycle
PRO
1
580
Tensor Factorization Meets Deformed Information Geometry: Convex Relaxation under Deformed Algebra
gkazunii
0
150
知能とはなにか -ヒトとAIのあいだ-
tagtag
PRO
0
190
生成AI・プレプリント時代における 研究成果公開の再設計 ― トップカンファレンス文化はどこへ向かうのか / Redesigning the Dissemination of Research Outputs in the Age of Generative AI and Preprints — Where Is the Top-Conference Culture Heading?
ykiyota
0
30k
AlgorithAlgorihms for Decision Making
mickey_kubo
0
150
大黒市で発生した大規模インシデント の ポストモーテムから読み解く、 記憶媒体消去の大切さ
shucho0103
0
280
HOLO: Homography-Guided Pose Estimator Network for Fine-Grained Visual Localization on SD Maps
tomoaki0705
0
150
Visual Linear Algebra - Lecture at Shosen Grande
hiranabe
0
540
共生概念の整理と AIアライメントの構想
hiroakihamada
0
340
明治薬科大学講義_ビッグデータ解析を支えるデータベース技術とクラウドコンピューティング
ktatsuya
1
180
データベース08: 実体関連モデルとは?
trycycle
PRO
0
1.6k
Where does the rigor go? Research software and the future of trustworthy science.
arfon
0
270
Featured
See All Featured
New Earth Scene 8
popppiees
4
2.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
850
Making the Leap to Tech Lead
cromwellryan
135
10k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
380
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Designing Powerful Visuals for Engaging Learning
tmiket
1
570
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
仮説検定の例(補足資料) @nonki1974
例|平成26年 国民健康・栄養調査 20歳~29歳の1日あたりのエネルギー摂取量 平均:1662kcal 標準偏差:480kcal 500 1000 1500 2000 2500
3000 0e+00 4e-04 8e-04 摂取カロリー[kcal] f(x) 研究者Aさんの主張 F女子大の学生の摂取カロリーは 全国の平均と異なるのではないか?
例|10名をランダムに抽出 F女子大の学生の摂取カロリーが 全国と同じ分布 (1662, 4802) だとすると、 10名分の平均値の分布は , となるはずだ! 500
1000 1500 2000 2500 3000 0.0000 0.0010 0.0020 0.0030 摂取カロリー[kcal] f(x) 実際に調べたら1300kcalだった この分布の下では起こりにくい
起こりにくさの評価 1300kcal は 1662kcal から 362kcal 離れている 10名の平均が1662kcalから362kcal以上ずれる確率 362 362
実際に得た値 仮定した値 ത − 1662 ≥ 362 = 2 ത ≤ 1300 = 0.017 1.7% これは起こりにくい! p値(p-value)
どれくらい小さければ起こりにくいか 例えば5%にする → 有意水準 1662 − 1.96 × 480 10
1662 + 1.96 × 480 10 実際に得た値が (棄却域) に入ったら、 起こりにくいことが起こった!と判断しよう 棄却域 棄却域 判定 基準
起こりにくいことが起こらないケース 実際に調べたら1800kcalだった 10名の平均が1662kcalから138kcal以上ずれる確率 ത − 1662 ≥ 138 = 2
ത ≤ 1524 = 0.363 36.3% 1662kcalが正しくても それなりに起こり得る! Aさんの主張の根拠として不十分
問題設定の定式化 研究者Aさんの主張 F女子大の学生の摂取カロリーは 全国の平均と異なるのではないか? F女子大の学生の摂取カロリーの平均を とし、 その分布は (, 2) とする
1 : ≠ 1662 対立仮説 0 : = 1662 帰無仮説 基準となる分布を作るための仮説
仮説検定の流れ 帰無仮説0 と対立仮説1 を設定する 帰無仮説0 の下で統計量の確率分布を求める 棄却域を設定し、統計量の実現値が 棄却域に入るかどうかを判定 統計量の実現値のp値を計算し、 有意水準よりも小さいかどうかを判定
1 2 3 3’ 3 3’ はいずれかでOK
判定結果の記述 4 0 の下では起こりにくいことが 起こったから・・・・ Case A 統計量の実現値が棄却域に入った もしくは p値が有意水準より小さい
を棄却する もしくは を採択する 0 の下では起こりうることが 起こったから・・・・ Case B 統計量の実現値が棄却域に入らず もしくは p値が有意水準より大きい を受容する もしくは 0 を棄却できない
対立仮説の種類 | 右側仮説 研究者Aさんの主張 F女子大の学生の摂取カロリーは 全国の平均より多いのではないか? 1 : > 1662
右側仮説 1662 + 1.645 × 480 10 棄却域 5%
対立仮説の種類 | 左側仮説 研究者Aさんの主張 F女子大の学生の摂取カロリーは 全国の平均より少ないのではないか? 1 : < 1662
左側仮説 1662 − 1.645 × 480 10 5% 棄却域