Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
R を用いた分析(補講) (1) — 重回帰分析 / Multiple Regression ...
Search
Kenji Saito
PRO
January 25, 2024
Business
0
120
R を用いた分析(補講) (1) — 重回帰分析 / Multiple Regression Analysis
早稲田大学大学院経営管理研究科「企業データ分析」2023 冬のオンデマンド教材 第11回で使用したスライドです。
Kenji Saito
PRO
January 25, 2024
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
成果と意思決定 / Performance and Making Decisions
ks91
PRO
0
22
ボランティア / Volunteers
ks91
PRO
0
12
理事会 / Board of Directors
ks91
PRO
0
11
成果 / Achievements
ks91
PRO
0
19
意思決定 / Decision-Making
ks91
PRO
0
21
ファンディングとデジタル市民社会 / Funding and Digital Civil Society
ks91
PRO
0
23
生成AI による論文執筆サポート・ワークショップ 論文執筆・推敲編 / Generative AI-Assisted Paper Writing Support Workshop: Drafting and Revision Edition
ks91
PRO
0
45
私たちの前提は揺るがないのか / Are Our Premises Unshakeable?
ks91
PRO
0
27
貨幣無き世界への過程 / The Process Towards a World without Money
ks91
PRO
0
14
Other Decks in Business
See All in Business
誰も置いて行かない、freee QAのAI活用戦略 / Inclusive freee QA's AI Strategy
ropqa
0
2.2k
会社紹介資料
gatechnologies
2
140k
コーポレートストーリー(新規投資家様向け会社説明資料)
gatechnologies
1
16k
辰巳電子工業株式会社 システムソリューション事業部のご紹介
tatsumi_ss
0
570
【Progmat】Monthly-ST-Market-Report-2025-Nov.
progmat
0
190
センス・トラスト福利厚生
sensetrust
0
2.6k
Connected Robotics
cr
0
54k
Spice Factory Inc. Culture Deck
spicefactory
0
16k
サムコ株式会社 第47期第1四半期決算概要
tsuchihashi
0
250
株式会社ステラセキュリティ会社紹介資料/sterrasec-introduction
sterrasec
0
420
株式会社Domuz会社紹介資料(採用)
kimpachi_d
0
47k
SimpleForm 会社紹介資料
simpleform
2
50k
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
110
Reality Check: Gamification 10 Years Later
codingconduct
0
1.9k
Everyday Curiosity
cassininazir
0
110
What's in a price? How to price your products and services
michaelherold
246
13k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
0
950
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
37
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
31
My Coaching Mixtape
mlcsv
0
13
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
170
Claude Code のすすめ
schroneko
65
200k
Paper Plane
katiecoart
PRO
0
44k
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