The R Project SVN R

Rev

Rev 88553 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88553 Rev 89993
Line 89... Line 89...
89
  selecting the complexity by AIC.
89
  selecting the complexity by AIC.
90
}
90
}
91
\details{
91
\details{
92
  For definiteness, note that the AR coefficients have the sign in
92
  For definiteness, note that the AR coefficients have the sign in
93
 
93
 
94
  \deqn{x_t - \mu = a_1(x_{t-1} - \mu) + \cdots +  a_p(x_{t-p} - \mu) + e_t}{x[t] - m = a[1]*(x[t-1] - m) + \dots +  a[p]*(x[t-p] - m) + e[t]}
94
  \deqn{x_t - \mu = a_1(x_{t-1} - \mu) + \cdots +  a_p(x_{t-p} - \mu) + e_t}{%
-
 
95
        x[t] - m  = a[1]*(x[t-1] - m)  + \dots  +  a[p]*(x[t-p] - m) + e[t]}
95
 
96
 
96
  \code{ar} is just a wrapper for the functions \code{ar.yw},
97
  \code{ar} is just a wrapper for the functions \code{ar.yw},
97
  \code{ar.burg}, \code{\link{ar.ols}} and \code{ar.mle}.
98
  \code{ar.burg}, \code{\link{ar.ols}} and \code{ar.mle}.
98
 
99
 
99
  Order selection is done by AIC if \code{aic} is true. This is
100
  Order selection is done by AIC if \code{aic} is true. This is
Line 177... Line 178...
177
  \code{\link{arima.sim}} for simulation of AR processes.
178
  \code{\link{arima.sim}} for simulation of AR processes.
178
}
179
}
179
 
180
 
180
\references{
181
\references{
181
  \bibinfo{R:Brockwell+Davis:1991}{footer}{Section 11.4.}
182
  \bibinfo{R:Brockwell+Davis:1991}{footer}{Section 11.4.}
182
  \bibinfo{R:Brockwell+Davis:1996}{footer}{Sections 5.1 and 7.6.}    
183
  \bibinfo{R:Brockwell+Davis:1996}{footer}{Sections 5.1 and 7.6.}
183
  \bibshow{*, R:Whittle:1963}
184
  \bibshow{*, R:Whittle:1963}
184
}
185
}
185
 
186
 
186
\examples{
187
\examples{
187
ar(lh)
188
ar(lh)