User Tools

Site Tools


b:head_first_statistics:visualization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
b:head_first_statistics:visualization [2020/09/07 12:22] – [Pie Chart] hkimscilb:head_first_statistics:visualization [2022/09/14 08:49] hkimscil
Line 21: Line 21:
 Good to go with  Good to go with 
   * frequency data for categories which should add up to 100 percent   * frequency data for categories which should add up to 100 percent
 +----
 +Better
 {{better.pie.chart.jpg}} {{better.pie.chart.jpg}}
 +  * side note for actual numbers and
 +  * table
 +----
 +Bad
 +{{bad.pie.chart.jpg?350}}
 +  * 각 게임 장르별 사용자의 만족도 퍼센티지를 모아 놓은 파이차트는 유용하지 않다.
 +====== Bar chart ======
 +{{good.bar.chart.jpg?600}}  
 +  * region 별 sales
 +  * 대륙 별 sales
 +  * 분기 별 수익률
 +  * 카테고리화한 종류 별 숫자기록 (일반화)
  
 +{{good.bar.chart.2.png?600}}
 +  * 장르 별 만족도 
 +  * (우리 회사) 부서별 성취도
 +
 +====== Histogram ======
 +^ ser  ^ freq  ^
 +| 1  | 100  |
 +| 2  | 88  |
 +| 3  | 159  |
 +| 4  | 201  |
 +| 5  | 250  |
 +| 6  | 250  |
 +| 7  | 254  |
 +| 8  | 288  |
 +| 9  | 356  |
 +| 10  | 380  |
 +| 11  | 430  |
 +| 12  | 450  |
 +| 13  | 433  |
 +| 14  | 543  |
 +| 15  | 540  |
 +| 16  | 570  |
 +| 17  | 450  |
 +| 18  | 433  |
 +| 19  | 543  |
 +| 20  | 690  |
 +| 21  | 640  |
 +| 22  | 720  |
 +| 23  | 777  |
 +| 24  | 720  |
 +| 25  | 880  |
 +| 26  | 900  |
 +
 +Excel에서의 histogram
 +
 +| Bin  | Frequency  |
 +| 199  | 3  |
 +| 399  | 7  |
 +| 599  | 9  |
 +| 799  | 5  |
 +| 999  | 2  |
 +
 +
 +
 +in R . . . . 
 +<code>
 +dat <- c(100, 88, 159, 201, 250, 250, 254, 288, 356, 380, 
 +         430, 450, 433, 543, 540, 570, 450, 433, 543, 690, 
 +         640, 720, 777, 720, 880, 900)
 +dat
 +hist(dat)
 +hist(dat, breaks=5)
 +</code>
  
 ====== Scatter plot ====== ====== Scatter plot ======
- +<code> 
 +hist(mtcars$hp) 
 +</code> 
 +{{:c:ps1-1:2019:pasted:20190909-103341.png}} 
  
-<code># Simple Scatterplot+ <code># Simple Scatterplot
 attach(mtcars) attach(mtcars)
 plot(wt, mpg, main="Scatterplot Example", plot(wt, mpg, main="Scatterplot Example",
Line 97: Line 168:
 see  see 
 https://www.gapminder.org/answers/how-does-income-relate-to-life-expectancy/ https://www.gapminder.org/answers/how-does-income-relate-to-life-expectancy/
-  * Histogram +  * Life expectancy data: {{:life.exp.csv}}
-{{:c:ps1-1:2019:pasted:20190909-103341.png}} +
-    * Life expectancy data: {{:life.exp.csv}}+
  
 <code> <code>
b/head_first_statistics/visualization.txt · Last modified: 2023/09/11 08:11 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki