calc_emis {dagHMM} | R Documentation |
Calculating the probability of occurance of particular values of covariates at a node given the value of target.
Description
Calculating the probability of occurance of particular values of covariates at a node given the value of target.
Usage
calc_emis(state, obsv, probs, pars)
Arguments
state |
character value of state variable at a particular node. |
obsv |
character vector of values of covariates at that node. |
probs |
emission probability distribution of the covariates in TAN structure. |
pars |
integer vector denoting the parents of the nodes(other than root) in the TAN structure. |
Value
probability of occurance of particular values of covariates at a node given the value of target.
[Package dagHMM version 0.1.1 Index]