Announcement

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

  • Find an command for a specific type of graphic.

    Hello to all,

    I'm looking to graph the electrical load curves of hundreds of households in the manner of the image below (McLoughlin 2015).

    Does anyone know of a graphing command/function that can achieve this in Stata? I think there may be some ready-made functions.

    So far, simply using the twoway line command does not allow me to plot all the curves as it seems that too many variables need to be plotted. With only 20-30 curves it works.

    Thanks for your help.

    Valentin Favre-Bulle

    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	60.9 KB
ID:	1713889
    Click image for larger version

Name:	Capture2.PNG
Views:	1
Size:	167.3 KB
ID:	1713890

  • #2
    In principle this is just

    Code:
    line var1 var2 var3, c(L)
    where the trick is just that daily cycles in each variable wrap around at the end of each day. To suggest how to get to that data structure from your existing data structure, we need to know that existing structure.

    An outcome of the order of 1 kW is extraordinarily small.

    Comment


    • #3
      Hello Nick,

      Thank you very much for your answer.
      I check again and I found one of your previous answers that perfectly answered my question:
      https://www.statalist.org/forums/for...ith-panel-data
      Should have been more careful...sorry

      Best,

      Valentin

      Comment


      • #4
        OK, but my question about units remains. A quick Google of McLoughlin 2015 proved futile.

        Comment

        Working...
        X