Normal prior where, in contrast to N(), the
variance is treated as fixed and known. Typically
used for main effects or interactions where there
are too few elements to reliably estimate variance
from the available data.
Usage
NFix(sd = 1)
Value
An object of class "bage_prior_normfixed".
Arguments
sd
Standard deviation. Default is 1.
Mathematical details
$$\beta_j \sim \text{N}(0, \tau^2)$$
where \(\beta\) is the main effect or interaction,
and a value for sd is supplied by the user.
Details
NFix() is the default prior for the intercept.
See Also
N() Similar to NFix(), but standard deviation
parameter is estimated from the data rather
than being fixed in advance
priors Overview of priors implemented in bage
set_prior() Specify prior for intercept,
main effect, or interaction