Description Usage Arguments Value Examples
View source: R/gibbs_effective.R
Title Analysis of the mixing efficiency of Gibbs sampling.
1 2 | gibbs_effective(sample_size, x, y, tau_beta_square, tau_c_square,
confidence_interval = c(0.025, 0.975))
|
sample_size |
The sample size used in analyzing the mixing of Gibbs sampling. |
x |
The data set need to be analyzed. |
y |
The indicator vector of the data x. |
tau_beta_square |
Variance of the normal distribution of beta. |
tau_c_square |
Variance of the normal distribution of c. |
confidence_interval |
Confidence interval to be calculated. |
Confidence interval of beta, and the probability of beta being positive given \boldsymbol{x} and \boldsymbol{y}.
1 2 | gibbs_effective(sample_size = 30000, x = divorce$V1, y = divorce$V2,
tau_beta_square = 16, tau_c_square = 16)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.