dmeasure-pomp              package:pomp              R Documentation

_E_v_a_l_u_a_t_e _t_h_e _p_r_o_b_a_b_i_l_i_t_y _d_e_n_s_i_t_y _o_f _o_b_s_e_r_v_a_t_i_o_n_s _g_i_v_e_n _u_n_d_e_r_l_y_i_n_g _s_t_a_t_e_s _i_n _a _p_a_r_t_i_a_l_l_y-_o_b_s_e_r_v_e_d _M_a_r_k_o_v _p_r_o_c_e_s_s

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

     The method 'dmeasure' evaluates the probability density of a set
     of measurements given the state of the system. This function is
     part of the low-level interface to 'pomp' objects. This help page
     does not give instructions on the implementation of models: see
     'pomp' for instructions.

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

     dmeasure(object, y, x, times, params, log = FALSE, ...)
     ## S4 method for signature 'pomp':
     dmeasure(object, y, x, times, params, log = FALSE, ...)

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

  object: an object of class 'pomp'.

       y: a rank-2 array containing observations. The dimensions of 'y'
          are 'nobs' x 'ntimes', where 'nobs' is the number of
          observables and 'ntimes' is the length of 'times'. 

       x: a rank-3 array containing the states of the unobserved
          process. The dimensions of 'x' are 'nvars' x 'nreps' x
          'ntimes', where 'nvars' is the number of state variables,
          'nreps' is the number of replicates, and 'ntimes' is the
          length of 'times'. 

   times: a numeric vector containing the times at which the
          observations were made. 

  params: a rank-2 array of parameters with columns corresponding to
          the columns of 'x'. Note that the 'x' and 'params' must agree
          in the number of their columns. 

     log: if TRUE, log probabilities are returned.

     ...: at present, these are ignored.

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

     This function is essentially a wrapper around the user-supplied
     'dmeasure' slot of the 'pomp' object. For specifications on
     writing such a function, see 'pomp'.

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

     Returns a matrix of dimensions 'nreps' x 'ntimes'. If 'd' is the
     returned matrix, 'd[j,k]' is the likelihood of the observation
     'y[,k]' at time 'times[k]' given the state 'x[,j,k]'.

_A_u_t_h_o_r(_s):

     Aaron A. King kingaa at umich dot edu

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

     'pomp-class', 'pomp'

