l                    package:dse1                    R Documentation

_E_v_a_l_u_a_t_e _a _T_S_m_o_d_e_l

_D_e_s_c_r_i_p_t_i_o_n:

     Evaluate a model with data.

_U_s_a_g_e:

         l(obj1, obj2, ...)
         ## S3 method for class 'TSdata':
         l(obj1, obj2, ...)
         ## S3 method for class 'TSestModel':
         l(obj1, obj2, ...)

_A_r_g_u_m_e_n_t_s:

    obj1: a TSmodel, TSdata, or TSestModel object.

    obj2: a TSmodel or TSdata object.

     ...: arguments to be passed to other methods.

_D_e_t_a_i_l_s:

     This function determines whether the model is in state space or 
     ARMA form and calls l.SS or l.ARMA.

_V_a_l_u_e:

     Usually a TSestModel object is returned. Some methods allow an
     argument 'result' which specifies that a certain part of the
     object is returned. (For example, the likelihood can be returned.
     This is useful for optimization routines.)

_S_e_e _A_l_s_o:

     'l.SS', 'l.ARMA'

_E_x_a_m_p_l_e_s:

     if(is.R()) data("eg1.DSE.data.diff", package="dse1")
     model <- toSS(TSmodel(estVARXls(eg1.DSE.data.diff)))
     evalutated.model <- l(model, eg1.DSE.data.diff)

