Announcement

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

  • qregplot

    Hi, I'm using the qregplot command to plot the coefficients for quantile regressions. My dependent variable are birthdays (variable bounded between 1 and 365) plots coefficients (y-axis) against quantiles (x-axis). Can I change the x-axis so that qregplot instead plots the coefficients against the actual quantile of the birthday. For example, if we start at the 5:th percentile then qregplot gives the coefficient on the y-axis and 5 on the x-axis but I want it to plot the coefficient (on the y-axis) against 29 (which is the actual day of the 5:th percentile).

    Grateful for any help

    Per

  • #2
    Hi Per
    Unfortunately no. you cannot do that for two reasons
    1) That kind of functionality was never incorporated in -qregplot-. You could, however, use something like xlabel() to change the labeling from 1-99 to whatever label you are interested in.
    2) what you suggest may not be correct.
    if what you are estimating are Unconditional quantile regressions, then you can use xlabel() to relabel the xaxis to whichever values you think are appropriate. Although that will need to be done by hand.

    But if what you are doing is estimating conditional quantile regression (qreg and others). Then there is no mapping between "birthday day" and "x-label percentile", because a quantile value depends on the characteristics you are assuming as constant.

    HTH
    Fernando

    Comment

    Working...
    X