Announcement

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

  • compare value different variable and rows

    hello,
    I want to compare values of two varible in diffrent rows.
    For example
    vr1 vr2
    10 20
    20 30
    40 50
    the vr1 has the value 20for obs2 and for obs 1 in vr2
    thank you

  • #2
    Welcome to Statalist.

    You have accidentally posted your topic in Statalist's Mata Forum, which is used for discussions of Stata's Mata language. Your question will see a more appropriate, and much larger audience if you post it in Statalist's General Forum.

    Also, if you have not already done so, take a look at the Statalist FAQ linked to at the top of this page for posting guidelines and suggestions.

    Comment

    Working...
    X