Announcement

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

  • Insufficient observations with bsrifhdreg

    Hello,

    I was trying to conduct quantile regressions with fixed effects using the following command (for the 25th quantile):

    Code:
    bsrifhdreg share process prod ln_sales capital fem_owner exported_sales foreign_own fem_leader smal_or_med, abs(country year sector) cluster(sector) rif(q(25))
    However, I keep getting an error of insufficient observations like the following :

    Code:
    insufficient observations
    an error occurred when bootstrap executed rifhdreg
    r(2001);
    I have about 26000 observations, with little missing values. Is anyone familiar with this type of problem? I would be grateful if someone could help.

    Regards,
    Last edited by Maurine Bassem; 19 May 2023, 18:08.

  • #2
    It may be related to your cluster variable
    However, can you recreate the problem with a smaller dataset and post a replicable example?
    Thank you

    Comment


    • #3
      Hi,
      First, thank you for your answer. I tried to remove the sub-command for clustering, and it did work!
      Thank you

      Comment

      Working...
      X