-
Notifications
You must be signed in to change notification settings - Fork 5
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
Issue #438: Use class as default for family and reexport common families and formula function #449
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
This comment was marked as outdated.
seabbs
force-pushed
the
revert-family-string-default
branch
from
November 19, 2024 10:26
cad21af
to
9c96cb5
Compare
seabbs
approved these changes
Nov 19, 2024
seabbs
pushed a commit
that referenced
this pull request
Jan 10, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 8b6f99d3c05117cc2e5c8be1afc3627fb3619870 [formerly 7e594460374bbeef99ff031663befa07fe579e80] Former-commit-id: 0f4a99d8a8b5e1e3be0d6a8e806e68597c05d7ca
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 3991f2f Former-commit-id: ff40773bd7e215f5bea27216f841f2212a34b971
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 3991f2f Former-commit-id: ff40773bd7e215f5bea27216f841f2212a34b971
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 3991f2f Former-commit-id: ff40773bd7e215f5bea27216f841f2212a34b971
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 8b6f99d3c05117cc2e5c8be1afc3627fb3619870 [formerly 7e594460374bbeef99ff031663befa07fe579e80] Former-commit-id: 0f4a99d8a8b5e1e3be0d6a8e806e68597c05d7ca
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 8b6f99d3c05117cc2e5c8be1afc3627fb3619870 [formerly 7e594460374bbeef99ff031663befa07fe579e80] Former-commit-id: 0f4a99d8a8b5e1e3be0d6a8e806e68597c05d7ca Former-commit-id: 09f93b1
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 3991f2f Former-commit-id: ff40773bd7e215f5bea27216f841f2212a34b971 Former-commit-id: a4f827363f07f786eb8f3516a2b0b0b2030f3dfa [formerly 15b81cd] Former-commit-id: 599a0c65a82aea0c82030dbb8a91dbd5d585041d
seabbs
pushed a commit
that referenced
this pull request
Jan 21, 2025
…ies and formula function (#449) * Add 3 families and bf as reexports * Use lognormal() as default and document it * Use lognormal() not "lognormal" * Stop with brms::bf and use bf * Remove more calls to brms::lognormal that can be lognormal * We are also exporting stats::Gamma * Another one * Document * Use predictions in test of sex effect * Can do this without predict_delay_pars * Change to link function here Former-commit-id: 3991f2f Former-commit-id: ff40773bd7e215f5bea27216f841f2212a34b971 Former-commit-id: a4f827363f07f786eb8f3516a2b0b0b2030f3dfa [formerly 15b81cd] Former-commit-id: 599a0c65a82aea0c82030dbb8a91dbd5d585041d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR closes #438.
Reexports
brms::lognormal
,brms::weibull
,stats::Gamma
andbrms::bf
.Changes default to
lognormal()
away from"lognormal"
.I've also altered the test on the recovery of simulated
fit_sex
parameters to use the right link functions so that they pass. Also on sampling from prior.I am wondering if
lognormal()
has different link functions by default than"lognormal"
. In particular it usesexp()
on the SD whereas maybe the string one just uses identity (which would be bad to do, so good we've moved away from it).Checklist