Announcement

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

  • err r(101) error for command "qregpd"

    Hello everyone,

    I am trying to introduce interaction terms in panel quantile regression analysis with the command "qregpd". The command works without introducing any interaction term. However, as I go for the interaction term, it shows the error "factor variables and time-series operators not allowed -> r(101)".


    I tried running the regression with the interaction terms using the cross-sectional command "qreg" and the regression did not show any error . However, since my data are panel, I cannot rely on "qreg". Also, I tried the "Xi" correction. More specifically, I run the following regression
    xi qregpd Y X1 X2 X3 c.X4#c.X5, id(Firms) fix(Year) optimize(mcmc) noisy draws(1000) burn(100) arate(.24) quantile(.50)
    But, I encountered errors like "option id() not allowed". Once I remove the "id", the error is "option fix() not allowed" and it goes on.

    Can anyone help me in this regard?
Working...
X