Changeset 269 for doc/html/classbdm_1_1mgamma.html
- Timestamp:
- 02/11/09 14:15:39 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1mgamma.html
r264 r269 65 65 66 66 <tr><td class="mdescLeft"> </td><td class="mdescRight">Update <code>ep</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> conditioned on <code>rvc</code> = cond. <br></td></tr> 67 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html# e4848a428d8ef0549c6e4a9ed386d9f2">samplecond</a> (const vec &cond, double &ll)</td></tr>68 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <a href="# e4848a428d8ef0549c6e4a9ed386d9f2"></a><br></td></tr>67 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">samplecond</a> (const vec &cond)</td></tr> 68 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <a href="#f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr> 70 70 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#ee26963a637b2ea1fb1933652981e652">samplecond_m</a> (const vec &cond, vec &ll, int N)</td></tr> 71 71 … … 126 126 Mean 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> 127 127 The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_13.png">. <hr><h2>Member Function Documentation</h2> 128 <a class="anchor" name=" e4848a428d8ef0549c6e4a9ed386d9f2"></a><!-- doxytag: member="bdm::mgamma::samplecond" ref="e4848a428d8ef0549c6e4a9ed386d9f2" args="(const vec &cond, double &ll)" -->128 <a class="anchor" name="f0c1db6fcbb3aae2dd6123884457a367"></a><!-- doxytag: member="bdm::mgamma::samplecond" ref="f0c1db6fcbb3aae2dd6123884457a367" args="(const vec &cond)" --> 129 129 <div class="memitem"> 130 130 <div class="memproto"> … … 134 134 <td>(</td> 135 135 <td class="paramtype">const vec & </td> 136 <td class="paramname"> <em>cond</em>, </td> 137 </tr> 138 <tr> 139 <td class="paramkey"></td> 140 <td></td> 141 <td class="paramtype">double & </td> 142 <td class="paramname"> <em>ll</em></td><td> </td> 143 </tr> 144 <tr> 145 <td></td> 146 <td>)</td> 147 <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 136 <td class="paramname"> <em>cond</em> </td> 137 <td> ) </td> 138 <td><code> [inline, virtual, inherited]</code></td> 148 139 </tr> 149 140 </table> … … 157 148 <table border="0" cellspacing="2" cellpadding="0"> 158 149 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 159 <tr><td valign="top"></td><td valign="top"><em>ll</em> </td><td>is a return value of log-likelihood of the sample. </td></tr>160 150 </table> 161 151 </dl> 162 152 163 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#1a37c2aaba8bde7fce5351c39b6e1168">bdm::mprod</a>.</p> 164 165 <p>References <a class="el" href="libBM_8h-source.html#l00248">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00231">bdm::mpdf::ep</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 153 <p>References <a class="el" href="libBM_8h-source.html#l00250">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00233">bdm::mpdf::ep</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 166 154 167 155 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00143">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="libPF_8cpp-source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="libDS_8cpp-source.html#l00044">bdm::ArxDS::step()</a>.</p> … … 211 199 </dl> 212 200 213 <p>References <a class="el" href="libBM_8h-source.html#l002 48">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00084">bdm::RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00231">bdm::mpdf::ep</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00227">bdm::mpdf::rv</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p>201 <p>References <a class="el" href="libBM_8h-source.html#l00250">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00086">bdm::RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00233">bdm::mpdf::ep</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00229">bdm::mpdf::rv</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 214 202 215 203 </div> … … 218 206 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 219 207 </div> 220 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 19:50:142009 for mixpp by 208 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:21:07 2009 for mixpp by 221 209 <a href="http://www.doxygen.org/index.html"> 222 210 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>