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

bayes_inference function #15

Closed
jaekookang opened this issue Nov 4, 2020 · 2 comments
Closed

bayes_inference function #15

jaekookang opened this issue Nov 4, 2020 · 2 comments

Comments

@jaekookang
Copy link

Hi, I'm trying to run bayes_inference function under "4.1.5 Example: TTHM in Tapwater", but encountered an error. It seems that the type of arguments changed in the newer version of statsr package. Could you tell me how to change arguments from the previous instruction?

# This is the description in the book, which does not work.
bayes_inference(tthm, data=tapwater, prior="NG",
                mu_0 = m_0, n_0=n_0, s_0 = sqrt(s2_0), v_0 = v_0,
                stat="mean", type="ci", method="theoretical", 
                show_res=TRUE, show_summ=TRUE, show_plot=FALSE)
merliseclyde added a commit that referenced this issue Jan 22, 2021
@merliseclyde
Copy link
Contributor

the version used in the book was in the bayesfactor branch- this has now been merged with the master branch and an updated version has been submitted to CRAN

@jaekookang
Copy link
Author

Thank you for the update. I really appreciate it.

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

2 participants