- Timestamp:
- Apr 5, 2010, 5:53:49 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 3bd8adb0
- Parents:
- a5eaf3a
- Location:
- tol_tests/tol/BSR/test_03
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tol_tests/tol/BSR/test_03/def.tol
ra5eaf3a rf45f5fb 39 39 Real enableARMASeasonal = And(enableARMA,True); 40 40 //Regular AR Degree 41 Real p1 = enableARMA*IntRand( 0,2);41 Real p1 = enableARMA*IntRand(2,2); 42 42 //Seasonal AR Degree 43 Real pS = enableARMASeasonal*IntRand(0, 2);43 Real pS = enableARMASeasonal*IntRand(0,1); 44 44 //Regular AR Degree 45 45 Real q1 = enableARMA*IntRand(0,Max(0,1-p1)); … … 144 144 //Standard deviation 145 145 Real s = Rand(0.50,0.90); 146 /* * / 146 147 Polyn ar1 = If(p1,1-Rand(-0.95,0.95)*B,1); 147 148 Polyn arS = If(pS,1-Rand(-0.95,0.95)*B^S,1); 148 149 Polyn ma1 = If(q1,1-Rand(-0.95,0.95)*B,1); 149 150 Polyn maS = If(qS,1-Rand(-0.95,0.95)*B^S,1); 151 /* */ 152 Polyn ar1 = If(p1,RandStationary(p1,1),1); 153 Polyn arS = If(pS,RandStationary(pS,S),1); 154 Polyn ma1 = If(q1,RandStationary(q1,1),1); 155 Polyn maS = If(qS,RandStationary(qS,S),1); 156 /* */ 150 157 Polyn dif1 = (1-B)^If(Coef(ma1,1)<-0.9,1,0); 151 158 Polyn difS = (1-B^S)^If(Coef(maS,1)<-0.9,1,0); 152 153 159 Matrix pol2col(Polyn pol) 154 160 { -
tol_tests/tol/BSR/test_03/test.tol
ra5eaf3a rf45f5fb 38 38 Real bsr.linBlk.MH.useAfterIter = 1/0; 39 39 Real bsr.arimaStoreInitialValues = True; 40 Real do.resume = 0; 40 Real do.resume = 1/0; 41 Real do.report = True; 42 Real do.eval = True; 43 Real do.linear.effects = True; 44 Real do.save.DBApi.Estim.Oza = True; 41 45 Real do.mcmc.profiler = True 42 46 ]]; … … 58 62 59 63 Real estim::Run(0); 60 64 /* 61 65 Matrix U0.mcmc = cycler::_.sampler::_.arm.blk::_.U0.mcmc; 62 66 Set U0.names = cycler::_.sampler::_.arm.blk::_.U0.names; … … 66 70 bsr.config::GetReportConfig(0), 67 71 U0.mcmc); 72 */ 68 73 69 74 Struct @CompareStruct
Note: See TracChangeset
for help on using the changeset viewer.
