Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: percentile across variables


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: percentile across variables
Date   Thu, 1 Aug 2013 10:16:10 +0100

-egen- has several functions for row statistics.

Please use full real names on the list: see
http://www.stata.com/support/faqs/resources/statalist-faq/#tojoin

Nick
[email protected]

On 1 August 2013 09:56, Jibo <[email protected]> wrote:

, I have what probably it is a basic question but I cannot solve it.
> My database is formated as follows
>
>
> ID                var1           var2            var3
> var4                   var...
> aa1              4                4.5              6.7
> 0.5                     ....
> atd3             6.5             3.1              7.2
> 0.6                     ...
> ujd2             9.5             6.1              2.9
> 1.2                     ...
> ..                    ...                 ...
> ...                  ...                      ...
>
>
> The different variables are the measurement of the effect on the same
> treatment conducted in slightly different ways. What i would be interested to
> know is how to compute some descriptive statistics (percentile and averages) on
> how the same subject reacted to the different treatments. Otherwise said, i
> should calculate the descriptive statistic horizontally while variables are
> arranged vertically. Is this possible in stata?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index