Download Print this page

HP -27S Owner's Manual page 182

Scientific

Advertisement

Moving
AYerage
Moving
averages
are
often used to predict trends
in
data over
time. In
moving
average
calculations, a specified number
of
values
are aver-
aged. Each
time a new
value
is
acquired,
the
oldest
is
discarded.
The following Solver equation calculates the moving average
of
data
stored
in
a STAI
list:
I'IHUG=E(
I
:
I'IHH(
I
:
LHST-H+l
)
:
LHST :
1
:
ITEl'l(
name:
I
)
)
+]'IIH(LRST:H)
where
N is the number of values
averaged
in
each
calculation,
LAST is
the item number of the most recent value to be averaged,
an
d
name
is
the name
of the
STAI list.
l.
Press
lt
soLVE
I
and enter the
equation.
2.
Press
lSTnfl
to
enter
the STAI application.
Enter the
values
into a list. Name the list, making
sure the name matches the
name
in
the
equation.
3.
Press
ll
soLVE
I
to return to the Solver. Display the menu of vari-
ables
for
the equation
(press
).
4.K"yinthenumberofvaluestobeaveragedandPressffi.
5.
For each
average:
l.
K"y in
the item number
of
the last value
in
the set to
be
averaged
and
press
.
2-
Press
ffi.
9: Additional
Examples l8l

Advertisement

loading