File: lynx.q

package info (click to toggle)
sm 2.2-6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: f90: 259; ansic: 21; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
ts.plot(lynx)
title("Canadian lynx trapping (1821-1934)")
pause()
cat("Data are now log-transformed\n")
log.lynx <- log(lynx)
sm.ts.pdf(log.lynx, lags=4:5)
pause()
sm.autoregression(log.lynx, maxlag=5, se=TRUE)
pause()
sm.autoregression(log.lynx, lags=cbind(4,5))