Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ヒストグラムと箱ひげ図 / Histograms and Box-and-Whisker Plots

Kenji Saito
November 28, 2023

ヒストグラムと箱ひげ図 / Histograms and Box-and-Whisker Plots

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

Kenji Saito

November 28, 2023
Tweet

More Decks by Kenji Saito

Other Decks in Business

Transcript

  1. generated by Stable Diffusion XL v1.0
    2023
    4
    (WBS)
    2023 4 — 2023-11 – p.1/11

    View full-size slide

  2. https://speakerdeck.com/ks91
    2023 4 — 2023-11 – p.2/11

    View full-size slide

  3. ( 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/14 ) / (2 ) OK
    /
    2023 4 — 2023-11 – p.3/11

    View full-size slide

  4. ( )
    2023 4 — 2023-11 – p.4/11

    View full-size slide

  5. ( )
    (histogram)
    x ( : 10 )
    y ( )
    2023 4 — 2023-11 – p.5/11

    View full-size slide

  6. “ .txt”
    #
    > <- read.table(" .txt", header=T)
    > attach( ) # ( )
    > hist( ) #
    > hist( ) #
    #
    > hist( , xlab=" ", ylab=" ", main=" ")
    ‘hist(
    . . .
    )’
    ‘xlab’ ‘ylab’ x y ‘main’
    2023 4 — 2023-11 – p.6/11

    View full-size slide

  7. ਺ֶͷ੒੷ͷ౓਺෼෍
    ᩘᏛࡢᚓⅬ
    ᗘᩘ
    0 20 40 60 80 100
    0 5 10 15
    2023 4 — 2023-11 – p.7/11

    View full-size slide

  8. (box plot / box-and-whisker plot)
    ( ; box)
    1 2 ( )
    3
    1 −1
    .

    3 +1
    .


    2023 4 — 2023-11 – p.8/11

    View full-size slide

  9. “ .txt”
    # attach( )
    > boxplot( ) #
    > boxplot( ) #
    > boxplot( , ) #
    > boxplot( ) #
    > boxplot( , ylim=c(0, 100)) # 0 100
    ‘boxplot(
    . . .
    )’ ( ) ( )
    boxplot( [2:3], ylim=c(0, 100))
    2023 4 — 2023-11 – p.9/11

    View full-size slide

  10. ⱥㄒ ᩘᏛ
    0 20 40 60 80 100
    2023 4 — 2023-11 – p.10/11

    View full-size slide

  11. 2023 4 — 2023-11 – p.11/11

    View full-size slide