12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

92 • Chapter 3: Finding SolutionsThe stats package works with data in statistical lists, which canbe standard Maple lists. A statistical list can also contain ranges andweighted values. The difference is best shown using an example. The namemarks is assigned a standard list,> marks :=> [64,93,75,81,45,68,72,82,76,73];marks := [64, 93, 75, 81, 45, 68, 72, 82, 76, 73]as is readings> readings := [ 0.75, 0.75, .003, 1.01, .9125,> .04, .83, 1.01, .874, .002 ];readings := [0.75, 0.75, 0.003, 1.01, 0.9125, 0.04, 0.83,1.01, 0.874, 0.002]which is equivalent to the following statistical list.> readings := [ Weight(.75, 2), .003, Weight(1.01, 2),> .9125, .04, .83, .874, .002 ];readings := [Weight(0.75, 2), 0.003, Weight(1.01, 2),0.9125, 0.04, 0.83, 0.874, 0.002]The expression Weight(x,n) indicates that the value x appears ntimes in the list.If differences less than 0.01 are so small that they are not meaningful,you can group them together, and simply give a range (using “..”).> readings := [ Weight(.75, 2), Weight(1.01, 2), .9125,> .04, .83, .874, Weight(0.002..0.003, 2) ];readings := [Weight(0.75, 2), Weight(1.01, 2), 0.9125,0.04, 0.83, 0.874, Weight(0.002..0.003, 2)]The describe subpackage contains commands for data analysis.> describe[mean](marks);72910

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!