stats[transform, cumulativefrequency] - partial sums of frequencies
|
Calling Sequence
|
|
stats[transform, cumulativefrequency](data)
transform[cumulativefrequency](data)
|
|
Description
|
|
•
|
The function cumulativefrequency of the subpackage stats[transform, ...] computes the partial sums of the frequencies in the given data.
|
•
|
The data is used in its given order, and missing data is taken into consideration.
|
•
|
Cumulative frequencies are useful in constructing cumulative distributions and cumulative frequency polygons (or ogives). Ogives are plots of the cumulative frequencies against the upper class boundaries.
|
•
|
If the total weight of the data is scaled to one (see transform[scaleweight] and describe[count]), prior to the call to cumulativefrequency then the relative cumulative frequency distribution is obtained. If the weight is scaled to 100, the percentage cumulative frequency distribution attains. The corresponding ogive is referred to as the percentage ogive. A closely related graph is the quantile plot, see statplots[quantile] for more information.
|
|
|
Examples
|
|
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
>
|
|
>
|
|
| (1) |
This is obtained as follows:
>
|
|
| (2) |
>
|
|
| (3) |
The next few steps show the construction of an ogive.
>
|
|
| (4) |
Upper range of classes:
>
|
|
| (5) |
>
|
|
| (6) |
Cumulative frequencies
>
|
|
| (7) |
Points of the ogive
>
|
|
| (8) |
Display the result. (Make the ogive start at the origin).
>
|
|
|
|
Download Help Document
Was this information helpful?