Plot.Fore {BootPR}R Documentation

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

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

Value

plot

Author(s)

Jae H. Kim

Examples

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)

[Package BootPR version 0.60 Index]