<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>No, that assumes that all points are independent.<br>Which they might be, but they are usually not.<br><br>It is still not clear to me if you want the error of the exponential<br>difference of the error of the direct energies.<br><br>g_analyze -ee will give you an error estimate, but only based<br>on the printed points.<br><br>The simplest way is always to divide your set in 4 consecutive parts,<br>determine the averages with g_energy -b -e<br>and determine the error estimate through the method in Justin's link.<br><br>Berk <br><br>&gt; Date: Fri, 28 Aug 2009 20:53:16 -0400<br>&gt; From: jalemkul@vt.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] RE: Re: g_energy and g_analyze give different averages<br>&gt; <br>&gt; <br>&gt; <br>&gt; Ragnarok sdf wrote:<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; I am terribly sorry. I have not expressed myself well. I meant the <br>&gt; &gt; standard error of the mean energy given by g_energy. So I believe I <br>&gt; &gt; would like to know the standard error estimate.<br>&gt; <br>&gt; Based on the output RMSD (standard deviation), it seems rather straightforward <br>&gt; to calculate SE:<br>&gt; <br>&gt; http://en.wikipedia.org/wiki/Standard_error_(statistics)#Standard_error_of_the_mean<br>&gt; <br>&gt; -Justin<br>&gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;     I don't understand what you want exactly.<br>&gt; &gt;     Your g_energy command does exponential averaging, that happens<br>&gt; &gt;     on the printed data points. So there g_analyze or any program will<br>&gt; &gt;     do fine.<br>&gt; &gt;     For the original data g_energy gives the exact standard deviation<br>&gt; &gt;     over all MD steps, called RMSD.<br>&gt; &gt; <br>&gt; &gt;     But do you really want the standard deviation, or do you want<br>&gt; &gt;     a standard error estimate?<br>&gt; &gt; <br>&gt; &gt;     Berk<br>&gt; &gt; <br>&gt; &gt;     Date: Fri, 28 Aug 2009 09:30:37 -0300<br>&gt; &gt;     From: fabracht1@gmail.com &lt;mailto:fabracht1@gmail.com&gt;<br>&gt; &gt;     To: gmx-users@gromacs.org &lt;mailto:gmx-users@gromacs.org&gt;<br>&gt; &gt;     Subject: [gmx-users] Re: g_energy and g_analyze give different averages<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;     Is there a correct way to obtain the standard deviation for these<br>&gt; &gt;     data sets?<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;      &gt;<br>&gt; &gt; <br>&gt; &gt;      &gt; Ragnarok sdf wrote:<br>&gt; &gt; <br>&gt; &gt;      &gt; &gt; When analysing FEP simulations. After running g_energy -f<br>&gt; &gt;     fep000.edr -f2<br>&gt; &gt; <br>&gt; &gt;      &gt; &gt; fep_000-005.edr for obtaining the dF = -kT ln &lt;<br>&gt; &gt;     exp(-(EB-EA)/kT) &gt;A I<br>&gt; &gt; <br>&gt; &gt;      &gt; tried<br>&gt; &gt; <br>&gt; &gt;      &gt; &gt; to obtain the standard deviation for this ensemble average using<br>&gt; &gt; <br>&gt; &gt;      &gt; g_analyze<br>&gt; &gt; <br>&gt; &gt;      &gt; &gt; -f runavg.xvg, but I've noticed that the average values are quite<br>&gt; &gt; <br>&gt; &gt;      &gt; different<br>&gt; &gt; <br>&gt; &gt;      &gt; &gt;<br>&gt; &gt; <br>&gt; &gt;      &gt; &gt;<br>&gt; &gt; <br>&gt; &gt;      &gt; g_energy takes all values during your simulation into account,<br>&gt; &gt;     g_analyze<br>&gt; &gt; <br>&gt; &gt;      &gt; only the printed datapoints.<br>&gt; &gt; <br>&gt; &gt;      &gt;<br>&gt; &gt; <br>&gt; &gt;      &gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; <br>&gt; -- <br>&gt; ========================================<br>&gt; <br>&gt; Justin A. Lemkul<br>&gt; Ph.D. Candidate<br>&gt; ICTAS Doctoral Scholar<br>&gt; Department of Biochemistry<br>&gt; Virginia Tech<br>&gt; Blacksburg, VA<br>&gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; <br>&gt; ========================================<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>