Description Usage Arguments Value
This function computes the time dependent transition probability matrix
from the corresponding vector design
and the matrix of regression
coefficients beta
.
1 |
num_states |
The number of states in the desired HMM. |
num_subjects |
The number of subjects/trials that generated the data. |
num_covariates |
The number of covariates in the data that the transition probability matrix depends on. |
num_time |
A value indicating the length of the data. |
beta |
A matrix of regression coefficients for the effect of the
covariates on the transition probability matrices |
design |
A list of design matrices, one for each subject which indicate the values of the each of the covariates (column) at each point in time (row). |
A list containing a list for each subject/trial of the transition probability matrices at each time step.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.