Grocer Function
NAME
bounds - setting estimation bounds
CALLING SEQUENCE
[]=bounds(b1,b2,..., b2n-1,b2n)
PARAMETERS
Input
-
a series of dates strings
Output
-
Nothing: the bounds are transferred to the upper level in a (p x 1) vector by the argument resume
DESCRIPTION
Sets the bounds for a regression. The bounds remain valid until the user leaves the environment (a working space or a function). This choice can be discussed: it is not without danger, since bounds used by a program can be different from the ones the user intended to use; it mimics the Portable Troll choice and is very convenient...
EXAMPLES
1) bounds('1964q3','1989q2')
2) bounds('1990f52p1','1999f52d26')
3) bounds('1901a','1913a', '1919a','1939a', '1946a','2000a')
In example 1 (taken from hendryericsson_d), bounds range from the first quarter of 1963 to the third quarter of 1989.
In example 2, they range from the first week ('f52' indicates that the frequency is set to 52) of 1990 until the 26th week of 1999.
In example 3, bounds cover all the 20th century years, the period of the first (years 1914 to 1918) and second (years 1940 to 1945) world wars being excluded.
AUTHOR
Eric Dubois 2002