| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Week of the month
This may help
help dcfcns
regards
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Katrin Gottschalk
Sent: 05 May 2006 19:11
To: [email protected]
Subject: st: Week of the month
Dear all,
does anybody know of an easy way to obtain the NUMERIC WEEK OF THE MONTH
(i.e. 1,...,5) corresponding to an elapsed date? Should be something
similar to date functions day(e), dow(e), doy(e), week(e)...
I have a panel data set with daily observations. Week No. 1 should be
defined as the first week of the month that contains at least one
trading day (Mon - Fri).
Thanks!
Katrin
*
* 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/
*
* 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/