85 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#a7a34b1e2e3aa2250d7c0ed7df1665b8c">condition</a> (const vec &val)</td></tr> |
| 85 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a34b1e2e3aa2250d7c0ed7df1665b8c"></a><!-- doxytag: member="bdm::migamma::condition" ref="a7a34b1e2e3aa2250d7c0ed7df1665b8c" args="(const vec &val)" --> |
| 86 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#a7a34b1e2e3aa2250d7c0ed7df1665b8c">condition</a> (const vec &val)</td></tr> |
| 87 | <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> |
124 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a222d5280e309c5a053ba73841e98c151"></a><!-- doxytag: member="bdm::migamma::_rv" ref="a222d5280e309c5a053ba73841e98c151" args="() const " --> |
125 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> |
126 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26001264236846897bd11e4baad47245"></a><!-- doxytag: member="bdm::migamma::_rvc" ref="a26001264236846897bd11e4baad47245" args="()" --> |
127 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rvc</b> ()</td></tr> |
| 127 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::migamma::_rv" ref="aaa0095f80870f15209bca68a8a7bad8a" args="() const " --> |
| 128 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> |
| 129 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::migamma::_rvc" ref="a739d5202899bb56792a547c74e517a11" args="() const " --> |
| 130 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rvc</b> () const </td></tr> |
170 | | <p>Mean value, <img class="formulaInl" alt="$ \mu $" src="form_80.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_81.png"/>-th the mean. This is achieved by setting <img class="formulaInl" alt="$ \alpha=\mu/k^2+2 $" src="form_82.png"/> and <img class="formulaInl" alt="$ \beta=\mu(\alpha-1)$" src="form_83.png"/>.</p> |
171 | | <p>The standard deviation of the walk is then: <img class="formulaInl" alt="$ \mu/\sqrt(k)$" src="form_84.png"/>. </p> |
| 173 | <p>Mean value, <img class="formulaInl" alt="$ \mu $" src="form_88.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_89.png"/>-th the mean. This is achieved by setting <img class="formulaInl" alt="$ \alpha=\mu/k^2+2 $" src="form_90.png"/> and <img class="formulaInl" alt="$ \beta=\mu(\alpha-1)$" src="form_91.png"/>.</p> |
| 174 | <p>The standard deviation of the walk is then: <img class="formulaInl" alt="$ \mu/\sqrt(k)$" src="form_92.png"/>. </p> |
173 | | <a class="anchor" id="a7a34b1e2e3aa2250d7c0ed7df1665b8c"></a><!-- doxytag: member="bdm::migamma::condition" ref="a7a34b1e2e3aa2250d7c0ed7df1665b8c" args="(const vec &val)" --> |
174 | | <div class="memitem"> |
175 | | <div class="memproto"> |
176 | | <table class="memname"> |
177 | | <tr> |
178 | | <td class="memname">void bdm::migamma::condition </td> |
179 | | <td>(</td> |
180 | | <td class="paramtype">const vec & </td> |
181 | | <td class="paramname"> <em>cond</em></td> |
182 | | <td> ) </td> |
183 | | <td><code> [inline, virtual]</code></td> |
184 | | </tr> |
185 | | </table> |
186 | | </div> |
187 | | <div class="memdoc"> |
188 | | <p>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 </p> |
189 | | |
190 | | <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf__internal.html#a1ac61da081667fc54bcd050cc4f6a93e">bdm::mpdf_internal< eigamma ></a>.</p> |
191 | | |
192 | | <p>Reimplemented in <a class="el" href="classbdm_1_1migamma__ref.html#aae86b2e4ff963d62e05d4e130514634a">bdm::migamma_ref</a>.</p> |
193 | | |
194 | | <p>References <a class="el" href="exp__family_8h_source.html#l00768">_alpha</a>, and <a class="el" href="exp__family_8h_source.html#l00771">_beta</a>.</p> |
195 | | |
196 | | </div> |
197 | | </div> |
213 | | <p>Load from structure with elements: </p> |
214 | | <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "mpdf_offspring", |
215 | | rv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> |
216 | | <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a>= {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable in condition</span> |
217 | | <span class="comment">// elements of offsprings</span> |
218 | | } |
| 191 | |
| 192 | <p>Load from structure with elements:. </p> |
| 193 | <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "mpdf_offspring", |
| 194 | rv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> |
| 195 | <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a>= {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable in condition</span> |
| 196 | <span class="comment">// elements of offsprings</span> |
| 197 | } |