Description Usage Arguments Value
View source: R/gam_ci_functions.R
This function computes the confidence intervals for the estimated parameters
alpha
, theta
, and beta
using the variances outputted from
gam_fit_hmm()
and the Monte Carlo method of estimation.
1 2 3 4 5 6 7 |
hmm |
A list of parameters that specify the gamma HMM, including
|
state_dep_dist_pooled |
A logical variable indiacting whether the
state dependent distribution parameters |
n |
The number of samples in the Monte Carlo fitting. |
level |
A number indicating the level of confidence for the desired interval. |
raw_sample |
A logical variable indicating wheter to simply output the
|
Either a list of the sampled alpha
s and theta
s or the list of
confidence intervals for each parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.