$30 off During Our Annual Pro Sale. View Details »

ヒストグラムと箱ひげ図 / Histograms and box-and-whisker di...

ヒストグラムと箱ひげ図 / Histograms and box-and-whisker diagrams

早稲田大学大学院経営管理研究科「企業データ分析」2024 冬のオンデマンド教材 第4回で使用したスライドです。

Kenji Saito

November 28, 2024
Tweet

More Decks by Kenji Saito

Other Decks in Technology

Transcript

  1. Boxes and whiskers — generated by Stable Diffusion XL v1.0

    2024 4 (WBS) 2024 4 — 2024-11 – p.1/11
  2. ( 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 4 — 2024-11 – p.3/11
  3. ( ) (histogram) x ( : 10 ) y (

    ) 2024 4 — 2024-11 – p.5/11
  4. “ .txt” # > <- read.table(" .txt", header=T) > attach(

    ) # ( ) > hist( ) # > hist( ) # # > hist( , xlab=" ", ylab=" ", main=" ") ‘hist( . . . )’ ‘xlab’ ‘ylab’ x y ‘main’ 2024 4 — 2024-11 – p.6/11
  5. (box plot / box-and-whisker plot) ( ; box) 1 2

    ( ) 3 1 −1 . 5× 3 +1 . 5× ◦ 2024 4 — 2024-11 – p.8/11
  6. “ .txt” # attach( ) > boxplot( ) # >

    boxplot( ) # > boxplot( , ) # > boxplot( ) # > boxplot( , ylim=c(0, 100)) # 0 100 ‘boxplot( . . . )’ ( ) ( ) boxplot( [2:3], ylim=c(0, 100)) 2024 4 — 2024-11 – p.9/11
  7. ⱥㄒ ᩘᏛ 0 20 40 60 80 100 2024 4

    — 2024-11 – p.10/11