Sum powers of Statistical List
stats[describe, sumdata[which, origin]](data)
describe[sumdata[which, origin, Nconstraint]](data)
(optional, default=1) value that specifies the required power
(optional, default=0) the quantity about which the moment is computed.
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function sumdata of the subpackage stats[describe, ...] computes sums of the various powers of the given data about any origin.
The sum of r-th power about an origin R is computed as follows: S_R:= sum( (X-R)^r ).
The function sumdata is closely related to the function moment.
The value of origin can be either a number, or the various descriptive statistic functions that can be specified via stats[describe, descriptive statistic function].
Classes are assumed to be represented by the class mark, for example 10..12 has the value 11. Missing data are ignored.
The command with(stats[describe],sumdata) allows the use of the abbreviated form of this command.
data ≔ 1,3,5
Sum of third power about 0:
Sum of fourth power about 1:
Sum of fifth power about the mean
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.