demo

demo / rdemo / 1.0.2

README.md

Overview

This algorithm uses a pre-trained model in R to predict 30 year fixed loan rates for jumbo mortgages and creates an R plot showing past and predicted values that's written to Algorithm Data /tmp

Data Resource:

Zillow data used for training ARIMA model.

Usage

Code: shows how to create a temp file in R algorithm, create the plot and upload it to data collections via the data api.

Input

h = Number of periods for forecasting

level = Confidence level for prediction intervals.

Output

lower, mean, upper: bounds for values of Jumbo mortgage rates.

Examples

Input: {"h":20, "level": 99.5}

Output: { "lower": [ 3.80975744108778, 3.6133705067042,... ], "mean": [ 4.16576965410636, 4.23989014470578,.. ], "upper": [ 4.52178186712495, 4.86640978270737,... ] }