Re: Stats functions on the HP34S Message #2 Posted by Dieter on 23 Sept 2013, 8:32 a.m., in response to message #1 by Nicholas van Stigt
Everything you need to know is explained in the 34s manual.
Consider this data set:
x 15 20 40 30 80

y 3,5 4,5 8,3 6 17
Now you may try this sample calculation.
First of all, clear the summation registers:
g CLSigma
Now enter the data points. Since the xvalues are expected in stack register X and yvalues in Y, you type y ENTER x. The Sigma+ key adds these data to the corresponding summation registers.
Important: You may use [A] instead of the regular Sigma+ key (hshifted [+]) if, and only if, there is no label A (which then would be executed instead). Press h STATUS to find out which of the labels A...D have been used.
Or simply use the standard hshifted Sigma+ function on the [+] key.
3,5 ENTER 15 h Sigma+ => 1
4,5 ENTER 20 h Sigma+ => 2
8,3 ENTER 40 h Sigma+ => 3
6 ENTER 30 h Sigma+ => 4
17 ENTER 80 h Sigma+ => 5
You may now check the accumulated sums with h SUMS.
Determine the two means and standard deviations:
f x_bar => 37 arithmetic mean of x
[x<>y] => 7,86 arithmetic mean of y
g s => 25,884... sample standard deviation of x
[x<>y] => 5,4196... sample standard deviation of y
Try a linear regression:
h STAT, select "L.R."
=> 0,123... yintercept
[x<>y] => 0,209... slope
g r => 0,9986... correlation coefficient
Get an estimate for x = 50:
50
f y_hat => 10,578...
Now try this yourself. Everything works just as it did on earlier HP calculators. Albeit this in not an HP. It's a WP(!)34s.
Dieter
Edited: 23 Sept 2013, 8:38 a.m.
