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
350
TokyoR#84_Rexams
nonki1974
0
240
都道府県別焼き鳥屋ランキングの作成
nonki1974
1
940
Introduction to R
nonki1974
0
400
Introduction to dplyr
nonki1974
0
570
Introduction to ggplot2
nonki1974
1
560
Analyzing PSB tracks with R
nonki1974
0
640
introduction to fukuoka.R @ Fukuoka.LT
nonki1974
0
85
所要時間のヒートマップを作成する
nonki1974
0
620
Other Decks in Science
See All in Science
Van Dare naar Durf
voginip
0
310
Note agro-climatique et prairies - Numéro 7
institutdelelevage
PRO
0
580
機械学習 - DBSCAN
trycycle
PRO
0
2.2k
AI(人工知能)の過去・現在・未来 ~AIは人類を越えるのか~
tagtag
PRO
0
170
Wet Active Matter
rajeshrinet
0
260
不動産業界における業界特化のデータ整備とAI活用 ─Vertical DataとVertical AI─
estie
1
1.1k
GKE上でオセロの強化学習やってみた
akasan
0
110
データベース08: 実体関連モデルとは?
trycycle
PRO
0
1.7k
機械学習 - K-means & 階層的クラスタリング
trycycle
PRO
0
2.2k
Webinaire : Valorisez les résultats de vos projets européens avec EU-FarmBook
institutdelelevage
PRO
0
180
生成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
CVPR2026_VGGTとその仲間たち
mickey_0226
0
1.2k
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
The Cost Of JavaScript in 2023
addyosmani
55
10k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
KATA
mclloyd
PRO
35
16k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
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% 棄却域