hp 49g+_user's guide_English_E_DCVL5300427_V2

Page 18-2
Store the program in a variable called LXC. After storing this program in RPN
mode you can also use it in ALG mode.
To store a column vector into variable ΣDAT use function STOΣ, available
through the catalog (‚N), e.g., STOΣ (ANS(1)) in ALG mode.
Example 1
– Using the program LXC, defined above, create a column vector
using the following data: 2.1 1.2 3.1 4.5 2.3 1.1 2.3 1.5 1.6
2.2 1.2 2.5.
In RPG mode, type in the data in a list:
{2.1 1.2 3.1 4.5 2.3 1.1 2.3 1.5 1.6 2.2 1.2 2.5 } `@LXC
Use function STOΣ to store the data into ΣDAT.
Calculating single-variable statistics
Assuming that the single data set was stored as a column vector in variable
ΣDAT. To access the different STAT programs, press ‚Ù. Press @@@OK@@ to
select
1. Single-var.. There will be available to you an input form labeled
SINGLE-VARIABLE STATISTICS, with the data currently in your ΣDAT variable
listed in the form as a vector. Since you only have one column, the field
Col:
should have the value 1 in front of it. The
Type field determines whether you
are working with a sample or a population, the default setting is
Sample.
Move the cursor to the horizontal line preceding the fields
Mean, Std Dev,
Variance, Total, Maximum, Minimum, pressing the @CHK@ soft menu key to
select those measures that you want as output of this program. When ready,
press @@@OK@@. The selected values will be listed, appropriately labeled, in the
screen of your calculator.
Example 1
-- For the data stored in the previous example, the single-variable
statistics results are the following:
Mean: 2.133, Std Dev: 0.964, Variance: 0.929
Total: 25.6, Maximum: 4.5, Minimum: 1.1