- Topics: 13
- Replies: 51
- Posts: 64
The latest version of Optuma with Professional Services has a Regression Chart which allows you to plot the variables using the scripting language. We are still working on the KnowledgeBase article and will also publish a blog on this at some point, but to open a Regression Chart click on New > Single Code Chart > Regression Chart and set the formulas under the Regression Scripts property.
In this example of Apple I’ve used 1 day % change – script formula Change() – against the 1 day % change in the Dow Jones:
V1 = GetData(CODE=DJI:WI);
This will then plot the correlated returns for each day over the last year by default, and plot the Line of Best Fit: