\begin{tabular}{p{0.8\textwidth}r} \toprule Step & n \\ \midrule Single-family transactions, raw & 456,950 \\ Not matched to the assessment roll & 9,255 \\ Duplicates (same unit, same date) & 355 \\ Roll unit not a single dwelling or more than one dwelling & 29,509 \\ Coordinates missing or outside Quebec & 0 \\ Living area missing or outside [40, 600] m$^2$ & 3,797 \\ Lot area missing or outside [80, 20,000] m$^2$ & 4,278 \\ Year built missing, before 1850 or after the sale (land sale) & 2,393 \\ Sale in the year of construction (lot or unfinished building) & 5,427 \\ Price outside [\$50,000, \$3,000,000] & 528 \\ Assessed value missing or price/assessment ratio outside [0.33, 3] & 8,074 \\ Resale within 180 days with price change above 40\% (flip) & 794 \\ Physical link or construction type missing & 1,512 \\ Municipality absent from the MAMH directory & 32 \\ Final sample & 390,996 \\ \bottomrule \end{tabular}