EconBase
← Back to paper

Convolution Mode Regression

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

48,698 characters · 14 sections · 61 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

\pagenumbering{gobble}

center[center omitted — 545 chars of source]

{\textcolor{MidnightBlue}{Abstract}}

For highly skewed or fat-tailed distributions, mean or median-based methods often fail to capture the central tendencies in the data. Despite being a viable alternative, estimating the conditional mode given certain covariates (or mode regression) presents significant challenges. Nonparametric approaches suffer from the "curse of dimensionality", while semiparametric strategies often lead to non-convex optimization problems. In order to avoid these issues, we propose a novel mode regression estimator that relies on an intermediate step of inverting the conditional quantile density. In contrast to existing approaches, we employ a convolution-type smoothed variant of the quantile regression. Our estimator converges uniformly over the design points of the covariates and, unlike previous quantile-based mode regressions, is uniform with respect to the smoothing bandwidth. Additionally, the Convolution Mode Regression is dimension-free, carries no issues regarding optimization and preliminary simulations suggest the estimator is normally distributed in finite samples.

\textcolor{MidnightBlue}{Keywords:} Mode Regression; Convolution-based Smoothing; Conditional Quantile; Asymptotic Theory; Uniform Convergence.

\pagenumbering{arabic} \setcounter{page}{3}

Introduction

Conventional econometric methods are generally mean-(or median)-based; such methods may fail to express the central tendency if distributions are highly skewed or long-tailed Kemp_Silva_2012, Chen_et_al_2016. The conditional mode emerges as a robust alternative, conveying the desirable interpretation of being the most likely value of a dataset chacon_2020. When data is discrete, the conditional sample mode is more straightforward, however, in a continuous variable setting, it can be estimated as the point that maximizes the conditional probability density function (pdf). Since Lee_1989, the estimation of conditional mode, called mode regression, has demonstrated its utility across various domains, specially in applications with asymmetric data, such as wages \citep*{Zhang_Kato_Ruppert_2021}; electrical energy consumption \citep*{ota_kato_hara_2019}; medical sciences wang_et_al_2017, traffic data einbeck_tutz_2006 and wildfire burned areas yao_li_2014.

In reviewing the conditional mode literature, two fundamental considerations emerge in the discussion: firstly, the assumption of whether the mode is global (unique) or local; secondly, if the estimation strategy employed is semiparametric (linear) or fully nonparametric. Linear approaches require the condition that the mode is a unique maximizer of the conditional density, while nonparametric techniques in turn are usually used for multimodal models.\footnote{Nonparametric estimation is not exclusive to multimodal specifications, since in few cases the global mode is also estimated nonparametrically sager_thisted_1982, feng_et_al_2020.} The first semiparametric estimator considering a unique mode was developed by Lee_1989 and establishes a linear relationship between the mode of the response and its covariates; however, despite being elegant, this model is impractical;\footnote{Has restrictive assumptions on the conditional density of the response and, due to the objective function, the estimator lacks a tractable distribution Kemp_Silva_2012.} subsequent models, such as the ones of Kemp_Silva_2012 and yao_li_2014, yield out non-convex optimization problems, resulting in functions that may have multiple maxima; also, the related algorithms are sensible to the starting points. On the other hand, although nonparametric estimation tends to avoid misspecification yao_et_al_2012, Chen_et_al_2016, these methods suffer from slow convergence even in moderate dimension sizes.

Two recent developments \citep*{ota_kato_hara_2019, Zhang_Kato_Ruppert_2021} have addressed the optimization and dimension issues by estimating the mode via a quantile regression (QR). This strategy relies on retrieving the conditional density (whose maximizer is the mode) from the derivative of the conditional quantile function, referred to as the conditional quantile density function (qdf). Similarly to what is done in \citet*{ota_kato_hara_2019} and \citet*{Zhang_Kato_Ruppert_2021}, we propose a novel approach which relies on working with the (convolution-based) smoothed version of the QR estimator of \citet*{fernandes_guerre_horta_2021}. This alternative provides some advantages: it is continuous, unbiased and less variable than the traditional QR estimator.

