| probOutlier | R Documentation | 
Returns the probability that each observation is an outlier given the Bayesian quantile regression fits.
probOutlier(
  object,
  burnin = 50,
  plotProb = TRUE,
  scales.free = FALSE,
  all.obs = TRUE,
  obs
)
| object | This is an object of the class "bqr", produced by a call to the bayesQR function. | 
| burnin | Initial part of the chain, which is to be discarded. Default value is 50. | 
| plotProb | If TRUE, the function prints the plot with all probabilities. Default is set to TRUE. | 
| scales.free | If FALSE, the default, then all plots will use the same y scale. If TRUE, for each tau the plot will use the best possible scale in order to visualize the probability information for all observations. | 
| all.obs | if TRUE, calculates KL divergence for all observations | 
| obs | if  | 
Prints a plot of the posterior probability of being an outlier for all observations and returns a data.frame with all values of the probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.