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
R を用いた分析(補講) (1) — 重回帰分析 / Multiple Regression ...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kenji Saito
PRO
January 25, 2024
Business
120
0
Share
R を用いた分析(補講) (1) — 重回帰分析 / Multiple Regression Analysis
早稲田大学大学院経営管理研究科「企業データ分析」2023 冬のオンデマンド教材 第11回で使用したスライドです。
Kenji Saito
PRO
January 25, 2024
More Decks by Kenji Saito
See All by Kenji Saito
ウェブとイノベーション / The Web and Innovation
ks91
PRO
0
14
試作とデモンストレーション / Prototyping and Demonstrations
ks91
PRO
0
47
アカデミーキャンプ2026GW「前倒し!ウチらとヤツらの自由研究」DAY 4 / Academy Camp 2026 GW "Bringing It Forward! Our and Their Free Research Projects" DAY 4
ks91
PRO
0
30
アカデミーキャンプ2026GW「前倒し!ウチらとヤツらの自由研究」DAY 3 / Academy Camp 2026 GW "Bringing It Forward! Our and Their Free Research Projects" DAY 3
ks91
PRO
0
47
アカデミーキャンプ2026GW「前倒し!ウチらとヤツらの自由研究」DAY 2 / Academy Camp 2026 GW "Bringing It Forward! Our and Their Free Research Projects" DAY 2
ks91
PRO
0
56
アカデミーキャンプ2026GW「前倒し!ウチらとヤツらの自由研究」DAY 1 / Academy Camp 2026 GW "Bringing It Forward! Our and Their Free Research Projects" DAY 1
ks91
PRO
0
83
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
190
2026年度 生成AI を活用した論文執筆ガイド/ワークショップ / 2026 Academic Year Guide to Writing Papers Using Generative AI - Workshop
ks91
PRO
0
110
インターネットのガバナンスと応用 / Internet Governance and Applications
ks91
PRO
0
73
Other Decks in Business
See All in Business
エンジニア職/新卒向け会社紹介資料(テックファーム株式会社)
techfirm
1
5.9k
ties|クラウド顧客・案件管理システム - サービスのご紹介
so_kotani
2
730
データ分析をはじめよう/lets_start_data_analysis
florets1
2
1k
税理士法人チェスター_事務所紹介資料
mabhr
0
840
malna-recruiting-pitch
malna
0
20k
UPs Meet up! vol.9_LT_コーポレートのためのAI活用戦略会議
sakiyogoro
0
350
Rakus Career Introduction
rakus_career
0
510k
【営業職】中途採用向け会社説明資料(テックファーム株式会社)
techfirm
0
760
SORAJIMA 2026
sorajima
0
1.9k
AIにタスク管理 されてみた
hirado_ns
0
150
「忙しいふり」を自覚する🫵 「個人の仕事の棚卸し」をどうやる?
rechiba3
0
380
家族アルバム みてね 事業紹介 / Our Business
familyalbum
7
57k
Featured
See All Featured
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
120
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
140
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Code Reviewing Like a Champion
maltzj
528
40k
Typedesign – Prime Four
hannesfritz
42
3k
Mind Mapping
helmedeiros
PRO
1
170
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
Transcript
generated by Stable Diffusion XL v1.0 2023 11 R (
) (1) — (WBS) 2023 11 R ( ) (1) — — 2024-01 – p.1/11
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2023-winter 2023 11 R ( ) (1) — — 2024-01
– p.2/11
( 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 11 R ( ) (1) — — 2024-01 – p.3/11
( ) R ( ) = a + b1 ×
+ b2 × + e 2023 11 R ( ) (1) — — 2024-01 – p.4/11
(1/2) “ .txt” g <- read.table(" .txt", header=T) # g
# boxplot(g) # plot(g) # cor.test(g$ , g$ ) 2023 11 R ( ) (1) — — 2024-01 – p.5/11
( ) ፉ㌟㛗 ∗㌟㛗 ẕ㌟㛗 150 155 160 165 170
175 : 158.37cm : 169.02cm : 155.2cm 2023 11 R ( ) (1) — — 2024-01 – p.6/11
( ) ፉ㌟㛗 160 165 170 175 152 156 160
164 160 165 170 175 ∗㌟㛗 152 156 160 164 150 154 158 150 154 158 ẕ㌟㛗 . . . . . . 2023 11 R ( ) (1) — — 2024-01 – p.7/11
(2/2) m <- lm(g$ ~ g$ + g$ ) #
+ m # summary(m) # “Multiple R-squared” “Adjusted R-squared” 30% 2023 11 R ( ) (1) — — 2024-01 – p.8/11
( pp.291–298) R2 = 1 − SSresidual SStotal = 1
− n i=1 (yi − ˆ yi)2 n i=1 (yi − ¯ y)2 R∗2 = 1 − SSresidual n−k−1 SStotal n−1 = 1 − (1 − R2)(n − 1) n − k − 1 ( k ) 2023 11 R ( ) (1) — — 2024-01 – p.9/11
(b1 b2 ) sg <- scale(g) # sg <- data.frame(sg)
# m <- lm(sg$ ~ sg$ + sg$ ) # summary(m) # . . . : 3.951e-01 : 3.436e-01 ^^; ^^; 2023 11 R ( ) (1) — — 2024-01 – p.10/11
2023 11 R ( ) (1) — — 2024-01 –
p.11/11