Plot.Fore {BootPR} | R Documentation |
The function returns plots the point forecasts
Plot.Fore(x, fore, start, end, frequency)
x |
a time series data set |
fore |
point forecasts |
start |
starting date |
end |
ending date |
frequency |
data frequency |
frequency=1 for annual data, 4 for quarterly data, 12 for monthly data
start=c(1980,4) indicates April 1980 if frequency=12
end = c(2000,1) indicates 1st quarter of 2000 if freqeuncy = 4
plot
Jae H. Kim
data(IPdata) BootF <- BootBC(IPdata,p=6,h=10,nboot=500,type="const+trend",correct="ssf") Plot.Fore(IPdata,BootF$forecast,start=1860,end=1988,frequency=1)