Name

define_recession — define the location of peaks and troughs

CALLING SEQUENCE

define_recession(peak,trough)

PARAMETERS

Input

• peak = 0 if a peak does not not belong to the recession phase

• trough = 0 if a trough does not not belong to the recession phase

Output

• nothing: data are saved in the database: GROCERDIR+'/macros/grocer/db/define_recession.dat'

DESCRIPTION

Defines whether peaks and troughs belong to a recession phase.</b>

EXAMPLE

1)define_recession(0,1)
2)define_recession(1,0)
 
 The first example gives the default values provided with the installation package: the peak is supposed not to belong to the recession period and the trough to belong to it. The second example gives exactly the contrary (peak belonging to the recession period and the trough not). 
 

               

AUTHOR

Eric Dubois 2007