Announcement

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

  • Calculate the number of companies in the panel data

    Dear all,

    I have a survey panel data for firms (small, medium and larges firms) on 24 months. I would like to calculate the number of firms per month for each types of firms.

    Is there a Stata command to do it?

    Thank you for your help.

    Best regards

  • #2
    Code:
    bysort month type : gen wanted = _N
    may help.

    Comment


    • #3
      Thank you Nick.

      Best regards

      Comment

      Working...
      X