getPrior: Get a Prior for a posterior

View source: R/selection.R

getPriorR Documentation

Get a Prior for a posterior

Description

This function the posterior distribution from an ame model and uses it to generate the prior for the next simulation.

Usage

getPrior(mdl, strong = F, strongFactor = 1e+06)

Arguments

mdl

output from ame models of class ame

strong

booliean value indicating weather to treat this as a stribg prior by reducing the variance in beta and increasing the degrees of freedom

strongFactor

value indicating the factor used to augment prior to make it a strong prior.

lastPrior

previous prior used for tracking degrees of freedom

Value

a list of hyperparamters used as a prior by the ame model


djgriffin13/MGAME documentation built on June 11, 2022, 8:45 p.m.