I'm trying to replicate the following example of this "bayesQR" package: bayesQR
set.seed(66)
n <- 200
X <- runif(n=n,min=0,max=10)
X <- X
y <- 1 + 2*X + rnorm(n=n, mean=0, sd=.6*X)
# Estimate series of quantile regressions with adaptive lasso
out <- bayesQR(y~X, quantile=c(.05,.25,.5,.75,.95), alasso=TRUE, ndraw=5000)
However, I get the following message:
Error in bayesQR(y ~ X, quantile = c(0.05, 0.25, 0.5, 0.75, 0.95), alasso = TRUE, :
unused arguments (quantile = c(0.05, 0.25, 0.5, 0.75, 0.95), alasso = TRUE, ndraw = 5000)
When I do
out <- bayesQR(y~X, .5)
The estimation develops naturally.
Why the error message?