Hello there,
I am facing a problem when using the xlabel and ylabel in grqreg in STATA Quantile Regression. I am running the below do file but my graph is not showing the labels as I mentioned in my command and showing this error when it comes to grqreg.
option xlabel() not allowed
r(198);
end of do-file
r(198);
If I use the grqreq without xlabel and ylabel, it works fine but I want to edit the scales as I need to run this for different data and will set the same scale for each variable.
[set scheme s1color
set seed 5001
sqreg csad absrm rm2, q(10 25 50 75 95 99) reps(20)
grqreg rm2, ci ols olsci graphregion(color(white)) reps(20) seed(5001)
xlabel(none) xlabel(0.01(0.20)0.99)
ylabel(none) ylabel(-8(2)8)
title("Quantile Regressions")
xtitle("Quantile")
ytitle("RM2")]
Array
Related Posts with grqreg xlabel and ylabel
Efficient lags? Is copy and paste better?I am trying to link the volume sold on a service to the price of it. However, the timing differs as …
winsor and winsor2, different resultsHello all, I am a new STATA user and have some questions about winsorizing. For example, I want to…
Problem with zero in matrixHi I am working with a transition matrix in stata recently and I have 4 x 4 matrix. I have the 4th r…
Predict residuals by yearHi, I'm new to Stata and have a regression of firm weekly return on market weekly returns: reg frim…
Problems with zero in matrix Hi I am working with a transition matrix in stata recently and I have 4 x 4 matrix. I have the 4th …
Subscribe to:
Post Comments (Atom)
0 Response to grqreg xlabel and ylabel
Post a Comment