Announcement

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

  • Problem graphing by many variables

    Hello !

    My name is Hans Huber and I was wondering if someone could help me making a certain type of graph... I have a panel data of single transactions from different types of firms, with variables of the month of the transaction, economic sector of the firm, size of the firm, etc. and I want to make a graphic that show me the evolution of the amount quantity of transactions per month and per sector of the firm. So the idea is a graphic that, for example, shows me how many transactions where made in August-2022 divided by the sectors of the firms (transport, construction, agriculture, etc.) and see that evolution by the time. I was wondering making a graph that represents a code like this:

    count(transactions), by (month industry)

    but I'm relatively new at Stata and I don't know if it is even possible to do a graphic like that, so I would really appreciate if someone could help me with that.

    Thank you very much and I hope my english is understandable!

  • #2
    I'd look into Nick Cox's fabplot command from Stata Journal.

    In Stata type
    net install gr0087 or ssc install fabplot

    Also see

    https://journals.sagepub.com/doi/full/10.1177/1536867X211025838


    Code:
    . net describe gr0087
    
    ----------------------------------------------------------------------------------------------------------------------------------
    package gr0087 from http://www.stata-journal.com/software/sj21-2
    ----------------------------------------------------------------------------------------------------------------------------------
    
    TITLE
          SJ21-2 gr0087. Plots for each subset with rest ...
    
    DESCRIPTION/AUTHOR(S)
          Plots for each subset with rest of the data as
            backdrop
          by Nicholas J. Cox, Department of Geography,
               Durham University, Durham, UK
          Support:  [email protected]
          After installation, type help fabplot
          DOI:  10.1177/1536867X211025838
    
    INSTALLATION FILES                               (type net install gr0087)
          gr0087/fabplot.ado
          gr0087/fabplot.sthlp
    
    ANCILLARY FILES                                  (type net get gr0087)
          gr0087/fabplot.do
    ----------------------------------------------------------------------------------------------------------------------------------
    Last edited by Justin Niakamal; 19 Oct 2022, 19:11.

    Comment

    Working...
    X