stephenslab / ebnm

R package to fit Empirical Bayes Normal Means model.
https://stephenslab.github.io/ebnm/
12 stars 9 forks source link

can deal with heteroskedastic errors for deconvolver #63

Open willwerscheid opened 2 years ago

willwerscheid commented 2 years ago

pass x/s to wrapper and then re-scale the output

willwerscheid commented 2 years ago

This is slightly annoying because we can't just re-scale the prior g. What to do? Ideally you'd want to be able to pass in x and s and initialize g at the solution and get the same result back, so you'd need to make it clear that g is a prior on the z-scores not (x, s). It might be easier just to tell the user to do their own scaling.