Announcement

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

  • Incomplete Minimum and Maximum of Panel Data

    Dear All,

    I have panel data from 2011 to 2019 for DID (Difference in Differences) analysis. I use xtdidregress syntax "(xtdidregress (count)(interaction), group(Uni_code) time(year)". although the time variable (year) in my dataset is from 2011 until 2019, the detected maximum time is 2015. Can anyone help me, please?

    Thank you.
    Click image for larger version

Name:	Panel Data.png
Views:	1
Size:	24.0 KB
ID:	1750898

  • #2
    -xtdidregress- has been in use long enough now that if there were a bug causing a problem like this, it is very likely it would have already been detected and fixed. So the problem is more likely something with your data. Even if it is a bug in -xtdidregress-, it evidently only bites in unusual circumstances, so pinpointing and fixing the problem would require a good example of where it goes wrong. So, either way, to get more help, you need to post example data that reproduces this problem. Please use the -dataex- command to do that. If you are running version 18, 17, 16 or a fully updated version 15.1 or 14.2, -dataex- is already part of your official Stata installation. If not, run -ssc install dataex- to get it. Either way, run -help dataex- to read the simple instructions for using it. -dataex- will save you time; it is easier and quicker than typing out tables. It includes complete information about aspects of the data that are often critical to answering your question but cannot be seen from tabular displays or screenshots. It also makes it possible for those who want to help you to create a faithful representation of your example to try out their code, which in turn makes it more likely that their answer will actually work in your data.

    Comment

    Working...
    X