Description Usage Arguments Details Value Examples
View source: R/methods-for-data-generation.R
Method for generating a sampling design for data generation following a random effects meta regression model with unknown heteroscedasticity.
1 | designD(n, h_bounds, d_bounds, s_bounds, x)
|
n |
resolution of the heterogeneity and heteroscedasticity parameters, i.e., the number of of different (heterogeneity, heteroscedasticity, sizes) tuple in the design. |
h_bounds |
bounds of the heterogeneity. |
d_bounds |
bounds of the heteroscedasticity. |
s_bounds |
bounds of the study sizes. |
x |
design matrix. |
Generates a sampling design for the heterogeneity 'h', heteroscedasticity 'd1', ..., 'dk', and study sizes 's1', ..., 'sk'. This design can be used for testing methods that adjust for uncertainty in the heteroscedasticity estimates by additionally considering the size of the respected studies.
Points in the design are selected via a maxi-min hypercube sampling using the 'lhs' package in a predefined parameter cube.
Function returns a data frame. Each line of this data frame can be an input to the function 'rD' which is used to sample data from such a design.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.