p-values for Bayesian Models
This function attempts to return, or compute, p-values of Bayesian models.
## S3 method for class 'BFBayesFactor' p_value(model, ...)
model |
A statistical model. |
... |
Arguments passed down to |
For Bayesian models, the p-values corresponds to the probability of direction (p_direction
), which is converted to a p-value using bayestestR::convert_pd_to_p()
.
The p-values.
data(iris) model <- lm(Petal.Length ~ Sepal.Length + Species, data = iris) p_value(model)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.