BootPR (version 0.60)

Plot.Fore: Plotting point forecasts

Description

The function returns plots the point forecasts

Usage

Plot.Fore(x, fore, start, end, frequency)

Arguments

x
a time series data set
fore
point forecasts
start
starting date
end
ending date
frequency
data frequency

Value

plot

Details

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

Examples

Run this code
data(IPdata)
BootF <- BootBC(IPdata,p=1,h=10,nboot=100,type="const+trend")
Plot.Fore(IPdata,BootF$forecast,start=1860,end=1988,frequency=1)

Run the code above in your browser using DataLab