Consider this weighted dataset comprised of $500$ observations (tuples) each of which is described by $5$ attributes. Note that the last column of data is the weight of each tuple. Compute the weighted mean of this sample.
Computing the mean of a weighted data
by Amir Shahmoradi — Last updated:
-
Tags:
- Python
- mean
- sample
- statistics
- weighted