View source: R/get_samples_regression_noninformative.R
get_samples_regression_noninformative | R Documentation |
Convenience function for obtaining posterior samples from a
non-informative priors linear regression model for inferring
the parameters intercept
, slope
and sigma
.
get_samples_regression_noninformative(X, y, n_samples = 1000)
X |
design matrix |
y |
dependent variable |
n_samples |
number of samples taken from the posterior |
A tibble of sample triplets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.