<< General Functions for estimation General Functions for estimation explolist >>

Grocer >> General Functions for estimation > bounds

bounds

setting estimation bounds

CALLING SEQUENCE

[]=bounds(b1,b2,..., b2n-1,b2n)

PARAMETERS

Input

* b1,...b2n= 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.

EXAMPLE

bounds('1964q3','1989q2')
//example taken from demo hendryericsson: bounds range from the first quarter of 1963 to the third quarter of 1989.
 
bounds('1990f52p1','1999f52d26')
// bounds range from the first week ('f52' indicates that the frequency is set to 52) of 1990 until the 26th week of 1999.
 
bounds('1901a','1913a', '1919a','1939a', '1946a','2000a')
// 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

Report an issue
<< General Functions for estimation General Functions for estimation explolist >>