estimate_empirical_prior | R Documentation |
This function estimates log prior model probabilities that maximize the marginal likelihoods of the data from a previous run of bmediatR().
estimate_empirical_prior(ln_prob_data, model = c("complete", "partial"))
ln_prob_data |
Marginal likelihoods from bmediatR fit. |
model |
DEFAULT: "complete". If "complete", the marginal likelihoods evaluating the effects of X on M and Y. If "partial" is specified, the effects of X on M and Y are fixed as present. A "reactive" mode is currently not supported because of the challenge in distinguishing the directionality of a relationship. |
estimate_empirical_prior()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.