On Fri, Jun 26, 2020 at 2:49 PM <kartik.lakshmi.gmail.com> wrote:
> I would expect the RMSF calculated using this script to give the average
> RMSF from the two production runs
This isn't correct, and the short explanation is because the RMSF
calculation involves a square root. You can convince yourself of this
by taking a simple set of numbers (like 4 5 3 4) and plug them into
the RMSF formula ( RMSF1234 = sqrt(AvgSumSq - Avg^2), where AvgSumSq
is the average of the sum of squares of the values and Avg is the
average of the values. Then calculate RMSF for the first two and last
two values (call them RMSF12 and RMSF34). You'll see that the average
of RMSF12 and RMSF34 is not RMSF1234. Hope this helps,