Announcement

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

  • unbalanced panel "xthreg"

    Dear all

    i hope you are doing good

    i have got a problem while balancing my panel data to run a threshold model using xthreg

    using a 2008-2019 period, as mentioned, i get the following errors messages



    Click image for larger version

Name:	unbalalnced panel.PNG
Views:	1
Size:	30.4 KB
ID:	1613612



    when i use only xtbalance; range (year1 yearN), the command works but not xthreg. unfortunately, when i add miss(_all) option i get the the problem mentioned above ( i am wondering why because already 2009 is greater than the smallest year in sample (2008)

    i would appreciate your help

    Best regards
    SEDKI


  • #2
    Dear River Huang

    i would appreciate your help

    Best regards

    Comment


    • #3
      Dear sedki, Firstly, you CANNOT use the dependent variable RD as the threshold variable. 2. Please try
      Code:
      xtbalance, range(2009 2018) miss(RD SIZE MTB AG ceo_tn div INDEXfcp)
      Ho-Chuan (River) Huang
      Stata 19.0, MP(4)

      Comment

      Working...
      X