matteoredaelli / strategico

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

ltp.R: checking n >= n.min for ALL models #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It seems that not all models check if n >= n.min
But I think they should...

matteo@matteo-desktop:/opt/strategico$ grep "%in% try.models)&(n >" 
plugins/ltp.R

  if (("mean" %in% try.models)&(n >= period.freq )) {
  if (("trend" %in% try.models)&(n >= 5 )) {
  if (("lm" %in% try.models)&(n >= n.min )) {
  if (("es" %in% try.models)&(n >= n.min )) {
  if (("arima" %in% try.models)&(n >= n.min )) {

Original issue reported on code.google.com by matteo.redaelli on 19 May 2011 at 7:47