5MinuteFinance icon indicating copy to clipboard operation
5MinuteFinance copied to clipboard

Correlation App

Open nperincherry opened this issue 8 years ago • 5 comments

When we met with the GW stats professor the other day, he mentioned that he would've liked to see a slider that allows a user to change the slope of the line of best fit instead of the "multiple" slider.

He said that it'd be nice to show students that an increase in slope doesn't affect correlation, only the tightness of the points around the line of best fit. Right now, the axis intervals are changing as opposed to the actual slope, hopefully there's a way to make that change in slope more visually evident.

nperincherry avatar May 26 '16 14:05 nperincherry

Fixed the x axis limits, so the effect should be seen. Take a look and close the issue if it works.

Matt-Brigida avatar Jun 01 '16 02:06 Matt-Brigida

Git pull and run the app locally -- I haven't pushed to shinyapps yet.

Matt-Brigida avatar Jun 01 '16 02:06 Matt-Brigida

looks great, check my last commit, I changed the code so that the graph's slope increases as the multiple increases. I also changed the bounds a little so there wasn't as much blank space in the graph for higher multiple values. I think this is what we'd like to show, right?

nperincherry avatar Jun 02 '16 13:06 nperincherry

Should we change the multiple slider to just say "slope" instead?

nperincherry avatar Jun 02 '16 13:06 nperincherry

Maybe ask the stats prof. I generally wouldn't but I don't have a strong opinion.

Matt-Brigida avatar Jun 08 '16 01:06 Matt-Brigida