View source: R/ERRparameters.R
ERRparameters | R Documentation |
Calculate simulation parameters for a given set of (artithmetic) mean counts, coefficients of variation and correlation
ERRparameters(mu_pre, mu_post, cv_pre, cv_post, correlation, geomgamma = FALSE)
mu_pre |
The pre-treatment arithmetic mean count |
mu_post |
The post-treatment arithmetic mean count |
cv_pre |
The extra-Poisson coefficient of variation (ratio of standard deviation to mean) in the pre-treatment data |
cv_post |
The extra-Poisson coefficient of variation (ratio of standard deviation to mean) in the post-treatment data |
correlation |
The extra-Poisson correlation between pre- and post-treatment lambda parameters (GP) or log-lambda parameters (LP) |
geomgamma |
Should the geometric mean reduction for the gamma-Poisson data be estimated by simulation? |
a list with components reflecting the necessary simulation parameters for correlated gamma-Poisson and correlatedlognormal-Poisson distributions
ERRparameters(100, 10, 2, 2.5, 0.4, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.