% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers.R
\name{qbass}
\alias{qbass}
\title{QBASS - Bayesian MARS with an asymmetric Laplace likelihood}
\usage{
qbass(
  X,
  y,
  q = 0.5,
  w_prior = list(type = "GIG", p = -0.1, a = 0, b = 0.1),
  ...
)
}
\arguments{
\item{X}{An \eqn{N \times p} numeric matrix of predictor variables.}

\item{y}{A numeric response vector of length \eqn{N}.}

\item{q}{Quantile of interest. Default is \code{0.5} for median regression.}

\item{w_prior}{Prior for the global variance factor.}

\item{...}{Additional arguments passed to \code{gbass()}.}
}
\value{
An object of class \code{c("qbass", "gbass")} containing posterior draws
and fitted model information.
}
\description{
Wrapper around \code{gbass()} for quantile regression.
}
\details{
Performs quantile regression for quantile \code{q} using the asymmetric
Laplace representation. For many quantiles, fitting separate models in
parallel may be convenient.
}
