Description Usage Arguments Value Author(s) Examples
Computes the posterior probabilities that Bayesian residuals exceed a cutoff value for a linear regression model with a noninformative prior
1 | bayesresiduals(lmfit,post,k)
|
lmfit |
output of the regression function lm |
post |
list with components beta, matrix of simulated draws of regression parameter, and sigma, vector of simulated draws of sampling standard deviation |
k |
cut-off value that defines an outlier |
vector of posterior outlying probabilities
Jim Albert
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.