tQ_prior: Create a Prior for the tQ Enzyme Kinetics Model

View source: R/model-tQ-prior.R

tQ_priorR Documentation

Create a Prior for the tQ Enzyme Kinetics Model

Description

For both the kcat and kM parameters, the default priors are gamma(4, 1). We use the gamma distribution because it is naturally lower bounded by 0. The first parameter is the shape, alpha=4, and the second is the rate, beta=1. The mean of gamma distributions is alpha/beta and the variance is alpha/beta^2.

Usage

tQ_prior(
  kcat = brms::prior_string(prior = "gamma(4, 1)", lb = 0, nlpar = "kcat"),
  kM = brms::prior_string(prior = "gamma(4, 1)", lb = 0, nlpar = "kM"),
  ...
)

Arguments

kcat

brms::brmsprior or numeric. Prior for kcat parameter. Given a numeric value, it will be used as a constant and not estimated.

kM

brms::brmsprior or numeric. Prior for kM parameter. Given a numeric value, it will be used as a constant and not estimated.

...

additional brms::brmsprior() objects.

See Also

tQ_model, tQ_formula, tQ_init, and tQ_stanvar


maomlab/BayesPharma documentation built on Aug. 24, 2024, 8:45 a.m.