-
Notifications
You must be signed in to change notification settings - Fork 6
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 169: Natural scale postprocessing #170
Conversation
Created new issue for follow-up a function to do strata-level delay In future will have issues with more complexity about the other features we might want to support like posterior predictive, input of other data to the strata. |
…"family_samples" as placeholder for the time being
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirming that waiting on being repinged for review after our f2f.
Waiting for one test to finish running but I think we should be good to review this now @seabbs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments about issues connected to but not part of add_mean_sd. Suggest deal with in future issues/PRs
* Remove standard function just for lognormal * Basic structure for add_natural_scale_mean_sd as generic * Building this out a bit. Add family to class. Start test script * Get link functions (but they're names, how to get functions) * Finding a barrier here about using brms::predict * Use same distributional parameter names as brms * Better documentation of data object * posterior_linpred doesn't error! * Add mean and sd for gamma * Perhaps prepare_predictions is useful? * Melt them down into long * Call to document * Format into start of tests, correct some gamma issues, use the class "family_samples" as placeholder for the time being * Add plausible tests * Linting! * Add simulation test and skip fitting test on CRAN * Do this without using reshape2 (jankily) * Making the package and vignettes (awkwardly!) compatible with changes to add_natural_scale_mean_sd * Alter tests to pass * Replace add_natural_scale_mean_sd by add_mean_sd * lp not ld * Missed one function call, and document() * Test correction --------- Co-authored-by: Sam Abbott <[email protected]> Former-commit-id: 917a141ddc1a7ca8b8efe1582c533d7c21230dc7 [formerly a1ab87144e42ed6e9118a2538eb242508658b95f] Former-commit-id: e98a329a7678bfcadbfea2386a7618e83f755832
Description
This draft PR will close #169.
Checklist