EconPapers    
Economics at your fingertips  
 

BOOTDIAG: Stata module to perform bootstrap and Monte Carlo post-estimation diagnostic tests for time-series regression and the ARDL family

Merwan Roudane

Statistical Software Components from Boston College Department of Economics

Abstract: bootdiag replaces the asymptotic p-values of the standard regression diagnostics with bootstrap and Monte Carlo p-values. It runs after regress, newey, ardl, aardl, fbardl, fbnardl and mtnardl. The test statistic is computed from the residuals and the design matrix of the fitted equation, exactly as the source papers define it. Only the {it:null distribution} changes: it is obtained by simulation rather than from a chi-squared or F table. bootdiag recovers the estimated equation from e() and verifies the reconstruction against the residual sum of squares the fitting command reported. If the two disagree it stops with an error rather than reporting a number that does not correspond to the model you estimated.

Language: Stata
Requires: Stata version 16
Keywords: bootstrap; Monte Carlo; regression; ARDL (search for similar items in EconPapers)
Date: 2026-10-04
Note: This module should be installed from within Stata by typing "ssc install bootdiag". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/b/bootdiag.ado
http://fmwww.bc.edu/repec/bocode/b/bootdiag.sthlp
http://fmwww.bc.edu/repec/bocode/_/_bd_fdbreport.ado
http://fmwww.bc.edu/repec/bocode/_/_bd_graph.ado
http://fmwww.bc.edu/repec/bocode/_/_bd_model.ado
http://fmwww.bc.edu/repec/bocode/_/_bd_parse.ado
http://fmwww.bc.edu/repec/bocode/_/_bd_prereport.ado
http://fmwww.bc.edu/repec/bocode/_/_bd_report.ado
http://fmwww.bc.edu/repec/bocode/l/lbootdiag.mlib
http://fmwww.bc.edu/repec/bocode/b/bootdiag_example.do
Our link check indicates that this URL is bad, the error code is: 404 Not Found

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459921

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-10-07
Handle: RePEc:boc:bocode:s459921