The main goal of this work is to derive the asymptotic properties for the estimator of the conditional mode via smoothed quantile regression, hereby denominated Convolution Mode Regression. Our procedure differs from \citet*{Zhang_Kato_Ruppert_2021}, as they opt for an "estimate then smooth" process, using the traditional QR framework;\footnote{Parallel to parzen_1979's parzen_1979 proposition of quantile estimation by smoothing the sample quantile function.} whereas, we prefer to "smooth then estimate", stemming from the smoothed quantile regression estimator.\footnote{Resembling the method of Nadaraya_1964, in which the unconditional quantile is estimated via inverting a smoothed estimator of the cdf (cumulative distribution function).} The convergence rate of the \citet*{Zhang_Kato_Ruppert_2021} estimator is $O_P( n^{-1/2}h^{-3/2} \sqrt{\log n} + h^2)$, whilst ours is $O_P( (\frac{\log n} {nh})^{1/4}) + o(h^{1/2})$; both rates dimension-free. Despite \citeauthor*{Zhang_Kato_Ruppert_2021}'s rate, their convergence is uniform solely in the design points of the covariates. In contrast to our estimator, which holds uniformity with respect to the design points, but also for the smoothing bandwidth. In light of this, our estimator can be more adequate in cases where the choice of the bandwidth is data-driven.

Literature Review

Following the introduction of global mode estimators by parzen_1962 and chernoff_1964,\footnote{sager_1978 categorized estimators as: "naive" when the density was not estimated (Chernoff), and as "indirect", since an intermediate step, such as Kernel Density Estimation, is required (Parzen). These classifications may blur, as the majority of direct estimators reveal some form of linkage with a type of density estimation sager_1978, chacon_2020.} sager_thisted_1982 generalized the framework of the latter and developed the first mode regression, establishing the global mode of the dependent variable as a monotone function of the covariate. Albeit its application only to ordinal data, this model showed that the conditional mode estimator could be formulated by applying a plug-in from a density estimator, such as a Kernel Density Estimator (KDE). Subsequently, mode regression literature has evolved and can be labeled according to two major factors: firstly, the assumptions of the model, as in a unique global mode vs. multiple local modes; secondly, the type of estimation, semiparametric (which postulates a linear relationship between response variable and covariates) vs. nonparametric (which allows for multiple local modes). Semiparametric estimation only works with the assumption of the mode being unique, however, a unique mode can be estimated nonparametrically. In light of this, we can divide the mode regression literature into 4 different strands:\footnote{Some papers may not fit precisely in this categorization, since they mix parametric and nonparametric traits liu_etal_2013, wang_2024, or use a Bayesian approach yu_arist_2012.} (1) Unique Mode with Semiparametric Estimation; (2) Unique Mode with Nonparametric Estimation, and (3) Multimodal with Nonparametric Estimation; afterward, special attention is given to (4) Conditional Quantile Approaches towards the mode, since this is more related to our contribution.\footnote{For a general survey of the role of the mode in statistics, we recommend chacon_2020; especially for mode regression, we indicate the review of chen_2018.}

(1) Unique Mode & Semiparametric Estimation: considering a linear framework, Lee_1989 (Lee_1989, Lee_1993) proposed to use a kernel smoothed loss function to estimate the conditional mode of truncated variables. The main drawback of this line of action lies in the underlying assumptions on the conditional density of the dependent variable, as well as homogeneity and symmetry of the error terms, which led to the conditional mode coinciding with the conditional mean chen_2018. Further work that sought to eliminate the error's assumptions, such as: Kemp_Silva_2012, where the loss function allows for smooth kernels; as well as yao_li_2014, who focused on high-dimensional data. Both methods have algorithmic issues, leading to a nonconvex optimization problems, with no guarantee of convergence to the global maximum, and high sensitivity to the selected starting point.\footnote{Some further exploration of this literature strand can be found in variable selection zhang_2013, time series analysis kemp_etal_2020 and in panel data ullah_etal_2021.}

(2) Unique Mode & Nonparametric Estimation: linearity can be too restrictive depending on the type of data; thus, nonparametric regression can model the components of the conditional mode as smooth functions of the covariates Chen_et_al_2016. A generalization of local polynomial regression is provided by yao_et_al_2012, denoted local modal regression, which presents better efficiency when errors are heavy-tailed. Nonetheless, the model suffers from the “curse of dimensionality” and error's symmetry is imposed.\footnote{According to \citet*{Zhang_Kato_Ruppert_2021}, their sixth assumption (symmetry of the error term) leads to the problem corresponding to conditional mean estimation.} A more recent nonparametric regression for single mode that mitigates the “curse of dimensionality” is found in feng_et_al_2020. This estimation of the conditional mode is achieved via an empirical risk minimization approach, which turns the problem into non-dependable on dimension.

(3) Multimodal & Nonparametric Estimation: as it is not always the case that data structures can be interpreted as unimodal, scott_1992 proposed to consider various modes as points of local maxima of the conditional density of the response. Both matzner_etal_1998 and einbeck_tutz_2006 solved prediction problems using the conditional mode. Using less restrictive assumption on the kernel density function, Chen_et_al_2016 developed a KDE-based mode regression with strong asymptotic properties and no specification issues. This model is more general than ours, since it allows for multiple modes, while we assume a unique mode at each design point of interest. Despite this, the model is susceptible to the "curse of dimensionality", given that the convergence is slow even with a modest number of regressors \citep*{Zhang_Kato_Ruppert_2021}.

(4) Conditional Quantile Approach: motivated by the challenges of nonconvex optimization and misspecification in linear models, as well as the susceptibility of nonparametric estimators to the "curse of dimensionality", \citet*{ota_kato_hara_2019} developed a novel semiparametric approach with an intermediate step based on quantile regression. The traditional quantile function of Koenker_Bassett_1978 is estimated, following, a conditional quantile density estimator is obtained via numerical differentiation. The underlying model does not impose linearity in the mode function, even when the quantile regression model is linear-in-covariates. Furthermore, it is computationally appealing, since quantile regression can be written as a linear programming problem. Still, the Koenker_Bassett_1978's (Koenker_Bassett_1978) empirical conditional quantile function is not continuous---hence the mentioned numerical differentiation, which leads to an approximate optimizer for the mode. In order to surpass this problem, \citet*{Zhang_Kato_Ruppert_2021} propose to post-smooth the quantile regression estimator by a kernel function. This strategy not only circumvents the approximate optimization, but also yields faster convergence rates. Both models take off from a key identity that we also explore in this paper, namely, that the quantile density is the reciprocal of the density function, evaluated at the quantile of interest, which summarizes how the conditional mode can be retrieved from the quantile density.

Organization

The rest of this paper is organized as follows. In Section (ref) the model is presented, we introduce the estimator and explore its relationship with the smoothed quantile regression. In Section (ref) we enunciate the main mathematical results of the paper, as well as commentary regarding convergence rates and different bandwidth scenarios. Section (ref) is a preliminary Monte Carlo study in which we simulate the possible limiting distribution for the Convolution Mode Regression Estimator. Finally, in Section (ref) we state our concluding remarks along with possibilities for future work. The Appendix contains additional mathematical material, such as derivations and convergence rates calculations.

Convolution Mode Regression

Setup

Let $Y \in \mathbb{R}$ represent a target random variable for which we are interested in estimating the conditional mode, given a $d$-dimensional vector $X$ of covariates, and write $\mathcal{X}:=\mathrm{support}(X)$. Assume that $Y|X=x$ is continuous and unimodal, having conditional cdf $F(\cdot|x)$ and conditional pdf $f(\cdot|x)$. Then, the conditional mode of $Y$ given $X=x$, denoted by $m(x)$, is defined as:

equation[equation omitted — 119 chars of source]

Thus, $m(x)$ corresponds to the point in the covariate space at which the (conditional) density of the response attains its maximum value. Additionally, define the $\tau$-th conditional quantile of $Y$ given $X=x$ as the scalar $Q(\tau|x)$ given by

equation*[equation* omitted — 134 chars of source]

and the conditional quantile function as the mapping $\tau \mapsto Q(\tau|x)$.

It is important to point out that the quantile function is entirely retrievable from the cdf, since it is just the generalized inverse of the function $y\mapsto F(y|x)$, and in the case of the distribution being a continuous function we have that $Q(\cdot|x):=F^{-1}(\cdot|x)$ for each $x$ vdVaart_1998, koenker_2005. Furthermore, the conditional quantile density function (qdf) is defined through

equation[equation omitted — 120 chars of source]

A key identity explored by \citet*{ota_kato_hara_2019} and \citet*{Zhang_Kato_Ruppert_2021} is that, as a consequence of the Inverse Function Theorem, the identity

equation[equation omitted — 71 chars of source]

holds for every allowable $x$ and $\tau$. In this sense, given some regularity conditions which we introduce below, we can minimize the inverse of the density (which is the qdf), as in equation (ref), and retrieve the maximizer of $y \mapsto f(y|x)$ from equation (ref); thus,

equation[equation omitted — 94 chars of source]

Regarding the quantile function, both \citet*{ota_kato_hara_2019} and \citet*{Zhang_Kato_Ruppert_2021} consider the quantile regression model developed by Koenker_Bassett_1978, which stipulates a linear-in-covariates representation of the conditional quantile function:

equation[equation omitted — 116 chars of source]

where $\beta : (0,1) \mapsto \mathbb{R}^d$ is a functional parameter. For each fixed $\tau$ in the interval $(0,1)$, the vector $\beta(\tau)$ in (ref) solves a similar minimization problem as the one found in classic linear regression. For this end, the following population objective function is proposed:

equation[equation omitted — 146 chars of source]

with $\rho_\tau (u) := u[\tau - \mathbb{I}(u<0)]$ known as the check function. The true parameter $\beta(\tau)$ minimizes $R(b;t)$ with respect to $b\in\mathbb{R}^d$. The sample equivalent proposed by Koenker_Bassett_1978 is defined as:

equation[equation omitted — 185 chars of source]

where $\widehat{F}(\cdot;b)$ is the empirical distribution function of $\varepsilon_i(b):=Y_i - X_i^\intercal b$, for $i=1,...,n$, with the traditional quantile regression estimator as the minimizer of $\widehat{R}(b;\tau)$, with respect to $b\in\mathbb{R}^d$, that is:

equation[equation omitted — 147 chars of source]

According to Theorem 2.1 in Bassett_Koenker_1982, the empirical conditional quantile function $\tau\mapsto x^\intercal \widehat{\beta}(\tau)$ exhibits jumps, in particular it is not differentiable. To overcome this issue, \citet*{fernandes_guerre_horta_2021} proposed using a kernel-type cdf estimator, similar to Nadaraya_1964, instead of the empirical distribution function. The resulting smoothed version of the sample objective function in (ref) is:

equation[equation omitted — 186 chars of source]

where the symbol $\ast$ denotes the convolution operator, and where $\widehat{f}_h(\cdot;b)$ is the kernel estimator of the density of $Y_i - X_i^\intercal b$. Here, $k_h(u) = k(u/h)/h$, where $k\colon \mathbb{R}\to\mathbb{R}_+$ is a smooth kernel function and $h>0$. The new estimator is the minimizer of the objective function (ref), called the smoothed quantile regression estimator (SQRE) and defined by:

equation[equation omitted — 147 chars of source]

The mapping $ \tau \mapsto \widehat{\beta}_h(\tau)$ is continuously differentiable over the interval $(0, 1)$, unlike $\widehat{\beta}$. Differentiability offers notable advantages, and the reasons are twofold: (i) the smoothness of the objective function ensures the regularity of the resulting estimator; (ii) the asymptotic covariance matrix of $\widehat{\beta}_h(\tau)$ can be estimated in a standard fashion, as in Newey_McFadden_1994. Regarding differentiability, writing $\widehat{R}^{(1)}_h(b;\tau):= {\partial \widehat{R}_h(b;\tau)}/{\partial b}$, the SQRE satisfies the first-order condition $\widehat{R}^{(1)}_h(\widehat{\beta}_h(\tau);\tau) = 0$. Accordingly, following the Implicit Function Theorem, we obtain:

equation[equation omitted — 218 chars of source]

Explicit formulas for the first and second order derivatives of $\widehat{R}_h(b;\tau)$ with respect to $b$ (respectively, $\widehat{R}^{(1)}_h(b;\tau)$ and $\widehat{R}^{(2)}_h(b;\tau)$) are provided in equation (ref) in (ref).

Estimation

Consider the following objective (or "sparsity"\footnote{This is the nomenclature used by \citet*{ota_kato_hara_2019} and \citet*{Zhang_Kato_Ruppert_2021}.}) function:

equation[equation omitted — 110 chars of source]

It is not difficult to show that

equation[equation omitted — 131 chars of source]

where

equation[equation omitted — 125 chars of source]

Under some regularity assumptions that will be introduced below, the function $\tau\mapsto s_x(\tau)$ has a unique maximizer, denoted $\tau_x$, which we call the conditional quantile mode of $Y$ given $X=x$. If we plug in this optimizer in the quantile function $Q(\cdot|x)$ we get the expression $m(x) = Q(\tau_x|x)$. Consequently, the estimation of $m(x)$ boils down to estimating the conditional quantile function, and $\tau_x$. In view of (ref), we define, for conformable $\tau$, $x$ and $h$, the sample conditional sparsity function as:

equation[equation omitted — 179 chars of source]

where

equation[equation omitted — 201 chars of source]

see \citet*{fernandes_guerre_horta_2021}.

The optimizers for the sparsity functions, both population and sample, as defined in (ref) and (ref), are given by:

equation[equation omitted — 252 chars of source]

where $0<\alpha<1/2$ is a constant.

Our proposed smoothed conditional mode estimator is then given by

equation[equation omitted — 152 chars of source]

for all $x\in\mathcal{X}$ and every allowable $h$.

Main Results

Before providing consistency results of the proposed estimator, we state the conditions for which our results are derived.

Assumptions:

itemize• A1: The support of $X$, denoted $\mathcal{X}$, is compact and a subset of $\bar{\mathbb{R}}^{d}_{+ \ast}$, i.e.,\ the components of $X$ are positive, bounded RVs. The matrix $\mathbb{E} [XX^\intercal]$ is full rank. • A2: The mapping $\tau \mapsto \beta(\tau)$ is three times continuously differentiable. • A3: The conditional density $f(y|x)$ is continuous and strictly positive over $\mathbb{R} \times \mathcal{X}$. Also, the derivative $f^{(1)}(\cdot|\cdot)$ exists and is uniformly continuous in the sense that \begin{equation*} \lim_{\epsilon\to0} \sup_{(x,y)\in\mathbb{R}^{d+1}}\sup_{t:|t|\leqslant \epsilon} \big\vert f^{(1)}(y+t|x) - f^{(1)}(y|x)\big\vert = 0, \end{equation*} and that $\sup_{(x,y)\in\mathbb{R}^{d+1}}\vert f^{(j)}(y|x)\vert < \infty$ and $\lim_{y\to\pm\infty} f^{(j)}(y|x)=0$ for all \(j \in \{0,1\}\). Remark. The degree of differentiability of \(f(\cdot | \cdot)\) is used in \citet*{fernandes_guerre_horta_2021} to control the order of the smoothing kernel. Here, we set the maximum value of $j$ equal to 1, for simplicity. • A4: The kernel $k\colon\mathbb{R} \mapsto \mathbb{R}$ is even, integrable and has bounded first and second derivatives. Additionally, $\int k(z) \mathrm{d} z=1$; $0<\int^{\infty}_0 K(z)[1-K(z)]\mathrm{d} z < \infty$ and, lastly, $0 < \int z^2k(z) \mathrm{d} z < \infty$. • A5: $h \in [\underline{h}_n, \bar{h}_n]$ with $n\underline{h}_{n}^3 /\log n\to\infty$ and $\bar{h}_n = o(1)$. • \textbf{A6:} For all $x\in \mathcal{X}$, there exists $\tau_x\in(0,1)$ such that, for every $\epsilon>0$, it holds that \begin{equation*} \sup_{\tau : |\tau-\tau_x| \geqslant \epsilon} s_x(\tau) < s_x(\tau_x) \end{equation*} • \textbf{A7:} For some $0<\alpha<1/2$, it holds that \begin{equation*} \alpha < \inf_{x\in\mathcal{X}} \tau_x \leqslant \sup_{x\in\mathcal{X}} \tau_x < 1-\alpha. \end{equation*}

Assumptions A1-A5 are taken directly from \citet*{fernandes_guerre_horta_2021}, with minor modifications. Due to A1-A3, the Hessian $D(\tau)$ as defined in (ref), is positive definite for all possible values of $\tau \in (0,1)$, therefore, $D(\tau)$ is invertible. Additionally, A2 ensures the function $\tau\mapsto Q(\tau|x)$ is increasing over the interval $(0,1)$, and, together with A3, that its derivative with respect to $\tau$ is strictly positive. Also, A3 expresses some ordinary regularity conditions which guarantee smoothness of $f(\cdot | \cdot)$ koenker_2005. Similar conditions can be found in Chen_et_al_2016; \citet*{ota_kato_hara_2019, Zhang_Kato_Ruppert_2021}; however, each of these estimates requires four-times continuous differentiability of the density. Assumptions A4 and A5 concern the kernel function $k$ and the bandwidth parameter $h$ and are necessary for the previously stated benefits of the SQRE over the traditional QR estimator. A6 ensures uniqueness of the conditional mode and is also commonly used in deriving consistency of M-estimators, see Theorem 5.7 in vdVaart_1998. Finally, Assumption A7 limits the possible values for the optimizer $\tau_x$, ensuring that the conditional modes are bounded away from the tails of the conditional distributions, uniformly on the covariate space.

Consistency of the Convolution Mode Regression Estimator:

The following lemma is a reinstatement of an inequality in \citet*{fernandes_guerre_horta_2021}.

lemmaUnder Assumption A1 to A5, it holds that \begin{align} \begin{split} \left\Vert \widehat{D}_h(\tau) - D(\tau)\right\Vert &= o(h^j) + O_P\left(\sqrt{{\log n}/{(nh)}}\right), \end{split} \end{align} uniformly for \(\tau\in[\alpha,1-\alpha]\) and \(h\in[\underline{h}_n,\bar{h}_n]\).
proofSee the proof of Proposition 1 in \citet*{fernandes_guerre_horta_2021}.

Our next result is regarding the sample sparsity function and the fact that it converges to the population counterpart.

lemmaUnder Assumptions A1 to A5, it holds that \[\vert \widehat{s}_{x,h}(\tau) - s_x(\tau)\vert = o(h) + O_P\left(\sqrt{\log n/(nh)}\right)\] uniformly over \(\tau\in [\alpha,1-\alpha]\), \(x\in\mathcal{X}\) and \(h\in[\underline{h}_n,\bar{h}_n]\).
proofWrite \[-(\widehat{s}_{x,h}(\tau) - s_x(\tau))\, =\, x^\intercal[\widehat{D}_h(\tau)]^{-1}\bar{X} \, - \, x^\intercal [D(\tau)]^{-1}\mathbb{E}X.\] Using \(\bar{X} = \bar{X} - \mathbb{E}X + \mathbb{E}X\) and rearranging, we have \begin{align} \begin{split} -(\widehat{s}_{x,h}(\tau) - s_x(\tau)) &= x^\intercal[\widehat{D}_h(\tau)]^{-1}(\bar{X}-\mathbb{E}X) \\ &\qquad \ +\ x^\intercal \left\{ [\widehat{D}_h(\tau)]^{-1} - [D(\tau)]^{-1}\right\} (\mathbb{E}X) \end{split} \end{align} Lemma (ref) implies, by the local Lipschitz property of matrix inversion, that \[ \left\Vert [\widehat{D}_h(\tau)]^{-1} - [D(\tau)]^{-1} \right\Vert = o(h) + O_P\left(\sqrt{\log n/(nh)}\right) \] uniformly in $\tau$ and $h$ as above. This together with \[ \sup_{\tau,h} |\widehat{D}_h(\tau)| = O_P(1), \quad \bar{X} - \mathbb{E} X = O_P(1/\sqrt{n}), \quad \mathbb{E} X = O(1), \quad \sup_{x\in\mathcal{X}}\Vert x\Vert = O(1) \] tells us that \begin{align} \begin{split} -(\widehat{s}_{x,h}(\tau) - s_x(\tau) ) &= x^\intercal O_p(1)O_p(1/\sqrt n) \\ &\qquad+ x^\intercal\left( o(h) + O_P \left( \sqrt{{\log n}/{(nh)}} \right) \right)O(1) \\ &= o(h) + O_P \left( \sqrt{{\log n}/{(nh)}}\right) \end{split} \end{align} as stated.

After showing that our sparsity functions are consistent, we prove that its maximizer $\widehat{\tau}_{x,h}$, in equation (ref), is also consistent for $\tau_x$.

theoremUnder Assumptions A1 to A7, it holds that \begin{equation} \widehat{\tau}_{x,h} = \tau_x + o(h^{1/2}) + O_P\Bigg( \Big( \frac{\log n}{nh} \Big)^{1/4}\Bigg) \end{equation} uniformly for \(x\in\mathcal{X}\) and \(h\in[\underline{h}_n,\bar{h}_n]\).
proofThe proof of Theorem ((ref)) consists of two parts: initially, it is proved that $\widehat{\tau}_{x,h}$ is consistent; then, in the second part of the proof, we calculate its rate of convergence. Part 1 (Theorem 1): First, by the definition of $\widehat{\tau}_{x,h}$ and through Lemma (ref), we have \[ \widehat{s}_{x,h}(\widehat{\tau}_{x,h})\geqslant \widehat{s}_{x,h}(\tau_x)=s_x(\tau_x) + r_n, \] where $r_n = o(h) + O_P\left(\sqrt{\log n/(nh)}\right)$ uniformly over $\tau$, $x$ and $h$. Hence, \begin{align} \begin{split} s_x(\tau_x) - s_x(\widehat{\tau}_{x,h}) &\leqslant \widehat{s}_{x,h}(\widehat{\tau}_{x,h}) - s_x(\widehat{\tau}_{x,h}) - r_n \\ &\leqslant |\widehat{s}_{x,h}(\widehat{\tau}_{x,h}) - s_x(\widehat{\tau}_{x,h})| + |r_n| \\ &\leqslant \sup\nolimits_{\tau,x,h} |\widehat{s}_{x,h}(\tau) - s_x(\tau)| + \sup\nolimits_{\tau,x,h}|r_n| \\ &= o(h) + O_P\left(\sqrt{\log n/(nh)}\right) \end{split} \end{align} where the last equality follows again by Lemma (ref). Now, notice that compactness of $\mathcal{X}$, together with Assumptions A2, A6 and A7, ensure there exists an $\mathrm{x}\in\mathcal{X}$ such that \[\sup_{x\in\mathcal{X}} \sup_{\tau:\ |\tau-\tau_x|\geqslant\epsilon} s_x(\tau) - s_x(\tau_x) = \sup_{\tau:\ |\tau-\tau_{\mathrm{x}}|\geqslant\epsilon} s_{\mathrm{x}}(\tau) - s_{\mathrm{x}}(\tau_{\mathrm{x}}) < 0\] In view of this and using A6 once more, the following holds: for each \(\epsilon>0\) there exists an \(\eta>0\) such that the bound \[s_x(\tau) \leqslant s_x(\tau_x) - \eta\] holds for all \(x\) in the support of \(X\) and all \(\tau\) with \(|\tau-\tau_x|\geqslant\epsilon\). Using compactness of $\mathcal{X}\times [\underline{h}_n,\bar{h}_n]$ and letting \((\mathrm{x},\mathrm{h})\) attain the supremum \(\sup_{x,h} |\widehat{\tau}_{x,h} - \tau_x|\) over \(\mathcal{X}\times [\underline{h}_n,\bar{h}_n]\), we have \[\lbrace |\widehat{\tau}_{\mathrm{x},\mathrm{h}}-\tau_{\mathrm{x}}|\geqslant\epsilon \rbrace \subseteq \lbrace s_{\mathrm x}(\tau_{\mathrm x}) - s_{\mathrm x}(\widehat{\tau}_{\mathrm{x},\mathrm{h}}) \geqslant \eta \rbrace \subseteq \lbrace \sup\nolimits_{x,h} s_x(\tau_x) - s_x(\widehat{\tau}_{x,h}) \geqslant \eta\rbrace.\] Thus, for any $\epsilon>0$, \[ \mathbb{P}\lbrace\sup\nolimits_{x,h} |\widehat{\tau}_{x,h} - \tau_x|\geqslant\epsilon\rbrace \leqslant \mathbb{P}\lbrace \sup\nolimits_{x,h} s_x(\tau_x) - s_x(\widehat{\tau}_{x,h}) \geqslant \eta\rbrace \to 0 \] in view of (ref). Part 2 (Theorem 1) Recall the equations (ref) and (ref) with $D(\tau)$ and $\widehat{D}_h(\tau)$ defined as in (ref) and (ref). The first derivative of $s_x(\tau)$ is as: \begin{equation*} s_x^{(1)}(\tau):= \frac{\partial s_x(\tau)}{\partial \tau} = x^\intercal \Bigl[ [D(\tau)]^{-1}D^{(1)}(\tau)[D(\tau)]^{-1} \mathbb{E}X \Bigr] \end{equation*} with $D^{(1)}(\tau)$ defined as $\partial D(\tau)/\partial\tau = \mathbb{E}[XX ^\intercal f^{(1)}(X ^\intercal \beta(\tau)|X) \cdot X^\intercal [D(\tau)]^{-1}\mathbb{E}X]$; the derivation of $D^{(1)}(\tau)$ is found in Appendix (ref), equation (ref). The first order condition $s_x^{(1)}(\tau_x)=0$ and its sample analog, $\widehat{s}^{(1)}(\widehat{\tau}_{x,h})=0$ yield: \begin{align*} \begin{split} x^\intercal [D(\tau_x)]^{-1}D^{(1)}(\tau_x)[D(\tau_x)]^{-1} \mathbb{E}X = 0 \\ x^\intercal [\widehat{D}_h(\widehat{\tau}_{x,h})]^{-1}\widehat{D}^{(1)}(\widehat{\tau}_{x,h})[D(\widehat{\tau}_{x,h})]^{-1} \bar{X} = 0 \end{split} \end{align*} Now, by a Taylor expansion with Lagrange remainder, we have \begin{equation*} s_x(\widehat{\tau}_{x,h}) = s_x(\tau_x) + s^{(1)}_x(\tau_x)[\widehat{\tau}_{x,h} - \tau_x] + \frac{1}{2}s^{(2)}_x(\tau_x^*)[\widehat{\tau}_{x,h}-\tau_x]^2 \end{equation*} with $\tau^{*}_x$ as a point between $\widehat{\tau}_{x,h}$ and $\tau_x$. Assumptions A2, A6, and A7 ensure that $\tau\mapsto s_x(\tau)$ is strictly convex in a vicinity of $\tau_x$, so $\inf_\tau s^{(2)}(\tau) > 0$ in such a vicinity. Applying the first-order condition $s_x^{(1)}(\tau_x)=0$, we can rewrite the expansion as: \begin{equation} s_x(\widehat{\tau}_{x,h}) = s_x(\tau_x) + \frac{1}{2}s^{(2)}_x(\tau_x^*)[\widehat{\tau}_{x,h}-\tau_x]^2, \end{equation} which leads to \begin{equation*} \vert \widehat{\tau}_{x,h} - \tau_x \vert = \sqrt{2} \sqrt{\frac{\big| s_x(\widehat{\tau}_{x,h}) - s_x(\tau_x) \big| }{\vert s^{(2)}_x(\tau_x^*)\vert}} = \sqrt{\frac{o(h) + O_P\Big(\sqrt{\log n / (nh)}\Big)} {O_P(1)}} \end{equation*} Using $\sqrt{a+b} \leqslant \sqrt{a} + \sqrt{b}$, it yields our rate of convergence for $\widehat{\tau}_{x,h}$: \begin{equation} \vert \widehat{\tau}_{x,h} - \tau_x \vert = o(h^{1/2}) + O_P\Bigg( \Big( \frac{\log n}{nh} \Big)^{1/4} \Bigg) \end{equation} as stated.

Now that the consistency for the quantile modes is proved and the rates of convergence are defined, we proceed to state the consistency for the estimator of the mode, $\widehat{m}_h(x)$. Our second theorem is constructed using previous results from this paper and from \citet*{fernandes_guerre_horta_2021}.

theoremIf Assumptions A1 to A7 hold, then \begin{equation} \widehat{m}_h(x) = m(x) + o(h^{1/2}) + O_P \Bigg( \Big( \frac{\log n}{nh}\Big)^{1/4}\Bigg) \end{equation} uniformly for \(x\in\mathcal{X}\) and \(h\in[\underline{h}_n,\bar{h}_n]\).
proofFrom Theorem (ref) we know that $\widehat{\tau}_{x,h} \xrightarrow{p} \tau_x$ at a rate of $o(h^{1/2}) + O_P ( {\log n}/{nh} )^{1/4}$. Also, from Theorems 1 and 2 in \citet*{fernandes_guerre_horta_2021} we have: \begin{equation} \big\Vert \widehat{\beta}_h(\tau) - \beta(\tau) \big\Vert = O_P\left( \frac{1}{\sqrt{n}} + h^2 \right) \end{equation} Recalling that \begin{equation*} m(x) = x^\intercal \beta(\tau_x) \quad \mathrm{and} \quad \widehat{m}_h(x) = x ^\intercal \widehat{\beta}_h(\widehat{\tau}_{x,h}) \end{equation*} we obtain \begin{align} \begin{split} \vert \widehat{m}_h(x) - m(x) \vert &= \Big| x ^\intercal \widehat{\beta}_h(\widehat{\tau}_{x,h}) - x^\intercal \beta(\tau_x) \Big| \\ &= \Big| x^\intercal \big( \widehat{\beta}_h(\widehat{\tau}_{x,h}) - \beta(\tau_x) \big) \Big| \leqslant \Vert x \Vert \cdot \big\Vert \widehat{\beta}_h(\widehat{\tau}_{x,h}) - \beta(\tau_x) \big\Vert. \end{split} \end{align} Given the differentiability condition (A2), we have that $\beta(\tau)$ is Lipschitz-continuous, thus, for some constant $C>0$, we have \begin{align} \begin{split} \Vert \widehat{\beta}_h(\widehat{\tau}_{x,h}) - \beta(\tau_x)\Vert &\leqslant \Vert \widehat{\beta}_h(\widehat{\tau}_{x,h}) - \beta(\widehat{\tau}_{x,h}) \Vert + \Vert \beta(\widehat{\tau}_{x,h}) - \beta(\tau_x) \Vert \\ &\leqslant(\sup\nolimits_\tau \Vert \widehat{\beta}_h(\tau) - \beta(\tau) \Vert) + C \Vert \widehat{\tau}_{x,h} - \tau_x\Vert \\ &\leqslant O_p \left(\frac{1}{\sqrt{n}}+h^2\right) + C \Biggl[ o(h^{1/2}) + O_P\Bigg(\Big(\frac{\log n}{nh}\Big)^{1/4}\Bigg) \Biggr], \end{split} \end{align} which yields (ref).
remarkDenote our rate of convergence from Theorem (ref) as $R_{CMR}$ and the rate from the estimator proposed by \citet*{Zhang_Kato_Ruppert_2021} as $R_{ZKR}$, \begin{align} \begin{split} R_{CMR} &= O_P \Big( n^{-1/4}h^{-1/4}(\log n)^{1/4} \Big) + o(h^{1/2}) \\ R_{ZKR} &= O_P \Big( n^{-1/2}h^{-3/2} (\log n)^{1/2} + h^2 \Big) \end{split} \end{align} Neither rate is dimension dependable, thus free from the "curse of dimensionality"; under certain conditions on $h$, our rate, $R_{CMR}$, is marginally slower than $R_{ZKR}$. Apart from the presence of the deterministic term, both rates are similar, and the difference lies on the selection of the bandwidth parameter, $h$. Given a certain bandwidth, $R_{ZKR}$ can achieve, at best, a rate of $(n\log n)^{-2/7}$, similar to the rate of Kemp_Silva_2012 and faster than the rate in \citet*{ota_kato_hara_2019}. Despite the differences in convergence rates, we attain uniformity with respect not only to the design points of the covariates, but also to the bandwidth.
remarkRewrite $R_{ZKR}$ in (ref) as \begin{equation} O_P\left( \left[\frac{\log n}{n h^3}\right]^{1/2} + h^2\right). \end{equation} The ratio \begin{equation} \frac{(\log n/(nh))^{1/4}}{(\log n/(nh^3))^{1/2}} = \frac{n h^5}{\log n} \end{equation} diverges to infinity under Assumption (viii) in \citet*{Zhang_Kato_Ruppert_2021}, so under this assumption our estimator cannot achieve $O_P$ rates faster than theirs. Nevertheless, under our weaker Assumption A5, we can make (ref) go to zero, for example by taking $h = (n/\log n)^{-1/5}b$ with $b\to0$ and $b^3(n/\log n)^{-2/5}\to\infty$. However, this particular choice for the bandwidth is not contemplated due to \citeauthor*{Zhang_Kato_Ruppert_2021}'s Zhang_Kato_Ruppert_2021 assumptions, but is enabled by our condition A5.
remarkImportantly, our estimator $\widehat{m}_h(x)$ attains the rate in Theorem (ref) uniformly both in $x$ and $h$; on the other hand, the representation in Proposition 1 of \citet*{Zhang_Kato_Ruppert_2021} is not uniform for the bandwidth. Obtaining uniformity in $h$ can be useful for 3 types of bandwidth choices: (i) data-driven bandwidth choices, as in \citet*{fernandes_guerre_horta_2021}; (ii) adaptive bandwidth choices, such as the ones of terrell_scott_1992, Lepski_etal_1997; and (iii) choices robust to bandwidth-snooping, as in armstrong_kolesar_2018.

Monte Carlo Study

In this section we employ a preliminary\footnote{For a more comprehensive Monte Carlo Study, considering different types of error terms, we refer the reader to the work of ongaratto_horta_2021.} version of a Monte Carlo study in order to illustrate if our estimator converges to a normal distribution in finite samples. All the analyses in this section were developed using R language, version 4.3.1 R_software via the software RStudio R_studio. The estimation of $\widehat{\beta}_h(\tau)$, as in (ref), was done via the package conquer from conquer.

Simulation Design

In our simulation, we consider a type of heteroscedastic error distribution, similar to \citet*{fernandes_guerre_horta_2021}. Our pseudorandom data is generated from the model $Y = X^\intercal \beta + \epsilon$, where $X = (1, \Tilde{X})^\intercal$, with $\Tilde{X} \sim U(1,5)$, $\beta = (1,1)$ and the conditional heteroscedastic error term $\epsilon = \frac{1}{2} (1+\Tilde{X})Z$, with $Z$ following a Skew Normal distribution with zero mean, unit variance and parameter $\alpha=2$. As for the design point of the covariates, we condition $X=x$ with $x=(1, 3)^\intercal$. The simulations require $\tau$ values, so we consider a grid, $\mathcal{T} = \{ 0.01, 0.02, ..., 0.98, 0.99\}$. We contemplated 3 different samples sizes, $n = \{ 100, 250, 500\}$, each for the number of replications, $it=\{100, 1000\}$.

Bandwidth Selection

It is necessary to choose the bandwidth parameter $h$ in order to estimate $\widehat{m}_h(x)$ as in (ref). In line with \citet*{fernandes_guerre_horta_2021}, we employ the Silverman's rule-of-thumb bandwidth silverman_1986. We consider a $\tau$-dependent, plug-in rule-of-thumb bandwidth which can be expressed as:

equation[equation omitted — 119 chars of source]

where, for each quantile level $\tau \in \mathcal{T}$, there is a different value of $\widehat{S}(\tau)$, which is computed according to the following algorithm:

enumerate• Calculate the residuals for the canonical quantile regression estimator $\beta(\tau)$ as in $e_i(\tau):= Y_i - X_i^\intercal (\widehat{\beta}(\tau)$ for $i \in \{1,...,n\}$; • The sample interquartile range $iq(\tau)$ is calculated, corresponding to the residuals $\widehat{e}_1(\tau),...,\widehat{e}_n(\tau)$; • The sample standard deviation $\widehat{\sigma}(\tau)$, from $\widehat{e}_1(\tau),...,\widehat{e}_n(\tau)$, is calculated; • Lastly, $\widehat{S}$ is given by the $\min{0.7199528 \times iq(\tau); \sigma(\tau)}$.

Since the bandwidth $h_{ROT}$ is data-driven, it depends on the generated sample, thus it can vary with each replication. Also, the bandwidth is $\tau$-dependent, therefore, there is a different smoothing parameter for each value of $\tau \in \mathcal{T}$.

Limiting Distribution of the Estimator

Since no distribution is achieved in our asymptotic theory, we rely on simulations in finite sample sizes to analyze the behavior of the Convolution Mode Regression Estimator, specifically, its limiting distribution. In order to deduce if our proposed estimator is normally distributed, we analyze the quantile-quantile (Q-Q) plots for the estimated $\widehat{m}(x)$ against the theoretical quantiles of a Normal Distribution.

figure[figure omitted — 633 chars of source]
figure[figure omitted — 639 chars of source]

According to Figures (ref)-(ref) there is some evidence that our estimator is normally distributed, for the referred sample sizes. The generated sample points show some adherence to the 45° degree line, which represents the theoretical quantiles of a Normal Distribution. The “stickiness” of the points to the line seems to be weaker on the lower tail for all sample sizes with 100 replications. When we increase the number of replications of the simulation for $it=1000$ (Figures (ref) and (ref)), we get similar results to the previous ones, the generated quantile points of $\widehat{m}_{h_{ROT}}(x)$ overlap the red line, except in the lower limits of the samples. The last simulated example, in Figure (ref) ($n=500$ and $it=1000$), shows a better correspondence of the simulated points of the lower tail to the theoretical pathway. In short, the different simulated scenarios suggest that for finite samples, our estimator gets closer to being normally distributed.

Concluding Remarks

In the present paper we developed a novel estimator for the conditional mode $\widehat{m}_h(x)$, called Convolution Mode Regression, which is based on inverting a convolution-type smoothed quantile regression. The idea of achieving the conditional mode via quantile regression is not groundbreaking, since it has been done previously \citep*{ota_kato_hara_2019, Zhang_Kato_Ruppert_2021}. Despite that, it presents advantages regarding the two main problems with mode regression, slow convergence in nonparametric settings and nonconvex optimization in linear environments. Since the mode is the maximizer of the density and the density can be retrieved from the qdf, our estimation strategy relies on an intermediate step. Specifically, to estimate $\widehat{m}_h(x)$, we first estimate the conditional quantile function $Q(\cdot|x)$, followed by the conditional quantile mode of $Y$ given $X=x$, denoted $\tau_x$. The qdf estimator we rely on, from \citet*{fernandes_guerre_horta_2021}, makes use of the linear structure of QR and also converges to the real pdf curve.

Differently from the existing work of \citet*{Zhang_Kato_Ruppert_2021}, who initially estimate the quantile regression then smooth it through a kernel, our approach relies on "smooth then estimate". We develop asymptotic consistency for our estimator, obtaining some differences in convergence rates, as compared to \citet*{Zhang_Kato_Ruppert_2021}. Apart from the initial smoothing, the main differentiation of our model from the authors' is in the bandwidth selection premise, since our assumption for the choice of $h$ is less restrictive. Furthermore, the uniformity of $\widehat{m}_h(x)$ with respect to $h$, something not obtained in \citet*{Zhang_Kato_Ruppert_2021}, makes our model an interesting choice when the bandwidth selection is data-driven or adaptive. Our preliminary simulations show, that for finite sample sizes, our estimator behaves similar to a Normal Distribution.

Further work related to present research can take many directions. In what we assess as more important, the continuation of the asymptotic properties, namely, the limiting distribution of the estimator. Furthermore, to refine the Monte Carlo Study, more in line with ongaratto_horta_2021, in order to compare the performance of the Convolution Mode Regression Estimator against \citeauthor*{Zhang_Kato_Ruppert_2021}'s. In accordance to that, implementations of our estimator in previous applied econometric and predictive problems can be carried out; besides to a generalization of the present framework for time series, focused on forecasting models for asymmetric data.