Enable User To Adjust Dates Over which Correlations are Calculated
It seems to me that lots of people are going to want to experiment with different settings and time ranges and look at their effect on the correlations. For instance, I might only want to calculate my correlation with a new drug from the month prior to starting it until a month into taking it. This could be done client side by allowing the user to update these settings and have real time correlation recalculations.
It would be nice if we could use live controls like those here: https://developers.google.com/chart/interactive/docs/gallery/controls
Or highstock for adjusting the time range used for limiting the date range going into the correlation calculation and scatterplot by just adjusting it on the timeline graph below.
Since those calculations would be expensive for use to do and the correlation coefficients would be useful to us and researchers for comparative analysis and determining optimal settings for our future calculations, it would be ideal if we could send them back to the correlations table. Then we could mine that table for optimal default settings.
So to realize this dream, we would need to recreate the pairs method in javascript.
