Questions tagged [quantile-regression]

Quantile regression allows us to estimate the effect of a set of predictor variables over the entire distribution of the outcome variable or any particular quantile.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Best method to construct reference curves

I need to construct reference curves (or percentile curves) for a continuous outcome variable, let's say Y, with the covariate age on the x-axis. The curves will also be made across different ...
-1 votes
0 answers
17 views

eviews quantile panel data [closed]

I would like to set the quantile breakpoint for my dependent variable in the panel data in eviews. However, no matter how hard I try, it doesn't work. Can you help me to correct this code? ...
1 vote
0 answers
52 views

Quantile Regression and Independent Errors

I am struggling to understand two different quantile regression specifications and the assumptions of conditional quantile independence and full independence. In the first specification, suppose we ...
  • 11
1 vote
0 answers
27 views

Prediction of mean in addition to quantiles using quantile regression in ranger

I am confused about the possibilities to predict the mean using quantile regression forests. In my understanding, quantile regression enables the prediction of the probability distribution, i.e. the ...
  • 111
0 votes
0 answers
11 views

Can you do Quantile regression for probabilistic forecast with Gaussian process regression (GPR)?

I am learning probabilistic forecasting and there are three way to do it, quantile regression, prediction interval and probability density forecast. Can i perform quantile regression with Gaussian ...
1 vote
1 answer
37 views

p-values unstable using quantreg::rq in R [closed]

Using R, I m performing a backtest on a time series by using quantile regression (quantreg::rq) on a number of features. These features are selected based on a condition such as p-values <= 5%. If ...
1 vote
0 answers
11 views

How to generate quantile forecasts from first differences?

Let's say I have a time series and I am taking the first differences and training a model to output the predicted 95% quantiles of these first differences at future time horizons. If this was just a ...
  • 111
0 votes
0 answers
18 views

quantile regression vs mannU (median difference)

I want to compare the medians of an interrupted time series, for example, years 2019-2020 with 2021-2022. The data is not normally distributed and the distribution of the data is not similar. Would ...
  • 61
10 votes
2 answers
475 views

Is quantile regression a maximum likelihood method?

Quantile regression allows to estimate a conditional quantile for y (like e.g. the median of y,...) from data x. I do not see any distributional assumptions about y being made. This seems in contrast ...
  • 431
1 vote
0 answers
48 views

Add equality constraint and positive coefficients to quantile regression function in quantreg package in R

I want to fit a quantile regression to $y_t= \alpha+ \beta_1 x_1 + \beta_2 x_2 +\beta_3 x_3 + \beta_4 x_4 + \epsilon_t $ $\rightarrow$ (1) rq function can do the job for me however I want to add two ...
5 votes
1 answer
59 views

What type of data should I generate to observe/amplify a crossing problem in quantile regression?

1. Background Crossing problem in quantile regression can be observed when we want to estimate several conditional quantiles (e.g. τ = 0.1, 0.2, . . . , 0.9), as two or more estimated conditional ...
  • 125
1 vote
0 answers
45 views

Does linear regression mean the model fit line has to be straight? [duplicate]

When we fit a linear reg model, do we get a straight line equation? So, it means there is no way we can get a curved line from it. Then why in some examples over internet we see curved line for linear ...
0 votes
0 answers
23 views

Slope estimates of the quantile regression

In the Quantile Regression model $$y_i=x_i^T\beta + \epsilon_i,\ i=1,2,....,n$$ when the error terms are iid then can we expect that the slope estimates for the conditional mean and quantiles to be ...
0 votes
0 answers
44 views

Estimates of the Quantile Regression

In the Quantile regresion model we assume that$$y_i=x_i^T\beta +\epsilon_i,\ i=1, 2, 3, ....,n$$ such that the conditional quantiles of the error terms are zero and for the OLS model we assume that ...
0 votes
1 answer
91 views

Robustness of Quantile Regression

Is the 99th Quantile Regression model a robust model? From my understanding, Quantile Regression is supposed to be robust in nature, but removing some outliers using IQR, the results obtained by 99th ...
  • 31
1 vote
0 answers
34 views

Estimate Conditonal Moments from Conditonal Quantiles

In Chang et al. "The Higher Moments of Future Earnings" (2014), the authors say say that based on (predicted) conditonal quantiles of a variable $y$, one can derive the (predicted) ...
  • 949
2 votes
1 answer
66 views

Quantile Regression and MannU test for median difference

I am looking to determine whether two medians are not equal and attempt to estimate the median difference between the two. From my research, I have found this can be done by performing the Wilcoxon ...
  • 61
3 votes
1 answer
200 views

Estimating a quantile from an unknown distribution

