Changeset 1013 for library/bdm/estim/arx.cpp
- Timestamp:
- 05/27/10 23:07:49 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/arx.cpp
r1009 r1013 72 72 } 73 73 74 void ARX::flatten ( const BMEF* B ) {74 void ARX::flatten ( const BMEF* B , double weight =1.0) { 75 75 const ARX* A = dynamic_cast<const ARX*> ( B ); 76 76 // nu should be equal to B.nu 77 est.pow ( A->posterior()._nu() / posterior()._nu() );77 est.pow ( A->posterior()._nu() / posterior()._nu() *weight); 78 78 if ( evalll ) { 79 79 last_lognc = est.lognc();