SPB Git forge

spb/wp16_uqo

Public
11commits 1branches 1releases
3.3 MBsize
maindefault branch
25 min agolast push
TeX 52.9% Python 45.7% Shell 1.4%

WP 11 : tableaux ajustés, PDF final exporté

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Simon-Pierre Boucher committed 7 days ago (Oct 10, 2026) parent 518511c

14 changed files +56 −59

added paper/WP11_Sales_Comparison_Validation.pdf +0 −0

Binary file not shown.

modified paper/figures/f1_mdape_vs_k.pdf +0 −0

Binary file not shown.

modified paper/figures/f2_surface_d_T.pdf +0 −0

Binary file not shown.

modified paper/figures/f3_ajustements.pdf +0 −0

Binary file not shown.

modified paper/figures/f4_competition.pdf +0 −0

Binary file not shown.

modified paper/figures/f5_densite.pdf +0 −0

Binary file not shown.

modified paper/figures/f6_k_par_densite.pdf +0 −0

Binary file not shown.

modified paper/figures/f7_indice.pdf +0 −0

Binary file not shown.

modified paper/main.fdb_latexmk +37 −37
@@ -1,13 +1,13 @@
1 1 # Fdb version 4
2 −["bibtex main"] 1791670452.56951 "main.aux" "main.bbl" "main" 1791670453.46465 0
2 +["bibtex main"] 1791670452.56951 "main.aux" "main.bbl" "main" 1791670477.19181 0
3 3 "./references.bib" 1791669372.52602 8208 317d4516e8f0f47f17cb222b3493cf06 ""
4 4 "/usr/local/texlive/2026/texmf-dist/bibtex/bst/economic/aer.bst" 1389482635 26812 2ae6e48450a8c17a93d98067b7084a7a ""
5 − "main.aux" 1791670453.31921 22155 96efb98c7723c6a6c804fa37d2813fcb "pdflatex"
5 + "main.aux" 1791670477.04709 22155 96efb98c7723c6a6c804fa37d2813fcb "pdflatex"
6 6 (generated)
7 7 "main.bbl"
8 8 "main.blg"
9 9 (rewritten before read)
10 −["pdflatex"] 1791670452.6272 "main.tex" "main.pdf" "main" 1791670453.46476 0
10 +["pdflatex"] 1791670476.36241 "main.tex" "main.pdf" "main" 1791670477.19192 0
11 11 "/usr/local/texlive/2026/texmf-dist/fonts/enc/dvips/base/8r.enc" 1165713224 4850 80dc9bab7f31fb78a000ccfed0e27cab ""
12 12 "/usr/local/texlive/2026/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 ""
13 13 "/usr/local/texlive/2026/texmf-dist/fonts/tfm/adobe/symbol/psyr.tfm" 1136768653 1408 5937f58aa508ea2cea4901c07d10f5fe ""
@@ -147,15 +147,15 @@
147 147 "/usr/local/texlive/2026/texmf-var/web2c/pdftex/pdflatex.fmt" 1774209607 3636776 dc5fa9b6b1453b9d196cd42edf876004 ""
148 148 "/usr/local/texlive/2026/texmf.cnf" 1774209515 577 648cd9f92f9c0eac486f4c71c85cfbbe ""
149 149 "appendix/appendix.tex" 1791670366.63355 3713 3c209a468f8efb590c399cc7d8469a09 ""
150 − "figures/f1_mdape_vs_k.pdf" 1791670451.2767 27169 f68e491803a9bc83df2dd2f4a60eb29b ""
151 − "figures/f2_surface_d_T.pdf" 1791670451.34026 20647 c40ef4a734f02a1318d7ee9b909fa651 ""
152 − "figures/f3_ajustements.pdf" 1791670451.38883 22112 72532e0b24f60e72eac570320779b567 ""
153 − "figures/f4_competition.pdf" 1791670451.44335 24756 b83323a39607c0c4cdff3328391c1a1c ""
154 − "figures/f5_densite.pdf" 1791670451.47942 24029 724ac4160e99c198c561ae405db759a5 ""
155 − "figures/f7_indice.pdf" 1791670451.58371 18511 05c8d31727785f7e522eec864a1f4b53 ""
156 − "main.aux" 1791670453.31921 22155 96efb98c7723c6a6c804fa37d2813fcb "pdflatex"
150 + "figures/f1_mdape_vs_k.pdf" 1791670475.91696 27169 0c005eb391b60aa1d00add0ad806410a ""
151 + "figures/f2_surface_d_T.pdf" 1791670475.98217 20647 502067f6b85784f3b92c01cba1a937ba ""
152 + "figures/f3_ajustements.pdf" 1791670476.0322 22112 0c48453356f612027122af03683154b7 ""
153 + "figures/f4_competition.pdf" 1791670476.0883 24756 7efc9280a746f9cb1c94ab1a8e024359 ""
154 + "figures/f5_densite.pdf" 1791670476.12572 24029 f9619610fb03bbff798cf793b84e6540 ""
155 + "figures/f7_indice.pdf" 1791670476.23258 18511 49ece81f37b1b18549aa327042b8221a ""
156 + "main.aux" 1791670477.04709 22155 96efb98c7723c6a6c804fa37d2813fcb "pdflatex"
157 157 "main.bbl" 1791670452.62535 7426 189002991017ce2edb4cbc51edc5c910 "bibtex main"
158 − "main.out" 1791670453.32042 7416 bf1dd9fe3c2a7a6e19ac40b70b222a94 "pdflatex"
158 + "main.out" 1791670477.04828 7416 bf1dd9fe3c2a7a6e19ac40b70b222a94 "pdflatex"
159 159 "main.tex" 1791670296.77182 5936 d6af559ad74be8510b14b9f849dadcfd ""
160 160 "sections/conclusion.tex" 1791670296.77266 3426 7154925f40eb2317b532f569a705b93a ""
161 161 "sections/data.tex" 1791670296.77222 6697 9225db7b9c13c4aa53084d43e1f992a5 ""
@@ -165,32 +165,32 @@
165 165 "sections/results.tex" 1791670434.77141 22208 df52c99453a030d79904126ff4028f1f ""
166 166 "sections/robustness.tex" 1791670296.77256 5042 20c9093705bf638f891182f66ce8ef14 ""
167 167 "sections/titlepage.tex" 1791668938.15793 1458 1242e8e90e0d8dba3af4619bac574330 ""
168 − "tables/adjustments.tex" 1791670451.00744 620 9e74ac71ffc244def8bb425ea654cdad ""
169 − "tables/competition.tex" 1791670451.04162 1568 6bc492b7ee1abf62d1b6e8925cdf4c78 ""
170 − "tables/cond_rules.tex" 1791670451.0542 716 31ad922e1b21fa015ca2158a94253a33 ""
171 − "tables/density.tex" 1791670451.04535 503 4cc1130d3d78ff10aeacc60c988d9209 ""
172 − "tables/density_dist.tex" 1791670450.99603 264 a26d733c83dcbcce6c43a7e60a485963 ""
173 − "tables/descriptives.tex" 1791670450.99575 632 adb3b0768a3e4025aa0b237cf384bee6 ""
174 − "tables/e1_best.tex" 1791670451.00378 548 20318ac49e30097b292868a9ea70144d ""
175 − "tables/exclusions.tex" 1791670450.99527 927 b72303a7475e35d2d59e0edc401f5446 ""
176 − "tables/grid.tex" 1791670451.03714 468 ca25d30bb81416d1e88594d7477d619a ""
177 − "tables/h2.tex" 1791670451.00438 574 88b2d6ff6d2eee2c102025c2ec6c4e98 ""
178 − "tables/h3.tex" 1791670451.00841 861 01916a2ff64066c9f649c5b8bc3a8c3d ""
179 − "tables/h4.tex" 1791670451.04018 511 94675ab5c615c62853f93d8c49d9660e ""
180 − "tables/h5.tex" 1791670451.05268 387 dc7809572420662b25f407f106bdf382 ""
181 − "tables/intervals.tex" 1791670451.05327 698 23ff1d4780f1d33d7e680b637c8b4c28 ""
182 − "tables/marginal.tex" 1791670451.04056 779 7fcc610a63f1544a8100f6f04588592f ""
183 − "tables/numbers.tex" 1791670451.58597 3372 664717abb13647ad16f84e7e17a5de8e ""
184 − "tables/pairs.tex" 1791670451.04342 999 0bb1e085a84223bfbd1dac507690dddd ""
185 − "tables/regions.tex" 1791670451.04773 1513 4ebac079ff4f26f9c68db838e47e3b5d ""
186 − "tables/selection.tex" 1791670451.03821 307 f26524e26b577b837d9b253d895e3f77 ""
187 − "tables/stability.tex" 1791670451.0546 600 7adacfe8156b0bfc5d205138265c3c6a ""
188 − "tables/strata_other.tex" 1791670451.05213 1296 6331ddafefc63da1d9cb1429f1dd7cec ""
189 − "tables/surface_cov.tex" 1791670451.00298 385 7ebf6d8a42ece1474abb276b4f68b2f0 ""
190 − "tables/surface_geo_hedo.tex" 1791670451.00008 679 8331abe120b6d7df5cf79c463b146963 ""
191 − "tables/surface_geo_none.tex" 1791670451.00117 679 57dd201f2aadfbb692746c565337326b ""
192 − "tables/surface_sim_hedo.tex" 1791670451.00214 679 47495d9403b904fee24bb1a34ede853c ""
193 − "tables/weighting.tex" 1791670451.03939 662 0fe5cc0224cd44cbfba909f5f2aad2db ""
168 + "tables/adjustments.tex" 1791670475.64138 620 9e74ac71ffc244def8bb425ea654cdad ""
169 + "tables/competition.tex" 1791670475.67752 1568 6bc492b7ee1abf62d1b6e8925cdf4c78 ""
170 + "tables/cond_rules.tex" 1791670475.69003 716 31ad922e1b21fa015ca2158a94253a33 ""
171 + "tables/density.tex" 1791670475.6812 503 4cc1130d3d78ff10aeacc60c988d9209 ""
172 + "tables/density_dist.tex" 1791670475.63022 264 a26d733c83dcbcce6c43a7e60a485963 ""
173 + "tables/descriptives.tex" 1791670475.62995 631 3937ad9db5b3a1b9f452f2ccc81c25b9 ""
174 + "tables/e1_best.tex" 1791670475.63789 548 20318ac49e30097b292868a9ea70144d ""
175 + "tables/exclusions.tex" 1791670475.62947 927 b72303a7475e35d2d59e0edc401f5446 ""
176 + "tables/grid.tex" 1791670475.67302 468 ca25d30bb81416d1e88594d7477d619a ""
177 + "tables/h2.tex" 1791670475.63847 574 88b2d6ff6d2eee2c102025c2ec6c4e98 ""
178 + "tables/h3.tex" 1791670475.64232 861 01916a2ff64066c9f649c5b8bc3a8c3d ""
179 + "tables/h4.tex" 1791670475.67604 511 94675ab5c615c62853f93d8c49d9660e ""
180 + "tables/h5.tex" 1791670475.68853 387 dc7809572420662b25f407f106bdf382 ""
181 + "tables/intervals.tex" 1791670475.6891 698 23ff1d4780f1d33d7e680b637c8b4c28 ""
182 + "tables/marginal.tex" 1791670475.67642 779 7fcc610a63f1544a8100f6f04588592f ""
183 + "tables/numbers.tex" 1791670476.23484 3372 664717abb13647ad16f84e7e17a5de8e ""
184 + "tables/pairs.tex" 1791670475.67936 999 0bb1e085a84223bfbd1dac507690dddd ""
185 + "tables/regions.tex" 1791670475.68375 1513 4ebac079ff4f26f9c68db838e47e3b5d ""
186 + "tables/selection.tex" 1791670475.67415 307 f26524e26b577b837d9b253d895e3f77 ""
187 + "tables/stability.tex" 1791670475.69043 600 7adacfe8156b0bfc5d205138265c3c6a ""
188 + "tables/strata_other.tex" 1791670475.68799 1296 6331ddafefc63da1d9cb1429f1dd7cec ""
189 + "tables/surface_cov.tex" 1791670475.63709 385 7ebf6d8a42ece1474abb276b4f68b2f0 ""
190 + "tables/surface_geo_hedo.tex" 1791670475.63426 679 8331abe120b6d7df5cf79c463b146963 ""
191 + "tables/surface_geo_none.tex" 1791670475.63532 679 57dd201f2aadfbb692746c565337326b ""
192 + "tables/surface_sim_hedo.tex" 1791670475.63628 679 47495d9403b904fee24bb1a34ede853c ""
193 + "tables/weighting.tex" 1791670475.67526 662 0fe5cc0224cd44cbfba909f5f2aad2db ""
194 194 "uq_logo.jpg" 1791668938.162 58719 668023c2daab9af750d1f0889564af82 ""
195 195 (generated)
196 196 "main.aux"
modified paper/main.log +12 −15
@@ -789,10 +789,6 @@ File: mt-msb.cfg 2005/06/01 v1.0 microtype config. file: AMS symbols (b) (RS)
789 789 ) [3]
790 790 [4]) (./sections/literature.tex [5] [6]) (./sections/data.tex [7] [8]
791 791 (./tables/exclusions.tex) [9] (./tables/descriptives.tex)
792 −Overfull \hbox (60.22191pt too wide) in paragraph at lines 1--36
793 − [][]
794 − []
795 −
796 792 <figures/f7_indice.pdf, id=348, 440.99129pt x 221.13416pt>
797 793 File: figures/f7_indice.pdf Graphic file (type pdf)
798 794 <use figures/f7_indice.pdf>
@@ -804,35 +800,36 @@ LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available
804 800 (Font) Font shape `OT1/ptm/b/n' tried instead on input line 41.
805 801 LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available
806 802 (Font) Font shape `OT1/ptm/b/n' tried instead on input line 41.
807 −[10 <./figures/f7_indice.pdf>] (./tables/density_dist.tex))
808 −(./sections/methodology.tex [11] [12] [13] [14]) (./sections/results.tex
803 + [10 <./figures/f7_indice.pdf>] (./tables/density_dist.tex)) (./sections/method
804 +ology.tex [11]
805 +[12] [13] [14]) (./sections/results.tex
809 806 <figures/f1_mdape_vs_k.pdf, id=438, 547.99101pt x 244.40283pt>
810 807 File: figures/f1_mdape_vs_k.pdf Graphic file (type pdf)
811 808 <use figures/f1_mdape_vs_k.pdf>
812 809 Package pdftex.def Info: figures/f1_mdape_vs_k.pdf used on input line 15.
813 810 (pdftex.def) Requested size: 469.75502pt x 209.51479pt.
814 −
815 −[15]
811 + [15]
816 812 <figures/f2_surface_d_T.pdf, id=447, 502.01927pt x 220.96164pt>
817 813 File: figures/f2_surface_d_T.pdf Graphic file (type pdf)
818 814 <use figures/f2_surface_d_T.pdf>
819 815 Package pdftex.def Info: figures/f2_surface_d_T.pdf used on input line 22.
820 816 (pdftex.def) Requested size: 422.77664pt x 186.08864pt.
821 − (./tables/surface_geo_hedo.tex) [16 <./figures/f1_mdape_vs_k.pdf> <./figures/f
822 −2_surface_d_T.pdf>] (./tables/h2.tex)
817 + (./tables/surface_geo_hedo.tex)
818 +[16 <./figures/f1_mdape_vs_k.pdf> <./figures/f2_surface_d_T.pdf>]
819 +(./tables/h2.tex)
823 820 LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available
824 821 (Font) Font shape `OT1/ptm/b/n' tried instead on input line 49.
825 822 LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available
826 823 (Font) Font shape `OT1/ptm/b/n' tried instead on input line 49.
827 − [17] (./tables/adjustments.tex)
828 −[18]
824 + [17] (./tables/adjustments.tex) [18]
829 825 <figures/f3_ajustements.pdf, id=575, 443.50067pt x 221.07143pt>
830 826 File: figures/f3_ajustements.pdf Graphic file (type pdf)
831 827 <use figures/f3_ajustements.pdf>
832 828 Package pdftex.def Info: figures/f3_ajustements.pdf used on input line 71.
833 829 (pdftex.def) Requested size: 422.77664pt x 210.7554pt.
834 − (./tables/h3.tex) [19 <./figures/f3_ajustements.pdf>] (./tables/grid.tex)
835 −[20] (./tables/selection.tex) [21] (./tables/weighting.tex) (./tables/h4.tex)
830 + (./tables/h3.tex)
831 +[19 <./figures/f3_ajustements.pdf>] (./tables/grid.tex) [20]
832 +(./tables/selection.tex) [21] (./tables/weighting.tex) (./tables/h4.tex)
836 833 [22] (./tables/marginal.tex) [23] (./tables/competition.tex)
837 834 <figures/f4_competition.pdf, id=660, 633.31883pt x 333.69041pt>
838 835 File: figures/f4_competition.pdf Graphic file (type pdf)
@@ -885,7 +882,7 @@ e/2026/texmf-dist/fonts/type1/urw/symbol/usyr.pfb></usr/local/texlive/2026/texm
885 882 f-dist/fonts/type1/urw/times/utmb8a.pfb></usr/local/texlive/2026/texmf-dist/fon
886 883 ts/type1/urw/times/utmr8a.pfb></usr/local/texlive/2026/texmf-dist/fonts/type1/u
887 884 rw/times/utmri8a.pfb>
888 −Output written on main.pdf (38 pages, 385238 bytes).
885 +Output written on main.pdf (38 pages, 385249 bytes).
889 886 PDF statistics:
890 887 954 PDF objects out of 1000 (max. 8388607)
891 888 605 compressed objects within 7 object streams
modified paper/main.pdf +0 −0

Binary file not shown.

modified paper/main.synctex.gz +0 −0

Binary file not shown.

modified paper/make_paper_tables.py +3 −3
@@ -52,9 +52,9 @@ ex["Rule"] = EN[:len(ex)]; ex["Removed"] = ex["Removed"].map(n_)
52 52 rows = [["Single-family transactions, raw", n_(D["brut"])]] + ex.values.tolist() + [["Final sample", n_(D["propre"])]]
53 53 write("exclusions", tabular(pd.DataFrame(rows, columns=["Step", "n"]), ["Step", "n"], "p{0.8\\textwidth}r"))
54 54 ds = R.get("descriptives") or {p: dict(n=0, prix_med=0, prix_moy=0, aire_med=0, terrain_med=0, age_med=0, detache=0, ratio_role_med=0) for p in ["train", "val", "test"]}
55 −dd = pd.DataFrame({"Statistic": ["Sales", "Median price (\\$)", "Mean price (\\$)", "Median living area (m$^2$)", "Median lot area (m$^2$)", "Median age (years)", "Detached (\\%)", "Median price/assessment ratio", "Median sales within 2 km, 12 months", "Median candidate pool (25 km, 24 months)"],
56 − **{{"train": "Development 2021--2023", "val": "Validation 2024", "test": "Test 2025--2026"}[p]: [n_(ds[p]["n"]), n_(ds[p]["prix_med"]), n_(ds[p]["prix_moy"]), f1(ds[p]["aire_med"]), n_(ds[p]["terrain_med"]), f1(ds[p]["age_med"]), f1(ds[p]["detache"]), f2(ds[p]["ratio_role_med"]), (n_(ds[p]["dens_med"]) if "dens_med" in ds[p] else "--"), (n_(ds[p]["n_cand_med"]) if "n_cand_med" in ds[p] else "--")] for p in ["train", "val", "test"]}})
57 −write("descriptives", tabular(dd, list(dd.columns), "lrrr"))
55 +dd = pd.DataFrame({"Statistic": ["Sales", "Median price (\\$)", "Mean price (\\$)", "Median living area (m$^2$)", "Median lot area (m$^2$)", "Median age (years)", "Detached (\\%)", "Median price/assessment ratio", "Median sales within 2 km, 12 mo.", "Median candidate pool (25 km, 24 mo.)"],
56 + **{{"train": "2021--23 (dev.)", "val": "2024 (val.)", "test": "2025--26 (test)"}[p]: [n_(ds[p]["n"]), n_(ds[p]["prix_med"]), n_(ds[p]["prix_moy"]), f1(ds[p]["aire_med"]), n_(ds[p]["terrain_med"]), f1(ds[p]["age_med"]), f1(ds[p]["detache"]), f2(ds[p]["ratio_role_med"]), (n_(ds[p]["dens_med"]) if "dens_med" in ds[p] else "--"), (n_(ds[p]["n_cand_med"]) if "n_cand_med" in ds[p] else "--")] for p in ["train", "val", "test"]}})
57 +write("descriptives", tabular(dd, list(dd.columns), "p{0.46\\textwidth}rrr"))
58 58 dist = R["densite_distribution"]; tot = sum(dist.values())
59 59 dd = pd.DataFrame({"Density (sales within 2 km, 12 months)": [DENS_EN[d] for d in DENS], "Test targets": [n_(dist[d]) for d in DENS], "Share (\\%)": [f1(dist[d] / tot * 100) for d in DENS]})
60 60 write("density_dist", tabular(dd, list(dd.columns), "lrr"))
modified paper/tables/descriptives.tex +4 −4
@@ -1,6 +1,6 @@
1 −\begin{tabular}{lrrr}
1 +\begin{tabular}{p{0.46\textwidth}rrr}
2 2 \toprule
3 −Statistic & Development 2021--2023 & Validation 2024 & Test 2025--2026 \\
3 +Statistic & 2021--23 (dev.) & 2024 (val.) & 2025--26 (test) \\
4 4 \midrule
5 5 Sales & 201,642 & 64,795 & 124,559 \\
6 6 Median price (\$) & 350,000 & 415,000 & 470,000 \\
@@ -10,7 +10,7 @@ Median lot area (m$^2$) & 650 & 645 & 650 \\
10 10 Median age (years) & 41.0 & 42.0 & 43.0 \\
11 11 Detached (\%) & 81.6 & 80.9 & 81.3 \\
12 12 Median price/assessment ratio & 1.39 & 1.35 & 1.20 \\
13 −Median sales within 2 km, 12 months & -- & 92 & 108 \\
14 −Median candidate pool (25 km, 24 months) & -- & 6,188 & 6,788 \\
13 +Median sales within 2 km, 12 mo. & -- & 92 & 108 \\
14 +Median candidate pool (25 km, 24 mo.) & -- & 6,188 & 6,788 \\
15 15 \bottomrule
16 16 \end{tabular}
17 17