Description Usage Arguments Value
View source: R/gam0_forecast_psr.R
This function computes the zero inflated gamma forecast pseudo-residuals of
the data x
fitted with hmm
(with gamma state dependent distributions).
1 | gam0_forecast_psr(x, hmm, state_dep_dist_pooled = FALSE)
|
x |
The data to be fit with an HMM in the form of a 3D array. The first index (row) corresponds to time, the second (column) to the variable number, and the third (matrix number) to the subject number. |
hmm |
A list of parameters that specify the gamma HMM, including
|
state_dep_dist_pooled |
A logical variable indicating whether the
state dependent distribution parameters |
A list of vectors (one for each subject) of the pseudo-residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.