R による数値データの推測
Mine Cetinkaya-Rundel
Associate Professor of the Practice, Duke University
wordsum: 10問の語彙テスト(スコアは0〜10)class: 自己申告による社会階級(lower、working、middle、upper) wordsum class
1 6 MIDDLE
2 9 WORKING
3 6 WORKING
4 5 WORKING
5 6 WORKING
6 6 WORKING
... ... ...
795 9 MIDDLE
ggplot(data = gss, aes(x = wordsum)) +
geom_histogram(binwidth = 1)

あなたの社会階級を4つの名称で表すとしたら、lower class(下層)、working class(労働者階級)、middle class(中間層)、upper class(上流層)のどれに属すると思いますか?
ggplot(data = gss, aes(x = wordsum)) +
geom_histogram(binwidth = 1)

R による数値データの推測