Sample a smooth random function from the vanilla IBSS prior
Source:R/simulation.R
mf_simu_ibss_vanilla.RdSimpler companion to mf_simu_ibss_per_level(): draws all
wavelet detail coefficients from a SINGLE shared
mixture-of-normals (no per-scale variation). The mixture has
one null component (sd = 0) with mass pi0; the remaining
mass is split uniformly across length_grid - 1 non-null
components whose standard deviations are drawn from a
0-anchored cumsum of chi-squared(1) variates.
Value
A list with components:
sim_funclength-
2^lev_resnumeric vector, the simulated function in position space.true_coefwavelet detail coefficients used to construct
sim_func.true_gthe
ashr::normalmixobject describing the shared mixture prior.emp_pi0empirical proportion of detail coefficients drawn from the null component (the Monte Carlo realization of
pi0).