Description Usage Arguments Value Examples
This method is used to create a transition matrix from raw data of stock prices.
1 | stock(y, pricecolumn, interval = 10)
|
y |
Data of the stock prices |
pricecolumn |
The index of the column containg the prices |
interval |
The range for the state "non-significant". The default value is 10. If interval = 0, "non-significant" state will exist when no price change. |
The transition matrix of the Markov chain
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.