Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid more transformations between latent space and response space #338

Merged
merged 4 commits into from Jul 12, 2022

Conversation

fweber144
Copy link
Collaborator

Following upon #337, this PR avoids even more unnecessary back-and-forth transformations between latent space and response space. Originally, the commits from this PR were performed on branch fweber144:augdat (see PR #322), but they turned out to be useful for non-identity link functions in the traditional projection, too (see #337 and the commit messages here for some more details).

link (latent) scale if there are no offsets. The reason is that at least for the
binomial family, but possibly also for the Poisson family and any other families
with non-identity (default) link functions, numerical inaccuracies can cause
`link(linkinv(eta))` to be different from `eta`.
…cale, this

time in `.get_p_clust()`. (See commit 321b399 for a reasoning.)
@fweber144 fweber144 merged commit 6e623d3 into stan-dev:master Jul 12, 2022
@fweber144 fweber144 deleted the avoid_ilink-link branch July 12, 2022 12:42
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.

None yet

1 participant