Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Problem with -denton- solved


From   Christopher Baum <kit.baum@bc.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Problem with -denton- solved
Date   Sat, 27 Apr 2013 15:15:13 +0000

<>
An exchange on Statalist reported a problem with -denton- from SSC. It turns out that this problem arose because of the difference between

tsset year

and

tsset year, yearly

In the former case, the frequency is not defined, and r(unit1) = ".", whereas in the latter case, r(unit1) = "y". I will add a check to -denton- to trap this case -- where the data are showing as -tsset-, but not at a known frequency -- but users should note that this might bite elsewhere.  To use -denton- on annual data, the data must be defined as such.

Kit

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                             An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
  An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html
                                                                                                   | http://www.crup.com.cn/Item/111779.aspx	


*
*   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/


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