Changeset 0afebdc in tol
- Timestamp:
- Sep 17, 2009, 11:27:56 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- cd15fee
- Parents:
- 8107325
- File:
-
- 1 edited
-
tol/btol/bmodel/estim.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/bmodel/estim.cpp
r8107325 r0afebdc 1017 1017 { 1018 1018 BUserTimeSerie* z = Tsr(Arg(1)); 1019 BSerieTable zTable; zTable.AddSerie(z); 1020 1019 if(!z->IsStochastic()) 1020 { 1021 Error(I2 1022 ( 1023 "Cannot apply BoxCoxTrans to an infinite time series.", 1024 "No se puede aplicar BoxCoxTrans a una serie infinita" 1025 )); 1026 return; 1027 } 1028 BSerieTable zTable; 1029 zTable.AddSerie(z); 1030 zTable.Fill(z->FirstDate(), z->LastDate()); 1021 1031 BInt period = 10; 1022 1032 if(Arg(3)) { period = (BInt)Real(Arg(3)); } … … 1035 1045 )); 1036 1046 } 1037 1047 if(zTable.NumDates()<=3*period) 1048 { 1049 Error(I2 1050 ( 1051 "Cannot apply BoxCoxTrans to a time series with length ", 1052 "No se puede aplicar BoxCoxTrans a una serie temporal de longitud " 1053 )+ 1054 zTable.NumDates()+" <= 3*intervalLength = "+(3*period)); 1055 } 1038 1056 if(Arg(2)) 1039 1057 { … … 1052 1070 Warning(I2 1053 1071 ( 1054 "Empty options parameter in BoxCoxTrans function. "1072 "Empty options parameter in BoxCoxTrans function. " 1055 1073 "It is assumed the defect value :", 1056 1074 "Parámetro de opciones vacío en función BoxCoxTrans. "
Note: See TracChangeset
for help on using the changeset viewer.
