Friday, September 11, 2020

pareto

Pronounced pa RAY toe. A pareto diagram is similar to a bar chart, in that it depicts categorical data. Unlike a bar chart, it orders the bars in decreasing size. This scheme not only makes it easy for you to see which categories are most important, it also lets you compare their relative sizes quickly.

Often pareto diagrams include an ogive line, which tracks the cumulative number of values across the bars. With the addition of an ogive, you can quickly estimate when a given percentage of the total data has been allocated to the major categories.

You need to include the qcc library to get pareto chart functionalty.

R Example

This example is similar to the barplot example. It shows the cumulative number of states within several regions. Along with the chart, the table of values is emitted by the R studio.

pareto.chart(table(state.division), ylab = "Frequency")

Pareto chart analysis for table(state.division)

               Frequency Cum.Freq. Percentage Cum.Percent.
South Atlantic     8         8        16          16
Mountain           8        16        16          32
West North Central 7        23        14          46
New England        6        29        12          58
East North Central 5        34        10          68
Pacific            5        39        10          78
East South Central 4        43         8          86
West South Central 4        47         8          94
Middle Atlantic    3        50         6         100

cumulative number of states within several regions
Cumulative number of states within several regions

No comments:

Post a Comment

Please help to combat malicious use of the Internet.