Changeset 1808425 in tol


Ignore:
Timestamp:
Oct 22, 2008, 3:40:27 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
f9c2afa
Parents:
1f99b1c
Message:

Adding comments to ARMAProcess::Eval.Almagro

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@57 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/stat/models/bayesian/arima/_arma_process.tol

    r1f99b1c r1808425  
    192192
    193193  //////////////////////////////////////////////////////////////////////////////
     194  Text _.autodoc.member.Eval.Almagro =
     195  "Given an ARMA process ar(B)*z[t] = ma(B)*a[t] builds these methods:\n"
     196  " Draw.U_cond_Z: generate random initial values conditioned to noise\n";
     197  " LogLH.Z_cond_U: conditional likelihood of noise conditioned to given "
     198                    "initial values\n.";
    194199  NameBlock Eval.Almagro(Polyn ar, Polyn ma, VMatrix z_, Real sigma)
    195200  //////////////////////////////////////////////////////////////////////////////
    … …  
    335340    VMatrix _R0100 = Rand(0,  1,0,0);
    336341    VMatrix _Rq100 = Rand(_.q,1,0,0);
    337 /*   
    338     ////////////////////////////////////////////////////////////////////////////
    339     Real LogLH.Z_cond_U(Polyn ar, Polyn ma, VMatrix u)
    340     ////////////////////////////////////////////////////////////////////////////
    341     {
    342       VMatrix H1 = Pol2VMat(F^_.p*(1-ar), _.m, _.p);
    343       VMatrix H2 = Pol2VMat(F^_.q*(ma-1), _.m, _.q);
    344       VMatrix H = H1 | H2;
    345       VMatrix Hu = H*u;
    346       VMatrix Gu = DifEq(1/ma,Hu,_R0100,_Rq100,0.8,1.E-17);
    347       VMatrix piz = DifEq(ar/ma,_.z);
    348       _0.5_m_log2_PI_s2 - 0.5*_.m*VMatMoment(piz-Gu,2)/_.s2
    349     }
    350 */
     342
    351343    ////////////////////////////////////////////////////////////////////////////
    352344    Real LogLH.Z_cond_U(Polyn ar, Polyn ma, VMatrix z0, VMatrix a0)
Note: See TracChangeset for help on using the changeset viewer.