MMC_tpm | R Documentation |
This functions allows to obtain the transition probability matrices for a specific value of x, considering the estimates obtained from mmcx()
.
MMC_tpm(s, x, value = max(x), result)
s |
numerical matrix with categorical data sequences |
x |
exogeneous variable |
value |
fixed value of x |
result |
result from the function |
The function returns a numerical array with the probability transition matrices for each equation
Carolina Vasconcelos and Bruno Damásio
data(stockreturns)
s <- cbind(stockreturns$sp500, stockreturns$djia)
x <- stockreturns$spread_1
res <- mmcx(s, x, initial = c(1, 1))
tpm <- MMC_tpm(s, x, value = max(x), result = res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.