[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: sum of many variables

From   Andrea Rispoli <>
Subject   st: sum of many variables
Date   Mon, 26 Oct 2009 19:45:52 +0100

Dear Statalisters,

I would like to use the sum command, i.e.

egen x= sum (x1, x2...xn)

however since my n is a large number I would like to indicate that I
want the sum from x1 to xn without specifying all variables.

Do you have any suggestions?

Thank you very much in advance

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index