spb/wp2_uqo Public
UQO Working Paper No. 2 — Decoding Real Estate Descriptions: text-based hedonic analysis of housing listings.
TeX 73.8%
Python 26%
1% Author: Simon-Pierre Boucher — contact@spboucher.ai2%3% ============================================================================4% PREAMBLE — packages, layout, custom commands (UQO working-paper style)5% ============================================================================67% --- Encoding & Language ---8\usepackage[utf8]{inputenc}9\usepackage[T1]{fontenc}10\usepackage[english]{babel}1112% --- Page Layout ---13\usepackage[letterpaper, margin=1in, headheight=15pt]{geometry}14\usepackage{setspace}15\onehalfspacing16\setlength{\parindent}{1.5em}17\setlength{\parskip}{0pt}1819% --- Typography ---20\usepackage{newtxtext,newtxmath}21\usepackage{amsmath,amsfonts}22\let\Bbbk\relax23\usepackage{amssymb}24\usepackage{mathtools}25\usepackage{microtype}2627% --- Tables ---28\usepackage{booktabs}29\usepackage{threeparttable}30\usepackage{tabularx}31\usepackage{array}32\usepackage{multirow}33\usepackage{longtable}34\usepackage{adjustbox}35\usepackage{siunitx}36\usepackage{dcolumn}3738% --- Figures ---39\usepackage{graphicx}40\graphicspath{{../figures/}{.}}41\usepackage[42 font = small,43 labelfont = bf,44 labelsep = period,45 skip = 8pt,46 justification = justified,47 singlelinecheck = false48]{caption}49\usepackage{subcaption}50\usepackage{float}51\usepackage{pdflscape}5253% --- Colors & Links ---54\usepackage[dvipsnames]{xcolor}55\usepackage[bookmarks, bookmarksnumbered]{hyperref}56\hypersetup{57 colorlinks = true,58 linkcolor = NavyBlue,59 citecolor = NavyBlue,60 urlcolor = NavyBlue,61}6263% --- Bibliography ---64\usepackage[round, authoryear, comma]{natbib}65\setcitestyle{aysep={,}}66\bibliographystyle{apalike}6768% --- Headers & Footers ---69\usepackage{fancyhdr}70\pagestyle{fancy}71\fancyhf{}72\fancyhead[L]{\small\itshape Semantic Embeddings and Hedonic Pricing}73\fancyhead[R]{\small\thepage}74\renewcommand{\headrulewidth}{0.4pt}75\renewcommand{\footrulewidth}{0pt}76\fancypagestyle{plain}{%77 \fancyhf{}78 \fancyfoot[C]{\small\thepage}79 \renewcommand{\headrulewidth}{0pt}80}8182% --- Section Formatting ---83\usepackage{titlesec}84\titleformat{\section}{\large\bfseries}{\thesection.}{0.5em}{}85\titleformat{\subsection}{\normalsize\bfseries}{\thesubsection.}{0.5em}{}86\titleformat{\subsubsection}{\normalsize\itshape}{\thesubsubsection.}{0.5em}{}8788% --- Appendix Support ---89\usepackage[toc, page]{appendix}90\usepackage{enumitem}91\usepackage{etoolbox}9293% --- Custom Column Types ---94\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}95\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}96\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}97\newcolumntype{d}[1]{D{.}{.}{#1}}9899% --- Custom Commands ---100\newcommand{\sym}[1]{\ensuremath{^{#1}}}101\newcommand{\stmark}[1]{\rlap{\textsuperscript{#1}}}102\DeclareMathOperator*{\plim}{plim}103\newcommand{\E}{\mathbb{E}}104\newcommand{\Var}{\mathrm{Var}}105\newcommand{\Cov}{\mathrm{Cov}}106\newcommand{\Corr}{\mathrm{Corr}}107\newcommand{\se}{\mathrm{s.e.}}108\newcommand{\tr}{\mathrm{tr}}109\newcommand{\rank}{\mathrm{rank}}110\newcommand{\diag}{\mathrm{diag}}111\newcommand{\R}{\mathbb{R}}112\newcommand{\N}{\mathbb{N}}113\newcommand{\eps}{\varepsilon}114\newcommand{\bfbeta}{\boldsymbol{\beta}}115\newcommand{\bfgamma}{\boldsymbol{\gamma}}116\newcommand{\bfalpha}{\boldsymbol{\alpha}}117\newcommand{\bfdelta}{\boldsymbol{\delta}}118\newcommand{\bftheta}{\boldsymbol{\theta}}119\newcommand{\bfSigma}{\boldsymbol{\Sigma}}120\newcommand{\bfOmega}{\boldsymbol{\Omega}}121\newcommand{\bfX}{\mathbf{X}}122\newcommand{\bfY}{\mathbf{Y}}123\newcommand{\bfy}{\mathbf{y}}124\newcommand{\bfe}{\mathbf{e}}125\newcommand{\bfs}{\mathbf{s}}126\newcommand{\iid}{\overset{\mathrm{iid}}{\sim}}127\newcommand{\pto}{\overset{p}{\to}}128\newcommand{\dto}{\overset{d}{\to}}129\newcommand{\ols}{\mathrm{OLS}}130\newcommand{\iv}{\mathrm{IV}}131\newcommand{\gmm}{\mathrm{GMM}}132\newcommand{\mle}{\mathrm{MLE}}133\newcommand{\pval}{\textit{p}-value}134\newcommand{\tstat}{\textit{t}-statistic}135\newcommand{\fstat}{\textit{F}-statistic}136\newcommand{\tablenote}[1]{\begin{minipage}{\linewidth}\footnotesize #1\end{minipage}}137\newcommand{\signote}{*** $p < 0.001$; ** $p < 0.01$; * $p < 0.05$.}138