Changeset 170 for tests/arx_test.cpp
- Timestamp:
- 09/24/08 13:07:50 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/arx_test.cpp
r162 r170 11 11 vec th("0.8 -0.3 0.4 0.01"); 12 12 int ord=th.length(); 13 double sqr= 1;13 double sqr=0.1; 14 14 15 15 //Test constructor 16 mat V0 = 0.00 1*eye(ord+1); V0(0.0)*= 10; //16 mat V0 = 0.00001*eye(ord+1); V0(0.0)*= 10; // 17 17 double nu0 = ord+1; 18 18 19 RV thr("{theta_and_r }" );19 RV thr("{theta_and_r }",vec_1(ord+1)); 20 20 ARX Ar(thr, V0, nu0); 21 epdf& Ar_ep = Ar._epdf();22 21 const epdf& Ar_ep = Ar._epdf(); 22 23 23 //Test estimation 24 int ndat = 1000 ;24 int ndat = 10000; 25 25 int t,j; 26 26 vec Yt(ndat);