Statalist


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

re: st: FW: Help with filling in dates in a dataset


From   "Ariel Linden, DrPH" <alinden@lindenconsulting.org>
To   statalist@hsphsun2.harvard.edu
Subject   re: st: FW: Help with filling in dates in a dataset
Date   Thu, 2 Apr 2009 16:56:48 -0700

This is extremely useful code. Is there a way of modifying this code to fill
in data by month as opposed to every day? Maybe it is intuitive enough to
know the difference between daily and monthly values? For example

Before:

Month		Value
January		0
March		4
April		2
June		3

After:
Month		Value
January		0
Feb		.
March		4
April		2
May		.
June		3
 


Ariel




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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