Skip to content

Dispersion in latent_ll_oscale() and latent_ppd_oscale()#513

Merged
fweber144 merged 2 commits into
stan-dev:masterfrom
fweber144:latent_dis
May 3, 2025
Merged

Dispersion in latent_ll_oscale() and latent_ppd_oscale()#513
fweber144 merged 2 commits into
stan-dev:masterfrom
fweber144:latent_dis

Conversation

@fweber144
Copy link
Copy Markdown
Collaborator

This adds/requires an argument dis to/in latent_ll_oscale() functions and an argument dis_resamp to/in latent_ppd_oscale() functions. This is relevant for a log-normal response family and emerged out of https://discourse.mc-stan.org/t/using-projpred-latent-projection-with-brms-weibull-family-models/39275/4.

A NEWS.md entry is still missing here. I will add it as soon as #511 (or #508) has been merged. I would propose the following text for such a NEWS.md entry (under "Major changes" because this is a breaking change for users with custom latent_ll_oscale() or latent_ppd_oscale() functions):

* For the latent projection, the function passed to argument `latent_ll_oscale` of `extend_family()` now needs to have an argument `dis` (at the second position). Similarly, the function passed to argument `latent_ppd_oscale` of `extend_family()` now needs to have an argument `dis_resamp` (again at the second position). This makes it possible, e.g., to use the latent projection for a log-normal response family. (GitHub: #513)

@fweber144 fweber144 merged commit 12f5302 into stan-dev:master May 3, 2025
@fweber144 fweber144 deleted the latent_dis branch May 3, 2025 18:43
fweber144 added a commit that referenced this pull request Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant