File: methods-coef.Rd

package info (click to toggle)
fgarch 3010.82-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 812 kB
  • ctags: 14
  • sloc: fortran: 334; makefile: 13
file content (77 lines) | stat: -rw-r--r-- 1,182 bytes parent folder | download | duplicates (6)
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
\name{coef-methods}


\docType{methods}


\alias{coef-methods}
\alias{coef,ANY-method}
\alias{coef,fGARCH-method}
\alias{coef,fGARCHSPEC-method}


\title{GARCH Coefficients Methods}


\description{

    Coefficients methods for GARCH Modelling. 

}


\section{Methods}{
    \describe{

    \item{object = "ANY"}{
        Generic function.
        }
    \item{object = "fGARCH"}{
        Extractor function for coefficients from a fitted
        GARCH model.
        }
    \item{object = "fGARCHSPEC"}{
        Extractor function for coefficients from a GARCH
        specification structure.
        }   
    }
}


\note{

    \code{coef} is a generic function which extracts coefficients 
    from objects returned by modeling functions.
    
}


\author{

    Diethelm Wuertz for the Rmetrics \R-port.
    
}


\examples{
## garchSpec -
   # Use default parameters beside alpha:
   spec = garchSpec(model = list(alpha = c(0.05, 0.05)))
   spec
   coef(spec)
   
## garchSim -
   # Simulate an univariate "timeSeries" series
   x = garchSim(spec, n = 200)
   x = x[,1]
  
## garchFit - 
   fit = garchFit( ~ garch(1, 1), data = x)
   
## coef - 
   coef(fit)
}


\keyword{models}