Bookmark and Share

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


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

st: SMCL not showing properly


From   Jorge Eduardo Pérez Pérez <[email protected]>
To   <[email protected]>
Subject   st: SMCL not showing properly
Date   Wed, 5 Jan 2011 19:06:11 -0500

Dear Statalist
I am writing a help file to a user written program in SMCL, using
Stata 11 in Windows XP. A piece of my help file is not showing
properly in the Stata Help Viewer. Below I reproduce the relevant
piece that is not showing properly:

{smcl}
{pstd}{cmd:fdfilter} applies the frequency domain filter of Corbae and
Ouliaris (2002,2006) to one or more time series in {it:varlist}.
Series can be stationary, or can have a unit root. It tends to produce
output similar to the Baxter-King (1999) filter, though without the
end-point issue (it estimates end-points directlty). The filtered
series and smoothed series are placed in new variables, specified with
the {cmd:stub()} option. The smoothed variables are identified by
"_sm" in their names. The {cmd:s()} and {cmd:e()} arguments can either
specify the minimum period of oscillation and maximum period of
oscillation of the desired component of the time series, with 2 <
{it:s} < {it:e} < infinity, or the desired frecuencies, with 0 <
{it:s} < {it:e} <= 1. {cmd:fdfilter} does not allow gaps within the
observations of a time series.

When I save this in a .hlp file (or .sthlp file) and display it in Stata, I get:

fdfilter applies the frequency domain filter of Corbae and Ouliaris
(2002,2006) to
    one or more time series in varlist. Series can be stationary, or
can have a unit
    root. It tends to produce output similar to the Baxter-King (1999
, though without
    the end-point issue (it estimates end-points directlty). The
filtered series and
    smoothed series are placed in new variables, specified with the
stub() option. The
    smoothed variables are identified by "_sm" in their names.  :s()} and e()
    arguments can either specify the minimum period of oscillation and
maximum period
    of oscillation of the desired component of the time series, with 2 < s < e <
    infinity, or the desired frecuencies, with 0 < s < { 1. fdfilter
does not allow
    gaps within the observations of a time series.

Notice the missing closing parenthesis after Baxter-King(1999, and the
missing e and the brace in the penultimate line.

I reproduced this error in another computer running Stata 11 on Windows 7.

Can anyone reproduce this error? Any ideas on what might be causing
it? I have been unable to find an error in the SMCL code.

Thank you.

_______________________
Jorge Eduardo Pérez Pérez

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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