ISA-tools / stato

This is the development repository for the STATistics Ontology (STATO). For more information and demonstration on the ontology content, please visit its website:
http://stato-ontology.org/
30 stars 8 forks source link

Proposed revision to 'weighted arithmetic mean' #59

Closed dillerm closed 7 years ago

dillerm commented 7 years ago

I'm interested in using this class in our ontology--Apollo-SV--but noticed that it does not reflect the correct parent class and could be more descriptive.

The current definition for this class is as follows:

The weighted arithmetic mean is a kind of mean similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others.

The weighted arithmetic mean is often used if one wants to combine average values from samples of the same population with different sample sizes.

As such, I would like to offer the following proposed revision to see if you think it might be worth adopting:

The weighted arithmetic mean is a measurement datum that is the sum of the products of each observed value and their respective non-negative weights, divided by the sum of the weights, such that the contribution of each observed value to the mean may defer according to its respective weight. It is defined by the formula: A = sum(vi*wi)/sum(wi), where 'i' ranges from 1 to n, 'vi' is the value of each observation, and 'wi' is the value of the respective weight for each observed value.

Not sure if you would want to include that last part in the definition or as a comment so as to make the definition less clunky.

proccaserra commented 7 years ago

@dillerm +1 we will update the definition with your contribution, which is more precise. it will appear a new release, which is in the making.

dillerm commented 7 years ago

Thank you. Glad I could help!

agbeltran commented 7 years ago

Thanks @dillerm! The current definition certainly needs improvement.

We currently refer to Wikipedia's definition, we could also refer to the Oxford Dictionary of Statistical Terms.

We also need to add the following annotations: