View source: R/ldhmm-ld_stats.R
ldhmm.ld_stats | R Documentation |
This utility computes the statistics (mean, sd, kurtosis) based on the lambda distribution.
This is used to compare to the statistics from observations for each state.
alloc
is a short-hand for Merton's optimal allocation, mean/sd^2
.
ldhmm.ld_stats(object, annualize = FALSE, days.pa = 252)
object |
an ldhmm object |
annualize |
logical, to annaulize the sd and mean to V (xsqrt(days.pa)x100) and R (xdays.pa).
Default is |
days.pa |
a positive integer, specifying number of days per year, default is 252. |
a matrix of statistics for each state, size of states times 4
Stephen H. Lihn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.