Draws random samples from the transformation model implied by shape
,
loc()
, and scale()
.
If location and/or scale functions were defined, samples covariate values first
using sample_covariates()
, then samples response values.
- Parameters:
-
- Return type:
dict
[str
, Any
]
- Returns:
A dictionary, holding the samples in the key "y"
and the sampled covariates
in "x"
, next to more information about the samples.