Repository Public Research preview
1% =============================================================================2% SP BOUCHER | ACADEMIC RESEARCH3% =============================================================================4% Project : UQO Working Paper 15% File : paper/appendix/appendix.tex6% Maintainer : Simon-Pierre Boucher7% Position : Professor of Finance8% Institution : Université du Québec en Outaouais (UQO)9% Website : https://spboucher.ai10% Research : research@spboucher.ai11% Copyright : (c) the author(s) of this work; ownership not asserted here12% License : None specified (no license file in this repository)13% =============================================================================14% END OF SP BOUCHER SOURCE HEADER15% =============================================================================16% ============================================================================17\appendix18\section{Numerical record and audit trail}19\label{app:audit}20% ============================================================================2122This appendix documents the provenance of every number in the paper, a matter that became material during the October 2026 revision.2324\paragraph{Pipeline.} The analysis is produced by \texttt{scripts/05\_sqr\_multi\_segment.py}, which loads the four Centris JSON files, builds the estimation samples of Table~\ref{tab:sample}, estimates equations~\eqref{eq:hedonic}, \eqref{eq:qr} and \eqref{eq:2sqr}, bootstraps the quantile regressions, computes the Wald statistics, Moran's $I$, the dollar-equivalent implicit prices and the scalar effect decomposition, and writes seven figures. Scripts 01 to 04 are earlier conditional-mean and single-segment versions kept for reference. The raw snapshot (about 42,000 listings) is not redistributable under the Centris terms of use and is not on the machine used for the revision, so the pipeline could not be re-executed.2526\paragraph{The preserved log.} The only surviving output of the pipeline is the console log \texttt{results/sqr\_multi\_segment\_output.txt}. For each segment it records the sample sizes, the price range and median, the regional counts and medians, the amenity shares, the OLS adjusted $R^2$ and the Moran statistic on OLS residuals, the pseudo-$R^2$ at each quantile, the full coefficient table (coefficient, bootstrap standard error, $z$, $p$) at each quantile, the Wald statistics for three quantile pairs, Moran's $I$ on the QR and second-stage 2SQR residuals at each quantile, the first-stage $R^2$, the median spatial-lag coefficient, the dollar-equivalent implicit prices and the median effect decomposition. It does not record the moments of the structural variables, the variance inflation factors, the first-stage $F$-statistic, an omnibus test, the second-stage coefficients at quantiles other than the median, standard errors for the second stage, or any sensitivity analysis. The log was evidently produced by a version of the script earlier than the one in the repository, which prints several of these quantities; that version was not preserved.2728\paragraph{Discrepancies in the May 2026 version.} The tables of the first version of this paper could not be reconciled with the log. For houses they reported an OLS adjusted $R^2$ of 0.685 (log: 0.619), Moran's $I$ of 0.441 (0.506), pseudo-$R^2$ between 0.440 and 0.483 (0.355--0.444), a median spatial lag of 0.227 (0.291), a highway coefficient of 0.040 at $\tau = 0.10$ (0.205), Moran's $I$ of 0.36--0.40 on 2SQR residuals (0.52--0.55), and a sensitivity table whose $k = 10$ column reproduced the log while the other columns had no source; the descriptive statistics for condominiums, multiplexes and land, including amenity shares and regional composition, differed from the log throughout; the Wald statistics in the text differed from those in the tables, and both differed from the log; an omnibus statistic with 7 degrees of freedom appeared in the abstract and one with 17 degrees of freedom in the results. The original Figure~2 reproduced the tabled rather than the logged values. The most likely explanation is that the tables and that figure came from a second run of a later script version, of which no log was kept, while the narrative text was written partly from the log; the variations in the distance variable mentioned in the first version (``corrected distance measures'') support this reading. Because the log is the only auditable record, the revised paper reports its values throughout, and the earlier figures are documented in the repository's revision changelog rather than reproduced here.2930\paragraph{Generated tables and figures.} Every table in the paper except the two definitional ones (Tables~\ref{tab:variables} and~\ref{tab:specification}) and every figure is written by \texttt{scripts/06\_tables\_figures\_from\_log.py}, which parses the log, checks that each segment has five complete coefficient blocks with the recorded number of regressors, and emits the LaTeX fragments in \texttt{paper/tables/} and the PNG files in \texttt{figures/}. Three quantities are derived rather than read: the significance stars, recomputed from the recorded coefficients and bootstrap standard errors with the 10/5/1 percent thresholds; the overall first-stage $F$ of Table~\ref{tab:sqr}, computed from the recorded $R^2$, $N$ and the number of first-stage regressors; and the unconditional price quantiles $P(\tau)$ in the header of Table~\ref{tab:implicit_prices}, recovered as $\pi_k(\tau)/[\exp(\hat\gamma_k(\tau)) - 1]$ from the highway row (the median so recovered, \$579,041, agrees with the recorded median of \$579,000 to within the four-decimal rounding of the coefficient). The parsed log is saved as \texttt{results/log\_parsed.json}.3132\paragraph{Anomalies to resolve on re-execution.} Three features of the recorded estimates call for verification. The coefficient on the centred log distance to Montreal is positive and large in every segment (1.6 to 2.5 for houses, up to 8.4 for multiplexes and 5.7 for land, with bootstrap standard errors of 0.4 to 1.7), which is not interpretable as a distance gradient and suggests either a scaling problem in the distance variable of the run that produced the log or near-collinearity with the regional indicators; the amenity coefficients are conditional on this control. Moran's $I$ on the 2SQR residuals exceeds that on the QR residuals, which Section~\ref{sec:moran_sqr} attributes to the use of the fitted lag in forming the residuals; the structural residuals should be examined. And the regional coefficient for ``other regions'' relative to Gatineau changes sign across quantiles for houses ($-$0.126 at $\tau = 0.10$, $+$0.163 at $\tau = 0.90$), which may be a consequence of the first anomaly.3334\paragraph{Outputs to restore.} A re-run with the current script and the snapshot would restore, in order of priority: bootstrap standard errors for the 2SQR second stage and the lag coefficients at all five quantiles; the partial first-stage $F$; Moran's $I$ on structural residuals; a cluster or block bootstrap; the sensitivity of the results to $k$, to projected coordinates, to the trimming thresholds and to municipality fixed effects; the descriptive statistics of the structural variables; and the variance inflation factors. The paper should not be circulated as a final version before at least the first three items are available.3536% ============================================================================37\section{Additional table}38\label{app:tables}39% ============================================================================4041\input{tables/qr_houses_structural}42