Changeset 0c96479 in tol
- Timestamp:
- Aug 31, 2012, 9:33:33 AM (14 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- abe80db
- Parents:
- 1627a73
- File:
-
- 1 edited
-
tol/btol/bmodel/modcalc.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/bmodel/modcalc.cpp
r1627a73 r0c96479 352 352 outDifData_.Alloc(1, N_); 353 353 ApplyPolB(outDifData_, 0, fullData_, dif_, difDeg_, outName_+"_Full", 0); 354 Z_ = outDifData_.T(); 354 A_ = Z_ = outDifData_.T(); 355 residuous_ = A_.Data(); 355 356 initialError_ = Sqrt(CenterMoment(outDifData_.Data(),2)); 356 357 standardError_ = initialError_; … … 621 622 numParam_ -= r; 622 623 inputParam_ -= r; 623 624 /* 624 625 if(!numParam_) 625 626 { … … 631 632 "Introduzca algún parámetro ARMA o una serie input.")); 632 633 } 634 */ 633 635 param_.ReallocBuffer(numParam_); 634 636 if(ok && (N_<(interruptionIndex_.Size()+numParam_))) … … 2031 2033 } 2032 2034 2033 Std(BText("\nTRACE BModel::Statistics() N_=")+N_);2035 //Std(BText("\nTRACE BModel::Statistics() N_=")+N_); 2034 2036 aCorNum_ = N_/4; 2035 Std(BText("\nTRACE BModel::Statistics() aCorNum_=")+aCorNum_);2037 //Std(BText("\nTRACE BModel::Statistics() aCorNum_=")+aCorNum_); 2036 2038 if(periodicity_>0) 2037 2039 { 2038 if(aCorNum_< 2*periodicity_+4) { aCorNum_ = 2*periodicity_+4; }2039 Std(BText("\nTRACE BModel::Statistics() aCorNum_=")+aCorNum_);2040 } 2041 if(aCorNum_ <N_/2) { aCorNum_ = N_/2; }2042 Std(BText("\nTRACE BModel::Statistics() aCorNum_=")+aCorNum_);2040 if(aCorNum_< periodicity_+4) { aCorNum_ = periodicity_+4; } 2041 //Std(BText("\nTRACE BModel::Statistics() aCorNum_=")+aCorNum_); 2042 } 2043 if(aCorNum_>N_/2) { aCorNum_ = N_/2; } 2044 //Std(BText("\nTRACE BModel::Statistics() aCorNum_=")+aCorNum_); 2043 2045 2044 2046 if(aCorNum_>0)
Note: See TracChangeset
for help on using the changeset viewer.
