ldhmm.calc_stats_from_obs {ldhmm} | R Documentation |
Computing the statistics for each state
Description
This utility computes the statistics (mean, sd, kurtosis, length) for each state.
It can be based on the local or global decoding result. The concept of asymptotic
statistics can be applied by which the largest N observations (in absolute term)
can be dropped to avoid distortion from outliers.
It is assumed the object already has come with filled data in
observations, states.prob, states.local, states.global
slots.
Usage
ldhmm.calc_stats_from_obs(object, drop = 0, use.local = TRUE)
ldhmm.drop_outliers(x, drop = 1)
Arguments
object |
an ldhmm object that contains the observations. |
drop |
numeric, an integer to drop the largest N observations, default is zero. |
use.local |
logical, use local decoding result, default is |
x |
numeric, the observations. |
Value
an ldhmm object containing results of decoding, based on data
Author(s)
Stephen H. Lihn
[Package ldhmm version 0.6.1 Index]