## The quantile regression model
data(data)
data = data$data_linear
g=data$g
y=data$y
e=data$e
fit1=pqrBayes(g,y,e,d = NULL,quant=0.5,model="linear")
prediction=predict_pqrBayes(fit1,g,u.new=e,e.new = NULL, y.new = y,model="linear")
Run the code above in your browser using DataLab