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

Update priors documentation #28

Closed
wwiecek opened this issue Oct 18, 2019 · 0 comments
Closed

Update priors documentation #28

wwiecek opened this issue Oct 18, 2019 · 0 comments
Assignees
Milestone

Comments

@wwiecek
Copy link
Owner

wwiecek commented Oct 18, 2019

Three docs contain info about prior:

  1. ?baggr
  2. ?normal etc. (a single file with prior definitions)
  3. baggr.Rmd with the following text:

As discussed above, it is possible for the user to override the default priors and specify her own priors. The first parameter you can change is the upper bound of the uniform prior on $\sigma_{\tau}$, called "prior_upper_sigma_tau", the second is the mean of the prior on $\tau$ itself called "prior_tau_mean", the third is the scale (standard deviation) of the prior on $\tau$ itself called "prior_tau_scale". Here I have changed all three as an example (at this stage in baggr if you want to alter one you must provide the full vector):

baggr(schools, "rubin", prior = c("prior_upper_sigma_tau" = 10000, 
                                  "prior_tau_mean" = -10, 
                                  "prior_tau_scale" = 100))
baggr_schools
@wwiecek wwiecek added this to the v0.2 release milestone Oct 18, 2019
@wwiecek wwiecek self-assigned this Oct 18, 2019
@wwiecek wwiecek closed this as completed Oct 23, 2019
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

No branches or pull requests

1 participant