Changeset 1038
- Timestamp:
- 06/04/10 13:38:31 (15 years ago)
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/tutorial/userguide/partfrg_estim.m
r1034 r1038 6 6 DS.Data = Data; 7 7 DS.drv = drv; 8 8 9 9 10 %%%%%% ARX estimator conditioned on frg … … 16 17 A1.constant = 0; 17 18 A1.name = 'A1'; 19 20 Apri =A1; 21 Apri.class = 'ARX'; 22 DSpri = DS; 23 DSpri.Data = DS.Data(:,1:40); 24 % get decent prior -- estimate with data first 25 [Dum,post]=estimator(DSpri,{Apri}); 26 27 A1.prior = post.estimators{1}.posterior; 18 28 19 29 % we have 2 parameters - i.e. 4 hypotheses -
library/bdm/estim/arx.cpp
r1035 r1038 421 421 est = egiw(1, aprLD, aprNu); 422 422 423 if ( evalll ) { 424 last_lognc = est.lognc(); 425 } 426 423 427 // update 424 428 ARX::bayes ( val, cond_rgr );