- Timestamp:
- 09/18/09 00:17:16 (15 years ago)
- Location:
- library/bdm/estim
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/arx.cpp
r625 r631 218 218 BM::set_options(opt); 219 219 } 220 if (!UI::get(have_constant, set, "constant", UI::optional)){ 220 int constant; 221 if (!UI::get(constant, set, "constant", UI::optional)){ 221 222 have_constant=true; 223 } else { 224 have_constant=constant>0; 222 225 } 223 226 if (have_constant) {rgrlen++;_dt=ones(rgrlen+ylen);} -
library/bdm/estim/arx.h
r625 r631 151 151 rv = RV({names_of_dt} ) // description of output variables 152 152 rgr = RV({names_of_regressors}, [-1,-2]} // description of regressor variables 153 constant = true; // booleanswitch if the constant term is modelled or not153 constant = 1; // 0/1 switch if the constant term is modelled or not 154 154 155 155 --- optional ---