Announcement

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

  • Issue with running more than one quantile using the rqr command

    Hello everyone! I am using rqr command to estimate quantile treatment effect. I followed the user manual and installed "rqr", "qrprocess", "reghdfe", "moremata", "kdens", "coefplot", "st0203", "genqreg" and "estout".

    Follow the manual examples, I am able to run the command with single quantile, e.g.,
    rqr wage union, quantile(.25) controls($x)

    However, I am not able to get more than one quantile running, e.g.,
    rqr wage union, quantile(.25 .50 .75) controls($x) which returns the invalid syntax error.

    Can anyone help me, please? Thank you!

  • #2
    can you show exactly what error is being produced?
    Also, you should try contacting the authors, they are quite nice and willing to help trouble shooting their command
    F

    Comment


    • #3
      Originally posted by FernandoRios View Post
      can you show exactly what error is being produced?
      Also, you should try contacting the authors, they are quite nice and willing to help trouble shooting their command
      F
      Hi Fernando,

      Thank you for the reply.

      The error is produced as follows:

      Code:
       use http://www.stata-press.com/data/r14/nlswork, clear
      (National Longitudinal Survey.  Young Women 14-26 years of age in 1968)
      
      . gen wage=exp(ln_wage)
      
      . keep if !missing(wage,union,year,age,grade,south,ind_code, occ_code)
      (9,451 observations deleted)
      
      . global x i.year c.age##c.age grade south i.ind_code
      
      . rqr wage union, quantile(.25 .50 .75) controls($x)
      invalid syntax
      r(198);
      And thank you for your suggestion, I will contact the authors for the problem.

      Comment

      Working...
      X