I have a variable $x \sim N(0,1)$, of dimension $p$, with each $x_i$ independent. I want to find the quantile, $q$, such that $$\mathbb{P}\left(\frac{\sum_{i=1}^p (|x_i| - b_i) }{c} \geq q \right) = a,...
1 vote
0 answers
26 views

Closeness of two estimators of median under non parametric setup in a large sample situation

Median Regression under non-parametric set-up (Nadaraya Watson Estimate) Data: $\{(Y_i,X_i):1\le i\le n\}$ Interested in estimating $\phi(x)=\text{median}(Y|X=x).$ Possible estimates are Minimize the ...
  • 135
1 vote
2 answers
99 views

Is it possible that quantile regression estimates coincides with OLS estimates?

Let $Y_i$ and $X_i$ be random variables. Under the linear regression specification, we have $Y_i = X_i \beta + \epsilon_i$, where $\mathbb{E}[\epsilon_i | X_i] = 0$. For this model, we may obtain the ...
  • 105
0 votes
0 answers
111 views

P-value Computation in Quantile Regression

How can be the p-values be computed in quantile regression? I can see pre-existing packages in R(quantreg) and Python(statsmodel) arriving at the p-values in Quantile Regression. Kindly provide ...
  • 31
0 votes
0 answers
16 views

Can you create z-scores for data using median values of a population accross an age range?

I have a set of biomarker data in a healthy population across the age range of 1-80 years old. With this data we have created continuous reference intervals using a smoothed quantile regression method,...
  • 1
1 vote
1 answer
168 views

Quantile Regression proof

I'm interested in understanding the formal proof of why Quantile Regression works. That is, show me in which conditions the pinball/quantile loss provides asymptotic consistent estimations of the ...
0 votes
1 answer
36 views

Can I add up ORs for specific predictors?

I have a cohort of patients for which I have 2 separate polygenic risk scores. I would like to produce a quantile plot such as this one: To do so, I have first divided the PRS score into quantiles, ...
  • 11
1 vote
0 answers
27 views

Meta analysis of quantile regressions in a mixed model approach

