Skip to content

Commit

Permalink
updated prior
Browse files Browse the repository at this point in the history
  • Loading branch information
gowerc committed Jun 6, 2024
1 parent b4d749a commit 2a0a7fc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/SurvivalExponential.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NULL
#' @export
SurvivalExponential <- function(
lambda = prior_gamma(2, 5),
beta = prior_normal(0, 5)
beta = prior_normal(0, 2)
) {
.SurvivalExponential(
SurvivalModel(
Expand Down
2 changes: 1 addition & 1 deletion R/SurvivalLoglogistic.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ NULL
SurvivalLogLogistic <- function(
a = prior_lognormal(log(0.1), 5),
b = prior_gamma(2, 5),
beta = prior_normal(0, 5)
beta = prior_normal(0, 2)
) {
.SurvivalLogLogistic(
SurvivalModel(
Expand Down
2 changes: 1 addition & 1 deletion R/SurvivalWeibullPH.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ NULL
SurvivalWeibullPH <- function(
lambda = prior_gamma(2, 0.5),
gamma = prior_gamma(2, 0.5),
beta = prior_normal(0, 5)
beta = prior_normal(0, 2)
) {
.SurvivalWeibullPH(
SurvivalModel(
Expand Down
2 changes: 1 addition & 1 deletion man/SurvivalExponential-class.Rd

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

2 changes: 1 addition & 1 deletion man/SurvivalLogLogistic-class.Rd

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

2 changes: 1 addition & 1 deletion man/SurvivalWeibullPH-class.Rd

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

2 changes: 1 addition & 1 deletion vignettes/extending-jmpost.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ For example the following is roughly equivalent to how the Weibull distribution
SurvivalWeibullPH <- function(
lambda = prior_gamma(2, 0.5),
gamma = prior_gamma(2, 0.5),
beta = prior_normal(0, 5)
beta = prior_normal(0, 2)
) {
stan <- StanModule("
functions {
Expand Down

0 comments on commit 2a0a7fc

Please sign in to comment.