Take the 2-minute tour ×
Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free, no registration required.

I am measuring time of a computer operation. The operation should run roughly same time each time I measure it. How many times should I measure it to get good average and standard deviation?

share|improve this question
    
Reposted at stats.stackexchange.com/questions/59318/… –  Bogdan0x400 May 17 '13 at 17:04
add comment

closed as off topic by David Z May 17 '13 at 23:14

Questions on Physics Stack Exchange are expected to relate to physics 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.

1 Answer

It depends a lot on the precision that you want to achieve on your measurement. As standard, it is considered that with 10 times that you run the operation it should be enough. But to know clearly the times that you need to run the operation, just check the standard deviation. With a few times, say 5, it is large but it goes down as you add more runs to the statistics. You should be able to observe the decrease on the value of the standard deviation every 5 times you run the calculation.

share|improve this answer
add comment

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