[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: plot confidence intervals with time series
<>
Seems twoway lfitci is not too smart about format of the X-variable, so you need to tell it:
webuse rates.dta, clear
global x1 dow
format date %td
tsset date
global t date
/* Construct a 95 percent confidence interval, attempt 1 */
graph twoway (lfitci $x1 $t, xlab(,format(%td))) (scatter $x1 $t)
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
*
* 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/