scale the frequencies by the given weight
value by which the weight of the data will be multiplied
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function scaleweight of the subpackage stats[transform, ...] multiplies the weights of the data by the given factor.
The weights, or frequencies, of items in a statistical data list are obtained using the function transform[frequency]. The total weight can be obtained using describe[count].
The total weight of a data list is often scaled to the values 1 and 100. The value 100 is used to get percentages. The value 1 is often used to compare with theoretical probability distributions. It is also used to obtain empirical distributions.
Cumulative percentages are obtained by first scaling the weight to 100, then using the function transform[cumulativefrequency].
Divide the weight by four.
data ≔ 3,5,6,Weight⁡7,2
To get percentages.
To normalize to a total weight of 1.
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.