This is due to the Bayesian model centering the covariates before analysis, so the mu parameter is the mean of y rather than the expected value of the response variable when all uncentered covariates are equal to 0.
From what I can tell, only the mu parameter is computed on the centered covariates - e.g., simple slopes in an interaction model are computed on the un-centered covariates:
This makes it quite difficult to calculate the predicted value at a given predictor-value.
Would it be possible to add the model's intercept to the output of the posterior? Or some center argument that can be set to TRUE/FALSE for all parameters in lmBF etc.?
From the manual:
From what I can tell, only the mu parameter is computed on the centered covariates - e.g., simple slopes in an interaction model are computed on the un-centered covariates:
This makes it quite difficult to calculate the predicted value at a given predictor-value. Would it be possible to add the model's intercept to the output of the
posterior
? Or somecenter
argument that can be set toTRUE
/FALSE
for all parameters inlmBF
etc.?