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
34
データフレームと代表値 / 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
関連2群のt検定/独立2群のt検定 / Related 2-group t-test and independent 2-group t-test
ks91
PRO
0
23
A Guide to Paper Writing Support with Generative AI - A Joint Zemi
ks91
PRO
0
6
正規分布と簡単な統計理論/t分布と信頼区間 / Normal distribution, simple statistical theory, t-distribution and confidence intervals
ks91
PRO
0
38
じわじわ迫ってきている自動化社会 (その先にメタ・ネイチャー) / The Slowly Approaching Automated Society (and its beyond: Meta-Nature)
ks91
PRO
0
6
起こりうる誤った推論/平均・分散・標準偏差・自由度 / Possible false inferences, means, variances, standard deviations and degrees of freedom
ks91
PRO
0
54
LaTeX と Overleaf によるショートペーパー作成 / Short paper writing with LaTeX and Overleaf
ks91
PRO
0
18
R を用いた検定(補講) (1) — Welch 検定 / Tests using R (supplementary) (1) - Welch test
ks91
PRO
0
11
R を用いた検定(補講) (2) — カイ二乗検定 / Tests using R (supplementary) (2) - Chi-squared test
ks91
PRO
0
10
R を用いた分析(補講) (1) — 重回帰分析 / Analysis using R (supplementary) (1) - Multiple regression analysis
ks91
PRO
0
9
Other Decks in Technology
See All in Technology
Qiita埋め込み用スライド
naoki_0531
0
860
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
1
110
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
110
2024年にチャレンジしたことを振り返るぞ
mitchan
0
130
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
160
Wantedly での Datadog 活用事例
bgpat
1
430
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
150
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
550
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
100
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Unsuck your backbone
ammeep
669
57k
Making Projects Easy
brettharned
116
5.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Writing Fast Ruby
sferik
628
61k
How GitHub (no longer) Works
holman
311
140k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Why Our Code Smells
bkeepers
PRO
335
57k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
We Have a Design System, Now What?
morganepeng
51
7.3k
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