#!/bin/tcsh

### Script for Part 7 of AFNI Time Series Analysis videos
### - Create pseudo-random white and ARMA(1,1) time series
### - Results are plotted in s7a.png

# create the time series

1dgenARMA11 -seed 666 -num 201 -a 0.8 -b 0.2 > s7a.ARMA.1D
1dgenARMA11 -seed 666 -num 201 -a 0.0 -b 0.0 > s7a.WHIT.1D

# compute their correlation

1ddot -terse s7a*.1D

# plot them for fun

1dplot -png s7a.png s7a.WHIT.1D s7a.ARMA.1D

# throw them away

\rm s7a*.1D
