I used bas.lm()
function to build a bayesian model in R, but when it comes to run the get_regression_table(model)
and get_regression_points(model)
, it says "Only simple and multiple linear regression models are supported. Try again using lm
for your models as appropriate". I have a linear model in the form of $y=a+b_i X_i$, my variables are counted in rates (values from 0 to 1).
What should i do?
my code is:
model <- bas.lm(V128 ~ . , data = subset, method="MCMC", prior = "ZS-null", modelprior = uniform())
my data are: https://i.sstatic.net/wFTRV.png