calc_emis: Calculating the probability of occurance of particular values...

View source: R/forward.R

calc_emisR 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.


dagHMM documentation built on Jan. 11, 2023, 1:13 a.m.

Related to calc_emis in dagHMM...