easystats / bayestestR

:ghost: Utilities for analyzing Bayesian models and posterior distributions
https://easystats.github.io/bayestestR/
GNU General Public License v3.0
563 stars 55 forks source link

Function sensitivity_to_prior complains about brmsfit class #662

Open leomarameo7 opened 1 month ago

leomarameo7 commented 1 month ago

Describe the bug A description of what the bug is.

To Reproduce Steps to reproduce the behaviour:

  1. I have fitted an Intercept-only model with unqual variance within brms. Student-t family for the outcome. sample_prior = TRUE bform <- bf(delta_DOC ~ 0 + Intercept, sigma ~ 0 + Intercept + water_volume_z, nu = 3 ) + student()
  2. having the brmsfit object I have tried to use the bayestestR::sensitivity_to_prior(b1)
  3. Error: Models of class 'brmsfit' are not yet supported.

Specifiations (please complete the following information):