Description Usage Arguments Value Examples
View source: R/interval_to_moments.R
Convert a matrix of 100*(1-alpha)
% prior probability intervals for the steady states to prior moments.
1 | interval_to_moments(prior_psi_int, alpha = 0.05)
|
prior_psi_int |
Matrix of size |
alpha |
|
A list with two components:
prior_psi_mean |
The prior mean of psi |
prior_psi_Omega |
The prior covariance matrix of psi |
1 2 3 | prior_intervals <- matrix(c(0.1, 0.2,
0.4, 0.6), ncol = 2, byrow = TRUE)
psi_moments <- interval_to_moments(prior_intervals)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.