English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A sensor measures some physical quantity (like temperature). The measured value is tapped every 100ms or so. An average is calculated over the x most recently measured values. I.e. with every new measurement the oldest value will be discarded, the new value will be included and the average will then be recalculated.

What is a common term for the size x?

EDIT: After having found out, that the term for this specific kind of average is "moving average" and having read the corresponding wikipedia article, I believe "sample size" may be the right term. Would that be correct? Is there a better word?

share|improve this question

closed as off topic by MετάEd, tchrist, Cameron, Mitch, Kris Oct 11 '12 at 5:47

Questions on English Language & Usage Stack Exchange are expected to relate to English language and usage within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

If it's an automatic process, isn't the sample size always the same, e.g., 10 temperatures every 100 ms? So if you're saying this in a technical paper, wouldn't you want to be specific? OTOH, if you're discussing the process in a general way, wouldn't it be reasonable to use X (or some other variable) and define it, e.g., "where X is the number of measured values in the averaged sample"? "An average is calculated over the sample size most recently measured values" doesn't sound grammatical or reasonable to me, but "An average is calculated over the most recently measured values" does. – user21497 Sep 5 '12 at 10:23
Yes, the sample size would always be the same, but the sampled values change. Besides it's not for a technical paper - it's for a programming API and therefore I need a short, but concise word. – Alexander Tobias Heinrich Sep 5 '12 at 10:42
"Sample size", "subset size" or (if x remains constant, "fixed subset size") would all be correct. – Zairja Sep 5 '12 at 11:09
Then you need a programmer to answer. I'm not a programmer. – user21497 Sep 5 '12 at 11:11
This is the "window" or "window size" – Mark Beadles Sep 5 '12 at 14:35
up vote 2 down vote accepted

A sample size would refer to the number of measurements that you use in your moving average. It theoretically could be confused with the number of averages you compute from the data, so you might use something like sample window size to be clearer.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.