#!/usr/bin/env python # coding: utf-8 # In[10]: get_ipython().run_line_magic('run', '"Retropy_framework.ipynb"') # In[17]: lcv = get("VIVAX@Y") lcg = get("VIGRX@Y") f = 5 r = f*lcg/lcv p95 = r.quantile(0.95) p5 = r.quantile(0.05) last = r[-1] score = 100 * (last - p5) / (p95 - p5) print(score) show(lcv, lcg, r, p95, p5, last, ta=False) # In[ ]: # be sure to save before you publish # when done, you will get a public link to an HTML file with the results publish()