Question: Regression question?

Sorry to bother you all like this, but I am getting a bit frustrated here... I have been trying to set up a simple statistics question, or more precisely a regression question. Basically I want the students to compute the intercept (or the slope) in a dataset. The way I have tried to achieve this is so far along these lines: *Define pairs of variables: $x1=range(5,10);,...,$y1=range(5,10); *Use the Statistics package: $a=maple("with(Statistics):...)"); This is where I get stuck. How could I use the call to the Statistics package to get the intercept assigned to $a? Regards, Robert
Please Wait...