The program is used to program the AR model