Description Usage Arguments Value Examples
View source: R/two_prior_sensitivity.R
Title Analysis the sensitivity of changing the parameters of Gamma distribution, based on the dependency of two Poisson distributions parameters.
1 2 | two_prior_sensitivity(sample_size, gamma_theta_a, gamma_theta_b, y.1, y.2,
gamma_gamma_a, gamma_gamma_b)
|
sample_size |
How many samples to produce. |
gamma_theta_a |
The first parameter of Gamma distribution of θ. |
gamma_theta_b |
The second parameter of Gamma distribution of θ. |
y.1 |
The first group of data. |
y.2 |
The second group of data. |
gamma_gamma_a |
The first parameter of Gamma distribution of γ. |
gamma_gamma_b |
The second parameter of Gamma distribution of γ. |
The expectation of the difference between parameters of Poisson distributions given the data.
1 2 3 | two_prior_sensitivity(sample_size = 5000, gamma_theta_a = 2, gamma_theta_b = 1,
y.1 = menchild30bach, y.2 = menchild30nobach,
gamma_gamma_a = 2^(seq(3, 7)), gamma_gamma_b = 2^(seq(3, 7)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.