<< datelf2hf Time series datets >>

Grocer >> Time series > datelf2hf0

datelf2hf0

transformation of a date into a higher frequency date

CALLING SEQUENCE

datnew=datelf2hf0(dat,divfq,ind)

PARAMETERS

Input

• dat = a string representing a grocer date

• fq = the destination frequency

• ind = a scalar equal to the high frequency part of the initial date

Output

• daten = the corresponding high frequency date

DESCRIPTION

For a given date, gives the corresponding date at a higher frequency, with the corresponding subdivision given by ind.

EXAMPLE

datelf2hf0('1989q1',3,1)
// gives '1989m1'

datelf2hf0('1989a',4,2)
 
// gives '1989q2'.

AUTHOR

Eric Dubois 2005

Report an issue
<< datelf2hf Time series datets >>