Changeset 33 for doc/html/classmgamma.html
- Timestamp:
- 03/05/08 16:01:56 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classmgamma.html
r32 r33 21 21 </ul> 22 22 </div> 23 <h1>mgamma Class Reference</h1><!-- doxytag: class="mgamma" --> Gamma random walk.23 <h1>mgamma Class Reference</h1><!-- doxytag: class="mgamma" --><!-- doxytag: inherits="mEF" -->Gamma random walk. 24 24 <a href="#_details">More...</a> 25 25 <p> … … 27 27 <p> 28 28 <div class="dynheader"> 29 Inheritance diagram for mgamma:</div> 30 <div class="dynsection"> 31 <p><center><img src="classmgamma__inherit__graph.png" border="0" usemap="#mgamma__inherit__map" alt="Inheritance graph"></center> 32 <map name="mgamma__inherit__map"> 33 <area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="23,84,73,111"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="20,7,76,33"></map> 34 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 35 <div class="dynheader"> 29 36 Collaboration diagram for mgamma:</div> 30 37 <div class="dynsection"> 31 38 <p><center><img src="classmgamma__coll__graph.png" border="0" usemap="#mgamma__coll__map" alt="Collaboration graph"></center> 32 39 <map name="mgamma__coll__map"> 33 <area shape="rect" href="class egamma.html" title="Gamma posterior density." alt="" coords="8,263,88,289"><area shape="rect" title="epdf" alt="" coords="44,287,52,295"><area shape="rect" title="epdf" alt="" coords="44,355,52,363"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="25,183,71,209"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="23,103,73,129"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="29,7,67,33"><area shape="rect" title="rv" alt="" coords="44,31,52,39"><area shape="rect" title="rv" alt="" coords="44,99,52,107"></map>40 <area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="5,284,56,311"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="8,204,64,231"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="45,7,83,33"><area shape="rect" title="rv\nrvc" alt="" coords="57,31,65,39"><area shape="rect" title="rv\nrvc" alt="" coords="33,200,41,208"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="80,105,131,132"><area shape="rect" title="rv" alt="" coords="67,31,75,39"><area shape="rect" title="rv" alt="" coords="96,101,104,109"><area shape="rect" title="ep" alt="" coords="91,129,99,137"><area shape="rect" title="ep" alt="" coords="41,200,49,208"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="93,204,139,231"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="80,284,160,311"><area shape="rect" title="epdf" alt="" coords="107,308,115,316"><area shape="rect" title="epdf" alt="" coords="67,376,75,384"></map> 34 41 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 35 42 … … 39 46 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 40 47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af43e61b86900c0398d5c0ffc83b94e6"></a><!-- doxytag: member="mgamma::mgamma" ref="af43e61b86900c0398d5c0ffc83b94e6" args="(const RV &rv, const RV &rvc)" --> 41 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6">mgamma</a> (const <a class="el" href="classRV.html">RV</a> & rv, const <a class="el" href="classRV.html">RV</a> &rvc)</td></tr>48 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6">mgamma</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a>, const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a>)</td></tr> 42 49 43 50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> 44 51 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9d646cf758a70126dde7c48790b6e94"></a><!-- doxytag: member="mgamma::set_parameters" ref="a9d646cf758a70126dde7c48790b6e94" args="(double k)" --> 45 void </td><td class="memItemRight" valign="bottom">< b>set_parameters</b> (double k)</td></tr>52 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94">set_parameters</a> (double k)</td></tr> 46 53 54 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> 47 55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9f40dc43885085fad8e3d6652b79e139"></a><!-- doxytag: member="mgamma::samplecond" ref="9f40dc43885085fad8e3d6652b79e139" args="(vec &cond, double &lik)" --> 48 56 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#9f40dc43885085fad8e3d6652b79e139">samplecond</a> (vec &cond, double &lik)</td></tr> … … 54 62 <tr><td class="mdescLeft"> </td><td class="mdescRight">Generate matrix of samples of the posterior. <br></td></tr> 55 63 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a61094c9f7a2d64ea77b130cbc031f97"></a><!-- doxytag: member="mgamma::condition" ref="a61094c9f7a2d64ea77b130cbc031f97" args="(const vec &val)" --> 56 void </td><td class="memItemRight" valign="bottom">< b>condition</b> (const vec &val)</td></tr>64 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97">condition</a> (const vec &val)</td></tr> 57 65 66 <tr><td class="mdescLeft"> </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> 67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80b738ece5bd4f8c4edaee4b38906f91"></a><!-- doxytag: member="mgamma::evalcond" ref="80b738ece5bd4f8c4edaee4b38906f91" args="(const vec &dt, const vec &cond)" --> 68 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a> (const vec &dt, const vec &cond)</td></tr> 69 70 <tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr> 71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec9c850305984582548e8deb64f0ffe8"></a><!-- doxytag: member="mgamma::_rvc" ref="ec9c850305984582548e8deb64f0ffe8" args="()" --> 72 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a> ()</td></tr> 73 74 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e17780ee5b2cfe05922a6c56af1462f8"></a><!-- doxytag: member="mgamma::_epdf" ref="e17780ee5b2cfe05922a6c56af1462f8" args="()" --> 76 <a class="el" href="classepdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">_epdf</a> ()</td></tr> 77 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 79 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="mgamma::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" --> 81 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr> 82 83 <tr><td class="mdescLeft"> </td><td class="mdescRight">modeled random variable <br></td></tr> 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acb7dda792b3cd5576f39fa3129abbab"></a><!-- doxytag: member="mgamma::rvc" ref="acb7dda792b3cd5576f39fa3129abbab" args="" --> 85 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td></tr> 86 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7aa894208a32f3487827df6d5054424c"></a><!-- doxytag: member="mgamma::ep" ref="7aa894208a32f3487827df6d5054424c" args="" --> 89 <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer to internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> <br></td></tr> 58 92 </table> 59 93 <hr><a name="_details"></a><h2>Detailed Description</h2> 60 94 Gamma random walk. 61 95 <p> 62 Mean value, $$, of this density is given by <code>rvc</code> . Standard deviation of the random walk is proportional to one $k$-th the mean. This is achieved by setting $=k$ and $=k/$.<p>63 The standard deviation of the walk is then: $/(k)$. <hr>The documentation for this class was generated from the following files:<ul>96 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 $k$-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> 97 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> 64 98 <li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/mixpp/bdm/stat/libEF.cpp</ul> 65 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 28 16:54:532008 for mixpp by 99 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 5 15:40:08 2008 for mixpp by 66 100 <a href="http://www.doxygen.org/index.html"> 67 101 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>