5MinuteFinance
5MinuteFinance copied to clipboard
Correlation App
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.
Fixed the x axis limits, so the effect should be seen. Take a look and close the issue if it works.
Git pull and run the app locally -- I haven't pushed to shinyapps yet.
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?
Should we change the multiple slider to just say "slope" instead?
Maybe ask the stats prof. I generally wouldn't but I don't have a strong opinion.