Announcement

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

  • CSDID Characteristic Contents Too Long

    I am using the csdid command

    Code:
    csdid outcome, ivar(place) time(time) gvar(gvar) notyet
    and get the following error:

    Characteristic contents too long. The maximum value of the contents is 67,784.

    Has anyone run into this problem? The observation level is month-place and I have around 110k observations.

  • #2
    Can you "tab" gvar time. That, i guess, will be the biggest issue

    Comment


    • #3
      It says too many values

      Comment


      • #4
        That may be your answer.
        Unfortunately, without that info, I cant help with any trouble shooting.

        Comment


        • #5
          I have 180 distinct time values and 57 distinct gvar values. Is there a problem for the command if you have too many time or gvar values?

          Comment


          • #6
            It could be because of how your Gvars are stored. I usually suggest to use a simple conversion (say _10 for first month in data, 11 for the next so on so forht, and modify gvar and tvar in both)
            however, 57*180 also means 10K variables.
            That could also be biting here.


            Comment


            • #7
              I followed https://asjadnaqvi.github.io/DiD/docs/code/06_05_csdid/ and did the exact same set up. time is 1,..,180. So essentially you are saying use time as _10,11,12,... gvar would be 0 if not treated and if e.g., treated in second month 11 for that unit? Just making sure since I don't understand what you mean by modify gvar and tvar in both?

              Comment

              Working...
              X