tidyMacro: Structural Vector Autoregressions and Local Projections via
'C++'
Estimation and identification of structural vector
autoregressions and local projections, with a compiled 'C++' backend.
Shocks can be identified by short-run (recursive) restrictions, long-run
restrictions following Blanchard and Quah (1989)
<https://www.jstor.org/stable/1827924>, maximum forecast error variance
share following Uhlig (2005) <doi:10.1016/j.jmoneco.2004.05.007>,
external instruments (proxy SVAR) following Mertens and Ravn (2013)
<doi:10.1257/aer.103.4.1212> and Kaenzig (2021)
<doi:10.1257/aer.20190964>, heteroskedasticity across regimes, and sign
or narrative sign restrictions. Local projections follow Jorda (2005)
<doi:10.1257/0002828053828518> and cover instrumental variables,
state-dependent and nonlinear specifications, panel data as in Mian,
Sufi and Verner (2017) <doi:10.1093/qje/qjx017>,
and the difference-in-differences estimator of Dube, Girardi, Jorda and
Taylor (2025) <doi:10.1002/jae.70000>. Inference uses residual, wild and
moving-block bootstraps, heteroskedasticity and autocorrelation
consistent standard errors, and one-way or two-way cluster-robust
standard errors.
| Version: |
1.1.2 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
Rcpp, tibble, ggplot2, tidyr, dplyr, rlang, tidyselect |
| LinkingTo: |
Rcpp, RcppArmadillo |
| Suggests: |
readxl, sandwich, testthat (≥ 3.0.0), parallel |
| Published: |
2026-11-27 |
| DOI: |
10.32614/CRAN.package.tidyMacro (may not be active yet) |
| Author: |
Muhsin Ciftci [aut, cre, cph] |
| Maintainer: |
Muhsin Ciftci <farmer.muhsin at gmail.com> |
| BugReports: |
https://github.com/muhsinciftci/tidyMacro/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/muhsinciftci/tidyMacro |
| NeedsCompilation: |
yes |
| Materials: |
README |
| CRAN checks: |
tidyMacro results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=tidyMacro
to link to this page.