Show
Ignore:
Timestamp:
08/16/09 18:14:04 (15 years ago)
Author:
smidl
Message:

Documentation regenerated

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1ARX.html

    r472 r538  
    55<link href="doxygen.css" rel="stylesheet" type="text/css"> 
    66</head><body> 
    7 <!-- Generated by Doxygen 1.5.9 --> 
     7<!-- Generated by Doxygen 1.5.8 --> 
    88<script type="text/javascript"> 
    99<!-- 
     
    7171<a href="#_details">More...</a> 
    7272<p> 
    73 <code>#include &lt;<a class="el" href="arx_8h_source.html">arx.h</a>&gt;</code> 
     73<code>#include &lt;<a class="el" href="arx_8h-source.html">arx.h</a>&gt;</code> 
    7474<p> 
    7575 
     
    111111 
    112112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f859f53eab269845a9064bbd92f841af"></a><!-- doxytag: member="bdm::ARX::set_statistics" ref="f859f53eab269845a9064bbd92f841af" args="(int dimx0, const ldmat V0, double nu0=&#45;1.0)" --> 
    113 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (int dimx0, const <a class="el" href="classldmat.html">ldmat</a> V0, double nu0=-1.0)</td></tr> 
     113void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (int dimx0, const <a class="el" href="classbdm_1_1ldmat.html">ldmat</a> V0, double nu0=-1.0)</td></tr> 
    114114 
    115115<tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> 
     
    128128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flatten the posterior according to the given <a class="el" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> (of the same type!). <br></td></tr> 
    129129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="749827323c034f11bec61b6e2fc3d42a"></a><!-- doxytag: member="bdm::ARX::epredictor" ref="749827323c034f11bec61b6e2fc3d42a" args="(const vec &amp;rgr) const " --> 
    130 <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classldmat.html">ldmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#749827323c034f11bec61b6e2fc3d42a">epredictor</a> (const vec &amp;rgr) const </td></tr> 
     130<a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1ldmat.html">ldmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#749827323c034f11bec61b6e2fc3d42a">epredictor</a> (const vec &amp;rgr) const </td></tr> 
    131131 
    132132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Conditioned version of the predictor. <br></td></tr> 
    133133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4cdf5e2a7d3480ec31f6247ed4289b15"></a><!-- doxytag: member="bdm::ARX::epredictor" ref="4cdf5e2a7d3480ec31f6247ed4289b15" args="() const " --> 
    134 <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classldmat.html">ldmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#4cdf5e2a7d3480ec31f6247ed4289b15">epredictor</a> () const </td></tr> 
     134<a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1ldmat.html">ldmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#4cdf5e2a7d3480ec31f6247ed4289b15">epredictor</a> () const </td></tr> 
    135135 
    136136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Predictor for empty regressor. <br></td></tr> 
    137 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>&lt; <a class="el" href="classldmat.html">ldmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#74fe8ae2d88bee8639510fd0eaf73513">predictor</a> () const </td></tr> 
     137<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>&lt; <a class="el" href="classbdm_1_1ldmat.html">ldmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#74fe8ae2d88bee8639510fd0eaf73513">predictor</a> () const </td></tr> 
    138138 
    139139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">conditional version of the predictor  <a href="#74fe8ae2d88bee8639510fd0eaf73513"></a><br></td></tr> 
     
    145145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Brute force structure estimation.  <a href="#16b02ae03316751664c22d59d90c1e34"></a><br></td></tr> 
    146146<tr><td colspan="2"><div class="groupHeader">Access attributes</div></td></tr> 
    147 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab2c55205a324e9d698fbd8ac229ad4f"></a><!-- doxytag: member="bdm::ARX::_e" ref="ab2c55205a324e9d698fbd8ac229ad4f" args="() const " --> 
    148 const <a class="el" href="classbdm_1_1egiw.html">egiw</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>_e</b> () const </td></tr> 
    149  
    150147<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a96a50d212648f049122a31d9553618"></a><!-- doxytag: member="bdm::ARX::posterior" ref="5a96a50d212648f049122a31d9553618" args="() const " --> 
    151148const <a class="el" href="classbdm_1_1egiw.html">egiw</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>posterior</b> () const </td></tr> 
     
    192189<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Posterior estimate of <img class="formulaInl" alt="$\theta,r$" src="form_27.png"> in the form of Normal-inverse Wishart density. <br></td></tr> 
    193190<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de5b7d83ff5d3f5af2f80068db0abdfd"></a><!-- doxytag: member="bdm::ARX::V" ref="de5b7d83ff5d3f5af2f80068db0abdfd" args="" --> 
    194 <a class="el" href="classldmat.html">ldmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#de5b7d83ff5d3f5af2f80068db0abdfd">V</a></td></tr> 
     191<a class="el" href="classbdm_1_1ldmat.html">ldmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ARX.html#de5b7d83ff5d3f5af2f80068db0abdfd">V</a></td></tr> 
    195192 
    196193<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cached value of est.V <br></td></tr> 
     
    267264The easiest way how to use the class is: <div class="fragment"><pre class="fragment"><span class="preprocessor">#include "<a class="code" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model.">estim/arx.h</a>"</span> 
    268265<span class="keyword">using namespace </span>bdm; 
    269          
     266 
    270267<span class="comment">// estimation of AR(0) model</span> 
    271268<span class="keywordtype">int</span> main() { 
    272         <span class="comment">//prior </span> 
    273         mat V0 = 0.00001*eye(2); V0(0,0)= 0.1; <span class="comment">//</span> 
    274         ARX Ar;  
    275         Ar.set_statistics(1, V0); <span class="comment">//nu is default (set to have finite moments)</span> 
    276                                                           <span class="comment">// forgetting is default: 1.0</span> 
    277         mat Data = concat_vertical( randn(1,100), ones(1,100) ); 
    278         Ar.bayesB( Data);  
    279                          
    280         cout &lt;&lt; <span class="stringliteral">"Expected value of Theta is: "</span> &lt;&lt; Ar.posterior().mean() &lt;&lt;endl; 
     269        <span class="comment">//prior</span> 
     270        mat V0 = 0.00001 * eye ( 2 ); 
     271        V0 ( 0, 0 ) = 0.1; <span class="comment">//</span> 
     272        ARX Ar; 
     273        Ar.set_statistics ( 1, V0 ); <span class="comment">//nu is default (set to have finite moments)</span> 
     274        <span class="comment">// forgetting is default: 1.0</span> 
     275        mat Data = concat_vertical ( randn ( 1, 100 ), ones ( 1, 100 ) ); 
     276        Ar.bayesB ( Data ); 
     277 
     278        cout &lt;&lt; <span class="stringliteral">"Expected value of Theta is: "</span> &lt;&lt; Ar.posterior().mean() &lt;&lt; endl; 
    281279} 
    282280</pre></div><p> 
    283 <dl class="todo" compact><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>sort out constant terms - bayes should accept vec without additional 1s </dd></dl> 
     281<dl compact><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>sort out constant terms - bayes should accept vec without additional 1s </dd></dl> 
    284282<hr><h2>Member Function Documentation</h2> 
    285283<a class="anchor" name="8bdf2974052e8ce74eb0d4f3791c58a3"></a><!-- doxytag: member="bdm::ARX::bayes" ref="8bdf2974052e8ce74eb0d4f3791c58a3" args="(const vec &amp;dt)" --> 
     
    310308<p>Reimplemented from <a class="el" href="classbdm_1_1BMEF.html#c287f4c0c1ea31b91572ec45351838f1">bdm::BMEF</a>.</p> 
    311309 
    312 <p>References <a class="el" href="arx_8h_source.html#l00078">bayes()</a>.</p> 
    313  
    314 <p>Referenced by <a class="el" href="arx_8h_source.html#l00078">bayes()</a>.</p> 
     310<p>References <a class="el" href="arx_8cpp-source.html#l00005">bayes()</a>.</p> 
    315311 
    316312</div> 
     
    341337 
    342338                <span class="comment">//optional fields</span> 
    343                 dV0 = [1e-3, 1e-5, 1e-5, 1e-5];  
     339                dV0 = [1e-3, 1e-5, 1e-5, 1e-5]; 
    344340                                                           <span class="comment">// default: 1e-3 for y, 1e-5 for rgr</span> 
    345341                nu0 = 6;               <span class="comment">// default: rgrlen + 2</span> 
     
    350346<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
    351347 
    352 <p>References <a class="el" href="exp__family_8h_source.html#l00086">bdm::BMEF::frg</a>, and <a class="el" href="user__info_8h_source.html#l00387">bdm::UI::get()</a>.</p> 
     348<p>References <a class="el" href="exp__family_8h-source.html#l00077">bdm::BMEF::frg</a>, and <a class="el" href="user__info_8h-source.html#l00410">bdm::UI::get()</a>.</p> 
    353349 
    354350</div> 
     
    374370<p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>.</p> 
    375371 
    376 <p>References <a class="el" href="arx_8h_source.html#l00049">est</a>, <a class="el" href="bdmbase_8h_source.html#l00741">bdm::BM::evalll</a>, <a class="el" href="exp__family_8h_source.html#l00086">bdm::BMEF::frg</a>, <a class="el" href="exp__family_8h_source.html#l00088">bdm::BMEF::last_lognc</a>, <a class="el" href="exp__family_8cpp_source.html#l00047">bdm::egiw::lognc()</a>, <a class="el" href="arx_8h_source.html#l00053">nu</a>, <a class="el" href="square__mat_8cpp_source.html#l00058">ldmat::opupdt()</a>, <a class="el" href="exp__family_8h_source.html#l00227">bdm::egiw::pow()</a>, and <a class="el" href="arx_8h_source.html#l00051">V</a>.</p> 
     372<p>References <a class="el" href="exp__family_8h-source.html#l00232">bdm::egiw::_nu()</a>, <a class="el" href="exp__family_8h-source.html#l00230">bdm::egiw::_V()</a>, <a class="el" href="arx_8h-source.html#l00049">est</a>, <a class="el" href="bdmbase_8h-source.html#l00852">bdm::BM::evalll</a>, <a class="el" href="exp__family_8h-source.html#l00077">bdm::BMEF::frg</a>, <a class="el" href="exp__family_8h-source.html#l00079">bdm::BMEF::last_lognc</a>, <a class="el" href="exp__family_8cpp-source.html#l00050">bdm::egiw::lognc()</a>, <a class="el" href="arx_8h-source.html#l00053">nu</a>, <a class="el" href="square__mat_8cpp-source.html#l00074">bdm::ldmat::opupdt()</a>, <a class="el" href="exp__family_8h-source.html#l00225">bdm::egiw::pow()</a>, and <a class="el" href="arx_8h-source.html#l00051">V</a>.</p> 
    377373 
    378374</div> 
     
    383379      <table class="memname"> 
    384380        <tr> 
    385           <td class="memname"><a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>&lt; <a class="el" href="classldmat.html">ldmat</a> &gt; * bdm::ARX::predictor           </td> 
     381          <td class="memname"><a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>&lt; <a class="el" href="classbdm_1_1ldmat.html">ldmat</a> &gt; * bdm::ARX::predictor           </td> 
    386382          <td>(</td> 
    387383          <td class="paramname">          </td> 
     
    401397<p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">bdm::BM</a>.</p> 
    402398 
    403 <p>References <a class="el" href="bdmbase_8h_source.html#l00323">bdm::epdf::dimension()</a>, <a class="el" href="arx_8h_source.html#l00049">est</a>, <a class="el" href="square__mat_8h_source.html#l00095">sqmat::rows()</a>, <a class="el" href="exp__family_8h_source.html#l01261">bdm::mlnorm&lt; sq_T &gt;::set_parameters()</a>, and <a class="el" href="arx_8h_source.html#l00051">V</a>.</p> 
     399<p>References <a class="el" href="bdmbase_8h-source.html#l00372">bdm::epdf::dimension()</a>, <a class="el" href="arx_8h-source.html#l00049">est</a>, <a class="el" href="exp__family_8cpp-source.html#l00145">bdm::egiw::mean_mat()</a>, <a class="el" href="square__mat_8h-source.html#l00099">bdm::sqmat::rows()</a>, <a class="el" href="exp__family_8h-source.html#l00536">bdm::mlnorm&lt; sq_T, TEpdf &gt;::set_parameters()</a>, and <a class="el" href="arx_8h-source.html#l00051">V</a>.</p> 
    404400 
    405401</div> 
     
    426422<dl class="return" compact><dt><b>Returns:</b></dt><dd>indeces of accepted regressors. </dd></dl> 
    427423 
    428 <p>References <a class="el" href="bdmbase_8h_source.html#l00323">bdm::epdf::dimension()</a>, <a class="el" href="arx_8h_source.html#l00049">est</a>, and <a class="el" href="exp__family_8cpp_source.html#l00047">bdm::egiw::lognc()</a>.</p> 
     424<p>References <a class="el" href="bdmbase_8h-source.html#l00372">bdm::epdf::dimension()</a>, <a class="el" href="arx_8h-source.html#l00049">est</a>, and <a class="el" href="exp__family_8cpp-source.html#l00050">bdm::egiw::lognc()</a>.</p> 
    429425 
    430426</div> 
     
    447443</div><p> 
    448444<hr>The documentation for this class was generated from the following files:<ul> 
    449 <li><a class="el" href="arx_8h_source.html">arx.h</a><li>arx.cpp</ul> 
    450 </div> 
    451 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:06:57 2009 for mixpp by&nbsp; 
     445<li><a class="el" href="arx_8h-source.html">arx.h</a><li>arx.cpp</ul> 
     446</div> 
     447<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by&nbsp; 
    452448<a href="http://www.doxygen.org/index.html"> 
    453 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> 
     449<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 
    454450</body> 
    455451</html>