turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- How to save ARIMA formula from script?

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Mar 22, 2017 9:16 AM
(422 views)

Hello, All

Is there an efective way to automatically save predictive formulas of ARIMA models?

Here is what I am trying, but the code does not work:

Data = Time Series( X( :RowNO ), Y( :Name( "8_LIMITS" ) ), ARIMA( 1, 1, 4, No Intercept( 1 ) ), ); Data << (curve[1] << Save prediction formula);

Any help will be appreciated!

-Jose

3 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Mar 22, 2017 4:39 PM
(408 views)

Here is the example from the Scripting Index on how to do that:

Help==>Scripting Index==>Time Series==>ARIMA==>Save Prediction Formula

```
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Time Series/Steel Shipments.jmp" );
obj = Time Series( Y( :Steel Shipments ) );
obj2 = obj << Arima( 1, 0, 0 );
obj2 << Save Prediction Formula;
```

Jim

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

2 weeks ago
(91 views)

Hi,

I tried this script, but it keeps saving the predicted values on a different datatable.

Is there a way to save it to the same data table, in a new column?

Thanks!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

A week ago
(70 views)

The data are saved to a new table because includes the forecasted predicted values in addition to the actual values. However, all you have to do is to use a table join to add the data from the new table back to the original data table.

Tables==>Join

Jim