I want to test if lower quantiles lead to lower effect sizes of quantile regressions. The regressions were made across different, nested, contexts. Specifically, I made correlations for 3 percentiles (...
0 votes
0 answers
81 views

ANOVA with quantile regression: interpretation

I asked a related question on how to figure whether multiple models are significantly different or not. To compare two models using anova in R, I can simply use <...
  • 135
3 votes
1 answer
72 views

Generalized quantile regression? Transforming a conditional quantile like we transform conditional expected value

Linear models are models like $\mathbb E\left[Y\vert X\right]=X\beta$. Linear quantile regression models replace $\mathbb E\left[Y\vert X\right]$ with $Q_{\tau}\left(Y\vert X\right)$ for conditional ...
  • 46.8k
0 votes
0 answers
51 views

A Quantile Analysis of the predictive power of the Value factor

Value factor is implemented using three different measures: a. EPQ is the E/P where E is last quarter EPS b. EP12 is the E/P where E is the last 12 months EPS c. BTM is the book to market ratio I need ...
  • 1
0 votes
0 answers
35 views

Which regression models are appropriate for (ratios of) two different but dependent counts?

Consider a variable Y which is the ratio of the frequencies of two words/concepty (f,g) in a text: Y = f/g. Since the texts do not have equal length, the denominator when calculating the percentage of ...
2 votes
2 answers
91 views

Quantile regression necessarily has a solution with $r$ residuals equal to 0: why/how

Given data $\{(Y_i,X_{1,i},X_{2,i}\dots X_{p,i}):1\le i\le n\}$. let $\theta\in(0,1)$ and $\beta=(\beta_1,\beta_2\dots\beta_p)^T$. Then, the quantile regression problem $$\underset{\alpha,\beta}{\min}\...
  • 135
0 votes
0 answers
52 views

How to interpret the quadratic affect in the quantile regression for birth weight example

I have read a nice article about the quantile regression using the brith weight as one example. The article can be accessed via this link Here. The two figures in the second row in page 8 are ...
  • 1,378
2 votes
0 answers
110 views

Predicting percentiles with percentile data [closed]

I have a few independent variables and 5 dependent(target) variables. The target variables are percentiles (10th, 25th, 50th, 75th, 90th) and I want to predict the same in that order. What approach ...
0 votes
0 answers
26 views

Loss function for conditional IQR: is it just the difference between $q_{0.75}$ and $q_{0.25}?$

Quantile regression lets us estimate the conditional first and third quantiles by using particular loss functions that I’ll call $L_{0.25}$ and $L_{0.75}$, respectively. $$ l_{\tau}(y_i, \hat y_i) = \...
  • 46.8k
2 votes
1 answer
702 views

Can a Variable Be Both Dependent and Independent?

We can see that the GDP growth, represented by "y" is the dependent variable and independent variable. I would like to perform quantile regression in Eviews, with ...
  • 161
2 votes
1 answer
324 views

Scikit-learn QuantileRegressor memory allocation error. No issue with statsmodel QuantReg with the same data

I'm trying to fit a quantile regression model to my input data. I would like to use sklearn, but I am getting a memory allocation error when I try to fit the model. The same data with the statsmodels ...
  • 205
1 vote
1 answer
100 views

What is the meaning of a quantile regression model that predicts the conditional mean?

What does that phrase "quantile regression model that predicts the conditional mean" mean? How to interpret that? I found it in Liu et al. (2020). The authors have compared the results of ...
8 votes
3 answers
2k views

Which metric to use to evaluate Quantile Regression?

I have a prediction problem for which I want to predict the 75% Quantile using Quantile Regression. I am a little bit confused on how to evaluate this model (and also compare different models). If I ...
  • 301
1 vote
2 answers
237 views

Proof of $\left|c_{i}-c_{j}\right|\left\{\begin{matrix}\ge 2,{\rm of}\,3/4\,{\rm probability}\\<2,{\rm of}\,1/4\,{\rm probability}\end{matrix}\right.$

FA Premier League 2019/20. The season was affected by the COVID-19 Pandemic while each team had a so-called quarter of their schedule left. ("quarter" ? Since each team has 4/9 or 5/9 number ...
user avatar
0 votes
0 answers
116 views

Dependent value largely right skewed. What are my options?

I am modeling a dependent variable which is heavily right skewed by a large number of independant variables. This variable is integer. But let's assume this is our model. $ Y = a_0 X_0 + a_1 X_1 + b_0$...
  • 289
1 vote
1 answer
39 views

Using an independent variable correlated with the residuals in quantile regression

If an independent variable correlates with the residuals in quantile regression, does it produce biased coefficient estimates? In ordinary least squares regression, if the independent variable is ...
  • 11
0 votes
0 answers
38 views

Time fixed effect - calculate the net of time effect

I have a data that includes two categories, one being Manchester and another Leeds. This is panel data. I have a Year variable, a dummy for city 0 (Man) 1 (Leeds) and a dummy for each Year. How would ...
  • 3
3 votes
1 answer
102 views

n-th quantile for bivariate variable

I generate a 2000 bivariate random samples which are negative correlated. I used np.quantile to generate 10 quantile from this random samples. The related point is marked in the following figure. I am ...
  • 1,307
4 votes
1 answer
254 views

Theory understanding behind quantile regression

As part of my studies in ecology, I am trying to reproduce a quantile regression method described in Karlsson et. al (2022) (source: https://arxiv.org/pdf/2202.02206.pdf) My starting point is this: ...
  • 125
0 votes
0 answers
23 views

Variations in the output of quantile regression models

I am trying to implement quantile regression models with R for the first time (I am new to this regression approach). Here is the code that I am running: ...
  • 125
0 votes
0 answers
192 views

How to interpret the quantile regression based on random forest?

I have read the Q&A how-are-the-results-of-multivariable-quantile-regression-interpreted and the recommended paper (Petscher and Logan, 2013). I have taken the Wine Quality Data Set, built the ...
  • 850
0 votes
1 answer
214 views

How to calculate the correlation by the Spearman method for each quantile of the quantile regression in R?

I'm trying to calculate the Spearman's correlation coefficient for each quantile of my quantile regression (to later calculate the R² of each quantile), but the package I know of (QCSIS) uses Pearson'...
  • 5
0 votes
0 answers
113 views

What are some methods for comparing 2 separate quantile regression curves?

I am currently working with a dataset using the QuantregGrowth package in RStudio to determine the 2.5th/97.5th percentile curves of a biomarker across the age spectrum. I have a pretty good handle on ...
  • 1
2 votes
0 answers
229 views

OLS is BLUE (or BUE) to minimize MSE. Is quantile regression is BLUE to minimize MAE?

The Gauss-Markov theorem considers "best" as "lowest mean square error (MSE)" and a recent version of the theorem shows OLS is not only BLUE but also BUE: https://www.ssc.wisc.edu/~...
0 votes
1 answer
312 views

Why is there no panel quantile regression with two-way fixed effects yet?

I have been learning the quantile regression model recently, and my understanding is (possibly wrong) that quantile regression is essentially extracting the subsamples corresponding to a certain ...
0 votes
2 answers
136 views

Combining quantile regression with binning

I'm trying to employ a framework where I uncover the marginal effects of the quantiles of one continuous variable on another continuous variable - something analogous to the Quantile-on-quantile (QQR) ...

1
2 3 4 5
8