Re: [R] setar function error message (SOLVED)

2012-07-23 Thread Ario Ario
Hi, I know the problem now. Previously i use as.timeSeries function, but the error message of setar function still came out. Anyway, many thanks to Pascal for the solution. Best Regards, Ario On Mon, Jul 23, 2012 at 4:28 PM, Pascal Oettli wrote: > Hello, > > It works for me (with a warning mess

Re: [R] setar function error message

2012-07-23 Thread Pascal Oettli
Hello, It works for me (with a warning message), by adding this line before the setar procedure: > a <- as.ts(a) As I don't know the time step, thus it is only a pseudo time-series. Regards, Pascal Le 23/07/2012 18:18, Ario Ario a écrit : Hi, I apologize for not attaching a complete datas

Re: [R] setar function error message

2012-07-23 Thread Ario Ario
Hi, I apologize for not attaching a complete dataset. The dataset contains only 1000 observations. Please find it in the attachment. Thanks (Ario) On Mon, Jul 23, 2012 at 3:46 PM, Pascal Oettli wrote: > Hello, > > Your problem is nto reproducible without the complete "a" dataset. > > Regards,

Re: [R] setar function error message

2012-07-23 Thread Pascal Oettli
Hello, Your problem is nto reproducible without the complete "a" dataset. Regards, Pascal Le 23/07/2012 09:49, Ario Ario a écrit : Hi all, I have problem to estimate a SETAR model. I always get an error message. Here is the code: ## there are 4175 observation in the series (a). a[1:10,1]