Description Usage Arguments Details Value See Also
A function that uses the values returned from the sampling function of RStan and returns the parameter chain of the posterior distribution, the parameters can be beta, gamma, theta or zeta.
1 2 3 4 5 6 7 8 |
type |
Characters indicating which values will be returned by the function |
obj |
containing the data returned from the sampling function of the Rstan package. This type of object is used because it returns the values of the posterior distribution of the model. |
iter |
A positive integer specifying the number of iterations for each chain (including warmup). |
warmup |
A positive integer specifying the number of iterations that will be in the warm-up period. |
n |
The number of observations of the model's variable response. |
par |
A number containing the number of parameters for theta or zeta. If type is equal to beta or theta par is similar to p (number of parameters for theta), otherwise even is similar to q (number of parameters for zeta). When type is equal to 'delta', 'xi', 'tau_xi', or 'tau_delta' the par variable verify spatial effect in adjusted model. |
The function values
returns the parameter of interest by taking the data returned by the Stan function excluding the warmup period data. All data returned is in the format of 5 decimal places.
A list containing the values according to the type argument, the values are returned excluding the warmups.
summary_mean
,summary_precision
,model.bayesbr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.