[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Week() Function
I was trying to use the week function to graph weekly totals.
However, I get some squirrelly results. Am I doing something wrong
or have I uncovered a bug?
. gen week = week(date2)
. format week %tw
. l date2 week
+---------------------+
| date2 week |
|---------------------|
1. | 16jul2007 1960w30 |
2. | 17jul2007 1960w30 |
+---------------------+
Thanks,
Eric
--
===================================================
Eric G. Wruck
Econalytics
2535 Sherwood Road
Columbus, OH 43209
ph: 614.231.5034
cell: 614.330.8846
eFax: 614.573.6639
eMail: [email protected]
website: http://www.econalytics.com
====================================================
*
* 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/