OWcoef: Coefficients for W (emission inputs)

Description Usage Arguments Value Examples

View source: R/OWcoef.R

Description

OWcoef calculates emission coefficient 0.025, 0.05, mean, 0.50 (median), 0.95, 0.975 quantiles from the iterations. These coeffiecients are used to determine the mixing weights of the mixture components of the emission distributions. There are K intercept coefficients and A input coeffients for each J.

Usage

1
OWcoef(nhmmobj, plots = FALSE, outfile = NULL)

Arguments

nhmmobj

an object created from the NHMM function

plots

TRUE/FALSE- default is FALSE because the plot window can grow quite large depending on the number of sequences.

outfile

a directory to put the .png plot

Value

params [K+A by J] by 6. There are six values returned: 0.025, 0.05, mean, 0.50 (median), 0.95, 0.975 quantiles from the iterations. (0.025, 0.975) are used to construct 95 likewise (0.05, 0.95) can be used to construct 90

output: plot window can grow quite large depending on the number of sequences. [K+A by J] panes.'

output: outputs statements of 90 and each X input coefficients (if any of the J coefficients for a variable are significant then that variable is deemed signficant.)

Examples

1
2
#thetas=OWcoef(my.nhmm, FALSE); 
#thetas[,,,,3]  #mean values

NHMM documentation built on July 1, 2020, 7:28 p.m.

Related to OWcoef in NHMM...