Skip to contents

Compute the disaggregated or interpolated (and extrapolated) high frequency series of a temporal disaggregation.

Usage

# S3 method for class 'td'
predict(object, ...)

Arguments

object

an object of class "td", usually, a result of a call to td().

...

further arguments passed to or from other methods.

Value

summary.td returns a vector or a "ts" object, containing the disaggregated or interpolated high frequency series of a temporal disaggregation.

See also

td() for the main function for temporal disaggregation.

Examples

data(swisspharma)

mod1 <- td(sales.a ~ imports.q + exports.q)
predict(mod1)
#>           Qtr1      Qtr2      Qtr3      Qtr4
#> 1972  30.92086  31.23889  29.78171  32.27067
#> 1973  32.35422  32.84792  32.85784  34.10196
#> 1974  39.47025  40.69984  38.46029  36.65510
#> 1975  35.11779  34.82041  32.48789  34.27624
#> 1976  37.84629  39.02815  36.56478  37.61685
#> 1977  39.02275  40.29747  38.39476  38.46743
#> 1978  39.91169  40.32615  37.84439  39.12545
#> 1979  40.22602  41.56706  39.74015  40.80078
#> 1980  44.36652  42.40236  40.30860  41.40814
#> 1981  46.70267  46.24630  45.14263  45.77303
#> 1982  47.69230  46.36110  44.27635  47.92717
#> 1983  48.32801  49.44826  47.72594  49.98212
#> 1984  54.29249  52.95530  51.77884  55.25427
#> 1985  58.20494  59.59345  55.37611  56.14366
#> 1986  59.41189  60.66635  56.15659  56.15913
#> 1987  60.76145  59.90612  56.70150  60.15124
#> 1988  64.79898  64.68233  61.86525  65.99558
#> 1989  70.89945  73.52238  66.35911  71.16761
#> 1990  78.71726  74.62123  68.95746  71.27231
#> 1991  78.40595  77.23900  72.80115  76.71982
#> 1992  87.00256  82.54501  76.50704  79.43290
#> 1993  88.32953  89.08146  82.58598  84.40946
#> 1994 101.20532  94.90136  91.35798  95.32699
#> 1995 102.60870 102.26878  97.64144  97.48108
#> 1996 107.40253 106.96596 102.57931 104.65037
#> 1997 111.57414 120.00760 111.98507 118.37374
#> 1998 122.59313 122.10487 114.51589 114.54841
#> 1999 123.98198 125.05152 125.93892 138.62481
#> 2000 138.10540 131.69691 131.03569 132.81834
#> 2001 158.41534 160.63385 149.05655 150.57611
#> 2002 168.07819 178.66158 163.31288 153.55086
#> 2003 182.05333 172.76757 165.73091 170.75742
#> 2004 190.76797 184.13570 179.19775 177.64244
#> 2005 191.92244 200.03597 190.51025 194.82819
#> 2006 214.80078 213.48976 206.32029 220.08415
#> 2007 257.97842 254.05432 249.19027 243.70797
#> 2008 253.97254 269.25485 251.37049 225.77347
#> 2009 258.22217 260.67116 265.51948 261.22649
#> 2010 257.38264 253.43862 240.03877 237.44964
#> 2011 270.77999 262.67096