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: Creating variable recording for each individual charateristics of members of OTHER groups
From
Ubydul Haque <[email protected]>
To
[email protected]
Subject
Re: st: Creating variable recording for each individual charateristics of members of OTHER groups
Date
Thu, 16 Jan 2014 16:51:48 -0500
Dear Carlo,
Many thanks. I got the exact findings that I was looking for.
Regards
Ubydul
On Wed, Jan 15, 2014 at 1:24 PM, Carlo Lazzaro
<[email protected]> wrote:
> Provided that Nick'advices on Stata etiquette and statistics should be
> considered with respectful attention, Ubydul may want to try what follows:
> --------------------------------------------------
> reshape long cases, i( district ) j(year)
> replace year=0 if year==2012
> replace year=1 if year==2013
> generate t=1
> ir cases year t , by( district )
> ---------------------------------------------
>
> This in an excerpt of the code that Svend Juul, a remarkable contributor of
> Statalist since some years ago, wrote as a reply to a queries of mine. All
> credits go out to him (and I am the only one to blame for any typo!).
>
> Kind regards,
> Carlo
>
> -----Messaggio originale-----
> Da: [email protected]
> [mailto:[email protected]] Per conto di Ubydul Haque
> Inviato: mercoledì 15 gennaio 2014 17:46
> A: [email protected]
> Oggetto: Re: st: Creating variable recording for each individual
> charateristics of members of OTHER groups
>
> Hello,
> I have 21 districts and yearly dengue cases of 2012 and 2013. From here I
> like to see if there is significant differences between any district in 2013
> compare with 2012. Can anyone please let me know how I can explore it? Thank
> you.
>
> Regards
> Ubydul
>
>
> *
> * 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/