dummy predictor variables in bayesian linear regression
I did a Bayesian independent t test and tried the same data set using Bayesian linear regression. After I converted the two groups to a dummy variable with values 0 and 1, I tried it on Bayesian linear regression. however, the dummy variable could not be transferred into the covariate box.
I did the same process using classical independent t test and classical linear regression and there was no problem.
I wonder if Bayesian linear regression cannot be used if the predictors are categorical. I would appreciate any help on this. thanks a lot