Description Usage Arguments Value
View source: R/cappe_first_moment.R
This functions gets the s_k(x_k,x_k+1) function for the recursive smoothing algorithm.
1 2 3  |   s_1(stat_table, num_states, obs_data, time_diffs,
    rate_eigen, exact_time_ranks, absorb_state,
    trans_probs_list)
 | 
stat_table | 
 table with sufficient statistic information (need to run suff.stat.table)  | 
obs_data | 
 obseved data  | 
time_diffs | 
 t2-t1, t3-t2,...,tn-t_n-1  | 
num_states | 
 number of hidden states  | 
trans_probs_list | 
 list with the transition probabilities for the individual  | 
s array( dim(num_states, num_states,num.times,num.stats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.