Announcement

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

  • calculating row sum except one cell.

    HI statalist.

    I'm trying to calculate summation value of each row without one cell.

    I do not know how to express it.

    For example,

    if A=(1..3\4..6\7..9)

    I would like to calculate summation of first row except A[1,1], then I got the value of 5.(2+3)

    And then I might wanna know the summation value of the third row except A[3,2], the value will be 7+9=16... and so on.

    Could anyone help me to calculate it??



  • #2
    Ha Lee: To start, I would suggest looking at
    Code:
    help mf_select

    Comment

    Working...
    X