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: mean of 4 variables


From   Sergiy Radyakin <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: mean of 4 variables
Date   Thu, 20 Feb 2014 16:15:21 -0500

Hello Dao,

see help for egen, function rowmean()
http://www.stata.com/help.cgi?egen

Best, Sergiy Radyakin

On Thu, Feb 20, 2014 at 4:04 PM, Dao Kim <[email protected]> wrote:
> Hi, I am trying to make the mean of 2 to 4 variables corresponding to the dosage for a drug, giving at different times to the same patient. How do I generate the mean dosage variable? Thanks
>
> *
> *   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/
*
*   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