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
AI と創る新たな世界 / A New World Created with AI
ks91
PRO
0
11
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
34
OpenClaw のインストールとデモ / Installing and Demonstrating OpenClaw
ks91
PRO
0
25
AI とサービス・デザイン / AI and Service Design
ks91
PRO
0
170
ルール・ロール・ツールを創る / Creating Rules, Roles and Tools
ks91
PRO
0
170
コーディング・エージェントの活用 / Using Coding Agents
ks91
PRO
0
47
AGI (Artificial General Intelligence) の論点 / Key Issues in AGI (Artificial General Intelligence)
ks91
PRO
0
35
ワールドカフェ再び、そしてゴール・ルール・ロール・ツール / World Café Revisited, and the Goals-Rules-Roles-Tools
ks91
PRO
0
200
AI の技術 / AI technology
ks91
PRO
0
180
Other Decks in Business
See All in Business
01_全社_FLUX採用ピッチ資料_Ver.5.2
flux
PRO
7
210k
ROOT Thesis Q1 2026
a1256382
0
150
Practical Guide to Landing Your First Job on Upwork
x5gtrn
PRO
0
140
Webinar 30.04.2026 La nueva regulación del sector eléctrico
neuroenergia
PRO
0
430
涅槃へGO!〜わたしの世界は、全てわたしの認識でできている〜
doiko123
0
640
株式会社レボルト Company Deck
takemura_yuto
0
530
パーソルクロステクノロジー_エンタープライズソリューション統括本部のご紹介 / Introduction_of_es
pxt_gs_ssol
0
2.8k
AnyMind Group Credential Deck(EN)
anymind
3
81k
「AI時代、若手の育成はどうしたらいいんでしょう?」ー どの業界の方からも立て続けに頂いたこの問題を考えてみる
masayamoriofficial
0
660
merpay-Overview
mercari_inc
8
200k
会社紹介資料
gatechnologies
2
180k
『今日から使える認知行動療法』でみつけた もっと人生をたのしむヒント
mkitahara01985
1
610
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
360
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
190
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Ethics towards AI in product and experience design
skipperchong
2
280
Being A Developer After 40
akosma
91
590k
From π to Pie charts
rasagy
0
190
WCS-LA-2024
lcolladotor
0
600
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
120
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Game over? The fight for quality and originality in the time of robots
wayneb77
1
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