Welcome to my blog!
This blog will be primarily aimed at innovative educational techniques but will however have the occasional post about education in general.

Thursday, July 31, 2014

Trendline Addon Version 2

After some long delays I am happy to announce that Version 2 of "Trendline Addon" has been made public! (To skip the rest of the post and get straight to it here is the link: Trendline Addon Ver2  Make a copy, open script editor and run "onInstall")

The most feedback I got from version one was the need for the "coefficient of determination" or the "r2 "value.  After some trial and error I came up with a solution that I think will work just fine.  What happens is when you create a graph now you have the option to run a "linear regression analysis".  When this option is selected, an analysis is done and the results are placed on a hidden sheet called "STATS" and the important parts of the analysis (namely the slope, y-intercept and coefficient of determination) are then added to another sheet called "mbr^2".  If you unhide the "STATS" sheet you might want to look at "Google Sheets Linear Regression Info" to get an understanding of what all the numbers represent.

The stats and the data are connected.  So if you change your data the "STATS"and "mbr^2" sheets are updated appropriately.

Here are the basics steps to use Version 2:

  1. Click the link, save a copy, 
  2. Go to "Tools - Script Editor" and run either "On install" or "On open". This will add a menu command on your "Add ons" menu.  
  3. Click "Create Graph" and follow the instruction in the sidebar!  
Please let me know what you think! I am working on how to add more trendline options such as power and exponential.  

List of links:
The spreadsheet:  Trendline Addon Ver2