Show
Ignore:
Timestamp:
09/04/08 20:27:01 (16 years ago)
Author:
smidl
Message:

opravy a dokumentace

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classmgamma.html

    r145 r162  
    5656 
    5757<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> 
    58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9f40dc43885085fad8e3d6652b79e139"></a><!-- doxytag: member="mgamma::samplecond" ref="9f40dc43885085fad8e3d6652b79e139" args="(vec &amp;cond, double &amp;lik)" --> 
    59 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#9f40dc43885085fad8e3d6652b79e139">samplecond</a> (vec &amp;cond, double &amp;lik)</td></tr> 
    60  
    61 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate one sample of the posterior. <br></td></tr> 
    62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9d52749793f40aad85b70c6db4435ae"></a><!-- doxytag: member="mgamma::samplecond" ref="e9d52749793f40aad85b70c6db4435ae" args="(vec &amp;cond, vec &amp;lik, int n)" --> 
    63 mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#e9d52749793f40aad85b70c6db4435ae">samplecond</a> (vec &amp;cond, vec &amp;lik, int n)</td></tr> 
    64  
    65 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate matrix of samples of the posterior. <br></td></tr> 
    6658<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a61094c9f7a2d64ea77b130cbc031f97"></a><!-- doxytag: member="mgamma::condition" ref="a61094c9f7a2d64ea77b130cbc031f97" args="(const vec &amp;val)" --> 
    6759void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97">condition</a> (const vec &amp;val)</td></tr> 
    6860 
    6961<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update <code>ep</code> so that it represents this <a class="el" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> conditioned on <code>rvc</code> = cond. <br></td></tr> 
     62<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">samplecond</a> (const vec &amp;cond, double &amp;ll)</td></tr> 
     63 
     64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.  <a href="#3f172b79ec4a5ebc87898a5381141f1b"></a><br></td></tr> 
     65<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">samplecond</a> (const vec &amp;cond, vec &amp;ll, int N)</td></tr> 
     66 
     67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns.  <a href="#0e37163660f93df2a4d723cedb1da89c"></a><br></td></tr> 
    7068<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80b738ece5bd4f8c4edaee4b38906f91"></a><!-- doxytag: member="mgamma::evalcond" ref="80b738ece5bd4f8c4edaee4b38906f91" args="(const vec &amp;dt, const vec &amp;cond)" --> 
    7169virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a> (const vec &amp;dt, const vec &amp;cond)</td></tr> 
     
    7472<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec9c850305984582548e8deb64f0ffe8"></a><!-- doxytag: member="mgamma::_rvc" ref="ec9c850305984582548e8deb64f0ffe8" args="()" --> 
    7573<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a> ()</td></tr> 
     74 
     75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     76<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e71ad4c66d5884c82d4a3b06b42fe32"></a><!-- doxytag: member="mgamma::_rv" ref="1e71ad4c66d5884c82d4a3b06b42fe32" args="()" --> 
     77<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">_rv</a> ()</td></tr> 
    7678 
    7779<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     
    110112<p> 
    111113Mean value, <img class="formulaInl" alt="$\mu$" src="form_14.png">, of this density is given by <code>rvc</code> . Standard deviation of the random walk is proportional to one <img class="formulaInl" alt="$k$" src="form_41.png">-th the mean. This is achieved by setting <img class="formulaInl" alt="$\alpha=k$" src="form_11.png"> and <img class="formulaInl" alt="$\beta=k/\mu$" src="form_12.png">.<p> 
    112 The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_13.png">. <hr>The documentation for this class was generated from the following files:<ul> 
     114The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_13.png">. <hr><h2>Member Function Documentation</h2> 
     115<a class="anchor" name="3f172b79ec4a5ebc87898a5381141f1b"></a><!-- doxytag: member="mgamma::samplecond" ref="3f172b79ec4a5ebc87898a5381141f1b" args="(const vec &amp;cond, double &amp;ll)" --> 
     116<div class="memitem"> 
     117<div class="memproto"> 
     118      <table class="memname"> 
     119        <tr> 
     120          <td class="memname">virtual vec mpdf::samplecond           </td> 
     121          <td>(</td> 
     122          <td class="paramtype">const vec &amp;&nbsp;</td> 
     123          <td class="paramname"> <em>cond</em>, </td> 
     124        </tr> 
     125        <tr> 
     126          <td class="paramkey"></td> 
     127          <td></td> 
     128          <td class="paramtype">double &amp;&nbsp;</td> 
     129          <td class="paramname"> <em>ll</em></td><td>&nbsp;</td> 
     130        </tr> 
     131        <tr> 
     132          <td></td> 
     133          <td>)</td> 
     134          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 
     135        </tr> 
     136      </table> 
     137</div> 
     138<div class="memdoc"> 
     139 
     140<p> 
     141Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.  
     142<p> 
     143Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <dl compact><dt><b>Parameters:</b></dt><dd> 
     144  <table border="0" cellspacing="2" cellpadding="0"> 
     145    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
     146    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>is a return value of log-likelihood of the sample. </td></tr> 
     147  </table> 
     148</dl> 
     149 
     150<p>References <a class="el" href="libBM_8h-source.html#l00195">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00178">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 
     151 
     152<p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> 
     153 
     154</div> 
     155</div><p> 
     156<a class="anchor" name="0e37163660f93df2a4d723cedb1da89c"></a><!-- doxytag: member="mgamma::samplecond" ref="0e37163660f93df2a4d723cedb1da89c" args="(const vec &amp;cond, vec &amp;ll, int N)" --> 
     157<div class="memitem"> 
     158<div class="memproto"> 
     159      <table class="memname"> 
     160        <tr> 
     161          <td class="memname">virtual mat mpdf::samplecond           </td> 
     162          <td>(</td> 
     163          <td class="paramtype">const vec &amp;&nbsp;</td> 
     164          <td class="paramname"> <em>cond</em>, </td> 
     165        </tr> 
     166        <tr> 
     167          <td class="paramkey"></td> 
     168          <td></td> 
     169          <td class="paramtype">vec &amp;&nbsp;</td> 
     170          <td class="paramname"> <em>ll</em>, </td> 
     171        </tr> 
     172        <tr> 
     173          <td class="paramkey"></td> 
     174          <td></td> 
     175          <td class="paramtype">int&nbsp;</td> 
     176          <td class="paramname"> <em>N</em></td><td>&nbsp;</td> 
     177        </tr> 
     178        <tr> 
     179          <td></td> 
     180          <td>)</td> 
     181          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 
     182        </tr> 
     183      </table> 
     184</div> 
     185<div class="memdoc"> 
     186 
     187<p> 
     188Returns.  
     189<p> 
     190<dl compact><dt><b>Parameters:</b></dt><dd> 
     191  <table border="0" cellspacing="2" cellpadding="0"> 
     192    <tr><td valign="top"></td><td valign="top"><em>N</em>&nbsp;</td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. </td></tr> 
     193    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
     194    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>is a return value of log-likelihood of the sample. </td></tr> 
     195  </table> 
     196</dl> 
     197 
     198<p>References <a class="el" href="libBM_8h-source.html#l00195">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00178">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00174">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 
     199 
     200</div> 
     201</div><p> 
     202<hr>The documentation for this class was generated from the following files:<ul> 
    113203<li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 
    114204</div> 
    115 <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 16 17:22:10 2008 for mixpp by&nbsp; 
     205<hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 4 19:28:12 2008 for mixpp by&nbsp; 
    116206<a href="http://www.doxygen.org/index.html"> 
    117207<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>