Announcement

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

  • How to perform row arithmetic operation within variables

    https://drive.google.com/file/d/1I6A...w?usp=drivesdk I want to perform a row operation ( a proportionate value) for each specific country divided by Australia. How to generate new variables for the year 1989 and 1990 which should contain such information. Please find the attached picture link for reference.
    Last edited by Aishwary Trivedi; 22 Oct 2021, 03:01.

  • #2
    Aishwary:
    welcome to this forum.
    If you compare the way you posted your query with the FAQ recommendations, you can easily discover that nobody here can be of any help with such scant details and no example at all.
    That said, you may want to take a look at the row-prefixed fuctions available from -egen-.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Dear Carlo, thanks so much. I am new to the forum and have edited my question with an attached picture of what I am referring to. Please let know whether details are sufficient now for you to suggest me something?

      Comment


      • #4
        Carlo Lazzaro is right. Please read the FAQ Advice.https://www.statalist.org/forums/help specifically #12.

        .png attachments are fine. Web links are not so good. I got no further than "Request access". If I can't see an image instantly, it's no go for me.

        Otherwise, https://www.stata-journal.com/articl...article=dm0055 should tell you about at least some of the techniques you need.

        Comment

        Working...
        X