Description Usage Arguments Details Value Examples
Additional function to be used for simulation purposes (academical or research). Transforming of vector with initial states I for various observations with respect to stationary distribution of the states for the random environment.
1 | randomizeInitState(StatPr, X, p = 1)
|
StatPr |
Vector (m x 1), m - number of states, m = 2,3,.. .The vector with stationary probabilities, user-defined vector. |
X |
Matrix (n x k), n - number of observations, k - number of columns (k - 1 - number of regressors). The matrix is needed to get the number of observations. |
p |
Scalar (from 1 to +inf), random number for simulation. The default value is 1. |
The initial states (m - number of states, m = 2,3,...) for various observations are independent and are chosen with respect to stationary distribution of the states for the random environment. The vector with stationary probabilities is user-defined vector.
Vector with new initial states, according to stationary distribution of the states for the random environment.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.