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
データフレームと代表値 / Data frame and representative values
Search
Kenji Saito
PRO
November 28, 2024
Technology
0
43
データフレームと代表値 / Data frame and representative values
早稲田大学大学院経営管理研究科「企業データ分析」2024 冬のオンデマンド教材 第3回で使用したスライドです。
Kenji Saito
PRO
November 28, 2024
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
続・インクルーシブな社会へ / Continuing Towards an Inclusive Society
ks91
PRO
0
11
AGI (人工一般知能) と創る新しく奇妙な社会 / New and Stranger Society built with AGI
ks91
PRO
0
55
回帰分析/大規模言語モデルと統計 / Regression Analysis, Large Language Models and Statistics
ks91
PRO
0
61
多重比較/相関分析 / Multiple Comparison and Correlation Analysis
ks91
PRO
0
61
アカデミーキャンプ 2025冬「考えるのは奴らだ」 / Academy Camp 2025 Winter - Live and Let Think DAY 3
ks91
PRO
0
56
アカデミーキャンプ 2025冬「考えるのは奴らだ」 / Academy Camp 2025 Winter - Live and Let Think DAY 2
ks91
PRO
0
42
アカデミーキャンプ 2025冬「考えるのは奴らだ」 / Academy Camp 2025 Winter - Live and Let Think DAY 1
ks91
PRO
1
68
インクルーシブな社会へ / Toward an Inclusive Society
ks91
PRO
0
14
P 値と有意差/分散分析 / P-value, Significant Difference and Analysis of Variance
ks91
PRO
0
64
Other Decks in Technology
See All in Technology
株式会社EventHub・エンジニア採用資料
eventhub
0
4.2k
Building Products in the LLM Era
ymatsuwitter
10
4.4k
開発スピードは上がっている…品質はどうする? スピードと品質を両立させるためのプロダクト開発の進め方とは #DevSumi #DevSumiB / Agile And Quality
nihonbuson
1
1.3k
滅・サービスクラス🔥 / Destruction Service Class
sinsoku
6
1.5k
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
890
地方拠点で エンジニアリングマネージャーってできるの? 〜地方という制約を楽しむオーナーシップとコミュニティ作り〜
1coin
1
130
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
2
880
開発者が自律的に AWS Security Hub findings に 対応する仕組みと AWS re:Invent 2024 登壇体験談 / Developers autonomously report AWS Security Hub findings Corresponding mechanism and AWS re:Invent 2024 presentation experience
kaminashi
0
190
君も受託系GISエンジニアにならないか
sudataka
2
370
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1k
家電アプリ共通PF "Linova" のAPI利用とPostman活用事例ご紹介
yukiogawa
0
130
関東Kaggler会LT: 人狼コンペとLLM量子化について
nejumi
3
460
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
BBQ
matthewcrist
86
9.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Building Your Own Lightsaber
phodgson
104
6.2k
The Cult of Friendly URLs
andyhume
78
6.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Gamification - CAS2011
davidbonilla
80
5.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
Typedesign – Prime Four
hannesfritz
40
2.5k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Code Review Best Practice
trishagee
66
17k
Transcript
Boxes and whiskers — generated by Stable Diffusion XL v1.0
2024 3 (WBS) 2024 3 — 2024-11 – p.1/18
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2024-winter 2024 3 — 2024-11 – p.2/18
( 20 ) 1 • 2 R • 3 •
4 5 6 ( ) 7 (1) 8 (2) 9 R ( ) (1) 10 R ( ) (2) 11 R ( ) (1) 12 R ( ) (2) 13 GPT-4 14 GPT-4 15 ( ) LaTeX Overleaf 8 (12/16 ) / (2 ) OK / 2024 3 — 2024-11 – p.3/18
2024 3 — 2024-11 – p.4/18
RStudio (1) Project New Project. . . (2) New Directory
→ New Project (3) Directory name Create Project ( ) 2024 3 — 2024-11 – p.5/18
( ) ( ) ( ) Excel 2024 3 —
2024-11 – p.6/18
: > <- c(" ", " ", " ") >
<- c(80, 78, 90) > <- c(88, 72, 95) > <- data.frame( , , ) > # 1 80 88 2 78 72 3 90 95 > [3,] # 3 > [,3] # 3 > [3,3] # 3 3 > $ # 3 ( [,3] ) > attach( ) “ $” 2024 3 — 2024-11 – p.7/18
2024 3 — 2024-11 – p.8/18
(1) Dropbox data “ .txt” (2) (RStudio )( ) (3)
RStudio > <- read.table(" .txt", header=T) > par(pty="s") # (square) > plot( ) # > plot( , xlim=c(0, 100), ylim=c(0, 100)) # 0 100 ‘read.table(. . .)’ ‘header=T’ (T True) ( ) ‘par(. . .)’ 2024 3 — 2024-11 – p.9/18
” .txt” " " " " 96 65 35 36
26 30 32 50 91 66 47 22 73 59 67 70 52 18 68 79 37 46 41 64 77 74 86 92 . . . ( ) 100 R 2024 3 — 2024-11 – p.10/18
(Ubuntu ) . . . (1) Tools → Global Options.
. . (2) Options Graphics (3) Graphics Device Backend “Cairo” OK Export → Save as PDF. . . Options “Use cairo_pdf device” Ubuntu Cairo https://www.cairographics.org GPL 2024 3 — 2024-11 – p.11/18
2024 3 — 2024-11 – p.12/18
(macOS ) R console > capabilities()[c("cairo", "X11")] . . .
cairo FALSE ( ) X11 FALSE X11 https://www.xquartz.org pkg (X11 XQuartz macOS ) . . . (1) Tools → Global Options. . . (2) Options Graphics (3) Graphics Device Backend “Cairo” OK Export → Save as PDF. . . Options “Use cairo_pdf device (requires X11)” 2024 3 — 2024-11 – p.13/18
(Windows ) . . . (1) Tools → Global Options.
. . (2) Options Graphics (3) Graphics Device Backend “Cairo” OK Export → Save as PDF. . . Options “Use cairo_pdf device” ( ) > par(family="Japan1") R > par(pty="s") > ( ) 2024 3 — 2024-11 – p.14/18
. . . Graphics Device Backend “Cairo” “AGG” ragg AGG
( GPL) ragg AGG R JPEG PNG PDF/EPS 2024 3 — 2024-11 – p.15/18
2024 3 — 2024-11 – p.16/18
” .txt” “ ” > mean( $ ) # >
median( $ ) # > summary( ) # ( , 1 , , , 3 , ) Min. : 19.00 Min. : 7.00 1st Qu.: 44.75 1st Qu.:38.00 Median : 59.00 Median :53.00 Mean : 59.06 Mean :51.73 3rd Qu.: 73.00 3rd Qu.:66.00 Max. :100.00 Max. :94.00 > sd( $ ) # 1 (quartile) 1 4 , 3 3 4 ( 2 = ) 2024 3 — 2024-11 – p.17/18
2024 3 — 2024-11 – p.18/18