estimate_lm_model | R Documentation |
Estimate linear regression model using variational approximation.
estimate_lm_model( dat, prior = c(int_prior_mean = 40, int_prior_sd = 5, b_prior_sd = 5, df = 3, scale = 5), ctr = contr.treatment )
dat |
A dataset |
prior |
A vector giving prior parameters: intercept prior mean, intercept prior sd, effect prior sd, variance prior df, variance prior scale. Note that the assumed prior on the variance is Half-t(df, scale) and on effects is Normal(0, effect_sd). |
ctr |
A contrast specification |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.