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

Allow constant pmins and pmaxs? #68

Open
tjthurman opened this issue Jun 5, 2020 · 2 comments
Open

Allow constant pmins and pmaxs? #68

tjthurman opened this issue Jun 5, 2020 · 2 comments
Labels
enhancement New feature or request minor Minor issues

Comments

@tjthurman
Copy link
Owner

No description provided.

@tjthurman tjthurman added enhancement New feature or request minor Minor issues labels Jun 5, 2020
@tjthurman
Copy link
Owner Author

Would allow BAHZ to replicate the fixed at 0/1 models from HZAR. You can more-or-less do this already: use a super-tight uniform prior aroudn the desired value (e.g., 0.7999 to 0.80001 to do 0.8, or 0.9999 to 1 to do 1). Stan does not have a "constant" probability distribution that can be used as a prior, so for now that seems like the best way. It could also probably be done with optional parameters (see #67), but that would require some major changes in how the priors get implemented.

@tjthurman
Copy link
Owner Author

Add a check to make sure bounds for uniform priors aren't equal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Minor issues
Projects
None yet
Development

No branches or pull requests

1 participant