Gas station without pumps

2012 May 29

LinReg for physics class data graphing

Filed under: home school,Software — gasstationwithoutpumps @ 09:58
Tags: , , , ,

A blog I only recently subscribed to (Physics! Blog! by Kelly O’Shea) had a very nice plug (LinReg for physics class data graphing) for a graphing program I’d not heard of before: LinReg which is available free from Pomona.

My son and I use gnuplot, which is a moderately powerful script-based graphing program that produces good graphs and has a good parameter fitting command, but I’ve given up recommending it to people, because of the extreme difficulty in installing it.  It is also overkill for a lot of high school classes, where fitting a straight line is considered complicated enough.

LinReg looks like it is nearly ideal for high-school and middle school science classes.  It forces students to label their axes, use units, and express the precision of their measurements. It computes error values for the intercept and slope values, using a reasonable simulation approach (sampling Gaussian distributed points about each measurement and refitting).  Kelly claims that her Honors Physics students pick the program up quickly and choose to use it without prompting after the first few uses (unlike Excel, which they always see as a barrier rather than as a tool—an attitude towards spreadsheets that I share).

Data entry in LinReg seems to be mainly manual, which would be a big limitation for me even for the home-school physics class (the speed of sound lab generated several hundred data points just for the ladder measurements).  Because my son and I have successfully installed and mastered gnuplot, I see no reason to change to a more limited program, but I can see the attraction of using LinReg with a class, so that less time can be spent teaching the tool and more time using it.  The limited feature set looks like a very good match to most high-school science classes.

2 Comments »

  1. You should qualify your statement about Gnuplot being difficult to install as being specific to the Mac. It is trivial to install on Windows, and I would be surprised if it is difficult to install on Linux.

    Comment by VR — 2012 May 30 @ 09:42 | Reply

    • Since over 80% of the students in my grad classes use Macs, I can’t recommend generally that students use gnuplot. It would be a relatively simple thing for the gnuplot community to provide Mac binaries, as many other open-source projects do, but that community has made it nearly as difficult as possible to install on Macs.

      I can’t say how difficult it is to install on Windows, since I don’t use Windows. I do use Linux boxes, but they are maintained by ITS staff, and I’m not granted root privileges, so again I have no idea how easy or difficult installation is on them with root privileges. (Without root privileges, installation is not easy—almost as hard as installation on the Mac.)

      Comment by gasstationwithoutpumps — 2012 May 30 @ 10:48 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.