matteoredaelli / strategico

Automatically exported from code.google.com/p/strategico
GNU General Public License v3.0
1 stars 1 forks source link

mod.es fails with period.freq=12 #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
One unit test (in test_050_ltp.R) fails with error 

 DEBUG [2011-10-01 08:48:51]   function mod.es
 Error: NA/NaN/Inf in foreign function call (arg 2)
 In addition: Warning messages:
 1: In qt(p, df, lower.tail, log.p) : NaNs produced
 2: attempting model selection on an essentially perfect fit is nonsense 
 3: In predict.lm(modlm, newdata = new.data, interval = "prediction",  :
  prediction from a rank-deficient fit may be misleading
 4: In qt(p, df, lower.tail, log.p) : NaNs produced

The function that I ran  is

EvalTSString("sample",
  ts.string="33,244,225,201,101,103,51,40,24,44,73,120,106",
  period.start="2010-04", period.freq=12,  
  project.config=project.config, db.channel=db.channel)

Original issue reported on code.google.com by matteo.redaelli on 1 Oct 2011 at 6:54

GoogleCodeExporter commented 9 years ago

Original comment by matteo.redaelli on 8 Mar 2012 at 1:36