Share

jstatcom

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Calling STL function using JStatCom and REngi

You are viewing a single message from this topic. View all messages.

  1. 2009-06-23 12:03:25 UTC

    We have converted the univariate observations to time series objects using "ts" function of R.The output from ts method is passed to stl function. The following exception is thrown by JstatCom during stl execution

    Passing ouput from ts as array to stl function
    Error in stl(arg_0, arg_1) : only univariate series are allowed
    Exception in thread "main" java.lang.RuntimeException: Could not evaluate R expression: stl(arg_0, arg_1)
    at com.jstatcom.engine.rstat.RStatEngine.call(Unknown Source)
    at TestR.separateSeasonalData(TestR.java:58)
    at TestR.main(TestR.java:73)

    Passing ouput from ts as map to stl function
    Error in stl(arg_0, arg_1) :
    series is not periodic or has less than two periods
    Exception in thread "main" java.lang.RuntimeException: Could not evaluate R expression: stl(arg_0, arg_1)
    at com.jstatcom.engine.rstat.RStatEngine.call(Unknown Source)
    at TestR.separateSeasonalData(TestR.java:61)
    at TestR.main(TestR.java:76)

    The output we got from TS function call does not have period or frequncy information, which is mandatory for stl function.

    Please suggest us how to over come this issue.
< Previous | 1 | Next >

Add a Reply

You can use Markdown syntax in your reply.

Preview

Monitor this

Log in to monitor this topic. Not registered? Create an account to receive email updates when replies are posted to this topic. If you do not log in or register, your reply will be added anonymously.