MyNixOS website logo
Description

Valid Inference on Multiple Quantile Regressions.

The approach is based on the closed testing procedure to control familywise error rate in a strong sense. The local tests implemented are Wald-type and rank-score. The method is described in De Santis, et al., (2026), <doi:10.48550/arXiv.2511.07999>.

quasar

quasar is an R package that provides valid inference procedures when multiple quantile regressions are fitted simultaneously.
It implements the rank-score–based closed testing approach proposed in:

De Santis, F., Vesely, A., and Andreella, A. (2025)
Inference on Multiple Quantiles in Regression Models by a Rank-Score Approach.

Installation

To install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("angeella/quasar")

Toy Example

library(quasar)
library(quantreg)

# Set the dimension of the covariates
p <- 3
Sigma <- diag(p)

# Simulate data
dat_n <- simulateData(
  n            = 200,
  beta         = 0,
  gamma        = c(0.2, -0.1),
  mu           = 4,
  Sigma        = Sigma,
  sigma.y      = 0.5,
  distribution = "t"
)

# Fit quantile regressions
mod <- rq(
  y ~ X + Z1 + Z2,
  tau  = c(0.1, 0.25, 0.5, 0.75, 0.9),
  data = dat_n
)

# Perform closed testing based on rank-score statistics
closedTesting(mod, X = "X")

Simulation Code

The R scripts used to reproduce the simulation studies (Figures 2, 3, 4 and 5 in the paper)
are available in the simulations/ folder of this repository.

Bugs and Feedback

Did you find some bugs?
Please write to angela.andreella[at]unive[dot]it
or open an issue on the GitHub Issues page,
preferably including a reproducible example created with the reprex package.

License

GPL (≥ 3)

Citation

If you use quasar in your research, please cite:

De Santis, F., Vesely, A., and Andreella, A. (2026).
Inference on Multiple Quantiles in Regression Models by a Rank-Score Approach.

Metadata

Version

0.2.0

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows