s_1: Get s matrix for first moments of complete data sufficient...

Description Usage Arguments Value

View source: R/cappe_first_moment.R

Description

This functions gets the s_k(x_k,x_k+1) function for the recursive smoothing algorithm.

Usage

1
2
3
  s_1(stat_table, num_states, obs_data, time_diffs,
    rate_eigen, exact_time_ranks, absorb_state,
    trans_probs_list)

Arguments

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

Value

s array( dim(num_states, num_states,num.times,num.stats)


cthmm documentation built on May 2, 2019, 5:46 p.m.