-tsspell- is on SSC.
Please remember the advice to specify where user-written
commands you refer to may be located.
FWIW, I endorse this recommendation.
Nick
[email protected]
BW Wheeler
Previous answers may have done the trick, but you may find 'tsspell'
useful
for your analysis - even has a rainfall example in the help! I was
pointed
to it recently and found it very useful.
Patrick Woodburn
> I have weather data for a site in Uganda which I'm hope to compare to
> malaria data. My rainfall data is a single variable, sorted by date,
> with no missing data, along the following lines:
>
> date rainfall (ml)
> 01jan2003 12.7
> 02jan2003 3.0
>
> ...
>
> 31jun2007 1.3
>
> I would like to make four new variables for each date. Two to
represent
> the total rainfall across the previous 28 days and across the previous
> 84 days, and two to represent the total number of days on which
> rainfall>0 out of the previous 28 or 84 days. Could someone suggest
> how best to do this?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/