Choose Language Hide Translation Bar

## Create Time Series Validation Column

An add-in to dynamically create a validation column for time series data.  Developed by Ian Cox (Ian@JMP​) and Julian Parris (julian​). ** Note:  Model validation is not built into the time series platforms in JMP or JMP Pro. However, this can be done manually:

1. Partition a time series using this add-in, and then hide and exclude the holdout partition (select the rows, and then select Rows > Hide and Exclude).
2. Fit the time series model(s) using the Time Series platform (from the Analyze > Modeling menu).
3. For the chosen model, save the prediction formula using the red triangle for the model. This produces a new data table with predicted values and residuals for the training data.
4. To calculate residuals for the validation data, copy and paste the holdout values from the original table into the appropriate cells in this new table. Then, create a new column, and use the Formula Editor to calculate the residuals (actual - predicted). Note that forecasts for the validation data are automatically computed when the prediction formula is saved to the data table.
5. Summarize the residuals for the training and validation data using the Distribution platform (to produce validation statistics), and graph the actual and forecasted time series and the residuals using the Graph Builder.
6. To forecast future values using both the training and validation data, return to the original data, unhide and unexclude the holdout partition, and refit the model using the Time Series platform. Specify the number of forecast periods (from the red triangle), and save the prediction formula for this model to the data table. Repeat steps 4 and 5 above.

These steps apply to models built using the JMP Time Series platform. Regression-based forecasting models can be built using the Analyze > Fit Model platform. Built-in model validation can be used for these models. Here, we do not hide and exclude the validation data - we create a validation column, and use this column in the validation

field in the Fit Model Dialog.

** Adapted from Data Mining for Business Analytics with JMP Pro, Shmueli, Bruce, and Stephens, Wiley, released May 2016.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7813568,"math_prob":0.9177949,"size":2141,"snap":"2020-24-2020-29","text_gpt3_token_len":437,"char_repetition_ratio":0.16144127,"word_repetition_ratio":0.0,"special_character_ratio":0.2045773,"punctuation_ratio":0.102564104,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9764179,"pos_list":[0,1,2],"im_url_duplicate_count":[null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-06-06T07:07:09Z\",\"WARC-Record-ID\":\"<urn:uuid:d73e2baf-458e-4491-be92-a722e1122190>\",\"Content-Length\":\"669027\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d99d4769-21ea-4450-ac28-e7cff0ce4c5e>\",\"WARC-Concurrent-To\":\"<urn:uuid:75587390-0b2d-4dcc-b6f5-57c25f1618f5>\",\"WARC-IP-Address\":\"208.74.205.23\",\"WARC-Target-URI\":\"https://community.jmp.com/t5/JMP-Add-Ins/Create-Time-Series-Validation-Column/ta-p/22988\",\"WARC-Payload-Digest\":\"sha1:J6NW76EPMQZSTJHJHLJRJXFN6P4V4L4G\",\"WARC-Block-Digest\":\"sha1:HAHUAZJMHTGJP3JJEGIVPTDAOX2AJDHV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590348511950.89_warc_CC-MAIN-20200606062649-20200606092649-00223.warc.gz\"}"}