Dear all,
I would like to sum values that are in the same row but on different columns. For instance,
X1 X2 X3 Y1 Y2 Y3 Z1 Z2 Z3
1 a b c d e f g h i
2 j k l m n o p q r
3 s t u v w x y z @
So basically, I would like to sum row 3 only from s to @. I hope it is clear, thank you.
Best,
Jean
Related Posts with Summing a row for one observation only
Centering Age Variable for VIFHello everyone, I am relatively new with stata and I am currently conducting a fixed-effects regress…
Collapsing dataset with only the latest value for each variableHi Stata users, I am having a dataset of some indicators for countries over years. Below is an exam…
Convergence issues with GLLAMMHi all, I am trying to run a multilevel model on Stata 15 using gllamm. Our data comes from multipl…
appending datasets receive r106 error - need to convert string vars to byte varsHi, I am new to STATA and am trying to combine multiple datasets which have multiple obs for multipl…
Probability Proportional to Size (PPS)Hi , I want to get 1500 samples from the variable maymay_list using PPS method on township level. Ho…
Subscribe to:
Post Comments (Atom)
0 Response to Summing a row for one observation only
Post a Comment