Skip to content

Commit

Permalink
Addition in news (for release 1.0.2), documentation for posterior upd…
Browse files Browse the repository at this point in the history
…ated, additional vignette created (Simulation_Comparison)
  • Loading branch information
Bossert committed Aug 1, 2024
1 parent 4b0af2b commit d1f4527
Show file tree
Hide file tree
Showing 4 changed files with 786 additions and 6 deletions.
10 changes: 9 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## BayesianMCPMod 1.0.2 (xx-Aug-2024)

- addition of new vignette comparing frequentist and bayesian MCPMod (using non-informative prior)
- extension of posterior function to allow also input of fully populated variance-covariance matrices
- added non-monotonic models (beta and quadratic)
- more tests


## BayesianMCPMod 1.0.1 (03-Apr-2024)

- Re-submission of the 'BayesianMCPMod' package
Expand All @@ -8,5 +16,5 @@
## BayesianMCPMod 1.0.0 (31-Dec-2023)

- Initial release of the 'BayesianMCPMod' package
- Special thanks to Jana Gierse, Bjoern Bornkamp, Chen Yao, Marius Thoma & Mitchell Thomann for their review and valuable comments
- Special thanks to Jana Gierse, Bjoern Bornkamp, Chen Yao, Marius Thomas & Mitchell Thomann for their review and valuable comments
- Thanks to Kevin Kunzmann for R infrastructure support and to Frank Fleischer for methodological support
1 change: 1 addition & 0 deletions R/posterior.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#' @param mu_hat vector of estimated mean values (per dose group).
#' @param S_hat Either a vector or a covariance matrix specifying the (estimated) variability can be specified. The length of the vector (resp. the dimension of the matrix) needs to match the number of dose groups. Please note that for a vector input the numbers should reflect the standard error per dose group (i.e. square root of variance), while for a matrix input the variance-covariance matrix should be provided.
#' @param calc_ess boolean variable, indicating whether effective sample size should be calculated. Default FALSE
#' @references BERNARDO, Jl. M., and Smith, AFM (1994). Bayesian Theory. 81.
#' @return posterior_list, a posterior list object is returned with information about (mixture) posterior distribution per dose group (more detailed information about the conjugate posterior in case of covariance input for S_hat is provided in the attributes)
#' @examples
#' prior_list <- list(Ctrl = RBesT::mixnorm(comp1 = c(w = 1, m = 0, s = 5), sigma = 2),
Expand Down
14 changes: 9 additions & 5 deletions man/getPosterior.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1f4527

Please sign in to comment.