[591] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 3 | <head> |
---|
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
---|
[287] | 5 | <title>mixpp: bdm::migamma_ref Class Reference</title> |
---|
[591] | 6 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
---|
| 7 | <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <!-- Generated by Doxygen 1.6.1 --> |
---|
[271] | 11 | <script type="text/javascript"> |
---|
| 12 | <!-- |
---|
| 13 | function changeDisplayState (e){ |
---|
| 14 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 15 | var button=this.firstChild; |
---|
| 16 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 17 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 18 | sectionDiv.style.display='block'; |
---|
| 19 | button.src='open.gif'; |
---|
| 20 | }else{ |
---|
| 21 | sectionDiv.style.display='none'; |
---|
| 22 | button.src='closed.gif'; |
---|
| 23 | } |
---|
| 24 | } |
---|
| 25 | function initDynSections(){ |
---|
| 26 | var divs=document.getElementsByTagName('div'); |
---|
| 27 | var sectionCounter=1; |
---|
| 28 | for(var i=0;i<divs.length-1;i++){ |
---|
| 29 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 30 | var header=divs[i]; |
---|
| 31 | var section=divs[i+1]; |
---|
| 32 | var button=header.firstChild; |
---|
| 33 | if (button!='IMG'){ |
---|
| 34 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 35 | button=document.createElement('img'); |
---|
| 36 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 37 | } |
---|
| 38 | header.style.cursor='pointer'; |
---|
| 39 | header.onclick=changeDisplayState; |
---|
| 40 | header.id='dynheader'+sectionCounter; |
---|
| 41 | button.src='closed.gif'; |
---|
| 42 | section.id='dynsection'+sectionCounter; |
---|
| 43 | section.style.display='none'; |
---|
| 44 | section.style.marginLeft='14px'; |
---|
| 45 | sectionCounter++; |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | } |
---|
| 49 | window.onload = initDynSections; |
---|
| 50 | --> |
---|
| 51 | </script> |
---|
[259] | 52 | <div class="navigation" id="top"> |
---|
| 53 | <div class="tabs"> |
---|
| 54 | <ul> |
---|
[271] | 55 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
[259] | 56 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[290] | 57 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
[259] | 58 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 59 | </ul> |
---|
| 60 | </div> |
---|
| 61 | <div class="tabs"> |
---|
| 62 | <ul> |
---|
| 63 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
[290] | 64 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
[259] | 65 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 66 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 67 | </ul> |
---|
| 68 | </div> |
---|
[287] | 69 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1migamma__ref.html">migamma_ref</a> |
---|
[259] | 70 | </div> |
---|
| 71 | </div> |
---|
| 72 | <div class="contents"> |
---|
[591] | 73 | <h1>bdm::migamma_ref Class Reference</h1><!-- doxytag: class="bdm::migamma_ref" --><!-- doxytag: inherits="bdm::migamma" --> |
---|
| 74 | <p>Inverse-Gamma random walk around a fixed point. |
---|
| 75 | <a href="#_details">More...</a></p> |
---|
[616] | 76 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 77 | <p>Inverse-Gamma random walk around a fixed point. </p> |
---|
| 78 | <p>Mean value, <img class="formulaInl" alt="$\mu$" src="form_83.png"/>, of this density is given by a geometric combination of <code>rvc</code> and given fixed point, <img class="formulaInl" alt="$p$" src="form_74.png"/>. <img class="formulaInl" alt="$l$" src="form_93.png"/> is the coefficient of the geometric combimation </p> |
---|
| 79 | <p class="formulaDsp"> |
---|
| 80 | <img class="formulaDsp" alt="\[ \mu = \mu_{t-1} ^{l} p^{1-l}\]" src="form_94.png"/> |
---|
| 81 | </p> |
---|
| 82 | <p>==== Check == vv = Standard deviation of the random walk is proportional to one <img class="formulaInl" alt="$k$" src="form_84.png"/>-th the mean. This is achieved by setting <img class="formulaInl" alt="$\alpha=k$" src="form_85.png"/> and <img class="formulaInl" alt="$\beta=k/\mu$" src="form_86.png"/>.</p> |
---|
| 83 | <p>The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_87.png"/>. </p> |
---|
[259] | 84 | |
---|
[591] | 85 | <p><code>#include <<a class="el" href="exp__family_8h_source.html">exp_family.h</a>></code></p> |
---|
[259] | 86 | |
---|
[591] | 87 | <p><a href="classbdm_1_1migamma__ref-members.html">List of all members.</a></p> |
---|
| 88 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 89 | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
---|
| 90 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af45b15a10f084991ba6b48295f10421f"></a><!-- doxytag: member="bdm::migamma_ref::migamma_ref" ref="af45b15a10f084991ba6b48295f10421f" args="()" --> |
---|
| 91 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#af45b15a10f084991ba6b48295f10421f">migamma_ref</a> ()</td></tr> |
---|
| 92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr> |
---|
| 93 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0b4eb278ef5d0831ec4954ba7bd2800"></a><!-- doxytag: member="bdm::migamma_ref::set_parameters" ref="ab0b4eb278ef5d0831ec4954ba7bd2800" args="(double k0, vec ref0, double l0)" --> |
---|
| 94 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#ab0b4eb278ef5d0831ec4954ba7bd2800">set_parameters</a> (double k0, vec ref0, double l0)</td></tr> |
---|
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br/></td></tr> |
---|
[608] | 96 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae86b2e4ff963d62e05d4e130514634a"></a><!-- doxytag: member="bdm::migamma_ref::condition" ref="aae86b2e4ff963d62e05d4e130514634a" args="(const vec &val)" --> |
---|
| 97 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#aae86b2e4ff963d62e05d4e130514634a">condition</a> (const vec &val)</td></tr> |
---|
| 98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Update <code>iepdf</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a> conditioned on <code>rvc</code> = cond This function provides convenient reimplementation in offsprings. <br/></td></tr> |
---|
[591] | 99 | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#a9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d">from_setting</a> (const Setting &set)</td></tr> |
---|
| 100 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b10ab922e2a7bae2fb6bb3efc7b6151"></a><!-- doxytag: member="bdm::migamma_ref::set_parameters" ref="a8b10ab922e2a7bae2fb6bb3efc7b6151" args="(int len, double k0)" --> |
---|
| 101 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#a8b10ab922e2a7bae2fb6bb3efc7b6151">set_parameters</a> (int len, double k0)</td></tr> |
---|
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br/></td></tr> |
---|
| 103 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::migamma_ref::e" ref="a6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> |
---|
| 104 | <a class="el" href="classbdm_1_1eigamma.html">eigamma</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function to iepdf <br/></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::migamma_ref::samplecond" ref="ad8e547695d1cc19219b91164d825c930" args="(const vec &cond)" --> |
---|
| 107 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ad8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &cond)</td></tr> |
---|
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br/></td></tr> |
---|
| 109 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::migamma_ref::evallogcond" ref="a89076e62b8d7df7616bad68c94591948" args="(const vec &val, const vec &cond)" --> |
---|
| 110 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &val, const vec &cond)</td></tr> |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br/></td></tr> |
---|
| 112 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::migamma_ref::evallogcond_m" ref="ae28c214e3063733a6e4d17738941c61c" args="(const mat &Dt, const vec &cond)" --> |
---|
| 113 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ae28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> |
---|
| 114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for matrices. <br/></td></tr> |
---|
| 115 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::migamma_ref::evallogcond_m" ref="ae82db07ce8af02f29cfd81e014edb3db" args="(const Array< vec > &Dt, const vec &cond)" --> |
---|
| 116 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ae82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> |
---|
| 117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for Array<vec>. <br/></td></tr> |
---|
| 118 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::migamma_ref::samplecond_m" ref="a9554c554054da2d22cb8e908ae9c8823" args="(const vec &cond, int N)" --> |
---|
| 119 | virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &cond, int N)</td></tr> |
---|
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of samplecond. <br/></td></tr> |
---|
| 121 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::migamma_ref::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
---|
| 122 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
---|
| 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
---|
| 124 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::migamma_ref::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
---|
| 125 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
---|
| 126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
---|
| 127 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::migamma_ref::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
---|
| 128 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
---|
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
---|
[270] | 130 | <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> |
---|
[591] | 131 | <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> |
---|
| 132 | <br/><br/></div></td></tr> |
---|
[608] | 133 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::migamma_ref::_rv" ref="aaa0095f80870f15209bca68a8a7bad8a" args="() const " --> |
---|
| 134 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> |
---|
| 135 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::migamma_ref::_rvc" ref="a739d5202899bb56792a547c74e517a11" args="() const " --> |
---|
| 136 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rvc</b> () const </td></tr> |
---|
[591] | 137 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::migamma_ref::dimension" ref="aeea4a999ed9679181335927e9cb66d28" args="() const " --> |
---|
[538] | 138 | int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> |
---|
[591] | 139 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::migamma_ref::dimensionc" ref="a35e135910aed187b7290742f50e61bc8" args="()" --> |
---|
[270] | 140 | int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> |
---|
| 141 | <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> |
---|
[591] | 142 | <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp91e4120baa9617769b7119bfb087c022"></a> </p> |
---|
| 143 | <br/><br/></div></td></tr> |
---|
| 144 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::migamma_ref::set_rvc" ref="a7631a5570e4ade1420065e8df78f4401" args="(const RV &rvc0)" --> |
---|
[270] | 145 | void </td><td class="memItemRight" valign="bottom"><b>set_rvc</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rvc0)</td></tr> |
---|
[591] | 146 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::migamma_ref::set_rv" ref="a18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &rv0)" --> |
---|
[270] | 147 | void </td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0)</td></tr> |
---|
[591] | 148 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::migamma_ref::isnamed" ref="af8e3798150b42fd1f3e16ddbbe0e7045" args="()" --> |
---|
[270] | 149 | bool </td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> |
---|
[591] | 150 | <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> |
---|
| 151 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::migamma_ref::set_ep" ref="a147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> |
---|
| 152 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &<a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr> |
---|
| 153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br/></td></tr> |
---|
| 154 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::migamma_ref::set_ep" ref="a7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> |
---|
| 155 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr> |
---|
| 156 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br/></td></tr> |
---|
| 157 | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
---|
| 158 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdc1345ba8375fbdb18a69322d2f841d"></a><!-- doxytag: member="bdm::migamma_ref::l" ref="acdc1345ba8375fbdb18a69322d2f841d" args="" --> |
---|
| 159 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#acdc1345ba8375fbdb18a69322d2f841d">l</a></td></tr> |
---|
| 160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">parameter l <br/></td></tr> |
---|
| 161 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3692dc67caf4367e15564d37f45476f6"></a><!-- doxytag: member="bdm::migamma_ref::refl" ref="a3692dc67caf4367e15564d37f45476f6" args="" --> |
---|
| 162 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#a3692dc67caf4367e15564d37f45476f6">refl</a></td></tr> |
---|
| 163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">reference vector <br/></td></tr> |
---|
| 164 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc56bc9da542e0103ec16b9be8e5e38c"></a><!-- doxytag: member="bdm::migamma_ref::k" ref="adc56bc9da542e0103ec16b9be8e5e38c" args="" --> |
---|
| 165 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#adc56bc9da542e0103ec16b9be8e5e38c">k</a></td></tr> |
---|
[608] | 166 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constant <img class="formulaInl" alt="$k$" src="form_84.png"/>. <br/></td></tr> |
---|
[591] | 167 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9847093da59a9ba0ebb68d2c592f5dc"></a><!-- doxytag: member="bdm::migamma_ref::_alpha" ref="ac9847093da59a9ba0ebb68d2c592f5dc" args="" --> |
---|
| 168 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#ac9847093da59a9ba0ebb68d2c592f5dc">_alpha</a></td></tr> |
---|
| 169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of iepdf.alpha <br/></td></tr> |
---|
| 170 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d854c047001b5465cf1ba21f52904b5"></a><!-- doxytag: member="bdm::migamma_ref::_beta" ref="a0d854c047001b5465cf1ba21f52904b5" args="" --> |
---|
| 171 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#a0d854c047001b5465cf1ba21f52904b5">_beta</a></td></tr> |
---|
| 172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of iepdf.beta <br/></td></tr> |
---|
| 173 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::migamma_ref::iepdf" ref="a47bab632af15120c88aad647ae129468" args="" --> |
---|
| 174 | <a class="el" href="classbdm_1_1eigamma.html">eigamma</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a></td></tr> |
---|
| 175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal epdf used for sampling. <br/></td></tr> |
---|
| 176 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::migamma_ref::dimc" ref="a7c1900976ff13dbc09c9729b3bbff9e6" args="" --> |
---|
| 177 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> |
---|
| 178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the condition <br/></td></tr> |
---|
| 179 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::migamma_ref::rvc" ref="a5a5f08950daa08b85b01ddf4e1c36288" args="" --> |
---|
| 180 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> |
---|
| 181 | <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br/></td></tr> |
---|
[259] | 182 | </table> |
---|
[591] | 183 | <hr/><h2>Member Function Documentation</h2> |
---|
| 184 | <a class="anchor" id="a9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d"></a><!-- doxytag: member="bdm::migamma_ref::from_setting" ref="a9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d" args="(const Setting &set)" --> |
---|
[259] | 185 | <div class="memitem"> |
---|
| 186 | <div class="memproto"> |
---|
| 187 | <table class="memname"> |
---|
| 188 | <tr> |
---|
[591] | 189 | <td class="memname">void bdm::migamma_ref::from_setting </td> |
---|
[259] | 190 | <td>(</td> |
---|
[538] | 191 | <td class="paramtype">const Setting & </td> |
---|
[591] | 192 | <td class="paramname"> <em>set</em></td> |
---|
[538] | 193 | <td> ) </td> |
---|
| 194 | <td><code> [virtual]</code></td> |
---|
[259] | 195 | </tr> |
---|
| 196 | </table> |
---|
| 197 | </div> |
---|
| 198 | <div class="memdoc"> |
---|
[621] | 199 | <p>Create inverse-Gamma density with conditional mean value </p> |
---|
| 200 | <p class="formulaDsp"> |
---|
| 201 | <img class="formulaDsp" alt="\[ f(rv|rvc) = i\Gamma(k, k/(rvc^l \circ ref^{(1-l)}) \]" src="form_171.png"/> |
---|
| 202 | </p> |
---|
| 203 | <p> from structure </p> |
---|
| 204 | <div class="fragment"><pre class="fragment"> <span class="keyword">class </span>= '<a class="code" href="classbdm_1_1migamma__ref.html#af45b15a10f084991ba6b48295f10421f" title="Constructor.">migamma_ref</a>'; |
---|
[632] | 205 | ref = [1e-5; 1e-5; 1e-2 1e-3]; <span class="comment">// reference vector</span> |
---|
[621] | 206 | <a class="code" href="classbdm_1_1migamma__ref.html#acdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a> = 0.999; <span class="comment">// constant l</span> |
---|
| 207 | <a class="code" href="classbdm_1_1migamma.html#adc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a> = 0.1; <span class="comment">// constant k</span> |
---|
| 208 | rv = RV({<span class="stringliteral">'name'</span>}) <span class="comment">// description of RV</span> |
---|
| 209 | <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a> = RV({<span class="stringliteral">'name'</span>}) <span class="comment">// description of RV in condition</span> |
---|
| 210 | </pre></div> |
---|
[591] | 211 | <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#a30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> |
---|
[259] | 212 | |
---|
[641] | 213 | <p>References <a class="el" href="user__info_8h_source.html#l00451">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h_source.html#l00971">set_parameters()</a>.</p> |
---|
[591] | 214 | |
---|
[259] | 215 | </div> |
---|
[397] | 216 | </div> |
---|
[591] | 217 | <hr/>The documentation for this class was generated from the following files:<ul> |
---|
| 218 | <li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></li> |
---|
| 219 | <li>exp_family.cpp</li> |
---|
| 220 | </ul> |
---|
| 221 | </div> |
---|
[641] | 222 | <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 27 00:49:06 2009 for mixpp by |
---|
[259] | 223 | <a href="http://www.doxygen.org/index.html"> |
---|
[591] | 224 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
[259] | 225 | </body> |
---|
| 226 | </html> |
---|