File: A3-LongMemoryModelling.Rd

package info (click to toggle)
fseries 200.10058-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,712 kB
  • ctags: 1,306
  • sloc: fortran: 6,396; ansic: 5,578; sh: 28; makefile: 12
file content (99 lines) | stat: -rw-r--r-- 2,020 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
\name{LongMemoryModelling}

\alias{LongMemoryModelling}

\alias{fgnSim}

\title{Long Memory Behaviour of Time Series}


\description{

	A collection and description of functions to investigate the 
	long memory behavior of an univariate time series process.
	\cr
	
	The functions and methods are:
	
	\tabular{ll}{
	\code{fgnSim} \tab Simulates Fractional Gaussian Noise. }
	
	Sorry, not yet implemented are the functions to fit the Hurst
	exponent.
	
}


\usage{
fgnSim(n = 1000, H = 0.7, method = c("beran", "durbin", "paxson"), 
mean = 0, std = 1)
}


\arguments{
	
	\item{H}{
		the Hurst exponent, a numeric value between 0.5 and 1,
		by default 0.7.
		}
	\item{mean, std}{
		mean and standard deviation of the random innovations.
		By default a zero mean and a unit standard deviation is
		assumed.
		}
	\item{method}{
		the method how to generate the time series sequence, one
		of the following character strings: \code{"beran"}, 
		\code{"durbin"}, or \code{"paxson"}.
		}
	\item{n}{
		number of data points to be simulated, a numeric value, 
		by default 1000.
		}
		
}


\value{

	returns a numeric vector of length \code{n}, the fractional 
	Gaussian noise series.
	
}


\authors{

	From Vern Paxson, code as listed in the Appendix of his paper 1995,\cr
	From Beran, code as listed in the Appendix of his Book, \cr
	Diethelm Wuertz for the Rmetrics \R-port.
	
}


\examples{
## fgnSim -
   par(mfrow = c(3, 1), cex = 0.75)  
   # Beran's Method:
   plot(fgnSim(n = 200, H = 0.75), type = "l",  
   	 ylim = c(-3, 3), xlab = "time", ylab = "x(t)", main = "Beran")
   # Durbin's Method:
   plot(fgnSim(n = 200, H = 0.75, method = "durbin"), type = "l",
   	 ylim = c(-3, 3), xlab = "time", ylab = "x(t)", main = "Durbin")
   # Paxson's Method:
   plot(fgnSim(n = 200, H = 0.75, method = "paxson"), type = "l",
     ylim = c(-3, 3), xlab = "time", ylab = "x(t)", main = "Paxson")
}


\references{

Paxson V. (1995); 
	\emph{Fast Approximation of Self-Similar Network Traffic},
	Berkeley. 
	
}


\keyword{models}