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
The choice of selection equation in the Heckman procedureMy sample includes only migrants that send remittances and non migrants. I am trying to predict the …
missing coefficient and standard error when using areg commandHi everyone, I have a data set that I included here. I try to run the regression to find the effect…
Renaming multiple variables in a loopHi, How can I rename multiple variables without having to manually rename every single one of them …
Sample Distribution by YearsDear Statalists, I have an unbalanced panel sample and want to create a table summarizing firms dis…
generating shares from a categorical variableDear Statalist members, i need help with a stata code. I have data on cities within the Uk I wan t…
Subscribe to:
Post Comments (Atom)
0 Response to grqreg xlabel and ylabel
Post a Comment