VPSPulse Mirrors

High-Performance Open-Source Archive

README

xtpqardl

Panel Quantile Autoregressive Distributed Lag Model for R

Overview

The xtpqardl package provides functions for estimating Panel Quantile ARDL (PQARDL) models. It combines the panel ARDL methodology of Pesaran, Shin, and Smith (1999) with quantile regression to allow for heterogeneous effects across the conditional distribution of the response variable.

Installation

# Install from CRAN (when available)
install.packages("xtpqardl")

# Or install development version from GitHub
# devtools::install_github("merwanroudane/xtpqardl")

Usage

library(xtpqardl)

# Load example data
data(pqardl_sample)

# Estimate PQARDL model at multiple quantiles
fit <- xtpqardl(
  formula = d_y ~ d_x1 + d_x2,
  data = pqardl_sample,
  id = "country",
  time = "year",
  lr = c("L_y", "x1", "x2"),
  tau = c(0.25, 0.50, 0.75),
  model = "pmg"
)

# View results
summary(fit)

# Test parameter equality across quantiles
wald_test(fit)

# Compute impulse response function
irf <- compute_irf(fit, horizon = 20)
print(irf)

Key Features

References

Author

Dr. Merwan Roudane (merwanroudane920@gmail.com)

License

GPL-3

Need mirroring services?
Contact our team at info@vpspulse.com.

Mirror powered by VPSpulse

Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.