The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

tsqr: Sequential Threshold-Spatial-Quantile Panel Estimation

Implements a sequential panel estimation protocol for regional economic panels that combines three estimation layers in a fixed order. The first layer applies a two-way fixed effects baseline. The second layer applies the panel threshold regression method of Hansen (1999) <doi:10.1016/S0304-4076(99)00025-1> to identify structural breaks at an unknown threshold of a moderating variable, with bootstrap inference following Hansen (2000) <doi:10.1111/1468-0262.00124>. The third layer applies a spatial Durbin model with an impact decomposition following LeSage and Pace (2009, ISBN:978-1-4200-6424-7) to quantify direct and indirect spillover effects. The fourth layer applies the two-step panel quantile estimator of Canay (2011) <doi:10.1111/j.1368-423X.2011.00349.x> to document distributional heterogeneity in the outcome. The threshold identified in the second layer defines a subsample used as structured input to the fourth layer, and a consistency check evaluates whether the three sets of results are jointly compatible with a common underlying structural relationship. An illustrative panel of 33 districts of the state of Maharashtra, India, observed over 10 agricultural years, is included with the package.

Version: 0.1.2
Depends: R (≥ 4.1.0)
Imports: plm (≥ 2.6-0), spdep (≥ 1.2-0), spatialreg (≥ 1.2-0), quantreg (≥ 5.90), ggplot2 (≥ 3.4.0), stats, utils
Suggests: testthat (≥ 3.0.0)
Published: 2026-06-22
DOI: 10.32614/CRAN.package.tsqr
Author: Prakash Vhankade ORCID iD [aut, cre]
Maintainer: Prakash Vhankade <prakash.vhankade at gipe.ac.in>
License: GPL-3
NeedsCompilation: no
CRAN checks: tsqr results

Documentation:

Reference manual: tsqr.html , tsqr.pdf

Downloads:

Package source: tsqr_0.1.2.tar.gz
Windows binaries: r-devel: tsqr_0.1.2.zip, r-release: not available, r-oldrel: tsqr_0.1.2.zip
macOS binaries: r-release (arm64): tsqr_0.1.2.tgz, r-oldrel (arm64): tsqr_0.1.2.tgz, r-release (x86_64): tsqr_0.1.2.tgz, r-oldrel (x86_64): tsqr_0.1.2.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tsqr to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.