contrib_logq2gra — contributions to an annual growth rate
[list_contrib_a_unb,list_contrib_a_bal,list_conttrim,mainf]=contrib_logq2gra(namey,arg1, ,argn)
namey = a string representing the name of a ts
arg1, ,argn =
- a list of 3 elements:
* the name of the variable whose contribution is to be calculated
* the Autoregressive part of the equation
* the Moving Average part relative to the considered variable
- the string 'prt=xxx' where xxx can be:
* 'trim' if the user wants the quarterly contributions to be printed
* 'mainf' if the user wants the Infinite Moving Average approximation to be printed
* 'unbal' if the user wants the annual contributions before rebalancing to be printed
* 'cont' if the user wants the annual contributions after rebalancing to be printed
* 'all' if the user wants all these results to be printed
list_contrib_a_unb = list of the unbalanced yearly contributions
list_contrib_a_bal = list of the balanced yearly contributions
list_conttrim = list of the quarterly contributions
mainf = the matrix of infinite moving averages