Announcement

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

  • Mr

    Dear members.
    I need to analyze monthly firm returns by sector (see attached data). Specifically, i want to plot sectoral returns over time. help me with the code on how to separately obtain returns for a sector in a month and then plot it.
    Attached Files

  • #2
    Rogers:

    You've been a member here for a while but you really need to back up and please read the entirety of the FAQ Advice and then act on it. The link is https://www.statalist.org/forums/help Every time you post you are reminded to read that document first.

    More specifically, and in increasing order of importance.

    1. Your title is completely uninformative, indeed mysterious.

    2. We are quite explicit that attachments of spreadsheet files are not an acceptable way to post (examples of) your data -- and explain exactly why not and exactly what to do instead. #12 is the specific section of the FAQ Advice.

    3. There are many examples in the Stata documentation of how to plot time series. It's also a common topic here. Your question is not out of order but plenty of people who know something about it (I am one) are unlikely to accept your terms, which are implicitly that you know nothing and want us to tell you everything. Why not look at commands like line, tsline, xtline, try them out, show your code and results, and then explain what else you need to know? You need to be more specific as there are many different ways to plot multiple time series.

    Comment

    Working...
    X