Dear All,
I am a user of STATA/SE 13.1 and have problem with suming matrix by row.
Example:
I have a matrix:
1 2 3
A = 2 0 -1
3 -2 0
and want to create matrix being a sum of rows of matrix A:
6
B = 1
1
I was using in STATA command matrix B=rowsum(A). The result was: "unknown function rowsum()". r(133).
Why does it not wark?
One more question: is it possible to operate in STATA SE on matrix [50000 x 1]?
Thank you in advance for answer.
Łukasz
I am a user of STATA/SE 13.1 and have problem with suming matrix by row.
Example:
I have a matrix:
1 2 3
A = 2 0 -1
3 -2 0
and want to create matrix being a sum of rows of matrix A:
6
B = 1
1
I was using in STATA command matrix B=rowsum(A). The result was: "unknown function rowsum()". r(133).
Why does it not wark?
One more question: is it possible to operate in STATA SE on matrix [50000 x 1]?
Thank you in advance for answer.
Łukasz
Comment