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:39] – [Bar chart] hkimscilb:head_first_statistics:visualization [2022/09/14 08:49] hkimscil
Line 39: Line 39:
 {{good.bar.chart.2.png?600}} {{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 112: 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