Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Problem with -denton- solved

From   Christopher Baum <>
To   "" <>
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


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 Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index