854 Appendix A: Functions and Instructions
PopUp CATALOG
PopUp
itemList
,
var
Displays a pop-up menu containing the character
strings from
itemList
, waits for you to select an
item, and stores the number of your selection in
var
.
The elements of
itemList
must be character strings:
{
item1String
,
item2String
,
item3String
, ...}
If
var
already exists and has a valid item number,
that item is displayed as the default choice.
itemList
must contain at least one choice.
PopUp
{"1990","1991","1992"},var1
¸
PowerReg MATH/Statistics/Regressions menu
PowerReg
list1
,
list2
[, [
list3
] [,
list4
,
list5
]]
Calculates the power regression and updates all
the system statistics variables.
All the lists must have equal dimensions except
for
list5
.
list1
represents xlist.
list2
represents ylist.
list3
represents frequency.
list4
represents category codes.
list5
represents category include list.
Note:
list1
through
list4
must be a variable name
or c1–c99 (columns in the last data variable
shown in the Data/Matrix Editor).
list5
does not
have to be a variable name and cannot be c1–
c99.
In function graphing mode:
{1,2,3,4,5,6,7}
! L1 ¸
{1 2 3 ...}
{1,2,3,4,3,4,6}
! L2 ¸
{1 2 3 ...}
PowerReg L1,L2
¸ Done
ShowStat
¸
¸
Regeq(x)
"y1(x) ¸ Done
NewPlot 1,1,L1,L2
¸ Done
¥%
Prgm CATALOG
Prgm
©
©©
©
EndPrgm
Required instruction that identifies the beginning
of a program. Last line of program must be
EndPrgm.
Program segment:
:prgmname()
:Prgm
:
:EndPrgm
Product (PI) See Π(), page 908.
product() MATH/List menu
product(
list
[
, start
[
, end
]]) ⇒
⇒⇒
⇒
expression
Returns the product of the elements contained in
list
.
Start
and
end
are optional. They specify a
range of elements.
product({1,2,3,4}) ¸ 24
product({2,x,y})
¸ 2ø xø y
product({4,5,8,9},2,3)
¸ 40