Description Usage Arguments Details Value
Modifies the lines
dataframe that is output from the
findlines
function to add a term corresponding to the
prior for use in a Bayesian analysis.
1 |
alpha_e |
a positive numeric. The shape parameter for the IG prior on σ^2_e. |
beta_e |
a positive numeric. The scale parameter for the IG prior on σ^2_e. |
alpha_s |
a positive numeric. The shape parameter for the IG prior on σ^2_s. |
beta_s |
a positive numeric. The scale parameter for the IG prior on σ^2_s. |
Working with the posterior density of σ^2_e, σ^2_e instead of the RLL requires this incorporation of a prior distribution on those same parameters. We work here with the inverse Gamma, which is the conjugate prior,
σ^2_e ~ IG(α_e, β_e)
σ^2_s ~ IG(α_s, β_s)
Given a dataframe output from findlines
,
Returns a new lines
dataframe with the constants associated
with the prior term appended to the bottom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.