Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Symmetric transposition of graph with respect to y = x

    Dear Statalists,

    I came across one of the commands relevant to the quantile regression of econometrics.
    As is well known, the grqreg draws estimated values from an explanatory variable at the y-axis along the quantiles of a dependent variable in the x-axis.
    Can anyone help to transpose the graph symmetrically with respect to y = x?

    For instance, the graph below will symmetrically shift along the reference line of y = x, and axes will be exchanged with each other.
    Code:
    webuse auto, clear
    qreg price weight
    grqreg, cons ci ols olsci
    Graph_example2.png

    Thanks a lot in advance.
    Last edited by Lin-Geon Yi; 09 Sep 2020, 23:51.

  • #2
    The graph is as follows:
    Graph_example2.png

    Comment

    Working...
    X