File: GarchPredictor.Rd

package info (click to toggle)
fgarch 260.72-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 624 kB
  • ctags: 337
  • sloc: fortran: 4,184; makefile: 13
file content (81 lines) | stat: -rwxr-xr-x 1,214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
\name{garchPredictor}

\alias{garchPredictor}

\alias{predict.fGARCH}


\title{GARCH Prediction Function}


\description{

    Predicts a time series from a fitted GARCH object.

}


\usage{
    \method{predict}{fGARCH}(object, n.ahead = 10, trace = FALSE, \dots)
}


\arguments{

    \item{n.ahead}{
        number of steps to be forecasted, an integer value, by default 10.
        }
    \item{object}{
        an object of class \code{fGARCH} as returned from the function
        \code{garchFit()}.
        }   
    \item{trace}{
        a logical flag. Should the prediction process be printed? By 
        default \code{trace=FALSE}.
        }  
    \item{\dots}{
        additional arguments to be passed.
        }   

}


\value{

    returns ...
        
}


\author{

    Diethelm Wuertz for the Rmetrics \R-port.
    
}


\examples{
## garchSpec -
   spec = garchSpec()
   spec

## garchSim -
   x = garchSim(model = spec@model, n = 500)
   head(x) 

## garchFit - 
   # fit = garchFit(~garch(1, 1), data = x)
   # print(fit)
   ## Interactive Plot:
   ## plot(fit)
   ## Batch Plot:
   # plot(fit, which = 3)
   # summary(fit)
   
## predict -
   # predict(object, n.ahead = 10)
}


\keyword{models}