bartz.testing¶
Testing utilities to generate synthetic datasets.
Data generation¶
|
Generate data from a quadratic multivariate DGP. |
|
Sample DGP coefficients and parameters (no dependence on |
|
Sample predictors and outcomes given fixed |
|
All quantities of the data-generating process that do not depend on |
|
Output of |
|
Output of |
Distributions¶
Standardized distributions (mean 0, variance 1) for predictors and coefficients.
|
Family of standardized distributions: mean 0, variance 1. |
|
Standard Normal distribution. |
|
Continuous uniform distribution, standardized: U(-sqrt(3), sqrt(3)). |
Uniform distribution on |
Scale distributions¶
Distributions of the per-predictor importance scales (unit mean square).
Family of nonnegative scale distributions, normalized to |
|
|
Scales concentrated at 1 (uniform predictor importance). |
|
Gamma( |
|
Two-point distribution over the scales 0 and |