Closed lauterbur closed 1 year ago
I see that this is actually more complicated under the hood than I realized and that implementing different families (at least for projections) requires careful thought (eg. https://github.com/stan-dev/projpred/issues/361), so this is likely to be impractical.
I see that this is actually more complicated under the hood than I realized and that implementing different families (at least for projections) requires careful thought (eg. #361), so this is likely to be impractical.
Yes, you're right. Out of the box, projpred only supports the families listed in https://mc-stan.org/projpred/articles/projpred.html#modtypes. However, the latent projection (vignette: https://mc-stan.org/projpred/articles/latent.html) can be used for more families and should also be applicable to custom families, but this is just a quick guess (I haven't tried it out). I'm closing this issue for now, but if you run into problems with the latent projection for your custom family, feel free to re-open.
Hello,
Is it possible to use projpred on a model with a custom distribution family? I am trying to run some analyses using projpred on brms fit models using a custom family, but getting the following error:
I've set up the custom family in brms as follows:
And a test model using the example from get_refmodel.brmsfit:
And this error occurs when using get_refmodel
Is there a way to get this to work with a custom family?